public BooleanOutputStream(OrcOutputBuffer buffer) { this(new ByteOutputStream(buffer)); }
public BooleanOutputStream(CompressionKind compression, int bufferSize) { this(new ByteOutputStream(compression, bufferSize)); }
@Override protected ByteOutputStream createValueOutputStream() { return new ByteOutputStream(SNAPPY, COMPRESSION_BLOCK_SIZE); }
public ByteColumnWriter(int column, Type type, CompressionKind compression, int bufferSize) { checkArgument(column >= 0, "column is negative"); this.column = column; this.type = requireNonNull(type, "type is null"); this.compressed = requireNonNull(compression, "compression is null") != NONE; this.dataStream = new ByteOutputStream(compression, bufferSize); this.presentStream = new PresentOutputStream(compression, bufferSize); }
public BooleanOutputStream(CompressionKind compression, int bufferSize) { this(new ByteOutputStream(compression, bufferSize)); }
public BooleanOutputStream(OrcOutputBuffer buffer) { this(new ByteOutputStream(buffer)); }
public ByteColumnWriter(int column, Type type, CompressionKind compression, int bufferSize) { checkArgument(column >= 0, "column is negative"); this.column = column; this.type = requireNonNull(type, "type is null"); this.compressed = requireNonNull(compression, "compression is null") != NONE; this.dataStream = new ByteOutputStream(compression, bufferSize); this.presentStream = new PresentOutputStream(compression, bufferSize); }
@Override protected ByteOutputStream createValueOutputStream() { return new ByteOutputStream(SNAPPY, COMPRESSION_BLOCK_SIZE); }