Interface TableLocationsKeyGetter
- All Superinterfaces:
Comparable<TableLocationsKeyGetter>
- All Known Implementing Classes:
DeferredLocationsTableKeyGetter
Defines all of the methods required for a
URISnapshotProvidingLocationKey
to satisfy its own interface(s) (URISnapshotProvidingLocationKey, which
itself is simply a combination of * URIProvidingLocationKey and
SnapshotProvidingLocationKey)-
Method Summary
Modifier and TypeMethodDescriptionSatisfies a call toTableLocationKey.getPartitionKeys()Map<String,Comparable<?>> getPartitions(long locationKey) Satisfies a call toEnterpriseTableLocationKey.getPartitions()Comparable<?>getPartitionValue(long locationKey, String partitionKey) Satisfies a call toTableLocationKey.getPartitionValue(String)io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshotgetSnapshot(long locationKey) Satisfies a call toSnapshotProvidingLocationKey.getSnapshot()getURI(long locationKey) Satisfies a call toURIProvidingLocationKey.getURI()Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPartitionKeys
Satisfies a call toTableLocationKey.getPartitionKeys()- Returns:
- The set of available partition keys
-
getPartitions
Satisfies a call toEnterpriseTableLocationKey.getPartitions()- Parameters:
locationKey- the key (row) for the desired location- Returns:
- a map of the partitions
-
getPartitionValue
Satisfies a call toTableLocationKey.getPartitionValue(String)- Parameters:
locationKey- the key (row) for the desired locationpartitionKey- The name of the partition- Returns:
- The partition value
-
getURI
Satisfies a call toURIProvidingLocationKey.getURI()- Parameters:
locationKey- the key (row) for the desired location- Returns:
- The URI that backs the keyed location
-
getSnapshot
@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.TableLocationMetadataIndex.LocationSnapshot getSnapshot(long locationKey) Satisfies a call toSnapshotProvidingLocationKey.getSnapshot()- Parameters:
locationKey- the key (row) for the desired location- Returns:
- a
TableLocationMetadataIndex.LocationSnapshotinstance which backs this location
-