Also used :
ORIGINAL(com.facebook.presto.orc.metadata.PostScript.HiveWriterVersion.ORIGINAL)
Iterables(com.google.common.collect.Iterables)
Slice(io.airlift.slice.Slice)
Logger(io.airlift.log.Logger)
OrcTypeKind(com.facebook.presto.orc.metadata.OrcType.OrcTypeKind)
BigDecimal(java.math.BigDecimal)
ZLIB(com.facebook.presto.orc.metadata.CompressionKind.ZLIB)
GIGABYTE(io.airlift.units.DataSize.Unit.GIGABYTE)
ImmutableList(com.google.common.collect.ImmutableList)
HiveWriterVersion(com.facebook.presto.orc.metadata.PostScript.HiveWriterVersion)
Slices(io.airlift.slice.Slices)
Map(java.util.Map)
Math.toIntExact(java.lang.Math.toIntExact)
StreamKind(com.facebook.presto.orc.metadata.Stream.StreamKind)
ORC_HIVE_8732(com.facebook.presto.orc.metadata.PostScript.HiveWriterVersion.ORC_HIVE_8732)
UNCOMPRESSED(com.facebook.presto.orc.metadata.CompressionKind.UNCOMPRESSED)
ImmutableMap(com.google.common.collect.ImmutableMap)
ColumnEncodingKind(com.facebook.presto.orc.metadata.ColumnEncoding.ColumnEncodingKind)
RowIndexEntry(com.facebook.presto.orc.proto.OrcProto.RowIndexEntry)
SNAPPY(com.facebook.presto.orc.metadata.CompressionKind.SNAPPY)
IOException(java.io.IOException)
Preconditions.checkState(com.google.common.base.Preconditions.checkState)
DataSize(io.airlift.units.DataSize)
List(java.util.List)
CodedInputStream(com.facebook.presto.orc.protobuf.CodedInputStream)
OrcProto(com.facebook.presto.orc.proto.OrcProto)
Optional(java.util.Optional)
VisibleForTesting(com.google.common.annotations.VisibleForTesting)
MIN_SURROGATE(java.lang.Character.MIN_SURROGATE)
InputStream(java.io.InputStream)
CodedInputStream(com.facebook.presto.orc.protobuf.CodedInputStream)
OrcProto(com.facebook.presto.orc.proto.OrcProto)