org.apache.flink.api.common.functions.util.NoOpFunction Java Examples

The following examples show how to use org.apache.flink.api.common.functions.util.NoOpFunction. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PartitionOperatorBase.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
public PartitionOperatorBase(UnaryOperatorInformation<IN, IN> operatorInfo, PartitionMethod pMethod, int[] keys, String name) {
	super(new UserCodeObjectWrapper<NoOpFunction>(new NoOpFunction()), operatorInfo, keys, name);
	this.partitionMethod = pMethod;
}
 
Example #2
Source File: PartitionOperatorBase.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
public PartitionOperatorBase(UnaryOperatorInformation<IN, IN> operatorInfo, PartitionMethod pMethod, String name) {
	super(new UserCodeObjectWrapper<NoOpFunction>(new NoOpFunction()), operatorInfo, name);
	this.partitionMethod = pMethod;
}
 
Example #3
Source File: SortPartitionOperatorBase.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
public SortPartitionOperatorBase(UnaryOperatorInformation<IN, IN> operatorInfo, Ordering partitionOrdering, String name) {
	super(new UserCodeObjectWrapper<NoOpFunction>(new NoOpFunction()), operatorInfo, name);
	this.partitionOrdering = partitionOrdering;
}
 
Example #4
Source File: NoOpBinaryUdfOp.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
public NoOpBinaryUdfOp(TypeInformation<OUT> type) {
	super(new UserCodeClassWrapper<NoOpFunction>(NoOpFunction.class), new BinaryOperatorInformation<OUT, OUT, OUT>(type, type, type), "NoContract");
}
 
Example #5
Source File: NoOpUnaryUdfOp.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
public NoOpUnaryUdfOp() {
	// pass null here because we override getOutputType to return type
	// of input operator
	super(new UserCodeClassWrapper<NoOpFunction>(NoOpFunction.class), null, "");
}
 
Example #6
Source File: PartitionOperatorBase.java    From flink with Apache License 2.0 4 votes vote down vote up
public PartitionOperatorBase(UnaryOperatorInformation<IN, IN> operatorInfo, PartitionMethod pMethod, int[] keys, String name) {
	super(new UserCodeObjectWrapper<NoOpFunction>(new NoOpFunction()), operatorInfo, keys, name);
	this.partitionMethod = pMethod;
}
 
Example #7
Source File: PartitionOperatorBase.java    From flink with Apache License 2.0 4 votes vote down vote up
public PartitionOperatorBase(UnaryOperatorInformation<IN, IN> operatorInfo, PartitionMethod pMethod, String name) {
	super(new UserCodeObjectWrapper<NoOpFunction>(new NoOpFunction()), operatorInfo, name);
	this.partitionMethod = pMethod;
}
 
Example #8
Source File: SortPartitionOperatorBase.java    From flink with Apache License 2.0 4 votes vote down vote up
public SortPartitionOperatorBase(UnaryOperatorInformation<IN, IN> operatorInfo, Ordering partitionOrdering, String name) {
	super(new UserCodeObjectWrapper<NoOpFunction>(new NoOpFunction()), operatorInfo, name);
	this.partitionOrdering = partitionOrdering;
}
 
Example #9
Source File: NoOpBinaryUdfOp.java    From flink with Apache License 2.0 4 votes vote down vote up
public NoOpBinaryUdfOp(TypeInformation<OUT> type) {
	super(new UserCodeClassWrapper<NoOpFunction>(NoOpFunction.class), new BinaryOperatorInformation<OUT, OUT, OUT>(type, type, type), "NoContract");
}
 
Example #10
Source File: NoOpUnaryUdfOp.java    From flink with Apache License 2.0 4 votes vote down vote up
public NoOpUnaryUdfOp() {
	// pass null here because we override getOutputType to return type
	// of input operator
	super(new UserCodeClassWrapper<NoOpFunction>(NoOpFunction.class), null, "");
}
 
Example #11
Source File: PartitionOperatorBase.java    From flink with Apache License 2.0 4 votes vote down vote up
public PartitionOperatorBase(UnaryOperatorInformation<IN, IN> operatorInfo, PartitionMethod pMethod, int[] keys, String name) {
	super(new UserCodeObjectWrapper<NoOpFunction>(new NoOpFunction()), operatorInfo, keys, name);
	this.partitionMethod = pMethod;
}
 
Example #12
Source File: PartitionOperatorBase.java    From flink with Apache License 2.0 4 votes vote down vote up
public PartitionOperatorBase(UnaryOperatorInformation<IN, IN> operatorInfo, PartitionMethod pMethod, String name) {
	super(new UserCodeObjectWrapper<NoOpFunction>(new NoOpFunction()), operatorInfo, name);
	this.partitionMethod = pMethod;
}
 
Example #13
Source File: SortPartitionOperatorBase.java    From flink with Apache License 2.0 4 votes vote down vote up
public SortPartitionOperatorBase(UnaryOperatorInformation<IN, IN> operatorInfo, Ordering partitionOrdering, String name) {
	super(new UserCodeObjectWrapper<NoOpFunction>(new NoOpFunction()), operatorInfo, name);
	this.partitionOrdering = partitionOrdering;
}
 
Example #14
Source File: NoOpBinaryUdfOp.java    From flink with Apache License 2.0 4 votes vote down vote up
public NoOpBinaryUdfOp(TypeInformation<OUT> type) {
	super(new UserCodeClassWrapper<NoOpFunction>(NoOpFunction.class), new BinaryOperatorInformation<OUT, OUT, OUT>(type, type, type), "NoContract");
}
 
Example #15
Source File: NoOpUnaryUdfOp.java    From flink with Apache License 2.0 4 votes vote down vote up
public NoOpUnaryUdfOp() {
	// pass null here because we override getOutputType to return type
	// of input operator
	super(new UserCodeClassWrapper<NoOpFunction>(NoOpFunction.class), null, "");
}