Interface PartitionWriterFactory<T>
- All Superinterfaces:
Serializable
Factory of
PartitionWriter to avoid virtual function calls.-
Method Summary
Modifier and TypeMethodDescriptioncreate(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 aPartitionWriterFactory.
-
Method Details
-
create
PartitionWriter<T> create(PartitionWriter.Context<T> context, PartitionTempFileManager manager, PartitionComputer<T> computer, PartitionWriter.PartitionWriterListener writerListener) throws Exception - Throws:
Exception
-
get
static <T> PartitionWriterFactory<T> get(boolean dynamicPartition, boolean grouped, LinkedHashMap<String, String> staticPartitions) Util for get aPartitionWriterFactory.
-