Class InputTableSnapshotter
java.lang.Object
io.deephaven.enterprise.database.inputtables.InputTableSnapshotter
- All Implemented Interfaces:
- InputTableTool
Tool to snapshot specified Core+ input tables.
- 
Method SummaryModifier and TypeMethodDescriptionio.deephaven.shadow.enterprise.com.illumon.iris.db.util.config.tools.ResultcomputeResult(@NotNull io.deephaven.shadow.enterprise.com.fishlib.io.logger.Logger log, @NotNull Database db, @NotNull List<io.deephaven.shadow.enterprise.com.illumon.iris.db.util.config.tools.InputTableNameTarget> targets) Main input table tool logic, e.g.static InputTableSnapshottercreate()static String[]getDatePartitions(@NotNull Table data) Retrieve date partition values from a table.booleanisValidTarget(@NotNull Database db, @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.util.config.tools.InputTableNameTarget target) Determines whether input table target is valid and should be executed.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.enterprise.database.inputtables.InputTableToolrunAll, runByNamespace, runByTableName
- 
Method Details- 
getDatePartitionsRetrieve date partition values from a table.- Parameters:
- data- table to retrieve data partition values from
- Returns:
- date partition values from a table
 
- 
create
- 
isValidTargetpublic boolean isValidTarget(@NotNull @NotNull Database db, @NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.util.config.tools.InputTableNameTarget target) Description copied from interface:InputTableToolDetermines whether input table target is valid and should be executed.- Specified by:
- isValidTargetin interface- InputTableTool
- Parameters:
- db- database to retrieve input tables
- target- input table target
- Returns:
- true if input table target is valid; false if not
 
- 
computeResultpublic io.deephaven.shadow.enterprise.com.illumon.iris.db.util.config.tools.Result computeResult(@NotNull @NotNull io.deephaven.shadow.enterprise.com.fishlib.io.logger.Logger log, @NotNull @NotNull Database db, @NotNull @NotNull List<io.deephaven.shadow.enterprise.com.illumon.iris.db.util.config.tools.InputTableNameTarget> targets) Description copied from interface:InputTableToolMain input table tool logic, e.g. snapshotting or converting.- Specified by:
- computeResultin interface- InputTableTool
- Parameters:
- log- logger for reporting
- db- database to retrieve input tables
- targets- input table targets
- Returns:
- the Resultof the execution
 
 
-