trait Url extends ThriftStruct with Product6[String, String, String, String, Option[SignificantSite], Boolean] with HasThriftStructCodec3[Url] with Serializable

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

Linear Supertypes
Serializable, HasThriftStructCodec3[Url], Product6[String, String, String, String, Option[SignificantSite], Boolean], scala.Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Url
  2. Serializable
  3. HasThriftStructCodec3
  4. Product6
  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 domain: String

    the domain of this url.

    the domain of this url.

    This is the host stripped down to one level below the top level domain.

    e.g. www.theguardian.com => theguardian.com news.google.co.uk => google.co.uk membership.theguardian.com => theguardian.com

  2. abstract def host: String

    the host of this url with no parsing or normalisation performed.

    the host of this url with no parsing or normalisation performed.

    Be careful about using the value of this field: almost certainly you want to use the combination of domain and path instead, which are cleared of non-significant variation.

  3. abstract def path: String

    The path served on the given host, without query strings or fragment identifiers.

    The path served on the given host, without query strings or fragment identifiers.

    For guardian urls, processing is performed on the path - especially for the native mobile apps - to try to make the url match up with those on www.theguardian.com

    Path will always start with a /.

  4. abstract def raw: String

    The full raw URL as provided to ophan, potentially including query string and fragment identifier

    The full raw URL as provided to ophan, potentially including query string and fragment identifier

    Be careful about using the value of this field: almost certainly you want to use the combination of domain and path instead, which are cleared of non-significant variation.

  5. abstract def site: Option[SignificantSite]

    Indicates sites that we really care about, factoring out the variation on domain that they sometimes contain.

    Indicates sites that we really care about, factoring out the variation on domain that they sometimes contain.

    Note that were this url represents a page on a site that we don't consider significant, this value will be unpopulated. You should probably use domain to aggregate in that case.

  6. abstract def synthesised: Boolean

    Indicates whether this url was synthesised in some way by ophan

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: String
    Definition Classes
    Url → Product6
  5. def _2: String
    Definition Classes
    Url → Product6
  6. def _3: String
    Definition Classes
    Url → Product6
  7. def _4: String
    Definition Classes
    Url → Product6
  8. def _5: Option[SignificantSite]
    Definition Classes
    Url → Product6
  9. def _6: Boolean
    Definition Classes
    Url → Product6
  10. def _codec: ThriftStructCodec3[Url]
    Definition Classes
    Url → HasThriftStructCodec3
  11. def _passthroughFields: Map[Short, TFieldBlob]
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def canEqual(other: Any): Boolean
    Definition Classes
    Url → Equals
  14. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  15. def copy(raw: String = this.raw, host: String = this.host, domain: String = this.domain, path: String = this.path, site: Option[SignificantSite] = this.site, synthesised: Boolean = this.synthesised, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Url
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(other: Any): Boolean
    Definition Classes
    Url → Equals → AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. 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.

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

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

  22. def hashCode(): Int
    Definition Classes
    Url → AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def productArity: Int
    Definition Classes
    Url → Product6 → Product
  28. def productElement(n: Int): Any
    Definition Classes
    Url → Product6 → Product
  29. def productIterator: Iterator[Any]
    Definition Classes
    Product
  30. def productPrefix: String
    Definition Classes
    Url → Product
  31. def setField(_blob: TFieldBlob): Url

    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.

  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    Url → AnyRef → Any
  34. def toTuple: (String, String, String, String, Option[SignificantSite], Boolean)
  35. def unsetDomain: Url
  36. def unsetField(_fieldId: Short): Url

    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.

  37. def unsetHost: Url
  38. def unsetPath: Url
  39. def unsetRaw: Url

    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.

  40. def unsetSite: Url
  41. def unsetSynthesised: Url
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  45. def write(_oprot: TProtocol): Unit
    Definition Classes
    Url → ThriftStruct

Inherited from Serializable

Inherited from HasThriftStructCodec3[Url]

Inherited from Product6[String, String, String, String, Option[SignificantSite], Boolean]

Inherited from scala.Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped