@Internal public interface PartitionWriterFactory<T> extends Serializable
PartitionWriter
to avoid virtual function calls.Modifier and Type | Method and Description |
---|---|
PartitionWriter<T> |
create(PartitionWriter.Context<T> context,
PartitionTempFileManager manager,
PartitionComputer<T> computer,
PartitionWriter.PartitionWriterListener writerListener) |
static <T> PartitionWriterFactory<T> |
get(boolean dynamicPartition,
boolean grouped,
LinkedHashMap<String,String> staticPartitions)
Util for get a
PartitionWriterFactory . |
PartitionWriter<T> create(PartitionWriter.Context<T> context, PartitionTempFileManager manager, PartitionComputer<T> computer, PartitionWriter.PartitionWriterListener writerListener) throws Exception
Exception
static <T> PartitionWriterFactory<T> get(boolean dynamicPartition, boolean grouped, LinkedHashMap<String,String> staticPartitions)
PartitionWriterFactory
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.