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 boolean
equals(Object obj)
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.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)
org.apache.parquet.hadoop.metadata.CompressionCodecName
getCodec()
Set<org.apache.parquet.column.Encoding>
getEncodings()
org.apache.parquet.hadoop.metadata.ColumnPath
getPath()
org.apache.parquet.schema.PrimitiveType
getPrimitiveType()
org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName
getType()
Deprecated.will be removed in 2.0.0.int
hashCode()
String
toString()
-
-
-
Method Detail
-
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 public org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName 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
public Set<org.apache.parquet.column.Encoding> getEncodings()
-
-