trait ComponentEvent extends ThriftStruct with Product5[ComponentV2, Action, Option[String], Option[String], Option[AbTest]] with HasThriftStructCodec3[ComponentEvent] with Serializable
Prefer the companion object's ophan.thrift.componentEvent.ComponentEvent.apply for construction if you don't need to specify passthrough fields.
- Alphabetic
- By Inheritance
- ComponentEvent
- Serializable
- HasThriftStructCodec3
- Product5
- Product
- Equals
- ThriftStruct
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
abTest: Option[AbTest]
If the event was triggered as part of an A/B test, this identifies the test and variant.
If the event was triggered as part of an A/B test, this identifies the test and variant. Though a given pageview may have multiple A/B test participations, a component event can only be associated with a single test.
-
abstract
def
action: Action
The action that took place
-
abstract
def
component: ComponentV2
The component where the action happened
-
abstract
def
id: Option[String]
A unique identifier for the component event e.g.
A unique identifier for the component event e.g. a UUID
-
abstract
def
value: Option[String]
Any additional data on the event, e.g.
Any additional data on the event, e.g. further information on a "click" event
Concrete 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
-
def
_1: ComponentV2
- Definition Classes
- ComponentEvent → Product5
-
def
_2: Action
- Definition Classes
- ComponentEvent → Product5
-
def
_3: Option[String]
- Definition Classes
- ComponentEvent → Product5
-
def
_4: Option[String]
- Definition Classes
- ComponentEvent → Product5
-
def
_5: Option[AbTest]
- Definition Classes
- ComponentEvent → Product5
-
def
_codec: ThriftStructCodec3[ComponentEvent]
- Definition Classes
- ComponentEvent → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(other: Any): Boolean
- Definition Classes
- ComponentEvent → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def copy(component: ComponentV2 = this.component, action: Action = this.action, value: Option[String] = this.value, id: Option[String] = this.id, abTest: Option[AbTest] = this.abTest, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ComponentEvent
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- ComponentEvent → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFieldBlob(_fieldId: Short): Option[TFieldBlob]
Gets a field value encoded as a binary blob using TCompactProtocol.
Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.
-
def
getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map. -
def
hashCode(): Int
- Definition Classes
- ComponentEvent → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
productArity: Int
- Definition Classes
- ComponentEvent → Product5 → Product
-
def
productElement(n: Int): Any
- Definition Classes
- ComponentEvent → Product5 → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- ComponentEvent → Product
-
def
setField(_blob: TFieldBlob): ComponentEvent
Sets a field using a TCompactProtocol-encoded binary blob.
Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- ComponentEvent → AnyRef → Any
- def toTuple: (ComponentV2, Action, Option[String], Option[String], Option[AbTest])
- def unsetAbTest: ComponentEvent
- def unsetAction: ComponentEvent
-
def
unsetComponent: ComponentEvent
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
-
def
unsetField(_fieldId: Short): ComponentEvent
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- def unsetId: ComponentEvent
- def unsetValue: ComponentEvent
-
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
- @native() @throws( ... )
-
def
write(_oprot: TProtocol): Unit
- Definition Classes
- ComponentEvent → ThriftStruct