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

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

There is a newer version: 0.8.7
Show newest version
package com.stratio.deep.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