com.snowplowanalytics.snowplow.scalatracker

Payload

Related Doc: package scalatracker

class Payload extends AnyRef

Contains the map of key-value pairs making up an event

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Payload
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Payload()

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. val Encoding: String

  5. def add(name: String, value: Option[String]): Unit

    Overloaded add function for Option.

    Overloaded add function for Option. Don't modify payload for None

    name

    parameter name

    value

    optional parameter value

  6. def add(name: String, value: String): Unit

    Add a key-value pair

    Add a key-value pair

    name

    parameter name

    value

    parameter value

  7. def addDict(dict: Map[String, String]): Unit

    Add a map of key-value pairs one by one

    Add a map of key-value pairs one by one

    dict

  8. def addJson(json: JObject, encodeBase64: Boolean, typeWhenEncoded: String, typeWhenNotEncoded: String): Unit

    Stringify a JSON and add it

    Stringify a JSON and add it

    json
    encodeBase64

    Whether to base 64 encode the JSON

    typeWhenEncoded

    Key to use if encodeBase64 is true

    typeWhenNotEncoded

    Key to use if encodeBase64 is false

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def get(): Map[String, String]

    Return the key-value pairs making up the event as an immutable map

    Return the key-value pairs making up the event as an immutable map

    returns

    Event map

  15. final def getClass(): Class[_]

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

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

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

    Definition Classes
    AnyRef
  19. final def notify(): Unit

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

    Definition Classes
    AnyRef
  21. val nvPairs: Map[String, String]

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped