本文整理匯總了Java中org.apache.flink.api.common.functions.util.NoOpFunction類的典型用法代碼示例。如果您正苦於以下問題:Java NoOpFunction類的具體用法?Java NoOpFunction怎麽用?Java NoOpFunction使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
NoOpFunction類屬於org.apache.flink.api.common.functions.util包,在下文中一共展示了NoOpFunction類的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: PartitionOperatorBase
import org.apache.flink.api.common.functions.util.NoOpFunction; //導入依賴的package包/類
public PartitionOperatorBase(UnaryOperatorInformation<IN, IN> operatorInfo, PartitionMethod pMethod, int[] keys, String name) {
super(new UserCodeObjectWrapper<NoOpFunction>(new NoOpFunction()), operatorInfo, keys, name);
this.partitionMethod = pMethod;
}
示例2: SortPartitionOperatorBase
import org.apache.flink.api.common.functions.util.NoOpFunction; //導入依賴的package包/類
public SortPartitionOperatorBase(UnaryOperatorInformation<IN, IN> operatorInfo, Ordering partitionOrdering, String name) {
super(new UserCodeObjectWrapper<NoOpFunction>(new NoOpFunction()), operatorInfo, name);
this.partitionOrdering = partitionOrdering;
}
示例3: NoOpBinaryUdfOp
import org.apache.flink.api.common.functions.util.NoOpFunction; //導入依賴的package包/類
public NoOpBinaryUdfOp(TypeInformation<OUT> type) {
super(new UserCodeClassWrapper<NoOpFunction>(NoOpFunction.class), new BinaryOperatorInformation<OUT, OUT, OUT>(type, type, type), "NoContract");
}
示例4: NoOpUnaryUdfOp
import org.apache.flink.api.common.functions.util.NoOpFunction; //導入依賴的package包/類
public NoOpUnaryUdfOp() {
// pass null here because we override getOutputType to return type
// of input operator
super(new UserCodeClassWrapper<NoOpFunction>(NoOpFunction.class), null, "");
}
示例5: NoOpUnaryUdfOp
import org.apache.flink.api.common.functions.util.NoOpFunction; //導入依賴的package包/類
private NoOpUnaryUdfOp() {
// pass null here because we override getOutputType to return type
// of input operator
super(new UserCodeClassWrapper<NoOpFunction>(NoOpFunction.class), null, "");
}