Package org.apache.iceberg.io
Class UnpartitionedWriter<T>
java.lang.Object
org.apache.iceberg.io.BaseTaskWriter<T>
org.apache.iceberg.io.UnpartitionedWriter<T>
- All Implemented Interfaces:
Closeable,AutoCloseable,TaskWriter<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.iceberg.io.BaseTaskWriter
BaseTaskWriter.BaseEqualityDeltaWriter, BaseTaskWriter.RollingEqDeleteWriter, BaseTaskWriter.RollingFileWriter -
Constructor Summary
ConstructorsConstructorDescriptionUnpartitionedWriter(PartitionSpec spec, FileFormat format, FileAppenderFactory<T> appenderFactory, OutputFileFactory fileFactory, FileIO io, long targetFileSize) -
Method Summary
Methods inherited from class org.apache.iceberg.io.BaseTaskWriter
abort, complete, setFailure, specMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.io.TaskWriter
dataFiles
-
Constructor Details
-
UnpartitionedWriter
public UnpartitionedWriter(PartitionSpec spec, FileFormat format, FileAppenderFactory<T> appenderFactory, OutputFileFactory fileFactory, FileIO io, long targetFileSize)
-
-
Method Details
-
write
Description copied from interface:TaskWriterWrite the row into the data files.- Throws:
IOException
-
close
- Throws:
IOException
-