Package io.trino.orc.metadata
Interface MetadataReader
- All Known Implementing Classes:
ExceptionWrappingMetadataReader,OrcMetadataReader
public interface MetadataReader
-
Method Summary
Modifier and TypeMethodDescriptionreadBloomFilterIndexes(InputStream inputStream) readFooter(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream) readMetadata(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream) readPostScript(InputStream inputStream) readRowIndexes(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream) readStripeFooter(ColumnMetadata<OrcType> types, InputStream inputStream, ZoneId legacyFileTimeZone)
-
Method Details
-
readPostScript
- Throws:
IOException
-
readMetadata
Metadata readMetadata(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream) throws IOException - Throws:
IOException
-
readRowIndexes
List<RowGroupIndex> readRowIndexes(PostScript.HiveWriterVersion hiveWriterVersion, InputStream inputStream) throws IOException - Throws:
IOException
-
readBloomFilterIndexes
- Throws:
IOException
-