Class StandaloneTableLocationKey
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.StandaloneTableLocationKey
- All Implemented Interfaces:
LogOutputAppendable
,ImmutableTableLocationKey
,TableLocationKey
,NamedImplementation
,Comparable<TableLocationKey>
TableLocationKey
implementation for unpartitioned standalone tables.-
Field Summary
Fields inherited from interface io.deephaven.engine.table.impl.locations.ImmutableTableLocationKey
ZERO_LENGTH_IMMUTABLE_TABLE_LOCATION_KEY_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(@NotNull TableLocationKey other) boolean
Get a name for the implementing class.static TableLocationKey
Get the set of available partition keys.<PARTITION_VALUE_TYPE extends Comparable<PARTITION_VALUE_TYPE>>
PARTITION_VALUE_TYPEgetPartitionValue
(@NotNull String partitionKey) Lookup the value of one of the table partitions enclosing the location keyed bythis
.int
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.deephaven.engine.table.impl.locations.ImmutableTableLocationKey
makeImmutable
-
Method Details
-
getInstance
-
getImplementationName
Description copied from interface:NamedImplementation
Get a name for the implementing class. Useful for abstract classes that implement
LogOutputAppendable
or overridetoString
.The default implementation is correct, but not suitable for high-frequency usage.
- Specified by:
getImplementationName
in interfaceNamedImplementation
- Returns:
- A name for the implementing class
-
append
- Specified by:
append
in interfaceLogOutputAppendable
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<TableLocationKey>
-
hashCode
public int hashCode() -
equals
-
getPartitionValue
public <PARTITION_VALUE_TYPE extends Comparable<PARTITION_VALUE_TYPE>> PARTITION_VALUE_TYPE getPartitionValue(@NotNull @NotNull String partitionKey) Description copied from interface:TableLocationKey
Lookup the value of one of the table partitions enclosing the location keyed bythis
.- Specified by:
getPartitionValue
in interfaceTableLocationKey
- Type Parameters:
PARTITION_VALUE_TYPE
- The expected type of the partition value- Parameters:
partitionKey
- The name of the partition- Returns:
- The partition value
-
getPartitionKeys
Description copied from interface:TableLocationKey
Get the set of available partition keys.- Specified by:
getPartitionKeys
in interfaceTableLocationKey
- Returns:
- The set of available partition keys
-