Class

org.locationtech.geomesa.utils.stats

DescriptiveStats

Related Doc: package stats

Permalink

class DescriptiveStats extends Stat with Serializable

Linear Supertypes
Serializable, Serializable, Stat, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DescriptiveStats
  2. Serializable
  3. Serializable
  4. Stat
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DescriptiveStats(sft: SimpleFeatureType, properties: Seq[String])

    Permalink

Type Members

  1. type S = DescriptiveStats

    Permalink
    Definition Classes
    DescriptiveStatsStat

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(that: DescriptiveStats): DescriptiveStats

    Permalink

    Combine two stats into a new stat

    Combine two stats into a new stat

    Definition Classes
    DescriptiveStatsStat
  4. def +(other: Stat)(implicit d: DummyImplicit): Stat

    Permalink

    Non type-safe add - if stats are not the same type, will throw an exception

    Non type-safe add - if stats are not the same type, will throw an exception

    other

    the other stat to add

    Definition Classes
    Stat
  5. def +=(that: DescriptiveStats): Unit

    Permalink

    Add another stat to this stat.

    Add another stat to this stat. Avoids allocating another object.

    Definition Classes
    DescriptiveStatsStat
  6. def +=(other: Stat)(implicit d: DummyImplicit): Unit

    Permalink

    Non type-safe add - if stats are not the same type, will throw an exception

    Non type-safe add - if stats are not the same type, will throw an exception

    other

    the other stat to add

    Definition Classes
    Stat
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def bounds: Array[(Double, Double)]

    Permalink
  10. def centralMoment2: Array[Double]

    Permalink
  11. def centralMoment3: Array[Double]

    Permalink
  12. def centralMoment4: Array[Double]

    Permalink
  13. def clear(): Unit

    Permalink

    Clears the stat to its original state when first initialized.

    Clears the stat to its original state when first initialized. Necessary method used by the StatIterator.

    Definition Classes
    DescriptiveStatsStat
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def coMoment2: Array[Double]

    Permalink
  16. def copyFrom(that: DescriptiveStats): Unit

    Permalink
  17. def count: Long

    Permalink
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def isEmpty: Boolean

    Permalink

    Necessary method used by the StatIterator.

    Necessary method used by the StatIterator. Indicates if the stat has any values or not

    returns

    true if stat contains values

    Definition Classes
    DescriptiveStatsStat
  24. def isEquivalent(other: Stat): Boolean

    Permalink

    Compares the two stats for equivalence.

    Compares the two stats for equivalence. We don't use standard 'equals' as it gets messy with mutable state and hash codes

    other

    other stat to compare

    returns

    true if equals

    Definition Classes
    DescriptiveStatsStat
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def maximum: Array[Double]

    Permalink
  27. def mean: Array[Double]

    Permalink
  28. def minimum: Array[Double]

    Permalink
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def observe(sf: SimpleFeature): Unit

    Permalink

    Compute statistics based upon the given simple feature.

    Compute statistics based upon the given simple feature. This method will be called for every SimpleFeature a query returns.

    sf

    feature to evaluate

    Definition Classes
    DescriptiveStatsStat
  33. def populationCorrelation: Array[Double]

    Permalink
  34. def populationCovariance: Array[Double]

    Permalink
  35. def populationExcessKurtosis: Array[Double]

    Permalink
  36. def populationKurtosis: Array[Double]

    Permalink
  37. def populationSkewness: Array[Double]

    Permalink
  38. def populationStandardDeviation: Array[Double]

    Permalink
  39. def populationVariance: Array[Double]

    Permalink
  40. val properties: Seq[String]

    Permalink
  41. def sampleCorrelation: Array[Double]

    Permalink
  42. def sampleCovariance: Array[Double]

    Permalink
  43. def sampleExcessKurtosis: Array[Double]

    Permalink
  44. def sampleKurtosis: Array[Double]

    Permalink
  45. def sampleSkewness: Array[Double]

    Permalink
  46. def sampleStandardDeviation: Array[Double]

    Permalink
  47. def sampleVariance: Array[Double]

    Permalink
  48. val sft: SimpleFeatureType

    Permalink

    The simple feature type that this stat operates on

    The simple feature type that this stat operates on

    Definition Classes
    DescriptiveStatsStat
  49. def sum: Array[Double]

    Permalink
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  51. def toJson: String

    Permalink

    Returns a JSON representation of the Stat

    Returns a JSON representation of the Stat

    returns

    stat as a json string

    Definition Classes
    Stat
  52. def toJsonObject: Map[String, Any]

    Permalink

    Returns a representation of the Stat to be serialized

    Returns a representation of the Stat to be serialized

    This function should return a representation (view) of the Stat to be serialized as JSON. Instances of Map can be used to represent JSON dictionaries or Seq for JSON arrays. A collection.SortedMap such as collection.immutable.ListMap is recommended if key order should be deterministic. Other types may be used but could require the creation and registration of custom serializers dependent on the JSON framework being utilized (currently Gson).

    returns

    stat as a json serializable object

    Definition Classes
    DescriptiveStatsStat
  53. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  54. def unobserve(sf: SimpleFeature): Unit

    Permalink

    Tries to remove the given simple feature from the compiled statistics.

    Tries to remove the given simple feature from the compiled statistics. Note: may not be possible to un-observe a feature, in which case this method will have no effect.

    sf

    feature to un-evaluate

    Definition Classes
    DescriptiveStatsStat
  55. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. lazy val attributes: Seq[Int]

    Permalink
    Annotations
    @deprecated
    Deprecated

    properties

Inherited from Serializable

Inherited from Serializable

Inherited from Stat

Inherited from AnyRef

Inherited from Any

Ungrouped