Package com.illumon.iris.importers
Class MergeIntradayData
java.lang.Object
com.illumon.iris.importers.MergeData
com.illumon.iris.importers.MergeIntradayData
Merge data from system intraday locations (as written by various importers).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Table
getInputData
(com.fishlib.io.logger.Logger log, String logPrefix, Database db, TableDefinition tableDefinition, String namespace, String tableName, String partitioningColumnValue) Get the input data that should be merged.static void
Main - thin wrapper around merge().Methods inherited from class com.illumon.iris.importers.MergeData
awaitJobs, awaitSyncOperators, filterWritablePartitions, makeExecutor, merge, merge, merge, merge, merge, merge
-
Constructor Details
-
MergeIntradayData
public MergeIntradayData()
-
-
Method Details
-
getInputData
@Nullable protected Table getInputData(@NotNull com.fishlib.io.logger.Logger log, @NotNull String logPrefix, @NotNull Database db, @NotNull TableDefinition tableDefinition, @NotNull String namespace, @NotNull String tableName, @NotNull String partitioningColumnValue) Description copied from class:MergeData
Get the input data that should be merged.- Specified by:
getInputData
in classMergeData
- Parameters:
log
- Logger for any useful outputlogPrefix
- A prefix for any log outputdb
- The Database instance to use when sourcing input datatableDefinition
- The definition of the destination tablenamespace
- The namespace of the destination tabletableName
- The name of the destination tablepartitioningColumnValue
- The value of the destination partitioning column- Returns:
- Input data in Table form, or null if no such data exists
-
main
Main - thin wrapper around merge().- Parameters:
args
- Command-line arguments- Throws:
IOException
-