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 aTableLocationfrom the supplied key
-
Method Details
-
makeLocation
TableLocation makeLocation(@NotNull TK tableKey, @NotNull TLK locationKey, @Nullable @Nullable TableDataRefreshService refreshService) Manufacture aTableLocationfrom the supplied key- Parameters:
tableKey- TheTableKeyfor the provider using this factorylocationKey- TheTableLocationKey(or an immutable equivalent) returned by a pairedTableLocationKeyFinderrefreshService- An optionalTableDataRefreshService, non-null if the enclosing providersupports subscriptions- Returns:
- A new or cached
TableLocationidentified by the suppliedTableKeyandTableLocationKey
-