Package com.illumon.iris.importers
Class MultiPartitionImportTableWriterFactory
java.lang.Object
com.illumon.iris.importers.ImportTableWriterFactoryBase
com.illumon.iris.importers.MultiPartitionImportTableWriterFactory
- All Implemented Interfaces:
ImportTableWriterFactory
A table writer factory that accepts a partition at runtime (used when we want to use data from an import column
to direct each row to a specific partition).
-
Field Summary
Fields inherited from class com.illumon.iris.importers.ImportTableWriterFactoryBase
namespace, outputMode, tableDefinition, tableName, writableTableDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionMultiPartitionImportTableWriterFactory
(String namespace, String tableName, ImportOutputMode outputMode, TableDefinition tableDefinition, String internalPartition) -
Method Summary
Modifier and TypeMethodDescriptiongetTableDestination
(String columnPartitionValue) Get aFile
representing the path where the table will be written.Methods inherited from class com.illumon.iris.importers.ImportTableWriterFactoryBase
getLocalAppendableTable, getTableDefinition, getTableWriter, getTableWriter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.importers.ImportTableWriterFactory
getComputedColumnPartition, getTableWriter
-
Constructor Details
-
MultiPartitionImportTableWriterFactory
public MultiPartitionImportTableWriterFactory(String namespace, String tableName, ImportOutputMode outputMode, @NotNull TableDefinition tableDefinition, String internalPartition)
-
-
Method Details
-
getTableDestination
Description copied from interface:ImportTableWriterFactory
Get aFile
representing the path where the table will be written.- Parameters:
columnPartitionValue
- the column partition to find the destination for- Returns:
- a file at the path the table will be written.
-