Interface FixedPartitionedEnterpriseTableLocationKey
- All Superinterfaces:
Comparable<TableLocationKey>,EnterpriseTableLocationKey,ImmutableTableLocationKey,LogOutputAppendable,NamedImplementation,TableLocationKey
- All Known Implementing Classes:
BasicFixedPartitionedDeephavenTableLocationKey
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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKeyadapt()Return an EnterpriseTableLocationKeyversion of this key.static @Nullable Map<String,Comparable<?>> makePartitionMap(@NotNull String columnPartitionKey, io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey enterprise) Convert the enterpriseTableLocationKeyinto a Community partition map.of(@NotNull String columnPartitionKey, io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey enterpriseKey) Create aTableLocationKeyfrom its enterprise equivalent and the partitioning column key.static io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKeytryAdapt(TableLocationKey actualKey) Methods inherited from interface io.deephaven.enterprise.locations.EnterpriseTableLocationKey
getPartitions, hasLocationSnapshotMethods inherited from interface io.deephaven.engine.table.impl.locations.ImmutableTableLocationKey
makeImmutableMethods inherited from interface io.deephaven.base.log.LogOutputAppendable
appendMethods inherited from interface io.deephaven.util.type.NamedImplementation
getImplementationNameMethods inherited from interface io.deephaven.engine.table.impl.locations.TableLocationKey
clear, compareTo, getPartitionKeys, getPartitionValue
-
Field Details
-
UNPARTITIONED_KEY_PLACEHOLDER
- See Also:
-
-
Method Details
-
of
static FixedPartitionedEnterpriseTableLocationKey of(@NotNull @NotNull String columnPartitionKey, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey enterpriseKey) Create aTableLocationKeyfrom its enterprise equivalent and the partitioning column key.- Parameters:
columnPartitionKey- the partitioning column nameenterpriseKey- 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 enterpriseTableLocationKeyinto a Community partition map. Note that if thecolumnPartitionKeyisUNPARTITIONED_KEY_PLACEHOLDERthis will returnnullto indicate the location is not partitioned.- Parameters:
columnPartitionKey- The key for the column partitionenterprise- 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 EnterpriseTableLocationKeyversion of this key.- Returns:
- an Enterprise
TableLocationKey
-
tryAdapt
@Nullable static io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey tryAdapt(TableLocationKey actualKey)
-