Interface FixedPartitionedEnterpriseTableLocationKey

All Superinterfaces:
Comparable<TableLocationKey>, EnterpriseTableLocationKey, ImmutableTableLocationKey, LogOutputAppendable, NamedImplementation, TableLocationKey
All Known Implementing Classes:
BasicFixedPartitionedDeephavenTableLocationKey

public interface FixedPartitionedEnterpriseTableLocationKey extends EnterpriseTableLocationKey
This class represents an instance of a legacy style Deephaven table where there are two fixed partitions, the column partition and the internal partition
  • Field Details

  • Method Details

    • of

      static FixedPartitionedEnterpriseTableLocationKey of(@NotNull @NotNull String columnPartitionKey, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey enterpriseKey)
      Create a TableLocationKey from its enterprise equivalent and the partitioning column key.
      Parameters:
      columnPartitionKey - the partitioning column name
      enterpriseKey - the source enterprise key
      Returns:
      a new FixedPartitionedEnterpriseTableLocationKey
    • makePartitionMap

      @Nullable static @Nullable Map<String,Comparable<?>> makePartitionMap(@NotNull @NotNull String columnPartitionKey, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey enterprise)
      Convert the enterprise TableLocationKey into a Community partition map. Note that if the columnPartitionKey is UNPARTITIONED_KEY_PLACEHOLDER this will return null to indicate the location is not partitioned.
      Parameters:
      columnPartitionKey - The key for the column partition
      enterprise - the enterprise table location key
      Returns:
      a map of partitions, or null if the columnPartitionKey is UNPARTITIONED_KEY_PLACEHOLDER
    • adapt

      io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey adapt()
      Return an Enterprise TableLocationKey version of this key.
      Returns:
      an Enterprise TableLocationKey
    • tryAdapt

      @Nullable static io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey tryAdapt(TableLocationKey actualKey)