class OnDataSet[T] extends AnyRef
Wraps a 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 data set items
- Annotations
- @deprecated
- Deprecated
(Since version 1.18.0)
- See also
- Alphabetic
- By Inheritance
- OnDataSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
filterWith(fun: (T) ⇒ Boolean): DataSet[T]
Applies a predicate
fun
to each item of the data set, keeping only those for which the predicate holdsApplies a predicate
fun
to each item of the data set, keeping only those for which the predicate holds- fun
The predicate to be tested on each item
- returns
A dataset of R
- Annotations
- @PublicEvolving()
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMapWith[R](fun: (T) ⇒ TraversableOnce[R])(implicit arg0: TypeInformation[R], arg1: ClassTag[R]): DataSet[R]
Applies a function
fun
to each item of the dataset, producing a collection of items that will be flattened in the resulting data setApplies a function
fun
to each item of the dataset, producing a collection of items that will be flattened in the resulting data set- R
The type of the items in the returned data set
- fun
The function to be applied to each item
- returns
A dataset of R
- Annotations
- @PublicEvolving()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
groupingBy[K](fun: (T) ⇒ K)(implicit arg0: TypeInformation[K]): GroupedDataSet[T]
Groups the items according to a grouping function
fun
Groups the items according to a grouping function
fun
- K
The return type of the grouping function, for which type information must be known
- fun
The grouping function
- returns
A grouped data set of Ts
- Annotations
- @PublicEvolving()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapPartitionWith[R](fun: (Stream[T]) ⇒ R)(implicit arg0: TypeInformation[R], arg1: ClassTag[R]): DataSet[R]
Applies a function
fun
to a partition as a wholeApplies a function
fun
to a partition as a whole- R
The type of the items in the returned data set
- fun
The function to be applied on the whole partition
- returns
A dataset of R
- Annotations
- @PublicEvolving()
-
def
mapWith[R](fun: (T) ⇒ R)(implicit arg0: TypeInformation[R], arg1: ClassTag[R]): DataSet[R]
Applies a function
fun
to each item of the data setApplies a function
fun
to each item of the data set- R
The type of the items in the returned data set
- fun
The function to be applied to each item
- returns
A dataset of R
- Annotations
- @PublicEvolving()
-
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]
Applies a reducer
fun
to a grouped data setApplies a reducer
fun
to a grouped data set- R
The type of the items in the returned data set
- fun
The function to be applied to the whole grouping
- returns
A dataset of Rs
- Annotations
- @PublicEvolving()
-
def
reduceWith(fun: (T, T) ⇒ T): DataSet[T]
Applies a reducer
fun
to the data setApplies a reducer
fun
to the data set- fun
The reducing function to be applied on the whole data set
- returns
A data set of Rs
- 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( ... )