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
GetGraphFrameOfElementsHandlerhandlesGetGraphFrameOfElementsoperations.The implementation delegates to
GetDataFrameOfElementsoperation. Then the resultingDatasetof elements are split into twoDatasets 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.GraphFramedoOperation(GetGraphFrameOfElements operation, Context context, Store store)Execute the givenOutputoperation.
-
-
-
Method Detail
-
doOperation
public org.graphframes.GraphFrame doOperation(GetGraphFrameOfElements operation, Context context, Store store) throws OperationException
Description copied from interface:OutputOperationHandlerExecute the givenOutputoperation.- Specified by:
doOperationin interfaceOperationHandler<GetGraphFrameOfElements>- Specified by:
doOperationin interfaceOutputOperationHandler<GetGraphFrameOfElements,org.graphframes.GraphFrame>- 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
-
-