trait TrackerSubmission extends ThriftStruct with Product10[SubmissionType, String, Long, Map[String, String], Map[String, String], Map[String, String], Option[String], Option[NativeAppSubmission], AssignedId, Option[AssignedId]] with HasThriftStructCodec3[TrackerSubmission] with Serializable
Prefer the companion object's ophan.thrift.tracker.TrackerSubmission.apply for construction if you don't need to specify passthrough fields.
- Alphabetic
- By Inheritance
- TrackerSubmission
- Serializable
- HasThriftStructCodec3
- Product10
- Product
- Equals
- ThriftStruct
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
browserId: AssignedId
The unqiue id associated with this browser.
The unqiue id associated with this browser. Currently this is maintained by setting a cookie for web events, or otherwise determined for native apps.
-
abstract
def
dt: Long
The date time (in millis since epoch UTC) at which this submission was received by the tracker.
-
abstract
def
headers: Map[String, String]
Values of all headers, except COOKIE
-
abstract
def
nativeAppSubmission: Option[NativeAppSubmission]
Detail of a native app submission.
-
abstract
def
postData: Option[String]
If the request to the tracker was a post, the string body associated with the post.
If the request to the tracker was a post, the string body associated with the post. This is typically used only in the case of mobile event submission.
-
abstract
def
queryParams: Map[String, String]
Raw values of all query parameters supplied, uri-decoded.
Raw values of all query parameters supplied, uri-decoded. Where paramaters with multiple values, only the first value is supplied.
-
abstract
def
significantCookies: Map[String, String]
Values of a small, whitelisted, set of cookies.
-
abstract
def
submissionType: SubmissionType
The type of this submission
-
abstract
def
uniqueSubmissionId: String
Unique id associated with this submission.
Unique id associated with this submission. Ophan never makes better than at-least-once delivery promises, so you must ensure that processing two events with the same uniqueRawTrackerSubmissionId has no effect
Note that for web submissions, this id is likely passed though as the unqiue event id for the events, but as native mobile submissions may represent multiple events, each event contained within this submission must have a diffrentiated id.
-
abstract
def
visitId: Option[AssignedId]
The unique id associated with this "visit".
The unique id associated with this "visit". For web reports, the visit id is a refreshed session cookie that expires after 30 minutes of activity. Mobile apps do not currently set this value.
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: SubmissionType
- Definition Classes
- TrackerSubmission → Product10
-
def
_10: Option[AssignedId]
- Definition Classes
- TrackerSubmission → Product10
-
def
_2: String
- Definition Classes
- TrackerSubmission → Product10
-
def
_3: Long
- Definition Classes
- TrackerSubmission → Product10
-
def
_4: Map[String, String]
- Definition Classes
- TrackerSubmission → Product10
-
def
_5: Map[String, String]
- Definition Classes
- TrackerSubmission → Product10
-
def
_6: Map[String, String]
- Definition Classes
- TrackerSubmission → Product10
-
def
_7: Option[String]
- Definition Classes
- TrackerSubmission → Product10
-
def
_8: Option[NativeAppSubmission]
- Definition Classes
- TrackerSubmission → Product10
-
def
_9: AssignedId
- Definition Classes
- TrackerSubmission → Product10
-
def
_codec: ThriftStructCodec3[TrackerSubmission]
- Definition Classes
- TrackerSubmission → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(other: Any): Boolean
- Definition Classes
- TrackerSubmission → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def copy(submissionType: SubmissionType = this.submissionType, uniqueSubmissionId: String = this.uniqueSubmissionId, dt: Long = this.dt, queryParams: Map[String, String] = this.queryParams, headers: Map[String, String] = this.headers, significantCookies: Map[String, String] = this.significantCookies, postData: Option[String] = this.postData, nativeAppSubmission: Option[NativeAppSubmission] = this.nativeAppSubmission, browserId: AssignedId = this.browserId, visitId: Option[AssignedId] = this.visitId, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): TrackerSubmission
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- TrackerSubmission → 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
- TrackerSubmission → 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
- TrackerSubmission → Product10 → Product
-
def
productElement(n: Int): Any
- Definition Classes
- TrackerSubmission → Product10 → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- TrackerSubmission → Product
-
def
setField(_blob: TFieldBlob): TrackerSubmission
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
- TrackerSubmission → AnyRef → Any
- def toTuple: (SubmissionType, String, Long, Map[String, String], Map[String, String], Map[String, String], Option[String], Option[NativeAppSubmission], AssignedId, Option[AssignedId])
- def unsetBrowserId: TrackerSubmission
- def unsetDt: TrackerSubmission
-
def
unsetField(_fieldId: Short): TrackerSubmission
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 unsetHeaders: TrackerSubmission
- def unsetNativeAppSubmission: TrackerSubmission
- def unsetPostData: TrackerSubmission
- def unsetQueryParams: TrackerSubmission
- def unsetSignificantCookies: TrackerSubmission
-
def
unsetSubmissionType: TrackerSubmission
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 unsetUniqueSubmissionId: TrackerSubmission
- def unsetVisitId: TrackerSubmission
-
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
- TrackerSubmission → ThriftStruct