Package uk.gov.gchq.gaffer.operation
Class OperationChain.OutputBuilder<OUT>
- java.lang.Object
-
- uk.gov.gchq.gaffer.operation.OperationChain.OutputBuilder<OUT>
-
- Enclosing class:
- OperationChain<OUT>
public static final class OperationChain.OutputBuilder<OUT> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationChain<OUT>
build()
<CUSTOM_OUT>
OperationChain<CUSTOM_OUT>buildTypeUnsafe()
Builds the operation chain and returns it.OperationChain.OutputBuilder<OUT>
option(String name, String value)
OperationChain.OutputBuilder<OUT>
options(Map<String,String> options)
OperationChain.NoOutputBuilder
then(Input<? super OUT> op)
<NEXT_OUT> OperationChain.OutputBuilder<NEXT_OUT>
then(InputOutput<? super OUT,NEXT_OUT> op)
<NEXT_OUT> OperationChain.OutputBuilder<NEXT_OUT>
then(OperationChain<NEXT_OUT> op)
OperationChain.NoOutputBuilder
thenTypeUnsafe(Input<?> op)
Adds the provided operation to the operation chain.<NEXT_OUT> OperationChain.OutputBuilder<NEXT_OUT>
thenTypeUnsafe(InputOutput<?,NEXT_OUT> op)
Adds the provided operation to the operation chain.
-
-
-
Method Detail
-
then
public OperationChain.NoOutputBuilder then(Input<? super OUT> op)
-
then
public <NEXT_OUT> OperationChain.OutputBuilder<NEXT_OUT> then(InputOutput<? super OUT,NEXT_OUT> op)
-
then
public <NEXT_OUT> OperationChain.OutputBuilder<NEXT_OUT> then(OperationChain<NEXT_OUT> op)
-
thenTypeUnsafe
public OperationChain.NoOutputBuilder thenTypeUnsafe(Input<?> op)
Adds the provided operation to the operation chain.
NOTE - this is type unsafe and may cause your operation chain to fail
- Parameters:
op
- the operation to add- Returns:
- the builder to allow chaining builder methods
-
thenTypeUnsafe
public <NEXT_OUT> OperationChain.OutputBuilder<NEXT_OUT> thenTypeUnsafe(InputOutput<?,NEXT_OUT> op)
Adds the provided operation to the operation chain.
NOTE - this is type unsafe and may cause your operation chain to fail
- Type Parameters:
NEXT_OUT
- the next output type- Parameters:
op
- the operation to add- Returns:
- the builder to allow chaining builder methods
-
option
public OperationChain.OutputBuilder<OUT> option(String name, String value)
-
options
public OperationChain.OutputBuilder<OUT> options(Map<String,String> options)
-
build
public OperationChain<OUT> build()
-
buildTypeUnsafe
public <CUSTOM_OUT> OperationChain<CUSTOM_OUT> buildTypeUnsafe()
Builds the operation chain and returns it.
NOTE - this is type unsafe and may cause your operation chain to fail
- Type Parameters:
CUSTOM_OUT
- the output type for the operation chain- Returns:
- the operation chain
-
-