Class ColumnChunkProperties

java.lang.Object
org.apache.parquet.hadoop.metadata.ColumnChunkProperties

public class ColumnChunkProperties extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    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.
    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
     
    Set<org.apache.parquet.column.Encoding>
     
    org.apache.parquet.hadoop.metadata.ColumnPath
     
    org.apache.parquet.schema.PrimitiveType
     
    org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName
    Deprecated.
    will be removed in 2.0.0.
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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. Use get(ColumnPath, PrimitiveType, CompressionCodecName, Set) instead.
      Parameters:
      path - the path of this column in the write schema
      type - the primitive type of this column
      codec - the compression codec used for this column
      encodings - 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. Use getPrimitiveType() 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()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object