public abstract class ColumnChunkMetaData extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ColumnChunkMetaData(ColumnChunkProperties columnChunkProperties) |
protected |
ColumnChunkMetaData(EncodingStats encodingStats,
ColumnChunkProperties columnChunkProperties) |
protected ColumnChunkMetaData(ColumnChunkProperties columnChunkProperties)
protected ColumnChunkMetaData(EncodingStats encodingStats, ColumnChunkProperties columnChunkProperties)
@Deprecated public static ColumnChunkMetaData get(org.apache.parquet.hadoop.metadata.ColumnPath path, PrimitiveType.PrimitiveTypeName type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<Encoding> encodings, long firstDataPage, long dictionaryPageOffset, long valueCount, long totalSize, long totalUncompressedSize)
@Deprecated public static ColumnChunkMetaData get(org.apache.parquet.hadoop.metadata.ColumnPath path, PrimitiveType.PrimitiveTypeName type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<Encoding> encodings, Statistics statistics, long firstDataPage, long dictionaryPageOffset, long valueCount, long totalSize, long totalUncompressedSize)
@Deprecated public static ColumnChunkMetaData get(org.apache.parquet.hadoop.metadata.ColumnPath path, PrimitiveType.PrimitiveTypeName type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, EncodingStats encodingStats, Set<Encoding> encodings, Statistics statistics, long firstDataPage, long dictionaryPageOffset, long valueCount, long totalSize, long totalUncompressedSize)
get(ColumnPath, PrimitiveType, CompressionCodecName, EncodingStats, Set, Statistics, long, long, long, long, long)
instead.path - the path of this column in the write schematype - primitive type for this columncodec - the compression codec used to compressencodingStats - EncodingStats for the encodings used in this columnencodings - a set of encoding used in this columnstatistics - statistics for the data in this columnfirstDataPage - offset of the first non-dictionary pagedictionaryPageOffset - offset of the the dictionary pagevalueCount - number of valuestotalSize - total compressed sizetotalUncompressedSize - uncompressed data sizepublic static ColumnChunkMetaData get(org.apache.parquet.hadoop.metadata.ColumnPath path, PrimitiveType type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, EncodingStats encodingStats, Set<Encoding> encodings, Statistics statistics, long firstDataPage, long dictionaryPageOffset, long valueCount, long totalSize, long totalUncompressedSize)
public long getStartingPos()
protected static boolean positiveLongFitsInAnInt(long value)
value - a long valuepublic org.apache.parquet.hadoop.metadata.CompressionCodecName getCodec()
@Deprecated public org.apache.parquet.hadoop.metadata.ColumnPath getPath()
getPrimitiveType() instead.@Deprecated public PrimitiveType.PrimitiveTypeName getType()
getPrimitiveType() instead.public PrimitiveType getPrimitiveType()
public abstract long getFirstDataPageOffset()
public abstract long getDictionaryPageOffset()
public abstract long getValueCount()
public abstract long getTotalUncompressedSize()
public abstract long getTotalSize()
public abstract Statistics getStatistics()
public EncodingStats getEncodingStats()
Copyright © 2019 The Apache Software Foundation. All rights reserved.