Interface TableLocationsKeyGetter

All Superinterfaces:
Comparable<TableLocationsKeyGetter>
All Known Implementing Classes:
DeferredLocationsTableKeyGetter

public interface TableLocationsKeyGetter extends Comparable<TableLocationsKeyGetter>
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 Details

    • getPartitionKeys

      Set<String> getPartitionKeys()
      Returns:
      The set of available partition keys
    • getPartitions

      Map<String,Comparable<?>> getPartitions(long locationKey)
      Parameters:
      locationKey - the key (row) for the desired location
      Returns:
      a map of the partitions
    • getPartitionValue

      Comparable<?> getPartitionValue(long locationKey, String partitionKey)
      Parameters:
      locationKey - the key (row) for the desired location
      partitionKey - The name of the partition
      Returns:
      The partition value
    • getURI

      URI getURI(long locationKey)
      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)
      Parameters:
      locationKey - the key (row) for the desired location
      Returns:
      a TableLocationMetadataIndex.LocationSnapshot instance which backs this location