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 aMetadataIndexKeyFinder
using thepathManager
for resolving full paths and the specifiedmetadataIndex
for locating keys. -
Method Summary
Modifier and TypeMethodDescriptionvoid
findKeys
(@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 aMetadataIndexKeyFinder
using thepathManager
for resolving full paths and the specifiedmetadataIndex
for locating keys.- Parameters:
pathManager
- theLocalTablePathManager
to resolve full table locationscolumnPartitionKey
- the partitioning column nametableKey
- theEnterpriseTableKey
identifying the enterprise tablemetadataIndex
- theTableLocationMetadataIndex
containing the metadata.
-
-
Method Details
-
findKeys
- Specified by:
findKeys
in interfaceTableLocationKeyFinder<EnterpriseTableLocationKey>
-