Package org.apache.iceberg.io
Class PartitionedFanoutWriter<T>
java.lang.Object
org.apache.iceberg.io.BaseTaskWriter<T>
org.apache.iceberg.io.PartitionedFanoutWriter<T>
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- TaskWriter<T>
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.iceberg.io.BaseTaskWriterBaseTaskWriter.BaseEqualityDeltaWriter, BaseTaskWriter.RollingEqDeleteWriter, BaseTaskWriter.RollingFileWriter
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedPartitionedFanoutWriter(PartitionSpec spec, FileFormat format, FileAppenderFactory<T> appenderFactory, OutputFileFactory fileFactory, FileIO io, long targetFileSize) 
- 
Method SummaryMethods inherited from class org.apache.iceberg.io.BaseTaskWriterabort, complete, setFailure, specMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.io.TaskWriterdataFiles
- 
Constructor Details- 
PartitionedFanoutWriterprotected PartitionedFanoutWriter(PartitionSpec spec, FileFormat format, FileAppenderFactory<T> appenderFactory, OutputFileFactory fileFactory, FileIO io, long targetFileSize) 
 
- 
- 
Method Details- 
partitionCreate a PartitionKey from the values in row.Any PartitionKey returned by this method can be reused by the implementation. - Parameters:
- row- a data row
 
- 
writeDescription copied from interface:TaskWriterWrite the row into the data files.- Throws:
- IOException
 
- 
close- Throws:
- IOException
 
 
-