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
FieldsFields inherited from interface io.deephaven.engine.table.impl.locations.ImmutableTableLocationKey
ZERO_LENGTH_IMMUTABLE_TABLE_LOCATION_KEY_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey
adapt()
Return an EnterpriseTableLocationKey
version 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 enterpriseTableLocationKey
into a Community partition map.of
(@NotNull String columnPartitionKey, io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey enterpriseKey) Create aTableLocationKey
from its enterprise equivalent and the partitioning column key.static io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey
tryAdapt
(TableLocationKey actualKey) Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface io.deephaven.enterprise.locations.EnterpriseTableLocationKey
getPartitions, hasLocationSnapshot
Methods inherited from interface io.deephaven.engine.table.impl.locations.ImmutableTableLocationKey
makeImmutable
Methods inherited from interface io.deephaven.base.log.LogOutputAppendable
append
Methods inherited from interface io.deephaven.util.type.NamedImplementation
getImplementationName
Methods inherited from interface io.deephaven.engine.table.impl.locations.TableLocationKey
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 aTableLocationKey
from 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 enterpriseTableLocationKey
into a Community partition map. Note that if thecolumnPartitionKey
isUNPARTITIONED_KEY_PLACEHOLDER
this will returnnull
to 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 EnterpriseTableLocationKey
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)
-