Package io.deephaven.iceberg.location
Class IcebergTableLocationFactory
java.lang.Object
io.deephaven.iceberg.location.IcebergTableLocationFactory
- All Implemented Interfaces:
TableLocationFactory<TableKey,IcebergTableLocationKey>
public final class IcebergTableLocationFactory
extends Object
implements TableLocationFactory<TableKey,IcebergTableLocationKey>
TableLocationFactory for Iceberg TableLocations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull TableLocationmakeLocation(@NotNull TableKey tableKey, @NotNull IcebergTableLocationKey locationKey, @Nullable TableDataRefreshService refreshService) Manufacture aTableLocationfrom the supplied key
-
Constructor Details
-
IcebergTableLocationFactory
public IcebergTableLocationFactory()
-
-
Method Details
-
makeLocation
@NotNull public @NotNull TableLocation makeLocation(@NotNull @NotNull TableKey tableKey, @NotNull @NotNull IcebergTableLocationKey locationKey, @Nullable @Nullable TableDataRefreshService refreshService) Description copied from interface:TableLocationFactoryManufacture aTableLocationfrom the supplied key- Specified by:
makeLocationin interfaceTableLocationFactory<TableKey,IcebergTableLocationKey> - 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
-