Class NestedPartitionedParquetTableLocationKey
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey
io.deephaven.engine.table.impl.locations.local.URITableLocationKey
io.deephaven.parquet.table.location.ParquetTableLocationKey
io.deephaven.enterprise.locations.nestedpartitioned.NestedPartitionedParquetTableLocationKey
- All Implemented Interfaces:
LogOutputAppendable
,ImmutableTableLocationKey
,TableLocationKey
,EnterpriseTableLocationKey
,NamedImplementation
,Comparable<TableLocationKey>
public class NestedPartitionedParquetTableLocationKey
extends ParquetTableLocationKey
implements EnterpriseTableLocationKey
A
TableLocationKey
marking tables stored in a Deephaven Enterprise database in the Parquet format. This class
overrides the comparison and equals methods of ParquetTableLocationKey
so that equality and order only depend
on the column and internal partitions of the location, not the parquet file itself.-
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
ConstructorsConstructorDescriptionNestedPartitionedParquetTableLocationKey
(@NotNull URI uri, @Nullable Map<String, Comparable<?>> partitions) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(@NotNull TableLocationKey other) boolean
org.apache.parquet.hadoop.metadata.ParquetMetadata
@NotNull Map<String,
Comparable<?>> Get the Column and Internal partitions as a map.int
hashCode()
Methods inherited from class io.deephaven.parquet.table.location.ParquetTableLocationKey
clear, getFileReader, getImplementationName, getRowGroupIndices, setFileReader, setMetadata, setRowGroupIndices
Methods inherited from class io.deephaven.engine.table.impl.locations.local.URITableLocationKey
append, 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
-
NestedPartitionedParquetTableLocationKey
public NestedPartitionedParquetTableLocationKey(@NotNull @NotNull URI uri, @Nullable @Nullable Map<String, Comparable<?>> partitions)
-
-
Method Details
-
getMetadata
public org.apache.parquet.hadoop.metadata.ParquetMetadata getMetadata()- Overrides:
getMetadata
in classParquetTableLocationKey
-
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
-