All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stratio.provider.partitioner.DeepPartitioner.scala Maven / Gradle / Ivy

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