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>>
AToVerticesHandler
handles forToVertices
operations.For
Entity
objects, the vertex object is used. ForEdge
s the correct object is selected based on the values of theToVertices.EdgeVertices
andToVertices.UseMatchedVertex
values.
-
-
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 givenOutput
operation.
-
-
-
Method Detail
-
doOperation
public Iterable<Object> doOperation(ToVertices operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<ToVertices>
- Specified by:
doOperation
in interfaceOutputOperationHandler<ToVertices,Iterable<? extends Object>>
- 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
-
-