Package io.deephaven.engine.table.impl
Class TableUpdateValidator
java.lang.Object
io.deephaven.engine.table.impl.TableUpdateValidator
- All Implemented Interfaces:
QueryTable.Operation<QueryTable>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.QueryTable.Operation
QueryTable.Operation.Result<T extends DynamicNode & NotificationStepReceiver>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
dontValidateColumns
(String[] columnNames) boolean
Has an update validation failed on this table?initialize
(boolean usePrev, long beforeClock) Initialize this operation.static TableUpdateValidator
make
(QueryTable tableToValidate) static TableUpdateValidator
make
(String description, QueryTable tableToValidate) void
validate()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.engine.table.impl.QueryTable.Operation
beginOperation, newSnapshotControl, snapshotNeeded
-
Method Details
-
make
-
make
-
getDescription
- Specified by:
getDescription
in interfaceQueryTable.Operation<QueryTable>
- Returns:
- the description of this operation
-
getLogPrefix
- Specified by:
getLogPrefix
in interfaceQueryTable.Operation<QueryTable>
- Returns:
- the log prefix of this operation
-
initialize
Description copied from interface:QueryTable.Operation
Initialize this operation.- Specified by:
initialize
in interfaceQueryTable.Operation<QueryTable>
- Parameters:
usePrev
- data from the previous cycle should be used (otherwise use this cycle)beforeClock
- the clock value that we captured before the function began; the function can use this value to bail out early if it notices something has gone wrong.- Returns:
- the result table / listener if successful, null if it should be retried.
-
getResultTable
-
validate
public void validate() -
deepValidation
public void deepValidation() -
hasFailed
public boolean hasFailed()Has an update validation failed on this table?- Returns:
- true if an update validation has failed on this table.
-
dontValidateColumns
-