class DescriptiveStats extends Stat with Serializable
- Alphabetic
- By Inheritance
- DescriptiveStats
- Serializable
- Serializable
- Stat
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DescriptiveStats(sft: SimpleFeatureType, properties: Seq[String])
Type Members
-
type
S = DescriptiveStats
- Definition Classes
- DescriptiveStats → Stat
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(that: DescriptiveStats): DescriptiveStats
Combine two stats into a new stat
Combine two stats into a new stat
- Definition Classes
- DescriptiveStats → Stat
-
def
+(other: Stat)(implicit d: DummyImplicit): Stat
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
-
def
+=(that: DescriptiveStats): Unit
Add another stat to this stat.
Add another stat to this stat. Avoids allocating another object.
- Definition Classes
- DescriptiveStats → Stat
-
def
+=(other: Stat)(implicit d: DummyImplicit): Unit
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
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bounds: Array[(Double, Double)]
- def centralMoment2: Array[Double]
- def centralMoment3: Array[Double]
- def centralMoment4: Array[Double]
-
def
clear(): Unit
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
- DescriptiveStats → Stat
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def coMoment2: Array[Double]
- def copyFrom(that: DescriptiveStats): Unit
- def count: Long
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
isEmpty: Boolean
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
- DescriptiveStats → Stat
-
def
isEquivalent(other: Stat): Boolean
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
- DescriptiveStats → Stat
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def maximum: Array[Double]
- def mean: Array[Double]
- def minimum: Array[Double]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
observe(sf: SimpleFeature): Unit
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
- DescriptiveStats → Stat
- def populationCorrelation: Array[Double]
- def populationCovariance: Array[Double]
- def populationExcessKurtosis: Array[Double]
- def populationKurtosis: Array[Double]
- def populationSkewness: Array[Double]
- def populationStandardDeviation: Array[Double]
- def populationVariance: Array[Double]
- val properties: Seq[String]
- def sampleCorrelation: Array[Double]
- def sampleCovariance: Array[Double]
- def sampleExcessKurtosis: Array[Double]
- def sampleKurtosis: Array[Double]
- def sampleSkewness: Array[Double]
- def sampleStandardDeviation: Array[Double]
- def sampleVariance: Array[Double]
-
val
sft: SimpleFeatureType
The simple feature type that this stat operates on
The simple feature type that this stat operates on
- Definition Classes
- DescriptiveStats → Stat
- def sum: Array[Double]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toJson: String
Returns a JSON representation of the Stat
-
def
toJsonObject: Map[String, Any]
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
- DescriptiveStats → Stat
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unobserve(sf: SimpleFeature): Unit
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
- DescriptiveStats → Stat
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated