OUT - The type of the data set produced by this operator.O - The type of the operator, so that we can return it.public abstract class Operator<OUT,O extends Operator<OUT,O>> extends DataSet<OUT>
| Modifier | Constructor and Description |
|---|---|
protected |
Operator(ExecutionEnvironment context,
TypeInformation<OUT> resultType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the operator.
|
int |
getParallelism()
Returns the degree of parallelism of this operator.
|
TypeInformation<OUT> |
getResultType()
Returns the type of the result of this operator.
|
O |
name(String newName)
Sets the name of this operator.
|
O |
setParallelism(int dop)
Sets the degree of parallelism for this operator.
|
aggregate, checkSameExecutionContext, coGroup, cross, crossWithHuge, crossWithTiny, distinct, distinct, distinct, filter, flatMap, getExecutionEnvironment, getType, groupBy, groupBy, iterate, iterateDelta, join, joinWithHuge, joinWithTiny, map, max, min, output, print, printToErr, project, reduce, reduceGroup, runOperation, sum, union, write, write, writeAsCsv, writeAsCsv, writeAsCsv, writeAsText, writeAsTextprotected Operator(ExecutionEnvironment context, TypeInformation<OUT> resultType)
public TypeInformation<OUT> getResultType()
public String getName()
public int getParallelism()
public O name(String newName)
newName - The name for this operator.public O setParallelism(int dop)
dop - The degree of parallelism for this operator.Copyright © 2014 The Apache Software Foundation. All rights reserved.