T
- The type of the elements of the grouped DataSet.@Deprecated @Public public abstract class Grouping<T> extends Object
The following transformation can be applied on Grouping:
Modifier and Type | Field and Description |
---|---|
protected Partitioner<?> |
customPartitioner
Deprecated.
|
protected DataSet<T> |
inputDataSet
Deprecated.
|
protected Keys<T> |
keys
Deprecated.
|
Constructor and Description |
---|
Grouping(DataSet<T> set,
Keys<T> keys)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Partitioner<?> |
getCustomPartitioner()
Deprecated.
Gets the custom partitioner to be used for this grouping, or
null , if none was
defined. |
DataSet<T> |
getInputDataSet()
Deprecated.
Returns the input DataSet of a grouping operation, that is the one before the grouping.
|
Keys<T> |
getKeys()
Deprecated.
|
protected Partitioner<?> customPartitioner
@Internal public DataSet<T> getInputDataSet()
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()
).
@Internal public Partitioner<?> getCustomPartitioner()
null
, if none was
defined.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.