Object/Trait

org.locationtech.geomesa.utils.stats

Stat

Related Docs: trait Stat | package stats

Permalink

object Stat

This class contains parsers which dictate how to instantiate a particular Stat. Stats are created by passing a stats string as a query hint (QueryHints.STATS_STRING).

A valid stats string should adhere to the parsers here: e.g. "MinMax(attributeName);IteratorCount" or "RangeHistogram(attributeName,10,0,100)" (see tests for more use cases)

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

Type Members

  1. trait ImmutableStat extends Stat

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def Count(): String

    Permalink

    String that will be parsed to a count stat

  5. def DescriptiveStats(attributes: Seq[String]): String

    Permalink

    String that will be parsed into a multi variate descriptive stat

    String that will be parsed into a multi variate descriptive stat

    attributes

    attribute name to evaluate

  6. def Enumeration(attribute: String): String

    Permalink

    String that will be parsed to a histogram stat

    String that will be parsed to a histogram stat

    attribute

    attribute name to histogram

  7. def Frequency(attribute: String, dtg: String, period: TimePeriod, precision: Int): String

    Permalink

    String that will be parsed into a count min sketch stat

    String that will be parsed into a count min sketch stat

    attribute

    attribute to sketch

    dtg

    date attribute to use for binning

    period

    time period to split on

    precision

    precision of the sketch - @see Frequency

  8. def Frequency(attribute: String, precision: Int): String

    Permalink

    String that will be parsed into a count min sketch stat

    String that will be parsed into a count min sketch stat

    attribute

    attribute to sketch

    precision

    precision of the sketch - @see Frequency

  9. def GroupBy(attribute: String, groupedStat: Stat): String

    Permalink

    Groups results by attribute and runs stats for each group.

    Groups results by attribute and runs stats for each group.

    attribute

    attribute to group stats by

    groupedStat

    stat to apply to grouped attributes

  10. def Histogram[T](attribute: String, bins: Int, min: T, max: T)(implicit ct: ClassTag[T]): String

    Permalink

    String that will be parsed to a binned histogram stat

    String that will be parsed to a binned histogram stat

    T

    class type of the histogram attribute

    attribute

    attribute name to histogram

    bins

    the number of bins to create

    min

    min value for the histogram

    max

    max value for the histogram

  11. def IteratorStackCount(): String

    Permalink

    String that will be parsed to a iterator stack counter

  12. def MinMax(attribute: String): String

    Permalink

    String that will be parsed to a min/max stat

    String that will be parsed to a min/max stat

    attribute

    attribute name to min/max

  13. def SeqStat(stats: Seq[String]): String

    Permalink

    String that will be parsed to a sequence of stat

    String that will be parsed to a sequence of stat

    stats

    input strings that will be parsed as individual stats

  14. def TopK(attribute: String): String

    Permalink

    String that will be parsed into a TopK stat

    String that will be parsed into a TopK stat

    attribute

    attribute name to evaluate

  15. def Z3Frequency(geom: String, dtg: String, period: TimePeriod, precision: Int): String

    Permalink

    String that will be parsed into a z3 count min sketch stat

    String that will be parsed into a z3 count min sketch stat

    geom

    geometry attribute

    dtg

    date attribute

    period

    time period to split on

    precision

    precision of the z value - @see FrequencyZ3

  16. def Z3Histogram(geom: String, dtg: String, period: TimePeriod, length: Int): String

    Permalink

    String that will be parsed into a z3 range histogram stat

    String that will be parsed into a z3 range histogram stat

    geom

    geometry attribute

    dtg

    date attribute

    period

    time period to split on

    length

    number of the bins per week - @see RangeHistogramZ3

  17. def apply(sft: SimpleFeatureType, s: String): Stat

    Permalink
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def combine[T <: Stat](stats: Seq[T]): Option[T]

    Permalink

    Combines a sequence of stats.

    Combines a sequence of stats. This will not modify any of the inputs.

    stats

    stats to combine

  21. def destringifier[T](clas: Class[T]): (String) ⇒ T

    Permalink

    Converts a string back to a value

    Converts a string back to a value

    T

    type of the value class

    clas

    class of the stringified value

  22. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. def stringifier[T](clas: Class[T], json: Boolean = false): (Any) ⇒ String

    Permalink

    Converts a value to a string

    Converts a value to a string

    T

    type of input

    clas

    class of the input value

    json

    will the result be used in json? will quote appropriately if so

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

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped