Class ToCsvHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.output.ToCsvHandler
-
- All Implemented Interfaces:
OperationHandler<ToCsv>
,OutputOperationHandler<ToCsv,Iterable<? extends String>>
public class ToCsvHandler extends Object implements OutputOperationHandler<ToCsv,Iterable<? extends String>>
AToCsvHandler
handlesToCsv
operations by applying the providedCsvGenerator
to each item in the inputIterable
.
-
-
Constructor Summary
Constructors Constructor Description ToCsvHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<? extends String>
doOperation(ToCsv operation, Context context, Store store)
Execute the givenOutput
operation.
-
-
-
Method Detail
-
doOperation
public Iterable<? extends String> doOperation(ToCsv operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<ToCsv>
- Specified by:
doOperation
in interfaceOutputOperationHandler<ToCsv,Iterable<? extends String>>
- 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
-
-