Class AggregatorExtend
java.lang.Object
tools.refinery.interpreter.localsearch.operations.extend.AggregatorExtend
- All Implemented Interfaces:
IPatternMatcherOperation,ISearchOperation
Calculates the aggregated value of a column based on the given
AggregatorConstraint- Since:
- 1.4
-
Nested Class Summary
Nested classes/interfaces inherited from interface tools.refinery.interpreter.localsearch.operations.ISearchOperation
ISearchOperation.ISearchOperationExecutor -
Constructor Summary
ConstructorsConstructorDescriptionAggregatorExtend(CallInformation information, AggregatorConstraint aggregator, int position) -
Method Summary
Modifier and TypeMethodDescriptionInitializes a new operation executor for the given operation.Returns the precomputed call information associated with the current operationtoString()Creates a string representation of the search operation by replacing the variable numbers according to the parameter function.
-
Constructor Details
-
AggregatorExtend
- Since:
- 1.7
-
-
Method Details
-
createExecutor
Description copied from interface:ISearchOperationInitializes a new operation executor for the given operation. Repeated calls must return different executor instances.- Specified by:
createExecutorin interfaceISearchOperation
-
getVariablePositions
- Specified by:
getVariablePositionsin interfaceISearchOperation- Returns:
- the ordered list of the variable numbers that are affected by the search operation
-
toString
-
toString
Description copied from interface:ISearchOperationCreates a string representation of the search operation by replacing the variable numbers according to the parameter function. It is expected that the provided function does return a non-null value for each variable index that is returned byISearchOperation.getVariablePositions(); otherwise aNullPointerExceptionwill be thrown during the calculation of the string.- Specified by:
toStringin interfaceISearchOperation
-
getCallInformation
Description copied from interface:IPatternMatcherOperationReturns the precomputed call information associated with the current operation- Specified by:
getCallInformationin interfaceIPatternMatcherOperation
-