Java Code Examples for org.apache.flink.api.common.operators.Ordering#getInvolvedIndexes()
The following examples show how to use
org.apache.flink.api.common.operators.Ordering#getInvolvedIndexes() .
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: GlobalProperties.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
/** * Set the parameters for range partition. * * @param ordering Order of the partitioned fields */ public void setRangePartitioned(Ordering ordering) { if (ordering == null) { throw new NullPointerException(); } this.partitioning = PartitioningProperty.RANGE_PARTITIONED; this.ordering = ordering; this.partitioningFields = ordering.getInvolvedIndexes(); }
Example 2
Source File: GlobalProperties.java From Flink-CEPplus with Apache License 2.0 | 5 votes |
/** * Set the parameters for range partition. * * @param ordering Order of the partitioned fields * @param distribution The data distribution for range partition. User can supply a customized data distribution, * also the data distribution can be null. */ public void setRangePartitioned(Ordering ordering, DataDistribution distribution) { if (ordering == null) { throw new NullPointerException(); } this.partitioning = PartitioningProperty.RANGE_PARTITIONED; this.ordering = ordering; this.partitioningFields = ordering.getInvolvedIndexes(); this.distribution = distribution; }
Example 3
Source File: GlobalProperties.java From flink with Apache License 2.0 | 5 votes |
/** * Set the parameters for range partition. * * @param ordering Order of the partitioned fields */ public void setRangePartitioned(Ordering ordering) { if (ordering == null) { throw new NullPointerException(); } this.partitioning = PartitioningProperty.RANGE_PARTITIONED; this.ordering = ordering; this.partitioningFields = ordering.getInvolvedIndexes(); }
Example 4
Source File: GlobalProperties.java From flink with Apache License 2.0 | 5 votes |
/** * Set the parameters for range partition. * * @param ordering Order of the partitioned fields * @param distribution The data distribution for range partition. User can supply a customized data distribution, * also the data distribution can be null. */ public void setRangePartitioned(Ordering ordering, DataDistribution distribution) { if (ordering == null) { throw new NullPointerException(); } this.partitioning = PartitioningProperty.RANGE_PARTITIONED; this.ordering = ordering; this.partitioningFields = ordering.getInvolvedIndexes(); this.distribution = distribution; }
Example 5
Source File: GlobalProperties.java From flink with Apache License 2.0 | 5 votes |
/** * Set the parameters for range partition. * * @param ordering Order of the partitioned fields */ public void setRangePartitioned(Ordering ordering) { if (ordering == null) { throw new NullPointerException(); } this.partitioning = PartitioningProperty.RANGE_PARTITIONED; this.ordering = ordering; this.partitioningFields = ordering.getInvolvedIndexes(); }
Example 6
Source File: GlobalProperties.java From flink with Apache License 2.0 | 5 votes |
/** * Set the parameters for range partition. * * @param ordering Order of the partitioned fields * @param distribution The data distribution for range partition. User can supply a customized data distribution, * also the data distribution can be null. */ public void setRangePartitioned(Ordering ordering, DataDistribution distribution) { if (ordering == null) { throw new NullPointerException(); } this.partitioning = PartitioningProperty.RANGE_PARTITIONED; this.ordering = ordering; this.partitioningFields = ordering.getInvolvedIndexes(); this.distribution = distribution; }
Example 7
Source File: LocalProperties.java From Flink-CEPplus with Apache License 2.0 | 4 votes |
public static LocalProperties forOrdering(Ordering o) { LocalProperties props = new LocalProperties(); props.ordering = o; props.groupedFields = o.getInvolvedIndexes(); return props; }
Example 8
Source File: LocalProperties.java From flink with Apache License 2.0 | 4 votes |
public static LocalProperties forOrdering(Ordering o) { LocalProperties props = new LocalProperties(); props.ordering = o; props.groupedFields = o.getInvolvedIndexes(); return props; }
Example 9
Source File: LocalProperties.java From flink with Apache License 2.0 | 4 votes |
public static LocalProperties forOrdering(Ordering o) { LocalProperties props = new LocalProperties(); props.ordering = o; props.groupedFields = o.getInvolvedIndexes(); return props; }