c

ai.chronon.api

EventSource

class EventSource extends TBase[EventSource, _Fields] with Serializable with Cloneable with Comparable[EventSource]

Event source captures data that is essentially immutable - like user clicks, impressions etc. It has two parts, an offline table and an online topic. The term fact table from star-schema also maps to this concepts. But lacks a notion of topic.

:param table: Table currently needs to be a 'ds' (date string - yyyy-MM-dd) partitioned hive table. :param topic: Topic is a kafka table. The table contains all the events historically came through this topic. :param query: The logic used to scan both the table and the topic. Contains row level transformations and filtering expressed as Spark SQL statements. :param isCumulative: If each new hive partition contains not just the current day's events but the entire set of events since the begininng. The key property is that the events are not mutated across partitions.

Annotations
@SuppressWarnings() @Generated()
Linear Supertypes
Cloneable, TBase[EventSource, _Fields], Serializable, TSerializable, Comparable[EventSource], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventSource
  2. Cloneable
  3. TBase
  4. Serializable
  5. TSerializable
  6. Comparable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EventSource(other: EventSource)

    Performs a deep copy on other.

  2. new EventSource()

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clear(): Unit
    Definition Classes
    EventSource → TBase
    Annotations
    @Override()
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def compareTo(other: EventSource): Int
    Definition Classes
    EventSource → Comparable
    Annotations
    @Override()
  8. def deepCopy(): EventSource
    Definition Classes
    EventSource → TBase
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(that: EventSource): Boolean
  11. def equals(that: AnyRef): Boolean
    Definition Classes
    EventSource → AnyRef → Any
    Annotations
    @Override()
  12. def fieldForId(fieldId: Int): _Fields
    Definition Classes
    EventSource → TBase
    Annotations
    @Nullable()
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getFieldValue(field: _Fields): AnyRef
    Definition Classes
    EventSource → TBase
    Annotations
    @Nullable()
  16. def getQuery(): Query
    Annotations
    @Nullable()
  17. def getTable(): String
    Annotations
    @Nullable()
  18. def getTopic(): String
    Annotations
    @Nullable()
  19. def hashCode(): Int
    Definition Classes
    EventSource → AnyRef → Any
    Annotations
    @Override()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isIsCumulative(): Boolean
  22. def isSet(field: _Fields): Boolean

    Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

    Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

    Definition Classes
    EventSource → TBase
  23. def isSetIsCumulative(): Boolean

    Returns true if field isCumulative is set (has been assigned a value) and false otherwise

  24. def isSetQuery(): Boolean

    Returns true if field query is set (has been assigned a value) and false otherwise

  25. def isSetTable(): Boolean

    Returns true if field table is set (has been assigned a value) and false otherwise

  26. def isSetTopic(): Boolean

    Returns true if field topic is set (has been assigned a value) and false otherwise

  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def read(iprot: TProtocol): Unit
    Definition Classes
    EventSource → TSerializable
  31. def setFieldValue(field: _Fields, value: AnyRef): Unit
    Definition Classes
    EventSource → TBase
  32. def setIsCumulative(isCumulative: Boolean): EventSource
  33. def setIsCumulativeIsSet(value: Boolean): Unit
  34. def setQuery(query: Query): EventSource
  35. def setQueryIsSet(value: Boolean): Unit
  36. def setTable(table: String): EventSource
  37. def setTableIsSet(value: Boolean): Unit
  38. def setTopic(topic: String): EventSource
  39. def setTopicIsSet(value: Boolean): Unit
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    EventSource → AnyRef → Any
    Annotations
    @Override()
  42. def unsetIsCumulative(): Unit
  43. def unsetQuery(): Unit
  44. def unsetTable(): Unit
  45. def unsetTopic(): Unit
  46. def validate(): Unit
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  50. def write(oprot: TProtocol): Unit
    Definition Classes
    EventSource → TSerializable

Inherited from Cloneable

Inherited from TBase[EventSource, _Fields]

Inherited from Serializable

Inherited from TSerializable

Inherited from Comparable[EventSource]

Inherited from AnyRef

Inherited from Any

Ungrouped