use of org.apache.orc.impl.OutStream in project flink by apache.
the class PhysicalWriterImpl method writeBloomFilter.
@Override
public void writeBloomFilter(StreamName name, OrcProto.BloomFilterIndex.Builder bloom, CompressionCodec codec) throws IOException {
OutputStream stream = new OutStream(this.toString(), bufferSize, codec, createDataStream(name));
bloom.build().writeTo(stream);
stream.flush();
}
use of org.apache.orc.impl.OutStream in project flink by apache.
the class PhysicalWriterImpl method writeIndex.
@Override
public void writeIndex(StreamName name, OrcProto.RowIndex.Builder index, CompressionCodec codec) throws IOException {
OutputStream stream = new OutStream(this.toString(), bufferSize, codec, createDataStream(name));
index.build().writeTo(stream);
stream.flush();
}
Aggregations