Java Code Examples for org.apache.flink.optimizer.util.Utils#createOrdering()

The following examples show how to use org.apache.flink.optimizer.util.Utils#createOrdering() . 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: AbstractSortMergeJoinDescriptor.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@Override
protected List<LocalPropertiesPair> createPossibleLocalProperties() {
	RequestedLocalProperties sort1 = new RequestedLocalProperties(Utils.createOrdering(this.keys1));
	RequestedLocalProperties sort2 = new RequestedLocalProperties(Utils.createOrdering(this.keys2));
	return Collections.singletonList(new LocalPropertiesPair(sort1, sort2));
}
 
Example 2
Source File: CoGroupWithSolutionSetSecondDescriptor.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@Override
protected List<LocalPropertiesPair> createPossibleLocalProperties() {
	RequestedLocalProperties sort = new RequestedLocalProperties(Utils.createOrdering(this.keys1));
	RequestedLocalProperties none = new RequestedLocalProperties();
	return Collections.singletonList(new LocalPropertiesPair(sort, none));
}
 
Example 3
Source File: CoGroupWithSolutionSetFirstDescriptor.java    From Flink-CEPplus with Apache License 2.0 4 votes vote down vote up
@Override
protected List<LocalPropertiesPair> createPossibleLocalProperties() {
	RequestedLocalProperties none = new RequestedLocalProperties();
	RequestedLocalProperties sort = new RequestedLocalProperties(Utils.createOrdering(this.keys2));
	return Collections.singletonList(new LocalPropertiesPair(none, sort));
}
 
Example 4
Source File: AbstractSortMergeJoinDescriptor.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
protected List<LocalPropertiesPair> createPossibleLocalProperties() {
	RequestedLocalProperties sort1 = new RequestedLocalProperties(Utils.createOrdering(this.keys1));
	RequestedLocalProperties sort2 = new RequestedLocalProperties(Utils.createOrdering(this.keys2));
	return Collections.singletonList(new LocalPropertiesPair(sort1, sort2));
}
 
Example 5
Source File: CoGroupWithSolutionSetSecondDescriptor.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
protected List<LocalPropertiesPair> createPossibleLocalProperties() {
	RequestedLocalProperties sort = new RequestedLocalProperties(Utils.createOrdering(this.keys1));
	RequestedLocalProperties none = new RequestedLocalProperties();
	return Collections.singletonList(new LocalPropertiesPair(sort, none));
}
 
Example 6
Source File: CoGroupWithSolutionSetFirstDescriptor.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
protected List<LocalPropertiesPair> createPossibleLocalProperties() {
	RequestedLocalProperties none = new RequestedLocalProperties();
	RequestedLocalProperties sort = new RequestedLocalProperties(Utils.createOrdering(this.keys2));
	return Collections.singletonList(new LocalPropertiesPair(none, sort));
}
 
Example 7
Source File: AbstractSortMergeJoinDescriptor.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
protected List<LocalPropertiesPair> createPossibleLocalProperties() {
	RequestedLocalProperties sort1 = new RequestedLocalProperties(Utils.createOrdering(this.keys1));
	RequestedLocalProperties sort2 = new RequestedLocalProperties(Utils.createOrdering(this.keys2));
	return Collections.singletonList(new LocalPropertiesPair(sort1, sort2));
}
 
Example 8
Source File: CoGroupWithSolutionSetSecondDescriptor.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
protected List<LocalPropertiesPair> createPossibleLocalProperties() {
	RequestedLocalProperties sort = new RequestedLocalProperties(Utils.createOrdering(this.keys1));
	RequestedLocalProperties none = new RequestedLocalProperties();
	return Collections.singletonList(new LocalPropertiesPair(sort, none));
}
 
Example 9
Source File: CoGroupWithSolutionSetFirstDescriptor.java    From flink with Apache License 2.0 4 votes vote down vote up
@Override
protected List<LocalPropertiesPair> createPossibleLocalProperties() {
	RequestedLocalProperties none = new RequestedLocalProperties();
	RequestedLocalProperties sort = new RequestedLocalProperties(Utils.createOrdering(this.keys2));
	return Collections.singletonList(new LocalPropertiesPair(none, sort));
}