com.twitter.storehaus.algebra.query

TimestampStrategy

class TimestampStrategy extends QueryStrategy[TimeRange, Long, BucketTime]

A query strategy for time with exponentially expanding buckets of time.

Source
TimeRangeQuery.scala
Linear Supertypes
QueryStrategy[TimeRange, Long, BucketTime], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. TimestampStrategy
  2. QueryStrategy
  3. Serializable
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimestampStrategy(minBucketMs: Long, maxBucketMs: Long, factor: Int)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val buckets: List[(Long, Int)]

  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def cross[Q2, L2, X2](qs2: QueryStrategy[Q2, L2, X2]): QueryStrategy[(TimeRange, Q2), (Long, L2), (BucketTime, X2)]

    Create new strategy on a this and a second query strategy

    Create new strategy on a this and a second query strategy

    Definition Classes
    QueryStrategy
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  15. def index(ts: Long): Set[BucketTime]

    Used in your summingbird job to flatmap your keys, increment all these X with the value

    Used in your summingbird job to flatmap your keys, increment all these X with the value

    Definition Classes
    TimestampStrategyQueryStrategy
  16. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  18. def normalize(in: TimeRange): TimeRange

  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def query(thisquery: TimeRange): Set[BucketTime]

    Used by the client reads, read all these X and sum the result

    Used by the client reads, read all these X and sum the result

    Definition Classes
    TimestampStrategyQueryStrategy
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toBoundary(time: Long): Long

    Attributes
    protected
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from QueryStrategy[TimeRange, Long, BucketTime]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any