public class WriterImplV2 extends WriterImpl
This class is unsynchronized like most Stream objects, so from the creation of an OrcFile and all access to a single instance has to be from a single thread.
There are no known cases where these happen between different threads today.
Caveat: the MemoryManager is created during WriterOptions create, that has to be confined to a single thread as well.
Constructor and Description |
---|
WriterImplV2(FileSystem fs,
Path path,
OrcFile.WriterOptions opts) |
addRowBatch, addUserMetadata, appendStripe, appendStripe, appendUserMetadata, checkMemory, close, createCodec, estimateMemory, getCompressionCodec, getEstimatedBufferSize, getNumberOfRows, getRawDataSize, getSchema, getStatistics, getStripes, increaseCompressionSize, writeIntermediateFooter
public WriterImplV2(FileSystem fs, Path path, OrcFile.WriterOptions opts) throws IOException
IOException
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.