Package com.illumon.iris.db.util.config
Class InputTableSnapshotter
java.lang.Object
com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery<Result>
com.illumon.iris.db.util.config.InputTableSnapshotter
- All Implemented Interfaces:
RemoteQuery<Result>
,Serializable
This tool will examine a specified set of input tables and write snapshot tables as necessary.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInputTableSnapshotter
(int daysSinceLastSnapshotThreshold, double changesToSnapshotSizeRatioThreshold, InputTableTarget[] snapshotTargets) -
Method Summary
Methods inherited from class com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery
getClient, getLog, getRemoteQueryProcessor, getUserContext, initializeContext, initializeContext, toString
-
Field Details
-
SNAPSHOT_TASKS_FILE_PROPERTY
- See Also:
-
-
Constructor Details
-
InputTableSnapshotter
public InputTableSnapshotter(int daysSinceLastSnapshotThreshold, double changesToSnapshotSizeRatioThreshold, @NotNull InputTableTarget[] snapshotTargets)
-
-
Method Details
-
execute
Description copied from interface:RemoteQuery
Execute a query on a remote host.- Parameters:
db
- database to use for execution.- Returns:
- result of the query.
-
main
-