com.stratio.provider.partitioner.DeepPartitioner.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spark-mongodb-core Show documentation
Show all versions of spark-mongodb-core Show documentation
A Spark SQl library for MongoDB
The newest version!
package com.stratio.provider.partitioner
import org.apache.spark.Partition
/**
* Provides the way to compute and get spark partitions over
* some Data Source.
* @tparam T
*/
trait DeepPartitioner[T <: Partition] extends Serializable {
/**
* Retrieves some Data Source partitions
* @return An array with computed partitions
*/
def computePartitions(): Array[T]
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy