Package com.illumon.iris.db.v2
Interface QueryTable.Operation
- All Known Subinterfaces:
QueryTable.MemoizableOperation
- All Known Implementing Classes:
FlattenOperation,PreemptiveUpdatesTable.Operation,ReverseOperation,SliceLikeOperation,SortOperation,TableUpdateValidator,WouldMatchOperation
- Enclosing class:
- QueryTable
public static interface QueryTable.Operation
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThe resulting table and listener of the operation. -
Method Summary
Modifier and TypeMethodDescriptioninitialize(boolean usePrev, long beforeClock) Initialize this operation.default ShiftAwareSwapListenernewSwapListener(com.fishlib.io.logger.Logger log, QueryTable queryTable)
-
Method Details
-
getDescription
String getDescription()- Returns:
- the description of this operation
-
getLogPrefix
String getLogPrefix()- Returns:
- the log prefix of this operation
-
newSwapListener
default ShiftAwareSwapListener newSwapListener(com.fishlib.io.logger.Logger log, QueryTable queryTable) -
initialize
Initialize this operation.- 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.
-