Package io.trino.orc.metadata
Interface MetadataReader
-
- All Known Implementing Classes:
ExceptionWrappingMetadataReader,OrcMetadataReader
public interface MetadataReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<BloomFilter>readBloomFilterIndexes(InputStream inputStream)FooterreadFooter(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream)MetadatareadMetadata(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream)PostScriptreadPostScript(InputStream inputStream)List<RowGroupIndex>readRowIndexes(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream)StripeFooterreadStripeFooter(ColumnMetadata<OrcType> types, InputStream inputStream, ZoneId legacyFileTimeZone)
-
-
-
Method Detail
-
readPostScript
PostScript readPostScript(InputStream inputStream) throws IOException
- Throws:
IOException
-
readMetadata
Metadata readMetadata(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream) throws IOException
- Throws:
IOException
-
readFooter
Footer readFooter(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream) throws IOException
- Throws:
IOException
-
readStripeFooter
StripeFooter readStripeFooter(ColumnMetadata<OrcType> types, InputStream inputStream, ZoneId legacyFileTimeZone) throws IOException
- Throws:
IOException
-
readRowIndexes
List<RowGroupIndex> readRowIndexes(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream) throws IOException
- Throws:
IOException
-
readBloomFilterIndexes
List<BloomFilter> readBloomFilterIndexes(InputStream inputStream) throws IOException
- Throws:
IOException
-
-