public class RenameOperator<T> extends SingleInputOperator<T,T,RenameOperator<T>>
RenamingProxyTypeInfo
for renaming some
fields of a CompositeType
. At runtime this
disappears since the translation methods simply returns the input.name, parallelism
Constructor and Description |
---|
RenameOperator(DataSet<T> input,
RenamingProxyTypeInfo<T> renamingTypeInformation) |
Modifier and Type | Method and Description |
---|---|
protected Operator<T> |
translateToDataFlow(Operator<T> input)
Translates this operation to a data flow operator of the common data flow API.
|
getInput, getInputType
getName, getParallelism, getResultType, name, setParallelism
aggregate, checkSameExecutionContext, clean, coGroup, collect, combineGroup, count, cross, crossWithHuge, crossWithTiny, distinct, distinct, distinct, distinct, fillInType, filter, first, flatMap, fullOuterJoin, fullOuterJoin, getExecutionEnvironment, getType, groupBy, groupBy, groupBy, iterate, iterateDelta, join, join, joinWithHuge, joinWithTiny, leftOuterJoin, leftOuterJoin, map, mapPartition, max, maxBy, min, minBy, output, partitionByHash, partitionByHash, partitionByHash, partitionByRange, partitionByRange, partitionByRange, partitionCustom, partitionCustom, partitionCustom, print, print, printOnTaskManager, printToErr, printToErr, project, rebalance, reduce, reduceGroup, rightOuterJoin, rightOuterJoin, runOperation, sortPartition, sortPartition, sortPartition, sum, union, write, write, writeAsCsv, writeAsCsv, writeAsCsv, writeAsCsv, writeAsFormattedText, writeAsFormattedText, writeAsText, writeAsText
public RenameOperator(DataSet<T> input, RenamingProxyTypeInfo<T> renamingTypeInformation)
protected Operator<T> translateToDataFlow(Operator<T> input)
SingleInputOperator
translateToDataFlow
in class SingleInputOperator<T,T,RenameOperator<T>>
input
- The data flow operator that produces this operation's input data.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.