Class MinHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.compare.MinHandler
-
- All Implemented Interfaces:
OperationHandler<Min>
,OutputOperationHandler<Min,Element>
public class MinHandler extends Object implements OutputOperationHandler<Min,Element>
AMinHandler
handles theMin
operation. It uses theComparator
s instances on the operation to determine the object with the minimum value.
-
-
Constructor Summary
Constructors Constructor Description MinHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Element
doOperation(Min operation, Context context, Store store)
Execute the givenOutput
operation.
-
-
-
Method Detail
-
doOperation
public Element doOperation(Min operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<Min>
- Specified by:
doOperation
in interfaceOutputOperationHandler<Min,Element>
- Parameters:
operation
- theOutput
operation to be executedcontext
- the operation chain context, containing the user who executed the operationstore
- theStore
the operation should be run on- Returns:
- the output for the operation.
- Throws:
OperationException
- thrown if the operation fails
-
-