Interface OperationHandler<OP extends Operation>
-
- All Known Subinterfaces:
AddToCacheHandler<OP>,OperationWithSchemaHandler<OP,O>,OutputOperationHandler<OP,O>
- All Known Implementing Classes:
AbstractGenerateSplitPointsFromSampleHandler,AbstractGetRDDHandler,AbstractImportKeyValuePairRDDToAccumuloHandler,AbstractSampleElementsForSplitPointsHandler,AbstractSplitStoreFromRDDOfElementsHandler,AddElementsFromFileHandler,AddElementsFromHdfsHandler,AddElementsFromKafkaHandler,AddElementsFromSocketHandler,AddElementsHandler,AddElementsHandler,AddGraphHandler,AddNamedOperationHandler,AddNamedViewHandler,AddSchemaToLibraryHandler,AddStorePropertiesToLibraryHandler,AggregateHandler,CancelScheduledJobHandler,ChangeGraphAccessHandler,ChangeGraphIdHandler,CountAllElementsDefaultViewHandler,CountGroupsHandler,CountHandler,DeleteAllDataHandler,DeleteAllDataHandler,DeleteElementsHandler,DeleteElementsHandler,DeleteNamedOperationHandler,DeleteNamedViewHandler,DiscardOutputHandler,EitherOperationHandler,ExportOperationHandler,ExportToGafferResultCacheHandler,ExportToHandler,ExportToLocalFileHandler,ExportToOtherAuthorisedGraphHandler,ExportToOtherGraphHandler,ExportToSetHandler,FederatedAddGraphHandler,FederatedAddGraphHandlerParent,FederatedAddGraphWithHooksHandler,FederatedChangeGraphAccessHandler,FederatedChangeGraphIdHandler,FederatedDelegateToHandler,FederatedGetAllGraphIDHandler,FederatedGetAllGraphInfoHandler,FederatedJoinHandler,FederatedNoOutputHandler,FederatedOperationHandler,FederatedOperationHandler,FederatedOutputHandler,FederatedOutputHandler,FederatedOutputIterableHandler,FederatedRemoveGraphAndDeleteAllDataHandler,FederatedRemoveGraphHandler,FederatedWhileHandler,FilterHandler,ForEachHandler,GenerateElementsHandler,GenerateObjectsHandler,GenerateSplitPointsFromSampleHandler,GetAdjacentIdsHandler,GetAdjacentIdsHandler,GetAllElementsHandler,GetAllElementsHandler,GetAllGraphIdsHandler,GetAllGraphInfoHandler,GetAllJobDetailsHandler,GetAllNamedOperationsHandler,GetAllNamedViewsHandler,GetDataFrameOfElementsHandler,GetElementsBetweenSetsHandler,GetElementsBetweenSetsPairsHandler,GetElementsHandler,GetElementsHandler,GetElementsInRangesHandler,GetElementsWithinSetHandler,GetExportHandler,GetExportsHandler,GetFromEndpointHandler,GetGafferResultCacheExportHandler,GetGraphCreatedTimeHandler,GetGraphFrameOfElementsHandler,GetJavaRDDOfAllElementsHandler,GetJavaRDDOfElementsHandler,GetJavaRDDOfElementsInRangesHandler,GetJobDetailsHandler,GetJobResultsHandler,GetProxyPropertiesHandler,GetProxyUrlHandler,GetRDDOfAllElementsHandler,GetRDDOfElementsHandler,GetRDDOfElementsInRangesHandler,GetSchemaHandler,GetSchemaHandler,GetSetExportHandler,GetTraitsHandler,GetVariableHandler,GetVariablesHandler,GetWalksHandler,HasTraitHandler,HdfsSplitStoreFromFileHandler,IfHandler,ImportAccumuloKeyValueFilesHandler,ImportFromLocalFileHandler,ImportJavaRDDOfElementsHandler,ImportKeyValueJavaPairRDDToAccumuloHandler,ImportKeyValuePairRDDToAccumuloHandler,ImportRDDOfElementsHandler,JoinHandler,LimitHandler,MapHandler,MaxHandler,MinHandler,NamedOperationHandler,OperationChainHandler,OperationChainHandler,ReduceHandler,RemoveGraphHandler,SampleDataForSplitPointsHandler,SampleElementsForSplitPointsHandler,ScoreOperationChainHandler,SeparateOutputHandler,SetVariableHandler,SortHandler,SplitStoreFromFileHandler,SplitStoreFromIterableHandler,SplitStoreFromJavaRDDOfElementsHandler,SplitStoreFromRDDOfElementsHandler,SummariseGroupOverRangesHandler,ToArrayHandler,ToCsvHandler,ToEntitySeedsHandler,ToListHandler,ToMapHandler,ToSetHandler,ToSingletonListHandler,ToStreamHandler,ToVerticesHandler,TransformHandler,ValidateHandler,ValidateOperationChainHandler,WhileHandler
public interface OperationHandler<OP extends Operation>AnOperationHandlerdefines how to handle a specificOperation. All instances of an OperationHandler must be stateless as they are reused for all concurrent operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectdoOperation(OP operation, Context context, Store store)Execute the givenOperation.
-
-
-
Method Detail
-
doOperation
Object doOperation(OP operation, Context context, Store store) throws OperationException
Execute the givenOperation.- Parameters:
operation- theOperationto 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 or null.
- Throws:
OperationException- thrown if the operation fails
-
-