Packages

c

geotrellis.spark.summary.Implicits

withStatsTileRDDMethods

implicit class withStatsTileRDDMethods[K] extends StatsTileRDDMethods[K]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. withStatsTileRDDMethods
  2. StatsTileRDDMethods
  3. MethodExtensions
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new withStatsTileRDDMethods(self: RDD[(K, Tile)])(implicit keyClassTag: ClassTag[K])

Value Members

  1. def averageByKey(partitioner: Option[Partitioner] = None): RDD[(K, Tile)]
    Definition Classes
    StatsTileRDDMethods
  2. def classBreaks(numBreaks: Int): Array[Int]
    Definition Classes
    StatsTileRDDMethods
  3. def classBreaksDouble(numBreaks: Int): Array[Double]
    Definition Classes
    StatsTileRDDMethods
  4. def classBreaksExactInt(numBreaks: Int): Array[Int]

    Gives class breaks using a histogram that uses exact counts of integer values.

    Gives class breaks using a histogram that uses exact counts of integer values.

    Definition Classes
    StatsTileRDDMethods
    Note

    This cannot handle counts that are larger than Int.MaxValue, and should not be used with very large datasets whose counts will overflow. These histograms can get very large with a wide range of values.

  5. def histogram(numBuckets: Int, fraction: Double = 1.0, seed: Long = 33): Histogram[Double]

    Compute the histogram of an RDD of Tile objects.

    Compute the histogram of an RDD of Tile objects.

    numBuckets

    The number of buckets that the histogram should have

    fraction

    The fraction of Tile objects to sample (the default is 100%)

    seed

    The seed of the RNG which determines which tiles to take the histograms of

    returns

    A Histogram[Double]

    Definition Classes
    StatsTileRDDMethods
  6. def histogram(): Histogram[Double]

    Compute the histogram of an RDD of Tile objects.

    Compute the histogram of an RDD of Tile objects.

    returns

    A Histogram[Double]

    Definition Classes
    StatsTileRDDMethods
  7. def histogramExactInt: Histogram[Int]

    Gives a histogram that uses exact counts of integer values.

    Gives a histogram that uses exact counts of integer values.

    Definition Classes
    StatsTileRDDMethods
    Note

    This cannot handle counts that are larger than Int.MaxValue, and should not be used with very large datasets whose counts will overflow. These histograms can get very large with a wide range of values.

  8. implicit val keyClassTag: ClassTag[K]
  9. def minMax: (Int, Int)
    Definition Classes
    StatsTileRDDMethods
  10. def minMaxDouble: (Double, Double)
    Definition Classes
    StatsTileRDDMethods
  11. val self: RDD[(K, Tile)]