Interface EnterpriseTableLocationKey

All Superinterfaces:
Comparable<TableLocationKey>, ImmutableTableLocationKey, LogOutputAppendable, NamedImplementation, TableLocationKey
All Known Subinterfaces:
FixedPartitionedEnterpriseTableLocationKey
All Known Implementing Classes:
BasicFixedPartitionedDeephavenTableLocationKey, DeephavenTableLocationKey, EnterpriseParquetTableLocationKey, EnterpriseTableLocationKeyUnresolved, SnapshotBackedTableLocationKey

public interface EnterpriseTableLocationKey extends ImmutableTableLocationKey
  • Method Details

    • getPartitions

      @NotNull @NotNull Map<String,Comparable<?>> getPartitions()
      Get the Column and Internal partitions as a map.
      Returns:
      a map of the partitions
    • hasLocationSnapshot

      default boolean hasLocationSnapshot()
      Check if this table has a metadata index
      Returns:
      true if it does.
    • computeHashCode

      static int computeHashCode(@NotNull @NotNull EnterpriseTableLocationKey key)
      Compute the hash code of the key using only the partitions.
      Parameters:
      key - the key to compute the hash code for
      Returns:
      the computed hash code
    • doCompare

      static int doCompare(@NotNull @NotNull EnterpriseTableLocationKey left, @Nullable @Nullable TableLocationKey right)
      Compare two location keys, automatically mapping the column and internal partition values.
      Parameters:
      left - the lhs of the comparison
      right - the rhs of the comparison
      Returns:
      the comparison result following the conventions of Comparable.compareTo(Object)
    • doEquals

      static boolean doEquals(@NotNull @NotNull EnterpriseTableLocationKey left, @Nullable @Nullable Object right)
      Check for equality between two location keys using only the partition values.
      Parameters:
      left - the lhs of the equality
      right - the rhs of the equality
      Returns:
      if the partitions are equal