trait PageView extends ThriftStruct with Product13[SuspectStatus, Page, Option[UserAgent], Option[GeoLocation], Option[IpAddress], Option[Referrer], Short, Option[Int], Option[Int], Option[Double], Option[Boolean], Option[SubscriptionType], Option[MembershipTier]] with HasThriftStructCodec3[PageView] with Serializable

Prefer the companion object's ophan.thrift.event.PageView.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, HasThriftStructCodec3[PageView], Product13[SuspectStatus, Page, Option[UserAgent], Option[GeoLocation], Option[IpAddress], Option[Referrer], Short, Option[Int], Option[Int], Option[Double], Option[Boolean], Option[SubscriptionType], Option[MembershipTier]], scala.Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PageView
  2. Serializable
  3. HasThriftStructCodec3
  4. Product13
  5. Product
  6. Equals
  7. ThriftStruct
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def averageDaysBetweenRecentVisits: Option[Double]

    Calculated average days between recent visits.

    Calculated average days between recent visits.

    Note, this is actually calculated in a way to make discount older visits:

    min(56, daysSinceFirstVisit + 1) / daysVisitedInLast56days

    This field is accurately populated starting from 2016-06-09

  2. abstract def daysVisitedInLastWeek: Option[Int]

    The number of days in the previous week that the device has had a page view recorded on the Guardian

  3. abstract def httpStatus: Short

    The http status returned to the user for this page view

  4. abstract def ipAddress: Option[IpAddress]

    IP details of the user who made this request *

  5. abstract def location: Option[GeoLocation]

    Details about the location of the user made this request

  6. abstract def membershipTier: Option[MembershipTier]
  7. abstract def page: Page

    Details about the page displayed

  8. abstract def referrer: Option[Referrer]

    Details about the referrer to this page view Will only be present on _PAGE_VIEW events where a referer was received

  9. abstract def regular: Option[Boolean]

    Is this browser a regular visitor to the Guardian?

    Is this browser a regular visitor to the Guardian?

    i.e. totalDaysVisited >= 8 && averageDaysBetweenRecentVisits <= 7

  10. abstract def subscriptionType: Option[SubscriptionType]
  11. abstract def totalDaysVisited: Option[Int]

    Total number of days on which this browser has visited the guardian, ever.

    Total number of days on which this browser has visited the guardian, ever. (Or, at least, since the slab's records began, which is since June 2015.)

    Includes "today" so this number should never be less than 1.

    This field is accurately populated starting from 2016-06-09

  12. abstract def userAgent: Option[UserAgent]

    The user agent that made this request

  13. abstract def validity: SuspectStatus

    Whether we view this event as "suspect".

    Whether we view this event as "suspect". most consumers of this stream should ignore events that are do not have a status of VALID.

Concrete 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. def _1: SuspectStatus
    Definition Classes
    PageView → Product13
  5. def _10: Option[Double]
    Definition Classes
    PageView → Product13
  6. def _11: Option[Boolean]
    Definition Classes
    PageView → Product13
  7. def _12: Option[SubscriptionType]
    Definition Classes
    PageView → Product13
  8. def _13: Option[MembershipTier]
    Definition Classes
    PageView → Product13
  9. def _2: Page
    Definition Classes
    PageView → Product13
  10. def _3: Option[UserAgent]
    Definition Classes
    PageView → Product13
  11. def _4: Option[GeoLocation]
    Definition Classes
    PageView → Product13
  12. def _5: Option[IpAddress]
    Definition Classes
    PageView → Product13
  13. def _6: Option[Referrer]
    Definition Classes
    PageView → Product13
  14. def _7: Short
    Definition Classes
    PageView → Product13
  15. def _8: Option[Int]
    Definition Classes
    PageView → Product13
  16. def _9: Option[Int]
    Definition Classes
    PageView → Product13
  17. def _codec: ThriftStructCodec3[PageView]
    Definition Classes
    PageView → HasThriftStructCodec3
  18. def _passthroughFields: Map[Short, TFieldBlob]
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def canEqual(other: Any): Boolean
    Definition Classes
    PageView → Equals
  21. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  22. def copy(validity: SuspectStatus = this.validity, page: Page = this.page, userAgent: Option[UserAgent] = this.userAgent, location: Option[GeoLocation] = this.location, ipAddress: Option[IpAddress] = this.ipAddress, referrer: Option[Referrer] = this.referrer, httpStatus: Short = this.httpStatus, daysVisitedInLastWeek: Option[Int] = this.daysVisitedInLastWeek, totalDaysVisited: Option[Int] = this.totalDaysVisited, averageDaysBetweenRecentVisits: Option[Double] = this.averageDaysBetweenRecentVisits, regular: Option[Boolean] = this.regular, subscriptionType: Option[SubscriptionType] = this.subscriptionType, membershipTier: Option[MembershipTier] = this.membershipTier, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): PageView
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(other: Any): Boolean
    Definition Classes
    PageView → Equals → AnyRef → Any
  25. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. 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.

  28. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

  29. def hashCode(): Int
    Definition Classes
    PageView → AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def productArity: Int
    Definition Classes
    PageView → Product13 → Product
  35. def productElement(n: Int): Any
    Definition Classes
    PageView → Product13 → Product
  36. def productIterator: Iterator[Any]
    Definition Classes
    Product
  37. def productPrefix: String
    Definition Classes
    PageView → Product
  38. def setField(_blob: TFieldBlob): PageView

    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.

  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    PageView → AnyRef → Any
  41. def toTuple: (SuspectStatus, Page, Option[UserAgent], Option[GeoLocation], Option[IpAddress], Option[Referrer], Short, Option[Int], Option[Int], Option[Double], Option[Boolean], Option[SubscriptionType], Option[MembershipTier])
  42. def unsetAverageDaysBetweenRecentVisits: PageView
  43. def unsetDaysVisitedInLastWeek: PageView
  44. def unsetField(_fieldId: Short): PageView

    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.

  45. def unsetHttpStatus: PageView
  46. def unsetIpAddress: PageView
  47. def unsetLocation: PageView
  48. def unsetMembershipTier: PageView
  49. def unsetPage: PageView
  50. def unsetReferrer: PageView
  51. def unsetRegular: PageView
  52. def unsetSubscriptionType: PageView
  53. def unsetTotalDaysVisited: PageView
  54. def unsetUserAgent: PageView
  55. def unsetValidity: PageView

    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.

  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  59. def write(_oprot: TProtocol): Unit
    Definition Classes
    PageView → ThriftStruct

Inherited from Serializable

Inherited from HasThriftStructCodec3[PageView]

Inherited from Product13[SuspectStatus, Page, Option[UserAgent], Option[GeoLocation], Option[IpAddress], Option[Referrer], Short, Option[Int], Option[Int], Option[Double], Option[Boolean], Option[SubscriptionType], Option[MembershipTier]]

Inherited from scala.Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped