Package com.illumon.iris.db.util.config
Class InputTableSnapshotter
java.lang.Object
com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery<InputTableSnapshotter.Result>
com.illumon.iris.db.util.config.InputTableSnapshotter
- All Implemented Interfaces:
RemoteQuery<InputTableSnapshotter.Result>
,Serializable
This tool will examine a specified set of input tables and write snapshot tables as necessary.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInputTableSnapshotter
(int daysSinceLastSnapshotThreshold, double changesToSnapshotSizeRatioThreshold, com.illumon.iris.db.util.config.InputTableSnapshotter.SnapshotTask[] snapshotTasks) -
Method Summary
Modifier and TypeMethodDescriptionExecute a query on a remote host.static void
Methods inherited from class com.illumon.iris.db.tables.remotequery.ContextAwareRemoteQuery
getClient, getLog, getRemoteQueryProcessor, getUserContext, initializeContext, initializeContext
-
Field Details
-
SNAPSHOT_NAMESPACE_SUFFIX
- See Also:
-
-
Constructor Details
-
InputTableSnapshotter
public InputTableSnapshotter(int daysSinceLastSnapshotThreshold, double changesToSnapshotSizeRatioThreshold, @NotNull com.illumon.iris.db.util.config.InputTableSnapshotter.SnapshotTask[] snapshotTasks)
-
-
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
-