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 String
PROXY_STORE_OPERATION_CHAIN_HANDLER
static String
RESOLVED
static String
TO_HANDLERS
static String
TO_PROXY
static String
UNPROCESSED
-
Constructor Summary
Constructors Constructor Description OperationChainHandler(OperationChainValidator opChainValidator, List<OperationChainOptimiser> opChainOptimisers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OUT
doOperation(OperationChain<OUT> operationChain, Context context, Store store)
Execute the givenOutput
operation.-
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:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<OUT>
- Specified by:
doOperation
in interfaceOutputOperationHandler<OperationChain<OUT>,OUT>
- Overrides:
doOperation
in classOperationChainHandler<OUT>
- Parameters:
operationChain
- 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.
-
-