Package io.trino.orc.metadata
Interface MetadataWriter
-
- All Known Implementing Classes:
OrcMetadataWriter
public interface MetadataWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Integer>getOrcMetadataVersion()intwriteBloomFilters(io.airlift.slice.SliceOutput output, List<BloomFilter> bloomFilters)intwriteFooter(io.airlift.slice.SliceOutput output, Footer footer)intwriteMetadata(io.airlift.slice.SliceOutput output, Metadata metadata)intwritePostscript(io.airlift.slice.SliceOutput output, int footerLength, int metadataLength, CompressionKind compression, int compressionBlockSize)intwriteRowIndexes(io.airlift.slice.SliceOutput output, List<RowGroupIndex> rowGroupIndexes)intwriteStripeFooter(io.airlift.slice.SliceOutput output, StripeFooter footer)
-
-
-
Method Detail
-
writePostscript
int writePostscript(io.airlift.slice.SliceOutput output, int footerLength, int metadataLength, CompressionKind compression, int compressionBlockSize) throws IOException- Throws:
IOException
-
writeMetadata
int writeMetadata(io.airlift.slice.SliceOutput output, Metadata metadata) throws IOException- Throws:
IOException
-
writeFooter
int writeFooter(io.airlift.slice.SliceOutput output, Footer footer) throws IOException- Throws:
IOException
-
writeStripeFooter
int writeStripeFooter(io.airlift.slice.SliceOutput output, StripeFooter footer) throws IOException- Throws:
IOException
-
writeRowIndexes
int writeRowIndexes(io.airlift.slice.SliceOutput output, List<RowGroupIndex> rowGroupIndexes) throws IOException- Throws:
IOException
-
writeBloomFilters
int writeBloomFilters(io.airlift.slice.SliceOutput output, List<BloomFilter> bloomFilters) throws IOException- Throws:
IOException
-
-