Interface TableLocationFactory<TK extends TableKey,TLK extends TableLocationKey>
- All Known Implementing Classes:
IcebergTableLocationFactory
,ParquetTableLocationFactory
public interface TableLocationFactory<TK extends TableKey,TLK extends TableLocationKey>
Interface for
TableLocation
creation.-
Method Summary
Modifier and TypeMethodDescriptionmakeLocation
(TK tableKey, TLK locationKey, @Nullable TableDataRefreshService refreshService) Manufacture aTableLocation
from the supplied key
-
Method Details
-
makeLocation
TableLocation makeLocation(@NotNull TK tableKey, @NotNull TLK locationKey, @Nullable @Nullable TableDataRefreshService refreshService) Manufacture aTableLocation
from the supplied key- Parameters:
tableKey
- TheTableKey
for the provider using this factorylocationKey
- TheTableLocationKey
(or an immutable equivalent) returned by a pairedTableLocationKeyFinder
refreshService
- An optionalTableDataRefreshService
, non-null if the enclosing providersupports subscriptions
- Returns:
- A new or cached
TableLocation
identified by the suppliedTableKey
andTableLocationKey
-