T - The type of the consumed records.@Internal public class GroupedPartitionWriter<T> extends Object implements PartitionWriter<T>
PartitionWriter for grouped dynamic partition inserting. It will create a new format when
partition changed.PartitionWriter.Context<T>| 构造器和说明 |
|---|
GroupedPartitionWriter(PartitionWriter.Context<T> context,
PartitionTempFileManager manager,
PartitionComputer<T> computer) |
public GroupedPartitionWriter(PartitionWriter.Context<T> context, PartitionTempFileManager manager, PartitionComputer<T> computer)
public void write(T in) throws Exception
PartitionWriterwrite 在接口中 PartitionWriter<T>Exceptionpublic void close()
throws Exception
PartitionWriterclose 在接口中 PartitionWriter<T>ExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.