Object/Class

com.snowplowanalytics.weather

Cache

Related Docs: class Cache | package weather

Permalink

object Cache

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class CacheKey(date: LocalDate, center: Position) extends Product with Serializable

    Permalink

    Cache key for obtaining record

    Cache key for obtaining record

    date

    local date for UTC

    center

    rounded geo coordinates

  2. final case class Position(latitude: Float, longitude: Float) extends Product with Serializable

    Permalink

    Class to represent geographical coordinates

    Class to represent geographical coordinates

    latitude

    place's latitude

    longitude

    places's longitude

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def dayEndEpoch(date: LocalDate): Timestamp

    Permalink

    date

    local date for UTC

    returns

    unix timestamp of the provided day's end

  7. def dayStartEpoch(date: LocalDate): Timestamp

    Permalink

    date

    local date for UTC

    returns

    unix timestamp of the provided day's start

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def eventToCacheKey(dateTime: ZonedDateTime, position: Position, geoPrecision: Int): CacheKey

    Permalink

    Round position and timestamp (event) to produce cache key

    Round position and timestamp (event) to produce cache key

    dateTime

    zoned datetime

    position

    latitude & longitude

    geoPrecision

    nth part of 1 to which latitude and longitude will be rounded

    returns

    cache key

  11. def finalize(): Unit

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def roundCoordinate(coordinate: Float, geoPrecision: Int): Float

    Permalink

    Round coordinate by geoPrecision Scale value to tenths to prevent values to be long like 1.333334

    Round coordinate by geoPrecision Scale value to tenths to prevent values to be long like 1.333334

    coordinate

    latitude or longitude

    returns

    rounded coordinate

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped