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 TableLocation
s.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull TableLocation
makeLocation
(@NotNull TableKey tableKey, @NotNull IcebergTableLocationKey locationKey, @Nullable TableDataRefreshService refreshService) Manufacture aTableLocation
from 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:TableLocationFactory
Manufacture aTableLocation
from the supplied key- Specified by:
makeLocation
in interfaceTableLocationFactory<TableKey,
IcebergTableLocationKey> - 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
-