Class FederatedOperation.BuilderParent<INPUT,OUTPUT>
- java.lang.Object
-
- uk.gov.gchq.gaffer.operation.Operation.BaseBuilder<OP,B>
-
- uk.gov.gchq.gaffer.federatedstore.operation.IFederationOperation.BaseBuilder<FederatedOperation<INPUT,OUTPUT>,FederatedOperation.BuilderParent<INPUT,OUTPUT>>
-
- uk.gov.gchq.gaffer.federatedstore.operation.FederatedOperation.BuilderParent<INPUT,OUTPUT>
-
- All Implemented Interfaces:
Operation.Builder<FederatedOperation<INPUT,OUTPUT>,FederatedOperation.BuilderParent<INPUT,OUTPUT>>
- Enclosing class:
- FederatedOperation<INPUT,OUTPUT>
public abstract static class FederatedOperation.BuilderParent<INPUT,OUTPUT> extends IFederationOperation.BaseBuilder<FederatedOperation<INPUT,OUTPUT>,FederatedOperation.BuilderParent<INPUT,OUTPUT>>
-
-
Constructor Summary
Constructors Constructor Description BuilderParent(FederatedOperation<INPUT,OUTPUT> fedOp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FederatedOperation<INPUT,OUTPUT>
_getOp()
FederatedOperation.BuilderParent<INPUT,OUTPUT>
_self()
FederatedOperation<INPUT,OUTPUT>
build()
Builds the operation and returns it.FederatedOperation.BuilderParent<INPUT,OUTPUT>
graphIds(List<String> graphIds)
FederatedOperation.BuilderParent<INPUT,OUTPUT>
graphIdsCSV(String graphIdsCSV)
FederatedOperation.BuilderParent<INPUT,OUTPUT>
mergeFunction(BiFunction mergeFunction)
FederatedOperation.BuilderParent<INPUT,OUTPUT>
option(String name, String value)
FederatedOperation.BuilderParent<INPUT,OUTPUT>
options(Map<String,String> options)
FederatedOperation.BuilderParent<INPUT,OUTPUT>
setUserRequestingAdminUsage(boolean adminRequest)
FederatedOperation.BuilderParent<INPUT,OUTPUT>
skipFailedFederatedExecution(boolean skipFailedFederatedExecution)
-
-
-
Constructor Detail
-
BuilderParent
public BuilderParent(FederatedOperation<INPUT,OUTPUT> fedOp)
-
-
Method Detail
-
graphIdsCSV
public FederatedOperation.BuilderParent<INPUT,OUTPUT> graphIdsCSV(String graphIdsCSV)
-
graphIds
public FederatedOperation.BuilderParent<INPUT,OUTPUT> graphIds(List<String> graphIds)
-
mergeFunction
public FederatedOperation.BuilderParent<INPUT,OUTPUT> mergeFunction(BiFunction mergeFunction)
-
skipFailedFederatedExecution
public FederatedOperation.BuilderParent<INPUT,OUTPUT> skipFailedFederatedExecution(boolean skipFailedFederatedExecution)
-
_self
public FederatedOperation.BuilderParent<INPUT,OUTPUT> _self()
- Specified by:
_self
in interfaceOperation.Builder<INPUT,OUTPUT>
- Overrides:
_self
in classOperation.BaseBuilder<FederatedOperation<INPUT,OUTPUT>,FederatedOperation.BuilderParent<INPUT,OUTPUT>>
-
_getOp
public FederatedOperation<INPUT,OUTPUT> _getOp()
- Specified by:
_getOp
in interfaceOperation.Builder<INPUT,OUTPUT>
- Overrides:
_getOp
in classOperation.BaseBuilder<FederatedOperation<INPUT,OUTPUT>,FederatedOperation.BuilderParent<INPUT,OUTPUT>>
-
option
public FederatedOperation.BuilderParent<INPUT,OUTPUT> option(String name, String value)
- Overrides:
option
in classOperation.BaseBuilder<FederatedOperation<INPUT,OUTPUT>,FederatedOperation.BuilderParent<INPUT,OUTPUT>>
- 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)
-
options
public FederatedOperation.BuilderParent<INPUT,OUTPUT> options(Map<String,String> options)
- Overrides:
options
in classOperation.BaseBuilder<FederatedOperation<INPUT,OUTPUT>,FederatedOperation.BuilderParent<INPUT,OUTPUT>>
-
setUserRequestingAdminUsage
public FederatedOperation.BuilderParent<INPUT,OUTPUT> setUserRequestingAdminUsage(boolean adminRequest)
- Overrides:
setUserRequestingAdminUsage
in classIFederationOperation.BaseBuilder<FederatedOperation<INPUT,OUTPUT>,FederatedOperation.BuilderParent<INPUT,OUTPUT>>
-
build
public FederatedOperation<INPUT,OUTPUT> build()
Description copied from class:Operation.BaseBuilder
Builds the operation and returns it.- Overrides:
build
in classOperation.BaseBuilder<FederatedOperation<INPUT,OUTPUT>,FederatedOperation.BuilderParent<INPUT,OUTPUT>>
- Returns:
- the built operation.
-
-