class OnGroupedDataSet[T] extends AnyRef
Wraps a grouped data set, allowing to use anonymous partial functions to perform extraction of items in a tuple, case class instance or collection
- T
The type of the grouped data set items
- Annotations
- @deprecated
- Deprecated
(Since version 1.18.0)
- See also
- Alphabetic
- By Inheritance
- OnGroupedDataSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
OnGroupedDataSet(ds: GroupedDataSet[T])
- ds
The wrapped grouped data set
- Deprecated
All Flink Scala APIs are deprecated and will be removed in a future Flink major version. You can still build your application in Scala, but you should move to the Java version of either the DataStream and/or Table API.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
combineGroupWith[R](fun: (Stream[T]) ⇒ R)(implicit arg0: TypeInformation[R], arg1: ClassTag[R]): DataSet[R]
Same as a reducing operation but only acts locally, ideal to perform pre-aggregation before a reduction.
Same as a reducing operation but only acts locally, ideal to perform pre-aggregation before a reduction.
- R
The type of the items in the resulting data set
- fun
The reducing function
- returns
A data set of Rs reduced group-wise
- Annotations
- @PublicEvolving()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
reduceGroupWith[R](fun: (Stream[T]) ⇒ R)(implicit arg0: TypeInformation[R], arg1: ClassTag[R]): DataSet[R]
Reduces the data set group-wise with a reducer
fun
Reduces the data set group-wise with a reducer
fun
- R
The type of the items in the resulting data set
- fun
The reducing function
- returns
A data set of Rs reduced group-wise
- Annotations
- @PublicEvolving()
-
def
reduceWith(fun: (T, T) ⇒ T): DataSet[T]
Reduces the whole data set with a reducer
fun
Reduces the whole data set with a reducer
fun
- fun
The reducing function
- returns
A reduced data set of Ts
- Annotations
- @PublicEvolving()
-
def
sortGroupWith[K](order: Order)(fun: (T) ⇒ K)(implicit arg0: TypeInformation[K]): GroupedDataSet[T]
Sorts a group using a sorting function
fun
and anOrder
Sorts a group using a sorting function
fun
and anOrder
- K
The key type
- order
The ordering strategy (ascending, descending, etc.)
- fun
The sorting function, defining the sorting key
- returns
A data set sorted group-wise
- Annotations
- @PublicEvolving()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )