Class MetadataIndexKeyFinder
java.lang.Object
io.deephaven.enterprise.locations.nestedpartitioned.MetadataIndexKeyFinder
- All Implemented Interfaces:
TableLocationKeyFinder<EnterpriseTableLocationKey>
public class MetadataIndexKeyFinder
extends Object
implements TableLocationKeyFinder<EnterpriseTableLocationKey>
A
TableLocationKeyFinder that uses the Enterprise TableLocationMetadataIndex to find locations.-
Constructor Summary
ConstructorsConstructorDescriptionMetadataIndexKeyFinder(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.LocalTablePathManager pathManager, @NotNull String columnPartitionKey, @NotNull EnterpriseTableKey tableKey, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex metadataIndex) Construct aMetadataIndexKeyFinderusing thepathManagerfor resolving full paths and the specifiedmetadataIndexfor locating keys. -
Method Summary
Modifier and TypeMethodDescriptionvoidfindKeys(@NotNull Consumer<EnterpriseTableLocationKey> locationKeyObserver)
-
Constructor Details
-
MetadataIndexKeyFinder
public MetadataIndexKeyFinder(@NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.LocalTablePathManager pathManager, @NotNull @NotNull String columnPartitionKey, @NotNull @NotNull EnterpriseTableKey tableKey, @NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex metadataIndex) Construct aMetadataIndexKeyFinderusing thepathManagerfor resolving full paths and the specifiedmetadataIndexfor locating keys.- Parameters:
pathManager- theLocalTablePathManagerto resolve full table locationscolumnPartitionKey- the partitioning column nametableKey- theEnterpriseTableKeyidentifying the enterprise tablemetadataIndex- theTableLocationMetadataIndexcontaining the metadata.
-
-
Method Details
-
findKeys
- Specified by:
findKeysin interfaceTableLocationKeyFinder<EnterpriseTableLocationKey>
-