public class DwrfMetadataWriter extends Object implements MetadataWriter
Modifier and Type | Field and Description |
---|---|
static Map<String,io.airlift.slice.Slice> |
STATIC_METADATA |
Constructor and Description |
---|
DwrfMetadataWriter() |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
getOrcMetadataVersion() |
int |
writeFooter(io.airlift.slice.SliceOutput output,
Footer footer) |
int |
writeMetadata(io.airlift.slice.SliceOutput output,
Metadata metadata) |
int |
writePostscript(io.airlift.slice.SliceOutput output,
int footerLength,
int metadataLength,
CompressionKind compression,
int compressionBlockSize) |
int |
writeRowIndexes(io.airlift.slice.SliceOutput output,
List<RowGroupIndex> rowGroupIndexes) |
int |
writeStripeFooter(io.airlift.slice.SliceOutput output,
StripeFooter footer) |
public List<Integer> getOrcMetadataVersion()
getOrcMetadataVersion
in interface MetadataWriter
public int writePostscript(io.airlift.slice.SliceOutput output, int footerLength, int metadataLength, CompressionKind compression, int compressionBlockSize) throws IOException
writePostscript
in interface MetadataWriter
IOException
public int writeMetadata(io.airlift.slice.SliceOutput output, Metadata metadata)
writeMetadata
in interface MetadataWriter
public int writeFooter(io.airlift.slice.SliceOutput output, Footer footer) throws IOException
writeFooter
in interface MetadataWriter
IOException
public int writeStripeFooter(io.airlift.slice.SliceOutput output, StripeFooter footer) throws IOException
writeStripeFooter
in interface MetadataWriter
IOException
public int writeRowIndexes(io.airlift.slice.SliceOutput output, List<RowGroupIndex> rowGroupIndexes) throws IOException
writeRowIndexes
in interface MetadataWriter
IOException
Copyright © 2012–2019. All rights reserved.