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