Package uk.gov.gchq.gaffer.operation
Class Operation.BaseBuilder<OP extends Operation,B extends Operation.BaseBuilder<OP,?>>
- java.lang.Object
-
- uk.gov.gchq.gaffer.operation.Operation.BaseBuilder<OP,B>
-
- All Implemented Interfaces:
Operation.Builder<OP,B>
- Direct Known Subclasses:
AddElements.Builder
,AddElementsFromFile.Builder
,AddElementsFromHdfs.Builder
,AddElementsFromKafka.Builder
,AddElementsFromSocket.Builder
,AddGraph.Builder
,AddNamedOperation.Builder
,AddNamedView.Builder
,AddSchemaToLibrary.Builder
,AddStorePropertiesToLibrary.Builder
,Aggregate.Builder
,CancelScheduledJob.Builder
,ChangeGraphId.Builder
,Count.Builder
,CountAllElementsDefaultView.Builder
,CountGroups.Builder
,DeleteAllData.Builder
,DeleteElements.Builder
,DeleteNamedOperation.Builder
,DeleteNamedView.Builder
,DiscardOutput.Builder
,ExportToGafferResultCache.Builder
,ExportToLocalFile.Builder
,ExportToOtherAuthorisedGraph.Builder
,ExportToOtherGraph.Builder
,ExportToSet.Builder
,Filter.Builder
,ForEach.Builder
,GenerateElements.Builder
,GenerateObjects.Builder
,GenerateSplitPointsFromSample.Builder
,GetAdjacentIds.Builder
,GetAllElements.Builder
,GetAllGraphIds.Builder
,GetAllGraphInfo.Builder
,GetAllJobDetails.Builder
,GetAllNamedOperations.Builder
,GetAllNamedViews.Builder
,GetDataFrameOfElements.Builder
,GetElements.Builder
,GetElementsBetweenSets.Builder
,GetElementsBetweenSetsPairs.Builder
,GetElementsInRanges.Builder
,GetElementsWithinSet.Builder
,GetExports.Builder
,GetFromEndpoint.Builder
,GetGafferResultCacheExport.Builder
,GetGraphCreatedTime.Builder
,GetGraphFrameOfElements.Builder
,GetJavaRDDOfAllElements.Builder
,GetJavaRDDOfElements.Builder
,GetJavaRDDOfElementsInRanges.Builder
,GetJobDetails.Builder
,GetJobResults.Builder
,GetProxyProperties.Builder
,GetProxyUrl.Builder
,GetRDDOfAllElements.Builder
,GetRDDOfElements.Builder
,GetRDDOfElementsInRanges.Builder
,GetSchema.Builder
,GetSetExport.Builder
,GetTraits.Builder
,GetVariable.Builder
,GetVariables.Builder
,GetWalks.Builder
,HasTrait.Builder
,If.Builder
,IFederationOperation.BaseBuilder
,ImportAccumuloKeyValueFiles.Builder
,ImportFromLocalFile.Builder
,ImportJavaRDDOfElements.Builder
,ImportKeyValueJavaPairRDDToAccumulo.Builder
,ImportKeyValuePairRDDToAccumulo.Builder
,ImportRDDOfElements.Builder
,Join.Builder
,Limit.Builder
,Map.Builder
,Map.OutputBuilder
,Max.Builder
,Min.Builder
,NamedOperation.Builder
,Reduce.Builder
,RemoveGraph.Builder
,SampleDataForSplitPoints.Builder
,SampleElementsForSplitPoints.Builder
,ScoreOperationChain.Builder
,SetVariable.Builder
,Sort.Builder
,SplitStoreFromFile.Builder
,SplitStoreFromIterable.Builder
,SplitStoreFromJavaRDDOfElements.Builder
,SplitStoreFromRDDOfElements.Builder
,SummariseGroupOverRanges.Builder
,ToArray.Builder
,ToCsv.Builder
,ToEntitySeeds.Builder
,ToList.Builder
,ToMap.Builder
,ToSet.Builder
,ToSingletonList.Builder
,ToStream.Builder
,ToVertices.Builder
,Transform.Builder
,Validate.Builder
,ValidateOperationChain.Builder
,While.Builder
- Enclosing interface:
- Operation
public abstract static class Operation.BaseBuilder<OP extends Operation,B extends Operation.BaseBuilder<OP,?>> extends Object implements Operation.Builder<OP,B>
-
-
Method Detail
-
option
public B option(String name, String value)
- Parameters:
name
- the name of the option to addvalue
- the value of the option to add- Returns:
- this Builder
- See Also:
Operation.addOption(String, String)
-
build
public OP build()
Builds the operation and returns it.- Returns:
- the built operation.
-
_getOp
public OP _getOp()
- Specified by:
_getOp
in interfaceOperation.Builder<OP extends Operation,B extends Operation.BaseBuilder<OP,?>>
-
_self
public B _self()
- Specified by:
_self
in interfaceOperation.Builder<OP extends Operation,B extends Operation.BaseBuilder<OP,?>>
-
-