Applies a function to each item, and groups consecutive items having the same value together.
Applies a function to each item, and groups consecutive items having the same value together.
Contrary to groupBy
, items from the same group must be already next to each other in the
original collection. Works locally on each partition, so items from different
partitions will never be placed in the same group.
A Java API wrapper over org.apache.spark.rdd.RDD to provide Spark Cassandra Connector functionality.
To obtain an instance of this wrapper, use one of the factory methods in com.datastax.spark.connector.japi.CassandraJavaUtil class.<