public class DwrfMetadataReader extends Object implements MetadataReader
Constructor and Description |
---|
DwrfMetadataReader() |
Modifier and Type | Method and Description |
---|---|
List<HiveBloomFilter> |
readBloomFilterIndexes(InputStream inputStream) |
Footer |
readFooter(PostScript.HiveWriterVersion hiveWriterVersion,
InputStream inputStream) |
Metadata |
readMetadata(PostScript.HiveWriterVersion hiveWriterVersion,
InputStream inputStream) |
PostScript |
readPostScript(byte[] data,
int offset,
int length) |
List<RowGroupIndex> |
readRowIndexes(PostScript.HiveWriterVersion hiveWriterVersion,
InputStream inputStream) |
StripeFooter |
readStripeFooter(List<OrcType> types,
InputStream inputStream) |
public PostScript readPostScript(byte[] data, int offset, int length) throws IOException
readPostScript
in interface MetadataReader
IOException
public Metadata readMetadata(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream)
readMetadata
in interface MetadataReader
public Footer readFooter(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream) throws IOException
readFooter
in interface MetadataReader
IOException
public StripeFooter readStripeFooter(List<OrcType> types, InputStream inputStream) throws IOException
readStripeFooter
in interface MetadataReader
IOException
public List<RowGroupIndex> readRowIndexes(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream) throws IOException
readRowIndexes
in interface MetadataReader
IOException
public List<HiveBloomFilter> readBloomFilterIndexes(InputStream inputStream)
readBloomFilterIndexes
in interface MetadataReader
Copyright © 2012–2019. All rights reserved.