final class SecondarySortGroupByKeyDatasetFunctions[K, V] extends Serializable
- Alphabetic
- By Inheritance
- SecondarySortGroupByKeyDatasetFunctions
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SecondarySortGroupByKeyDatasetFunctions(dataset: Dataset[(K, V)])
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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
sortedFoldLeftByKey[A](startValue: A, op: (A, V) ⇒ A, orderExprs: Column*)(implicit kaEncoder: Encoder[(K, A)]): Dataset[(K, A)]
Groups by key and applies a binary operation using foldLeft over the values sorted by some implicit ordering
Groups by key and applies a binary operation using foldLeft over the values sorted by some implicit ordering
- A
the result type of the folding operation
- startValue
the start value for the fold
- op
the binary operation for folding
- orderExprs
the column(s) to order by within each group
- returns
Dataset with keys and values, where values are the result of applying foldLeft across the sorted values
-
def
sortedFoldLeftByKey[A](startValue: A, op: (A, V) ⇒ A, numPartitions: Int, orderExprs: Column*)(implicit kSeqVEncoder: Encoder[(K, A)]): Dataset[(K, A)]
Groups by key and applies a binary operation using foldLeft over the values sorted by some implicit ordering
Groups by key and applies a binary operation using foldLeft over the values sorted by some implicit ordering
- A
the result type of the folding operation
- startValue
the start value for the fold
- op
the binary operation for folding
- numPartitions
the number of partitions
- orderExprs
the column(s) to order by within each group
- returns
Dataset with keys and values, where values are the result of applying foldLeft across the sorted values
-
def
sortedFoldLeftWithKeyedStartValues[A](startValues: Dataset[(K, A)], op: (A, V) ⇒ A, orderExprs: Column*)(implicit arg0: ClassTag[A], keyOrdering: Ordering[K], kaEncoder: Encoder[(K, A)]): Dataset[(K, A)]
Groups by key and applies a binary operation using foldLeft over the values sorted by some implicit ordering
Groups by key and applies a binary operation using foldLeft over the values sorted by some implicit ordering
- A
the result type of the folding operation
- startValues
an RDD of start values by key
- op
the binary operation for folding
- orderExprs
the column(s) to order by within each group
- returns
Dataset with keys and values, where values are the result of applying foldLeft across the sorted values
-
def
sortedFoldLeftWithKeyedStartValues[A](startValues: Dataset[(K, A)], op: (A, V) ⇒ A, numPartitions: Int, orderExprs: Column*)(implicit arg0: ClassTag[A], keyOrdering: Ordering[K], kaEncoder: Encoder[(K, A)]): Dataset[(K, A)]
Groups by key and applies a binary operation using foldLeft over the values sorted by some implicit ordering
Groups by key and applies a binary operation using foldLeft over the values sorted by some implicit ordering
- A
the result type of the folding operation
- startValues
an RDD of start values by key
- op
the binary operation for folding
- numPartitions
the number of partitions
- orderExprs
the column(s) to order by within each group
- returns
Dataset with keys and values, where values are the result of applying foldLeft across the sorted values
-
def
sortedGroupByKey(orderExprs: Column*)(implicit kSeqVEncoder: Encoder[(K, Seq[V])]): Dataset[(K, Seq[V])]
Groups by key and sorts the values
Groups by key and sorts the values
- orderExprs
the column(s) to order by within each group
- returns
Dataset of keys and sorted values
-
def
sortedGroupByKey(numPartitions: Int, orderExprs: Column*)(implicit kSeqVEncoder: Encoder[(K, Seq[V])]): Dataset[(K, Seq[V])]
Groups by key and sorts the values
Groups by key and sorts the values
- numPartitions
the number of partitions for shuffling
- orderExprs
the column(s) to order by within each group
- returns
Dataset of keys and sorted values
-
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
- @throws( ... ) @native()