Class EnterpriseTableLocationKeyUnresolved
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey
io.deephaven.engine.table.impl.locations.local.FileTableLocationKey
io.deephaven.enterprise.locations.local.EnterpriseTableLocationKeyUnresolved
- All Implemented Interfaces:
LogOutputAppendable,ImmutableTableLocationKey,TableLocationKey,EnterpriseTableLocationKey,NamedImplementation,Comparable<TableLocationKey>
- Direct Known Subclasses:
SnapshotBackedTableLocationKey
public class EnterpriseTableLocationKeyUnresolved
extends FileTableLocationKey
implements EnterpriseTableLocationKey
An
EnterpriseTableLocationKey is an extension of FileTableLocationKey that defers the creation of the
actual location key until the data is needed by the EnterpriseTableLocationFactory.-
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.local.FileTableLocationKey
fileFields inherited from class io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey
partitionsFields inherited from interface io.deephaven.engine.table.impl.locations.ImmutableTableLocationKey
ZERO_LENGTH_IMMUTABLE_TABLE_LOCATION_KEY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionEnterpriseTableLocationKeyUnresolved(@NotNull File file) Construct a new EnterpriseTableLocationKeyUnresolved for the suppliedfilewithout any partitioning support.EnterpriseTableLocationKeyUnresolved(@NotNull File file, @Nullable Map<String, Comparable<?>> partitions) Construct a new EnterpriseTableLocationKeyUnresolved for the suppliedfileandpartitions. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(@NotNull TableLocationKey other) boolean@NotNull Map<String,Comparable<?>> Get the Column and Internal partitions as a map.inthashCode()Methods inherited from class io.deephaven.engine.table.impl.locations.local.FileTableLocationKey
append, getFile, getImplementationName, toStringMethods 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.base.log.LogOutputAppendable
appendMethods inherited from interface io.deephaven.util.type.NamedImplementation
getImplementationNameMethods inherited from interface io.deephaven.engine.table.impl.locations.TableLocationKey
getPartitionKeys, getPartitionValue
-
Constructor Details
-
EnterpriseTableLocationKeyUnresolved
Construct a new EnterpriseTableLocationKeyUnresolved for the suppliedfilewithout any partitioning support.- Parameters:
file- The file (or directory) that backs the keyed location. Will be adjusted to an absolute path.
-
EnterpriseTableLocationKeyUnresolved
public EnterpriseTableLocationKeyUnresolved(@NotNull @NotNull File file, @Nullable @Nullable Map<String, Comparable<?>> partitions) Construct a new EnterpriseTableLocationKeyUnresolved for the suppliedfileandpartitions.- Parameters:
file- The file (or directory) that backs the keyed location. Will be adjusted to an absolute path.partitions- The table partitions enclosing the table location keyed bythis. Note that if this parameter isnull, the location will be a member of no partitions. An ordered copy of the map will be made, so the calling code is free to mutate the map after this call completes, but the partition keys and values themselves must be effectively immutable.
-
-
Method Details
-
getPartitions
Description copied from interface:EnterpriseTableLocationKeyGet the Column and Internal partitions as a map.- Specified by:
getPartitionsin interfaceEnterpriseTableLocationKey- Returns:
- a map of the partitions
-
hashCode
public int hashCode()- Overrides:
hashCodein classFileTableLocationKey
-
compareTo
- Specified by:
compareToin interfaceComparable<TableLocationKey>- Overrides:
compareToin classFileTableLocationKey
-
equals
- Overrides:
equalsin classFileTableLocationKey
-