Class Grouping<T>

    • Field Detail

      • inputDataSet

        protected final DataSet<T> inputDataSet
        Deprecated.
      • keys

        protected final org.apache.flink.api.common.operators.Keys<T> keys
        Deprecated.
      • customPartitioner

        protected org.apache.flink.api.common.functions.Partitioner<?> customPartitioner
        Deprecated.
    • Constructor Detail

      • Grouping

        public Grouping​(DataSet<T> set,
                        org.apache.flink.api.common.operators.Keys<T> keys)
        Deprecated.
    • Method Detail

      • getInputDataSet

        @Internal
        public DataSet<T> getInputDataSet()
        Deprecated.
        Returns the input DataSet of a grouping operation, that is the one before the grouping. This means that if it is applied directly to the result of a grouping operation, it will cancel its effect. As an example, in the following snippet:
        
         DataSet<X> notGrouped = input.groupBy().getDataSet();
         DataSet<Y> allReduced = notGrouped.reduce()
         

        the groupBy() is as if it never happened, as the notGrouped DataSet corresponds to the input of the groupBy() (because of the getDataset()).

      • getKeys

        @Internal
        public org.apache.flink.api.common.operators.Keys<T> getKeys()
        Deprecated.
      • getCustomPartitioner

        @Internal
        public org.apache.flink.api.common.functions.Partitioner<?> getCustomPartitioner()
        Deprecated.
        Gets the custom partitioner to be used for this grouping, or null, if none was defined.
        Returns:
        The custom partitioner to be used for this grouping.