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 SummaryFields
- 
Method SummaryModifier 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.EnterpriseTableLocationKeygetPartitions, hasLocationSnapshotMethods inherited from interface io.deephaven.engine.table.impl.locations.ImmutableTableLocationKeymakeImmutableMethods inherited from interface io.deephaven.base.log.LogOutputAppendableappendMethods inherited from interface io.deephaven.util.type.NamedImplementationgetImplementationNameMethods inherited from interface io.deephaven.engine.table.impl.locations.TableLocationKeyclear, compareTo, getPartitionKeys, getPartitionValue
- 
Field Details- 
UNPARTITIONED_KEY_PLACEHOLDER- See Also:
 
 
- 
- 
Method Details- 
ofstatic 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 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 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 partition
- enterprise- the enterprise table location key
- Returns:
- a map of partitions, or null if the columnPartitionKey is UNPARTITIONED_KEY_PLACEHOLDER
 
- 
adaptio.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) 
 
-