Class ColumnChunkProperties


  • public class ColumnChunkProperties
    extends Object
    • 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. 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()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object