Class BasicFixedPartitionedDeephavenTableLocationKey
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey
io.deephaven.enterprise.locations.impl.BasicFixedPartitionedDeephavenTableLocationKey
- All Implemented Interfaces:
LogOutputAppendable,ImmutableTableLocationKey,TableLocationKey,EnterpriseTableLocationKey,FixedPartitionedEnterpriseTableLocationKey,NamedImplementation,Comparable<TableLocationKey>
public class BasicFixedPartitionedDeephavenTableLocationKey
extends PartitionedTableLocationKey
implements FixedPartitionedEnterpriseTableLocationKey
An
FixedPartitionedEnterpriseTableLocationKey that simply wraps an enterprise
TableLocationKey-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey
PartitionedTableLocationKey.PartitionsComparator, PartitionedTableLocationKey.PartitionsFormatter -
Field Summary
Fields inherited from class io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey
partitionsFields inherited from interface io.deephaven.enterprise.locations.FixedPartitionedEnterpriseTableLocationKey
UNPARTITIONED_KEY_PLACEHOLDER -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBasicFixedPartitionedDeephavenTableLocationKey(@NotNull String columnPartitionKey, @Nullable Map<String, Comparable<?>> partitions) BasicFixedPartitionedDeephavenTableLocationKey(@NotNull String columnPartitionKey, io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey wrapped) -
Method Summary
Modifier and TypeMethodDescriptionio.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKeyadapt()Return an EnterpriseTableLocationKeyversion of this key.intcompareTo(@NotNull TableLocationKey other) boolean@NotNull Map<String,Comparable<?>> Get the Column and Internal partitions as a map.inthashCode()of(@NotNull String internalPartitionValue, @NotNull String partitionColumn, @NotNull String partitionColumnValue) Creates a simplified table location key with an internal partition and String partition column.toString()Methods inherited from class io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey
getPartitionKeys, getPartitionValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.deephaven.enterprise.locations.EnterpriseTableLocationKey
hasLocationSnapshotMethods inherited from interface io.deephaven.engine.table.impl.locations.ImmutableTableLocationKey
makeImmutableMethods inherited from interface io.deephaven.util.type.NamedImplementation
getImplementationNameMethods inherited from interface io.deephaven.engine.table.impl.locations.TableLocationKey
clear, getPartitionKeys, getPartitionValue
-
Constructor Details
-
BasicFixedPartitionedDeephavenTableLocationKey
public BasicFixedPartitionedDeephavenTableLocationKey(@NotNull @NotNull String columnPartitionKey, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey wrapped) -
BasicFixedPartitionedDeephavenTableLocationKey
protected BasicFixedPartitionedDeephavenTableLocationKey(@NotNull @NotNull String columnPartitionKey, @Nullable @Nullable Map<String, Comparable<?>> partitions)
-
-
Method Details
-
of
public static BasicFixedPartitionedDeephavenTableLocationKey of(@NotNull @NotNull String internalPartitionValue, @NotNull @NotNull String partitionColumn, @NotNull @NotNull String partitionColumnValue) Creates a simplified table location key with an internal partition and String partition column.- Parameters:
internalPartitionValue- the value for the internal partition key "__INTERNAL_PARTITION__"partitionColumn- the partition columnpartitionColumnValue- the partition column value- Returns:
- a new table location key
-
getPartitions
Description copied from interface:EnterpriseTableLocationKeyGet the Column and Internal partitions as a map.- Specified by:
getPartitionsin interfaceEnterpriseTableLocationKey- Returns:
- a map of the partitions
-
compareTo
- Specified by:
compareToin interfaceComparable<TableLocationKey>- Specified by:
compareToin interfaceTableLocationKey- Overrides:
compareToin classPartitionedTableLocationKey
-
equals
- Overrides:
equalsin classPartitionedTableLocationKey
-
hashCode
public int hashCode()- Overrides:
hashCodein classPartitionedTableLocationKey
-
adapt
public io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableLocationKey adapt()Description copied from interface:FixedPartitionedEnterpriseTableLocationKeyReturn an EnterpriseTableLocationKeyversion of this key.- Specified by:
adaptin interfaceFixedPartitionedEnterpriseTableLocationKey- Returns:
- an Enterprise
TableLocationKey
-
append
- Specified by:
appendin interfaceLogOutputAppendable
-
toString
-