com.snowplowanalytics.snowplow.analytics.scalasdk.json

Data

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)

  4. type IgluUri = String

    Type-alias to mark string as valid Iglu URI TODO: replace with Iglu core: https://github.

    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

  6. type ShredFieldName = String

    Elasticsearch-compatible field name for shredded type e.

    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

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

  7. object DerivedContexts extends ContextsType with Product with Serializable

  8. object UnstructEvent extends ShredProperty with Product with Serializable

  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 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

  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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped