@Internal public class DynamicPartitionWriter<T> extends Object implements PartitionWriter<T>
PartitionWriter.Context<T>, PartitionWriter.DefaultPartitionWriterListener, PartitionWriter.PartitionWriterListener| Constructor and Description |
|---|
DynamicPartitionWriter(PartitionWriter.Context<T> context,
PartitionTempFileManager manager,
PartitionComputer<T> computer) |
DynamicPartitionWriter(PartitionWriter.Context<T> context,
PartitionTempFileManager manager,
PartitionComputer<T> computer,
PartitionWriter.PartitionWriterListener writerListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
End a transaction.
|
void |
write(T in)
Write a record.
|
public DynamicPartitionWriter(PartitionWriter.Context<T> context, PartitionTempFileManager manager, PartitionComputer<T> computer)
public DynamicPartitionWriter(PartitionWriter.Context<T> context, PartitionTempFileManager manager, PartitionComputer<T> computer, PartitionWriter.PartitionWriterListener writerListener)
public void write(T in) throws Exception
PartitionWriterwrite in interface PartitionWriter<T>Exceptionpublic void close()
throws Exception
PartitionWriterclose in interface PartitionWriter<T>ExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.