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. Table names can contain subpartition specs, example db.table/system=mobile/currency=USD :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()
- Alphabetic
- By Inheritance
- EventSource
- Cloneable
- TBase
- Serializable
- TSerializable
- Comparable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
EventSource(other: EventSource)
Performs a deep copy on other.
- new EventSource()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clear(): Unit
- Definition Classes
- EventSource → TBase
- Annotations
- @Override()
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compareTo(other: EventSource): Int
- Definition Classes
- EventSource → Comparable
- Annotations
- @Override()
-
def
deepCopy(): EventSource
- Definition Classes
- EventSource → TBase
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: EventSource): Boolean
-
def
equals(that: Any): Boolean
- Definition Classes
- EventSource → AnyRef → Any
- Annotations
- @Override()
-
def
fieldForId(fieldId: Int): _Fields
- Definition Classes
- EventSource → TBase
- Annotations
- @Nullable()
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFieldValue(field: _Fields): AnyRef
- Definition Classes
- EventSource → TBase
- Annotations
- @Nullable()
-
def
getQuery(): Query
- Annotations
- @Nullable()
-
def
getTable(): String
- Annotations
- @Nullable()
-
def
getTopic(): String
- Annotations
- @Nullable()
-
def
hashCode(): Int
- Definition Classes
- EventSource → AnyRef → Any
- Annotations
- @Override()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isIsCumulative(): Boolean
-
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
-
def
isSetIsCumulative(): Boolean
Returns true if field isCumulative is set (has been assigned a value) and false otherwise
-
def
isSetQuery(): Boolean
Returns true if field query is set (has been assigned a value) and false otherwise
-
def
isSetTable(): Boolean
Returns true if field table is set (has been assigned a value) and false otherwise
-
def
isSetTopic(): Boolean
Returns true if field topic is set (has been assigned a value) and false otherwise
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
read(iprot: TProtocol): Unit
- Definition Classes
- EventSource → TSerializable
-
def
setFieldValue(field: _Fields, value: Any): Unit
- Definition Classes
- EventSource → TBase
- def setIsCumulative(isCumulative: Boolean): EventSource
- def setIsCumulativeIsSet(value: Boolean): Unit
- def setQuery(query: Query): EventSource
- def setQueryIsSet(value: Boolean): Unit
- def setTable(table: String): EventSource
- def setTableIsSet(value: Boolean): Unit
- def setTopic(topic: String): EventSource
- def setTopicIsSet(value: Boolean): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- EventSource → AnyRef → Any
- Annotations
- @Override()
- def unsetIsCumulative(): Unit
- def unsetQuery(): Unit
- def unsetTable(): Unit
- def unsetTopic(): Unit
- def validate(): Unit
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
write(oprot: TProtocol): Unit
- Definition Classes
- EventSource → TSerializable