public class MetadataReader extends Object
Constructor and Description |
---|
MetadataReader(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path path,
CompressionCodec codec,
int bufferSize,
int typeCount) |
MetadataReader(org.apache.hadoop.fs.FSDataInputStream file,
CompressionCodec codec,
int bufferSize,
int typeCount) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
RecordReaderImpl.Index |
readRowIndex(StripeInformation stripe,
OrcProto.StripeFooter footer,
boolean[] included,
OrcProto.RowIndex[] indexes,
boolean[] sargColumns,
OrcProto.BloomFilterIndex[] bloomFilterIndices) |
OrcProto.StripeFooter |
readStripeFooter(StripeInformation stripe) |
public MetadataReader(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path path, CompressionCodec codec, int bufferSize, int typeCount) throws IOException
IOException
public MetadataReader(org.apache.hadoop.fs.FSDataInputStream file, CompressionCodec codec, int bufferSize, int typeCount)
public RecordReaderImpl.Index readRowIndex(StripeInformation stripe, OrcProto.StripeFooter footer, boolean[] included, OrcProto.RowIndex[] indexes, boolean[] sargColumns, OrcProto.BloomFilterIndex[] bloomFilterIndices) throws IOException
IOException
public OrcProto.StripeFooter readStripeFooter(StripeInformation stripe) throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.