Class FilterHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.function.FilterHandler
-
- All Implemented Interfaces:
OperationHandler<Filter>
,OperationWithSchemaHandler<Filter,Iterable<? extends Element>>
,OutputOperationHandler<Filter,Iterable<? extends Element>>
public class FilterHandler extends Object implements OutputOperationHandler<Filter,Iterable<? extends Element>>, OperationWithSchemaHandler<Filter,Iterable<? extends Element>>
-
-
Constructor Summary
Constructors Constructor Description FilterHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<? extends Element>
doOperation(Filter operation, Context context, Store store)
Execute the givenOutput
operation.Iterable<? extends Element>
doOperation(Filter operation, Schema schema)
-
-
-
Method Detail
-
doOperation
public Iterable<? extends Element> doOperation(Filter operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<Filter>
- Specified by:
doOperation
in interfaceOutputOperationHandler<Filter,Iterable<? extends 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
-
doOperation
public Iterable<? extends Element> doOperation(Filter operation, Schema schema) throws OperationException
- Specified by:
doOperation
in interfaceOperationWithSchemaHandler<Filter,Iterable<? extends Element>>
- Throws:
OperationException
-
-