Object

com.ubirch.avatar.core.device

DeviceDataRawManager

Related Doc: package device

Permalink

object DeviceDataRawManager extends MyJsonProtocol with StrictLogging

author: cvandrei since: 2016-09-30

Linear Supertypes
StrictLogging, Logging, MyJsonProtocol, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeviceDataRawManager
  2. StrictLogging
  3. Logging
  4. MyJsonProtocol
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 create(did: String, vals: Map[DateTime, Int], mpraw: Array[Byte]): Option[DeviceDataRaw]

    Permalink

    evil dirty hack, works just for trackle

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def history(device: Device, from: Int = 0, size: Int = Config.esDefaultPageSize): Future[Seq[DeviceDataRaw]]

    Permalink

    Query the history of deviceDataRaw for a specified device.

    Query the history of deviceDataRaw for a specified device.

    device

    device for which we would like to get raw data

    from

    paging parameter: skip the first x elements

    size

    paging parameter: return up to x elements

    returns

    result list (sorted by field "ts" in ascending order); empty if no messages were found

    Exceptions thrown

    ExecutionException something went wrong (e.g. no document matching our query exists yet)

    IllegalArgumentException device.hwDeviceId is empty

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. implicit def json4sJacksonFormats: Formats

    Permalink
    Definition Classes
    MyJsonProtocol
  15. def loadById(id: UUID): Future[Option[DeviceDataRaw]]

    Permalink

    Query one raw data object

    Query one raw data object

    id

    unique which identifies one raw data object

    returns

    DeviceDataRaw or None

  16. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging → Logging
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. implicit val serialization: Serialization.type

    Permalink
    Definition Classes
    MyJsonProtocol
  21. def store(data: DeviceDataRaw): Future[Option[DeviceDataRaw]]

    Permalink

    Store a DeviceDataRaw.

    Store a DeviceDataRaw.

    data

    a device's raw data to store

    returns

    json of what we stored

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

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

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

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

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

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

Inherited from StrictLogging

Inherited from Logging

Inherited from MyJsonProtocol

Inherited from AnyRef

Inherited from Any

Ungrouped