Class EnterpriseParquetTableLocationKey
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.PartitionedTableLocationKey
io.deephaven.engine.table.impl.locations.local.FileTableLocationKey
io.deephaven.parquet.table.location.ParquetTableLocationKey
io.deephaven.enterprise.locations.local.parquet.EnterpriseParquetTableLocationKey
- All Implemented Interfaces:
LogOutputAppendable,ImmutableTableLocationKey,TableLocationKey,EnterpriseTableLocationKey,NamedImplementation,Comparable<TableLocationKey>
public class EnterpriseParquetTableLocationKey
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.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
ConstructorsConstructorDescriptionEnterpriseParquetTableLocationKey(@NotNull File file, @Nullable Map<String, Comparable<?>> partitions) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(@NotNull TableLocationKey other) booleanorg.apache.parquet.hadoop.metadata.ParquetMetadata@NotNull Map<String,Comparable<?>> Get the Column and Internal partitions as a map.inthashCode()Methods inherited from class io.deephaven.parquet.table.location.ParquetTableLocationKey
getFileReader, getImplementationName, getRowGroupIndices, setFileReader, setMetadata, setRowGroupIndices, verifyFileReaderMethods inherited from class io.deephaven.engine.table.impl.locations.local.FileTableLocationKey
append, getFile, 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
-
EnterpriseParquetTableLocationKey
public EnterpriseParquetTableLocationKey(@NotNull @NotNull File file, @Nullable @Nullable Map<String, Comparable<?>> partitions)
-
-
Method Details
-
getMetadata
public org.apache.parquet.hadoop.metadata.ParquetMetadata getMetadata()- Overrides:
getMetadatain classParquetTableLocationKey
-
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
-