public List<Integer> getOrcMetadataVersion() { return metadataWriter.getOrcMetadataVersion(); }
public Slice writeFooter(Footer footer) throws IOException { metadataWriter.writeFooter(buffer, footer); return getSliceOutput(); }
public Slice writeMetadata(Metadata metadata) throws IOException { metadataWriter.writeMetadata(buffer, metadata); return getSliceOutput(); }
public Slice writePostscript(int footerLength, int metadataLength, CompressionKind compression, int compressionBlockSize) throws IOException { // postscript is not compressed DynamicSliceOutput output = new DynamicSliceOutput(64); metadataWriter.writePostscript(output, footerLength, metadataLength, compression, compressionBlockSize); return output.slice(); }
public Slice writeRowIndexes(List<RowGroupIndex> rowGroupIndexes) throws IOException { metadataWriter.writeRowIndexes(buffer, rowGroupIndexes); return getSliceOutput(); }
public Slice writeStripeFooter(StripeFooter footer) throws IOException { metadataWriter.writeStripeFooter(buffer, footer); return getSliceOutput(); }
public Slice writePostscript(int footerLength, int metadataLength, CompressionKind compression, int compressionBlockSize) throws IOException { // postscript is not compressed DynamicSliceOutput output = new DynamicSliceOutput(64); metadataWriter.writePostscript(output, footerLength, metadataLength, compression, compressionBlockSize); return output.slice(); }
public Slice writeRowIndexes(List<RowGroupIndex> rowGroupIndexes) throws IOException { metadataWriter.writeRowIndexes(buffer, rowGroupIndexes); return getSliceOutput(); }
public Slice writeStripeFooter(StripeFooter footer) throws IOException { metadataWriter.writeStripeFooter(buffer, footer); return getSliceOutput(); }
public Slice writeMetadata(Metadata metadata) throws IOException { metadataWriter.writeMetadata(buffer, metadata); return getSliceOutput(); }
public Slice writeFooter(Footer footer) throws IOException { metadataWriter.writeFooter(buffer, footer); return getSliceOutput(); }
public List<Integer> getOrcMetadataVersion() { return metadataWriter.getOrcMetadataVersion(); }