| Package | Description |
|---|---|
| org.apache.flink.api.common | |
| org.apache.flink.api.common.operators | |
| org.apache.flink.api.common.operators.base |
| Modifier and Type | Method and Description |
|---|---|
void |
Plan.accept(Visitor<Operator<?>> visitor)
Traverses the job depth first from all data sinks on towards the sources.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractUdfOperator<OUT,FT extends Function>
Abstract superclass for all contracts that represent actual operators.
|
class |
DualInputOperator<IN1,IN2,OUT,FT extends Function>
Abstract operator superclass for for all operators that have two inputs, like "Join", "CoGroup", or "Cross".
|
class |
GenericDataSinkBase<IN>
Operator for nodes that act as data sinks, storing the data they receive.
|
class |
GenericDataSourceBase<OUT,T extends InputFormat<OUT,?>>
Abstract superclass for data sources in a Pact plan.
|
class |
SingleInputOperator<IN,OUT,FT extends Function>
Abstract superclass for for all operators that have one input like "map" or "reduce".
|
class |
Union<T>
This operator represents a Union between two inputs.
|
| Modifier and Type | Field and Description |
|---|---|
protected Operator<IN> |
SingleInputOperator.input
The input which produces the data consumed by this operator.
|
protected Operator<IN> |
GenericDataSinkBase.input |
protected Operator<IN1> |
DualInputOperator.input1
The operator producing the first input.
|
protected Operator<IN2> |
DualInputOperator.input2
The operator producing the second input.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Operator<?>> |
AbstractUdfOperator.broadcastInputs
The extra inputs which parameterize the user function.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Operator<T> |
Operator.createUnionCascade(List<? extends Operator<T>> operators)
Takes a list of operators and creates a cascade of unions of this inputs, if needed.
|
static <T> Operator<T> |
Operator.createUnionCascade(Operator<T>... operators)
Takes a list of operators and creates a cascade of unions of this inputs, if needed.
|
static <T> Operator<T> |
Operator.createUnionCascade(Operator<T> input1,
Operator<T>... input2)
Takes a single Operator and a list of operators and creates a cascade of unions of this inputs, if needed.
|
Operator<IN1> |
DualInputOperator.getFirstInput()
Returns the first input, or null, if none is set.
|
Operator<IN> |
SingleInputOperator.getInput()
Returns the input operator or data source, or null, if none is set.
|
Operator<IN> |
GenericDataSinkBase.getInput()
Returns this operator's input operator.
|
Operator<IN2> |
DualInputOperator.getSecondInput()
Returns the second input, or null, if none is set.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Operator<?>> |
AbstractUdfOperator.getBroadcastInputs()
Returns the input, or null, if none is set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DualInputOperator.addFirstInput(Operator<IN1>... input)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
SingleInputOperator.addInput(Operator<IN>... input)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
GenericDataSinkBase.addInput(Operator<IN>... inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
DualInputOperator.addSecondInput(Operator<IN2>... input)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
static <T> Operator<T> |
Operator.createUnionCascade(Operator<T>... operators)
Takes a list of operators and creates a cascade of unions of this inputs, if needed.
|
static <T> Operator<T> |
Operator.createUnionCascade(Operator<T> input1,
Operator<T>... input2)
Takes a single Operator and a list of operators and creates a cascade of unions of this inputs, if needed.
|
static <T> Operator<T> |
Operator.createUnionCascade(Operator<T> input1,
Operator<T>... input2)
Takes a single Operator and a list of operators and creates a cascade of unions of this inputs, if needed.
|
void |
AbstractUdfOperator.setBroadcastVariable(String name,
Operator<?> root)
Binds the result produced by a plan rooted at
root to a variable
used by the UDF wrapped in this operator. |
void |
DualInputOperator.setFirstInput(Operator<IN1>... inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
DualInputOperator.setFirstInput(Operator<IN1> input)
Clears all previous connections and connects the first input to the task wrapped in this contract
|
void |
SingleInputOperator.setInput(Operator<IN>... input)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
SingleInputOperator.setInput(Operator<IN> input)
Sets the given operator as the input to this operator.
|
void |
GenericDataSinkBase.setInput(Operator<IN> input)
Sets the given operator as the input to this operator.
|
void |
GenericDataSinkBase.setInputs(Operator<IN>... inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
DualInputOperator.setSecondInput(Operator<IN2>... inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
DualInputOperator.setSecondInput(Operator<IN2> input)
Clears all previous connections and connects the second input to the task wrapped in this contract
|
| Modifier and Type | Method and Description |
|---|---|
void |
SingleInputOperator.accept(Visitor<Operator<?>> visitor)
Accepts the visitor and applies it this instance.
|
void |
DualInputOperator.accept(Visitor<Operator<?>> visitor) |
void |
GenericDataSourceBase.accept(Visitor<Operator<?>> visitor)
Accepts the visitor and applies it this instance.
|
void |
GenericDataSinkBase.accept(Visitor<Operator<?>> visitor)
Accepts the visitor and applies it this instance.
|
void |
DualInputOperator.addFirstInputs(List<Operator<IN1>> inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
SingleInputOperator.addInput(List<Operator<IN>> inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
GenericDataSinkBase.addInputs(List<? extends Operator<IN>> inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
DualInputOperator.addSecondInputs(List<Operator<IN2>> inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
static <T> Operator<T> |
Operator.createUnionCascade(List<? extends Operator<T>> operators)
Takes a list of operators and creates a cascade of unions of this inputs, if needed.
|
<T> void |
AbstractUdfOperator.setBroadcastVariables(Map<String,Operator<T>> inputs)
Clears all previous broadcast inputs and binds the given inputs as
broadcast variables of this operator.
|
void |
DualInputOperator.setFirstInputs(List<Operator<IN1>> inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
SingleInputOperator.setInputs(List<Operator<IN>> inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
GenericDataSinkBase.setInputs(List<Operator<IN>> inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
void |
DualInputOperator.setSecondInputs(List<Operator<IN2>> inputs)
Deprecated.
This method will be removed in future versions. Use the
Union operator instead. |
| Constructor and Description |
|---|
Union(Operator<T> input1,
Operator<T> input2,
String unionLocationName) |
Union(Operator<T> input1,
Operator<T> input2,
String unionLocationName) |
| Modifier and Type | Class and Description |
|---|---|
class |
BulkIterationBase<T> |
static class |
BulkIterationBase.PartialSolutionPlaceHolder<OT>
Specialized operator to use as a recognizable place-holder for the input to the
step function when composing the nested data flow.
|
class |
CoGroupOperatorBase<IN1,IN2,OUT,FT extends CoGroupFunction<IN1,IN2,OUT>> |
class |
CoGroupRawOperatorBase<IN1,IN2,OUT,FT extends CoGroupFunction<IN1,IN2,OUT>> |
class |
CrossOperatorBase<IN1,IN2,OUT,FT extends CrossFunction<IN1,IN2,OUT>> |
class |
DeltaIterationBase<ST,WT>
A DeltaIteration is similar to a
BulkIterationBase,
but maintains state across the individual iteration steps. |
static class |
DeltaIterationBase.SolutionSetPlaceHolder<ST>
Specialized operator to use as a recognizable place-holder for the solution set input to the
step function.
|
static class |
DeltaIterationBase.WorksetPlaceHolder<WT>
Specialized operator to use as a recognizable place-holder for the working set input to the
step function.
|
class |
FilterOperatorBase<T,FT extends FlatMapFunction<T,T>> |
class |
FlatMapOperatorBase<IN,OUT,FT extends FlatMapFunction<IN,OUT>> |
class |
GroupCombineOperatorBase<IN,OUT,FT extends GroupCombineFunction<IN,OUT>>
Base operator for the combineGroup transformation.
|
class |
GroupReduceOperatorBase<IN,OUT,FT extends GroupReduceFunction<IN,OUT>> |
class |
InnerJoinOperatorBase<IN1,IN2,OUT,FT extends FlatJoinFunction<IN1,IN2,OUT>> |
class |
JoinOperatorBase<IN1,IN2,OUT,FT extends FlatJoinFunction<IN1,IN2,OUT>> |
class |
MapOperatorBase<IN,OUT,FT extends MapFunction<IN,OUT>> |
class |
MapPartitionOperatorBase<IN,OUT,FT extends MapPartitionFunction<IN,OUT>> |
class |
OuterJoinOperatorBase<IN1,IN2,OUT,FT extends FlatJoinFunction<IN1,IN2,OUT>> |
class |
PartitionOperatorBase<IN> |
class |
ReduceOperatorBase<T,FT extends ReduceFunction<T>>
Base data flow operator for Reduce user-defined functions.
|
class |
SortPartitionOperatorBase<IN> |
| Modifier and Type | Field and Description |
|---|---|
protected Operator<?> |
BulkIterationBase.terminationCriterion |
| Modifier and Type | Method and Description |
|---|---|
Operator<ST> |
DeltaIterationBase.getInitialSolutionSet()
Returns the initial solution set input, or null, if none is set.
|
Operator<WT> |
DeltaIterationBase.getInitialWorkset()
Returns the initial workset input, or null, if none is set.
|
Operator<T> |
BulkIterationBase.getNextPartialSolution() |
Operator<WT> |
DeltaIterationBase.getNextWorkset()
Gets the contract that has been set as the next workset.
|
Operator<T> |
BulkIterationBase.getPartialSolution() |
Operator<ST> |
DeltaIterationBase.getSolutionSet()
Gets the contract that represents the solution set for the step function.
|
Operator<ST> |
DeltaIterationBase.getSolutionSetDelta()
Gets the contract that has been set as the solution set delta.
|
Operator<?> |
BulkIterationBase.getTerminationCriterion() |
Operator<WT> |
DeltaIterationBase.getWorkset()
Gets the contract that represents the workset for the step function.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Operator<?>> |
DeltaIterationBase.getBroadcastInputs()
DeltaIteration meta operator cannot have broadcast inputs.
|
Map<String,Operator<?>> |
BulkIterationBase.getBroadcastInputs()
The BulkIteration meta operator cannot have broadcast inputs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeltaIterationBase.setBroadcastVariable(String name,
Operator<?> root)
The DeltaIteration meta operator cannot have broadcast inputs.
|
void |
BulkIterationBase.setBroadcastVariable(String name,
Operator<?> root)
The BulkIteration meta operator cannot have broadcast inputs.
|
void |
DeltaIterationBase.setInitialSolutionSet(Operator<ST> input)
Sets the given input as the initial solution set.
|
void |
DeltaIterationBase.setInitialWorkset(Operator<WT> input)
Sets the given input as the initial workset.
|
void |
BulkIterationBase.setNextPartialSolution(Operator<T> result) |
void |
DeltaIterationBase.setNextWorkset(Operator<WT> result)
Sets the contract of the step function that represents the next workset.
|
void |
DeltaIterationBase.setSolutionSetDelta(Operator<ST> delta)
Sets the contract of the step function that represents the solution set delta.
|
<X> void |
BulkIterationBase.setTerminationCriterion(Operator<X> criterion) |
| Modifier and Type | Method and Description |
|---|---|
void |
DeltaIterationBase.WorksetPlaceHolder.accept(Visitor<Operator<?>> visitor) |
void |
DeltaIterationBase.SolutionSetPlaceHolder.accept(Visitor<Operator<?>> visitor) |
void |
BulkIterationBase.PartialSolutionPlaceHolder.accept(Visitor<Operator<?>> visitor) |
<X> void |
DeltaIterationBase.setBroadcastVariables(Map<String,Operator<X>> inputs)
The DeltaIteration meta operator cannot have broadcast inputs.
|
<X> void |
BulkIterationBase.setBroadcastVariables(Map<String,Operator<X>> inputs)
The BulkIteration meta operator cannot have broadcast inputs.
|
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.