public class UnpartitionedWriter<T> extends BaseTaskWriter<T>
BaseTaskWriter.BaseEqualityDeltaWriter, BaseTaskWriter.RollingEqDeleteWriter, BaseTaskWriter.RollingFileWriter
Constructor and Description |
---|
UnpartitionedWriter(PartitionSpec spec,
FileFormat format,
FileAppenderFactory<T> appenderFactory,
OutputFileFactory fileFactory,
FileIO io,
long targetFileSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
write(T record)
Write the row into the data files.
|
abort, complete, spec
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dataFiles
public UnpartitionedWriter(PartitionSpec spec, FileFormat format, FileAppenderFactory<T> appenderFactory, OutputFileFactory fileFactory, FileIO io, long targetFileSize)
public void write(T record) throws java.io.IOException
TaskWriter
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException