@Override protected DoubleOutputStream createValueOutputStream() { return new DoubleOutputStream(SNAPPY, COMPRESSION_BLOCK_SIZE); }
public DoubleColumnWriter(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 DoubleOutputStream(compression, bufferSize); this.presentStream = new PresentOutputStream(compression, bufferSize); }
public DoubleColumnWriter(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 DoubleOutputStream(compression, bufferSize); this.presentStream = new PresentOutputStream(compression, bufferSize); }
@Override protected DoubleOutputStream createValueOutputStream() { return new DoubleOutputStream(SNAPPY, COMPRESSION_BLOCK_SIZE); }