Package io.deephaven.engine.table.impl
Class WouldMatchOperation
java.lang.Object
io.deephaven.engine.table.impl.WouldMatchOperation
- All Implemented Interfaces:
QueryTable.MemoizableOperation<QueryTable>,QueryTable.Operation<QueryTable>
public class WouldMatchOperation
extends Object
implements QueryTable.MemoizableOperation<QueryTable>
A table operation similar to
TableOperations.where(String...) except that instead of filtering the rows in the table,
it appends new columns containing the result of the filter evaluation on each row of the table. It will re-evaluate
cell values if any of the underlying filters are dynamic, and change.-
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 TypeMethodDescriptionbeginOperation(@NotNull QueryTable parent) Perform pre-instantiation work.initialize(boolean usePrev, long beforeClock) Initialize this operation.newSnapshotControl(@NotNull QueryTable queryTable) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.engine.table.impl.QueryTable.Operation
snapshotNeeded
-
Method Details
-
getDescription
- Specified by:
getDescriptionin interfaceQueryTable.Operation<QueryTable>- Returns:
- the description of this operation
-
getLogPrefix
- Specified by:
getLogPrefixin interfaceQueryTable.Operation<QueryTable>- Returns:
- the log prefix of this operation
-
beginOperation
Description copied from interface:QueryTable.OperationPerform pre-instantiation work.- Specified by:
beginOperationin interfaceQueryTable.Operation<QueryTable>- Parameters:
parent- The parent table for the operation- Returns:
- A
SafeCloseablethat will beclosedwhen the operation is complete, whether successful or not
-
newSnapshotControl
- Specified by:
newSnapshotControlin interfaceQueryTable.Operation<QueryTable>
-
initialize
Description copied from interface:QueryTable.OperationInitialize this operation.- Specified by:
initializein 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.
-
getMemoizedOperationKey
- Specified by:
getMemoizedOperationKeyin interfaceQueryTable.MemoizableOperation<QueryTable>- Returns:
- the key that should be used to memoize off of
-