Class NestedPartitionedUnresolvedTableLocationKey
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey
io.deephaven.engine.table.impl.locations.local.URITableLocationKey
io.deephaven.enterprise.locations.nestedpartitioned.NestedPartitionedUnresolvedTableLocationKey
- All Implemented Interfaces:
LogOutputAppendable
,ImmutableTableLocationKey
,TableLocationKey
,EnterpriseTableLocationKey
,NamedImplementation
,Comparable<TableLocationKey>
- Direct Known Subclasses:
NestedPartitionedSnapshotTableLocationKey
public class NestedPartitionedUnresolvedTableLocationKey
extends URITableLocationKey
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 NestedPartitionedTableLocationFactory
.-
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.URITableLocationKey
order, uri
Fields inherited from class io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey
partitions
-
Constructor Summary
ConstructorsConstructorDescriptionNestedPartitionedUnresolvedTableLocationKey
(@NotNull URI uri) Construct a new EnterpriseTableLocationKeyUnresolved for the supplieduri
without any partitioning support.NestedPartitionedUnresolvedTableLocationKey
(@NotNull URI uri, @Nullable Map<String, Comparable<?>> partitions) Construct a new EnterpriseTableLocationKeyUnresolved for the supplieduri
andpartitions
. -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(@NotNull TableLocationKey other) boolean
@NotNull Map<String,
Comparable<?>> Get the Column and Internal partitions as a map.int
hashCode()
Methods inherited from class io.deephaven.engine.table.impl.locations.local.URITableLocationKey
append, getImplementationName, getURI, toString
Methods inherited from class io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey
getPartitionKeys, getPartitionValue
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.deephaven.enterprise.locations.EnterpriseTableLocationKey
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
clear, getPartitionKeys, getPartitionValue
-
Constructor Details
-
NestedPartitionedUnresolvedTableLocationKey
Construct a new EnterpriseTableLocationKeyUnresolved for the supplieduri
without any partitioning support.- Parameters:
uri
- The uri (or directory) that backs the keyed location. Will be adjusted to an absolute path.
-
NestedPartitionedUnresolvedTableLocationKey
public NestedPartitionedUnresolvedTableLocationKey(@NotNull @NotNull URI uri, @Nullable @Nullable Map<String, Comparable<?>> partitions) Construct a new EnterpriseTableLocationKeyUnresolved for the supplieduri
andpartitions
.- Parameters:
uri
- The uri (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:EnterpriseTableLocationKey
Get the Column and Internal partitions as a map.- Specified by:
getPartitions
in interfaceEnterpriseTableLocationKey
- Returns:
- a map of the partitions
-
hashCode
public int hashCode()- Overrides:
hashCode
in classURITableLocationKey
-
compareTo
- Specified by:
compareTo
in interfaceComparable<TableLocationKey>
- Specified by:
compareTo
in interfaceTableLocationKey
- Overrides:
compareTo
in classURITableLocationKey
-
equals
- Overrides:
equals
in classURITableLocationKey
-