class Immutable extends PageView
The default read-only implementation of PageView. You typically should not need to directly reference this class; instead, use the PageView.apply method to construct new instances.
- Alphabetic
- By Inheritance
- Immutable
- PageView
- Serializable
- HasThriftStructCodec3
- Product13
- Product
- Equals
- ThriftStruct
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Immutable(validity: SuspectStatus = SuspectStatus.Valid, page: Page, userAgent: Option[UserAgent] = _root_.scala.None, location: Option[GeoLocation] = _root_.scala.None, ipAddress: Option[IpAddress] = _root_.scala.None, referrer: Option[Referrer] = _root_.scala.None, httpStatus: Short = 200, daysVisitedInLastWeek: Option[Int] = _root_.scala.None, totalDaysVisited: Option[Int] = _root_.scala.None, averageDaysBetweenRecentVisits: Option[Double] = _root_.scala.None, regular: Option[Boolean] = _root_.scala.None, subscriptionType: Option[SubscriptionType] = _root_.scala.None, membershipTier: Option[MembershipTier] = _root_.scala.None)
- new Immutable(validity: SuspectStatus, page: Page, userAgent: Option[UserAgent], location: Option[GeoLocation], ipAddress: Option[IpAddress], referrer: Option[Referrer], httpStatus: Short, daysVisitedInLastWeek: Option[Int], totalDaysVisited: Option[Int], averageDaysBetweenRecentVisits: Option[Double], regular: Option[Boolean], subscriptionType: Option[SubscriptionType], membershipTier: Option[MembershipTier], _passthroughFields: Map[Short, TFieldBlob])
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: SuspectStatus
- Definition Classes
- PageView → Product13
-
def
_10: Option[Double]
- Definition Classes
- PageView → Product13
-
def
_11: Option[Boolean]
- Definition Classes
- PageView → Product13
-
def
_12: Option[SubscriptionType]
- Definition Classes
- PageView → Product13
-
def
_13: Option[MembershipTier]
- Definition Classes
- PageView → Product13
-
def
_2: Page
- Definition Classes
- PageView → Product13
-
def
_3: Option[UserAgent]
- Definition Classes
- PageView → Product13
-
def
_4: Option[GeoLocation]
- Definition Classes
- PageView → Product13
-
def
_5: Option[IpAddress]
- Definition Classes
- PageView → Product13
-
def
_6: Option[Referrer]
- Definition Classes
- PageView → Product13
-
def
_7: Short
- Definition Classes
- PageView → Product13
-
def
_8: Option[Int]
- Definition Classes
- PageView → Product13
-
def
_9: Option[Int]
- Definition Classes
- PageView → Product13
-
def
_codec: ThriftStructCodec3[PageView]
- Definition Classes
- PageView → HasThriftStructCodec3
- val _passthroughFields: Map[Short, TFieldBlob]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val averageDaysBetweenRecentVisits: Option[Double]
-
def
canEqual(other: Any): Boolean
- Definition Classes
- PageView → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
- Definition Classes
- PageView
- val daysVisitedInLastWeek: Option[Int]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- PageView → 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.
- Definition Classes
- PageView
-
def
getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.- Definition Classes
- PageView
-
def
hashCode(): Int
- Definition Classes
- PageView → AnyRef → Any
- val httpStatus: Short
- val ipAddress: Option[IpAddress]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val location: Option[GeoLocation]
- val membershipTier: Option[MembershipTier]
-
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()
- val page: Page
-
def
productArity: Int
- Definition Classes
- PageView → Product13 → Product
-
def
productElement(n: Int): Any
- Definition Classes
- PageView → Product13 → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- PageView → Product
- val referrer: Option[Referrer]
- val regular: Option[Boolean]
-
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.
- Definition Classes
- PageView
- val subscriptionType: Option[SubscriptionType]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- PageView → AnyRef → Any
-
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])
- Definition Classes
- PageView
- val totalDaysVisited: Option[Int]
-
def
unsetAverageDaysBetweenRecentVisits: PageView
- Definition Classes
- PageView
-
def
unsetDaysVisitedInLastWeek: PageView
- Definition Classes
- PageView
-
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.
- Definition Classes
- PageView
-
def
unsetHttpStatus: PageView
- Definition Classes
- PageView
-
def
unsetIpAddress: PageView
- Definition Classes
- PageView
-
def
unsetLocation: PageView
- Definition Classes
- PageView
-
def
unsetMembershipTier: PageView
- Definition Classes
- PageView
-
def
unsetPage: PageView
- Definition Classes
- PageView
-
def
unsetReferrer: PageView
- Definition Classes
- PageView
-
def
unsetRegular: PageView
- Definition Classes
- PageView
-
def
unsetSubscriptionType: PageView
- Definition Classes
- PageView
-
def
unsetTotalDaysVisited: PageView
- Definition Classes
- PageView
-
def
unsetUserAgent: PageView
- Definition Classes
- PageView
-
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.
- Definition Classes
- PageView
- val userAgent: Option[UserAgent]
- val validity: SuspectStatus
-
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
- PageView → ThriftStruct