public class PartitionedAppendWriter extends PartitionedFanoutWriter<Record>
BaseTaskWriter.BaseEqualityDeltaWriter, BaseTaskWriter.RollingEqDeleteWriter, BaseTaskWriter.RollingFileWriter| Constructor and Description |
|---|
PartitionedAppendWriter(PartitionSpec spec,
FileFormat format,
FileAppenderFactory<Record> appenderFactory,
OutputFileFactory fileFactory,
FileIO io,
long targetFileSize,
Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
protected PartitionKey |
partition(Record row)
Create a PartitionKey from the values in row.
|
close, writeabort, complete, setFailure, specclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdataFilespublic PartitionedAppendWriter(PartitionSpec spec, FileFormat format, FileAppenderFactory<Record> appenderFactory, OutputFileFactory fileFactory, FileIO io, long targetFileSize, Schema schema)
protected PartitionKey partition(Record row)
PartitionedFanoutWriterAny PartitionKey returned by this method can be reused by the implementation.
partition in class PartitionedFanoutWriter<Record>row - a data row