Class OperationChainHandler<OUT>
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.OperationChainHandler<OUT>
-
- uk.gov.gchq.gaffer.proxystore.operation.handler.OperationChainHandler<OUT>
-
- All Implemented Interfaces:
OperationHandler<OperationChain<OUT>>,OutputOperationHandler<OperationChain<OUT>,OUT>
public class OperationChainHandler<OUT> extends OperationChainHandler<OUT>
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROXY_STORE_OPERATION_CHAIN_HANDLERstatic StringRESOLVEDstatic StringTO_HANDLERSstatic StringTO_PROXYstatic StringUNPROCESSED-
Fields inherited from class uk.gov.gchq.gaffer.store.operation.handler.OperationChainHandler
APPLY_CHAIN_OPS_TO_ALL
-
-
Constructor Summary
Constructors Constructor Description OperationChainHandler(OperationChainValidator opChainValidator, List<OperationChainOptimiser> opChainOptimisers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OUTdoOperation(OperationChain<OUT> operationChain, Context context, Store store)Execute the givenOutputoperation.-
Methods inherited from class uk.gov.gchq.gaffer.store.operation.handler.OperationChainHandler
prepareOperationChain
-
-
-
-
Field Detail
-
PROXY_STORE_OPERATION_CHAIN_HANDLER
public static final String PROXY_STORE_OPERATION_CHAIN_HANDLER
- See Also:
- Constant Field Values
-
TO_PROXY
public static final String TO_PROXY
- See Also:
- Constant Field Values
-
TO_HANDLERS
public static final String TO_HANDLERS
- See Also:
- Constant Field Values
-
RESOLVED
public static final String RESOLVED
- See Also:
- Constant Field Values
-
UNPROCESSED
public static final String UNPROCESSED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OperationChainHandler
public OperationChainHandler(OperationChainValidator opChainValidator, List<OperationChainOptimiser> opChainOptimisers)
-
-
Method Detail
-
doOperation
public OUT doOperation(OperationChain<OUT> operationChain, Context context, Store store)
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<OUT>- Specified by:
doOperationin interfaceOutputOperationHandler<OperationChain<OUT>,OUT>- Overrides:
doOperationin classOperationChainHandler<OUT>- Parameters:
operationChain- theOutputoperation to be executedcontext- the operation chain context, containing the user who executed the operationstore- theStorethe operation should be run on- Returns:
- the output for the operation.
-
-