本文整理汇总了Java中org.apache.flink.api.common.operators.Union类的典型用法代码示例。如果您正苦于以下问题:Java Union类的具体用法?Java Union怎么用?Java Union使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Union类属于org.apache.flink.api.common.operators包,在下文中一共展示了Union类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: BinaryUnionNode
import org.apache.flink.api.common.operators.Union; //导入依赖的package包/类
public BinaryUnionNode(Union<?> union){
super(union);
}
示例2: translateToDataFlow
import org.apache.flink.api.common.operators.Union; //导入依赖的package包/类
/**
* Returns the BinaryNodeTranslation of the Union.
*
* @param input1 The first input of the union, as a common API operator.
* @param input2 The second input of the union, as a common API operator.
* @return The common API union operator.
*/
@Override
protected Union<T> translateToDataFlow(Operator<T> input1, Operator<T> input2) {
return new Union<T>(input1, input2, unionLocationName);
}
示例3: translateToDataFlow
import org.apache.flink.api.common.operators.Union; //导入依赖的package包/类
/**
* Returns the BinaryNodeTranslation of the Union.
*
* @param input1 The first input of the union, as a common API operator.
* @param input2 The second input of the union, as a common API operator.
* @return The common API union operator.
*/
@Override
protected Union<T> translateToDataFlow(Operator<T> input1, Operator<T> input2) {
return new Union<T>(input1, input2);
}