Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Classes
  • Enums
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Deprecated Classes
    Class
    Description
    org.apache.parquet.internal.filter2.columnindex.RowRanges
    moved to RowRanges. This type is retained only so that the released ParquetFileReader#readFilteredRowGroup(int, RowRanges) signature keeps linking; it will be removed in 2.0. Use RowRanges instead.
    org.apache.parquet.io.BaseRecordReader
     
    org.apache.parquet.schema.DecimalMetadata
    use LogicalTypeAnnotation.DecimalLogicalTypeAnnotation with proper precision and scale parameters instead
  • Deprecated Enums
    Enum
    Description
    org.apache.parquet.schema.OriginalType
    use LogicalTypeAnnotation to represent logical types instead
  • Deprecated Fields
    Field
    Description
    org.apache.parquet.column.ParquetProperties.DEFAULT_VALUES_WRITER_FACTORY
    This shared instance can cause thread safety issues when used by multiple builders concurrently. Use new DefaultValuesWriterFactory() instead to create individual instances.
    org.apache.parquet.column.values.plain.PlainValuesWriter.CHARSET
  • Deprecated Methods
    Method
    Description
    org.apache.parquet.column.ColumnDescriptor.getType()
    will removed in 2.0.0. Use ColumnDescriptor.getPrimitiveType() instead.
    org.apache.parquet.column.ColumnDescriptor.getTypeLength()
    will removed in 2.0.0. Use ColumnDescriptor.getPrimitiveType() instead.
    org.apache.parquet.column.ColumnReader.getTotalValueCount()
    will be removed in 2.0.0; Total values might not be able to be counted before reading the values (e.g. in case of column index based filtering)
    org.apache.parquet.column.page.PageWriter.writePage(BytesInput, int, int, Statistics<?>, SizeStatistics, Encoding, Encoding, Encoding)
    org.apache.parquet.column.page.PageWriter.writePage(BytesInput, int, Statistics<?>, Encoding, Encoding, Encoding)
    will be removed in 2.0.0. This method does not support writing column indexes; Use PageWriter.writePage(BytesInput, int, int, Statistics, Encoding, Encoding, Encoding) instead
    org.apache.parquet.column.page.PageWriter.writePageV2(int, int, int, BytesInput, BytesInput, Encoding, BytesInput, Statistics<?>, SizeStatistics)
    org.apache.parquet.column.ParquetProperties.isByteStreamSplitEnabled()
    org.apache.parquet.column.ParquetProperties.isEnableDictionary()
    org.apache.parquet.column.statistics.BinaryStatistics.getMax()
    use BinaryStatistics.genericGetMax(), will be removed in 2.0.0
    org.apache.parquet.column.statistics.BinaryStatistics.getMin()
    use BinaryStatistics.genericGetMin(), will be removed in 2.0.0
    org.apache.parquet.column.statistics.BinaryStatistics.initializeStats(Binary, Binary)
    use BinaryStatistics.updateStats(Binary), will be removed in 2.0.0
    org.apache.parquet.column.statistics.BinaryStatistics.setMinMax(Binary, Binary)
    use BinaryStatistics.updateStats(Binary), will be removed in 2.0.0
    org.apache.parquet.column.statistics.BinaryStatistics.updateStats(Binary, Binary)
    use BinaryStatistics.updateStats(Binary), will be removed in 2.0.0
    org.apache.parquet.column.statistics.Float16Statistics.updateStats(Binary, Binary)
    org.apache.parquet.column.statistics.IEEE754Float16Statistics.updateStats(Binary, Binary)
    org.apache.parquet.column.statistics.Statistics.getStatsBasedOnType(PrimitiveType.PrimitiveTypeName)
    Use Statistics.createStats(Type) instead
    org.apache.parquet.column.statistics.Statistics.setMinMaxFromBytes(byte[], byte[])
    will be removed in 2.0.0. Use Statistics.getBuilderForReading(PrimitiveType) instead.
    org.apache.parquet.column.statistics.Statistics.setNumNulls(long)
    will be removed in 2.0.0. Use Statistics.getBuilderForReading(PrimitiveType) instead.
    org.apache.parquet.column.values.ValuesReader.getNextOffset()
    Will be removed in 2.0.0
    org.apache.parquet.column.values.ValuesReader.initFromPage(int, byte[], int)
    org.apache.parquet.column.values.ValuesReader.initFromPage(int, ByteBuffer, int)
    Will be removed in 2.0.0
    org.apache.parquet.filter2.recordlevel.FilteringRecordMaterializer.getIndexFieldPathList(PrimitiveColumnIO)
    org.apache.parquet.filter2.recordlevel.FilteringRecordMaterializer.intArrayToList(int[])
    org.apache.parquet.internal.filter2.columnindex.RowRanges.create(long, PrimitiveIterator.OfInt, OffsetIndex)
    use RowRanges.builder() together with RowRanges.Builder.addSelectedRange(long, long)
    org.apache.parquet.io.api.Binary.compareTo(Binary)
    will be removed in 2.0.0. The comparison logic depends on the related logical type therefore this one might not be correct. The Comparator implementation for the related type available at PrimitiveType.comparator() should be used instead.
    org.apache.parquet.io.api.Binary.fromByteArray(byte[])
    org.apache.parquet.io.api.Binary.fromByteArray(byte[], int, int)
    org.apache.parquet.io.api.Binary.fromByteBuffer(ByteBuffer)
    org.apache.parquet.io.MessageColumnIO.getRecordReader(PageReadStore, RecordMaterializer<T>, UnboundRecordFilter)
    use getRecordReader(PageReadStore, RecordMaterializer, Filter)
    org.apache.parquet.schema.ConversionPatterns.listType(Type.Repetition, String, Type)
    use listOfElements instead
    org.apache.parquet.schema.GroupType.typeEquals(Type)
    org.apache.parquet.schema.GroupType.typeHashCode()
    org.apache.parquet.schema.LogicalTypeAnnotation.BsonLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.DateLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.DecimalLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.EnumLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.GeographyLogicalTypeAnnotation.toOriginalType()
    org.apache.parquet.schema.LogicalTypeAnnotation.GeometryLogicalTypeAnnotation.toOriginalType()
    org.apache.parquet.schema.LogicalTypeAnnotation.IntervalLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.IntLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.JsonLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.ListLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.MapKeyValueTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.MapLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.StringLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.TimeLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.TimestampLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.LogicalTypeAnnotation.UUIDLogicalTypeAnnotation.toOriginalType()
    Please use the LogicalTypeAnnotation itself
    org.apache.parquet.schema.PrimitiveType.getDecimalMetadata()
    org.apache.parquet.schema.PrimitiveType.typeEquals(Type)
    org.apache.parquet.schema.PrimitiveType.typeHashCode()
    org.apache.parquet.schema.Type.ID.getId()
    use Type.ID.intValue() instead.
    org.apache.parquet.schema.Type.typeEquals(Type)
    org.apache.parquet.schema.Type.typeHashCode()
    org.apache.parquet.schema.Types.BasePrimitiveBuilder.precision(int)
    use Types.Builder.as(LogicalTypeAnnotation) with the corresponding decimal type instead
    org.apache.parquet.schema.Types.BasePrimitiveBuilder.scale(int)
    use Types.Builder.as(LogicalTypeAnnotation) with the corresponding decimal type instead
    org.apache.parquet.schema.Types.Builder.as(OriginalType)
    use Types.Builder.as(LogicalTypeAnnotation) with the corresponding logical type instead
  • Deprecated Constructors
    Constructor
    Description
    org.apache.parquet.column.ColumnDescriptor(String[], PrimitiveType.PrimitiveTypeName, int, int)
    will be removed in 2.0.0; Use ColumnDescriptor(String[], PrimitiveType, int, int)
    org.apache.parquet.column.ColumnDescriptor(String[], PrimitiveType.PrimitiveTypeName, int, int, int)
    will be removed in 2.0.0; Use ColumnDescriptor(String[], PrimitiveType, int, int)
    org.apache.parquet.column.impl.ColumnWriteStoreV1(PageWriteStore, ParquetProperties)
    org.apache.parquet.column.statistics.BinaryStatistics()
    will be removed in 2.0.0. Use Statistics.createStats(org.apache.parquet.schema.Type) instead
    org.apache.parquet.column.statistics.BooleanStatistics()
    will be removed in 2.0.0. Use Statistics.createStats(org.apache.parquet.schema.Type) instead
    org.apache.parquet.column.statistics.DoubleStatistics()
    will be removed in 2.0.0. Use Statistics.createStats(org.apache.parquet.schema.Type) instead
    org.apache.parquet.column.statistics.FloatStatistics()
    will be removed in 2.0.0. Use Statistics.createStats(org.apache.parquet.schema.Type) instead
    org.apache.parquet.column.statistics.IntStatistics()
    will be removed in 2.0.0. Use Statistics.createStats(org.apache.parquet.schema.Type) instead
    org.apache.parquet.column.statistics.LongStatistics()
    will be removed in 2.0.0. Use Statistics.createStats(org.apache.parquet.schema.Type) instead
    org.apache.parquet.filter2.predicate.Statistics(T, T)
    will be removed in 2.0.0. Use Statistics(Object, Object, Comparator) instead
    org.apache.parquet.filter2.recordlevel.IncrementallyUpdatedFilterPredicateBuilderBase()
    org.apache.parquet.schema.GroupType(Type.Repetition, String, OriginalType, List<Type>)
    org.apache.parquet.schema.GroupType(Type.Repetition, String, OriginalType, Type...)
    org.apache.parquet.schema.PrimitiveType(Type.Repetition, PrimitiveType.PrimitiveTypeName, int, String, OriginalType)
    org.apache.parquet.schema.PrimitiveType(Type.Repetition, PrimitiveType.PrimitiveTypeName, int, String, OriginalType, DecimalMetadata, Type.ID)
    will be removed in 2.0.0; use builders in Types instead
    org.apache.parquet.schema.PrimitiveType(Type.Repetition, PrimitiveType.PrimitiveTypeName, String, OriginalType)
    will be removed in 2.0.0; use builders in Types instead
    org.apache.parquet.schema.Type(String, Type.Repetition)
    org.apache.parquet.schema.Type(String, Type.Repetition, OriginalType)
  • Deprecated Enum Constants
    Enum Constant
    Description
    org.apache.parquet.column.Encoding.BIT_PACKED
    This is no longer used, and has been replaced by Encoding.RLE which is combination of bit packing and rle
    org.apache.parquet.column.Encoding.PLAIN_DICTIONARY
    now replaced by RLE_DICTIONARY for the data page encoding and PLAIN for the dictionary page encoding

Copyright © 2026 The Apache Software Foundation. All rights reserved.