Class GetGraphFrameOfElementsHandler
- java.lang.Object
-
- uk.gov.gchq.gaffer.spark.operation.handler.graphframe.GetGraphFrameOfElementsHandler
-
- All Implemented Interfaces:
OperationHandler<GetGraphFrameOfElements>
,OutputOperationHandler<GetGraphFrameOfElements,org.graphframes.GraphFrame>
public class GetGraphFrameOfElementsHandler extends Object implements OutputOperationHandler<GetGraphFrameOfElements,org.graphframes.GraphFrame>
A
GetGraphFrameOfElementsHandler
handlesGetGraphFrameOfElements
operations.The implementation delegates to
GetDataFrameOfElements
operation. Then the resultingDataset
of elements are split into twoDataset
s based on the groups provided in theView
.
-
-
Constructor Summary
Constructors Constructor Description GetGraphFrameOfElementsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.graphframes.GraphFrame
doOperation(GetGraphFrameOfElements operation, Context context, Store store)
Execute the givenOutput
operation.
-
-
-
Method Detail
-
doOperation
public org.graphframes.GraphFrame doOperation(GetGraphFrameOfElements operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandler
Execute the givenOutput
operation.- Specified by:
doOperation
in interfaceOperationHandler<GetGraphFrameOfElements>
- Specified by:
doOperation
in interfaceOutputOperationHandler<GetGraphFrameOfElements,org.graphframes.GraphFrame>
- 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
-
-