com.snowplowanalytics.snowplow.analytics.scalasdk.json

Data

Related Doc: package json

object Data

Common data types for enriched event

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

Type Members

  1. case class Contexts(contextType: ContextsType) extends ShredProperty with Product with Serializable

  2. sealed trait ContextsType extends AnyRef

    Known contexts types of enriched event

  3. case class EventWithInventory(event: String, inventory: Set[InventoryItem]) extends Product with Serializable

    The event as a shredded stringified JSON along with it's inventory (set of JSON fields)

    The event as a shredded stringified JSON along with it's inventory (set of JSON fields)

    event

    stringified event JSON

    inventory

    set of JSON fields (contexts, unsturct event)

  4. type IgluUri = String

    Type-alias to mark string as valid Iglu URI TODO: replace with Iglu core: https://github.com/snowplow/snowplow-scala-analytics-sdk/issues/38

  5. case class InventoryItem(shredProperty: ShredProperty, igluUri: IgluUri) extends Product with Serializable

    Iglu URI of one of shred properties extracted from enriched event along with actual type

    Iglu URI of one of shred properties extracted from enriched event along with actual type

    shredProperty

    type of shred property

    igluUri

    valid Iglu URI of shred property

  6. type ShredFieldName = String

    Elasticsearch-compatible field name for shredded type e.g.

    Elasticsearch-compatible field name for shredded type e.g. unstruct_event_some_custom_event_1

  7. sealed trait ShredProperty extends AnyRef

    Field types of enriched event that can be shredded (self-describing JSONs)

  8. case class UnstructEventOutput(igluUri: IgluUri, value: JValue) extends TsvConverterOutput with Product with Serializable

    unstruct_event field of enriched event, containing Iglu URI and actual data

    unstruct_event field of enriched event, containing Iglu URI and actual data

    igluUri

    Iglu URI for data

    value

    data

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. object CustomContexts extends ContextsType with Product with Serializable

  5. object DerivedContexts extends ContextsType with Product with Serializable

  6. object UnstructEvent extends ShredProperty with Product with Serializable

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fixSchema(shredProperty: ShredProperty, igluUri: IgluUri): ShredFieldName

    Transform Iglu URI into elasticsearch-compatible column name

    Transform Iglu URI into elasticsearch-compatible column name

    "iglu:com.acme/PascalCase/jsonschema/13-0-0" -> "context_com_acme_pascal_case_13"

    shredProperty

    "context" or "unstruct_event"

    igluUri

    Schema field from an incoming JSON, should be already validated

    returns

    Elasticsearch field name

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped