Class ColumnChunkProperties
java.lang.Object
org.apache.parquet.hadoop.metadata.ColumnChunkProperties
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ColumnChunkPropertiesget(org.apache.parquet.hadoop.metadata.ColumnPath path, org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<org.apache.parquet.column.Encoding> encodings) Deprecated.will be removed in 2.0.0.static ColumnChunkPropertiesget(org.apache.parquet.hadoop.metadata.ColumnPath path, org.apache.parquet.schema.PrimitiveType type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<org.apache.parquet.column.Encoding> encodings) org.apache.parquet.hadoop.metadata.CompressionCodecNamegetCodec()Set<org.apache.parquet.column.Encoding>org.apache.parquet.hadoop.metadata.ColumnPathgetPath()org.apache.parquet.schema.PrimitiveTypeorg.apache.parquet.schema.PrimitiveType.PrimitiveTypeNamegetType()Deprecated.will be removed in 2.0.0.inthashCode()toString()
-
Method Details
-
get
@Deprecated public static ColumnChunkProperties get(org.apache.parquet.hadoop.metadata.ColumnPath path, org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<org.apache.parquet.column.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, org.apache.parquet.schema.PrimitiveType type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<org.apache.parquet.column.Encoding> encodings) -
getCodec
public org.apache.parquet.hadoop.metadata.CompressionCodecName getCodec() -
getPath
public org.apache.parquet.hadoop.metadata.ColumnPath getPath() -
getType
Deprecated.will be removed in 2.0.0. UsegetPrimitiveType()instead.- Returns:
- the primitive type name for the column
-
getPrimitiveType
public org.apache.parquet.schema.PrimitiveType getPrimitiveType()- Returns:
- the primitive type object for the column
-
getEncodings
-
equals
-
hashCode
public int hashCode() -
toString
-