Interface PartitionWriter<T>
-
- Type Parameters:
T
- The type of the consumed records.
- All Known Implementing Classes:
DynamicPartitionWriter
,GroupedPartitionWriter
,SingleDirectoryWriter
@Internal public interface PartitionWriter<T>
Partition writer to write records with partition.See
SingleDirectoryWriter
. SeeDynamicPartitionWriter
. SeeGroupedPartitionWriter
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PartitionWriter.Context<T>
Context for partition writer, provide some information and generation utils.static class
PartitionWriter.DefaultPartitionWriterListener
Default implementation for PartitionWriterListener.static interface
PartitionWriter.PartitionWriterListener
Listener for partition writer.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
End a transaction.void
write(T in)
Write a record.
-