Class ColumnChunkProperties
- java.lang.Object
-
- org.apache.parquet.hadoop.metadata.ColumnChunkProperties
-
public class ColumnChunkProperties extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)static ColumnChunkPropertiesget(org.apache.parquet.hadoop.metadata.ColumnPath path, PrimitiveType.PrimitiveTypeName type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<Encoding> encodings)Deprecated.will be removed in 2.0.0.static ColumnChunkPropertiesget(org.apache.parquet.hadoop.metadata.ColumnPath path, PrimitiveType type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<Encoding> encodings)org.apache.parquet.hadoop.metadata.CompressionCodecNamegetCodec()Set<Encoding>getEncodings()org.apache.parquet.hadoop.metadata.ColumnPathgetPath()PrimitiveTypegetPrimitiveType()PrimitiveType.PrimitiveTypeNamegetType()Deprecated.will be removed in 2.0.0.inthashCode()StringtoString()
-
-
-
Method Detail
-
get
@Deprecated public static ColumnChunkProperties get(org.apache.parquet.hadoop.metadata.ColumnPath path, PrimitiveType.PrimitiveTypeName type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<Encoding> encodings)
Deprecated.will be removed in 2.0.0. Useget(ColumnPath, PrimitiveType, CompressionCodecName, Set)instead.- Parameters:
path- the path of this column in the write schematype- the primitive type of this columncodec- the compression codec used for this columnencodings- a set of encodings used by this column- Returns:
- column chunk properties
-
get
public static ColumnChunkProperties get(org.apache.parquet.hadoop.metadata.ColumnPath path, PrimitiveType type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<Encoding> encodings)
-
getCodec
public org.apache.parquet.hadoop.metadata.CompressionCodecName getCodec()
-
getPath
public org.apache.parquet.hadoop.metadata.ColumnPath getPath()
-
getType
@Deprecated public PrimitiveType.PrimitiveTypeName getType()
Deprecated.will be removed in 2.0.0. UsegetPrimitiveType()instead.- Returns:
- the primitive type name for the column
-
getPrimitiveType
public PrimitiveType getPrimitiveType()
- Returns:
- the primitive type object for the column
-
-