Deprecated List (ORC Core 1.6.6 API)
Date: 2021-01-13

# Deprecated API

## Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Methods
- Deprecated Constructors

- Deprecated Interfaces
  Interface and Description
  org.apache.orc.FileMetadata Use `OrcTail` instead

- Deprecated Classes
  Class and Description
  org.apache.orc.impl.MemoryManager

- Deprecated Methods
  Method and Description
  org.apache.orc.MemoryManager.addedRow(int) Use `MemoryManager.checkMemory(long, org.apache.orc.MemoryManager.Callback)` instead
  org.apache.orc.Writer.appendUserMetadata(List<OrcProto.UserMetadataItem>) use `Writer.addUserMetadata(String, ByteBuffer)` instead
  org.apache.orc.impl.ReaderImpl.ensureOrcFooter(ByteBuffer, int) Use `ReaderImpl.ensureOrcFooter(FSDataInputStream, Path, int, ByteBuffer)` instead.
  org.apache.orc.impl.ReaderImpl.extractFileTail(ByteBuffer) Use `ReaderImpl.extractFileTail(FileSystem, Path, long)` instead. This is for backward compatibility.
  org.apache.orc.impl.ReaderImpl.extractFileTail(ByteBuffer, long, long) Use `ReaderImpl.extractFileTail(FileSystem, Path, long)` instead. This is for backward compatibility.
  org.apache.orc.OrcFile.ReaderOptions.fileMetadata(FileMetadata) Use `OrcFile.ReaderOptions.orcTail(OrcTail)` instead.
  org.apache.orc.DateColumnStatistics.getMaximum() Use #getMaximumLocalDate instead
  org.apache.orc.DateColumnStatistics.getMinimum() Use #getMinimumLocalDate instead
  org.apache.orc.Reader.getOrcProtoFileStatistics() Use `Reader.getStatistics()` instead.
  org.apache.orc.Reader.getOrcProtoStripeStatistics() Use `Reader.getStripeStatistics()` instead.
  org.apache.orc.impl.OrcTail.getStripeStatistics() the user should use Reader.getStripeStatistics instead.
  org.apache.orc.Reader.getTypes() use getSchema instead
  org.apache.orc.impl.MemoryManagerImpl.notifyWriters() remove this method

- Deprecated Constructors
  Constructor and Description
  org.threeten.extra.chrono.HybridChronology() Use the singleton `HybridChronology.INSTANCE` instead.
  org.apache.orc.impl.RecordReaderImpl.SargApplier(SearchArgument, long, SchemaEvolution, OrcFile.WriterVersion, boolean) Use the constructor having full parameters. This exists for backward compatibility.
  org.apache.orc.impl.SchemaEvolution(TypeDescription, boolean[])
  org.apache.orc.impl.SchemaEvolution(TypeDescription, TypeDescription, boolean[])

Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.