Class ToVerticesHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.operation.handler.output.ToVerticesHandler
-
- All Implemented Interfaces:
OperationHandler<ToVertices>,OutputOperationHandler<ToVertices,Iterable<? extends Object>>
public class ToVerticesHandler extends Object implements OutputOperationHandler<ToVertices,Iterable<? extends Object>>
AToVerticesHandlerhandles forToVerticesoperations.For
Entityobjects, the vertex object is used. ForEdges the correct object is selected based on the values of theToVertices.EdgeVerticesandToVertices.UseMatchedVertexvalues.
-
-
Constructor Summary
Constructors Constructor Description ToVerticesHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<Object>doOperation(ToVertices operation, Context context, Store store)Execute the givenOutputoperation.
-
-
-
Method Detail
-
doOperation
public Iterable<Object> doOperation(ToVertices operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<ToVertices>- Specified by:
doOperationin interfaceOutputOperationHandler<ToVertices,Iterable<? extends Object>>- Parameters:
operation- 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.
- Throws:
OperationException- thrown if the operation fails
-
-