Class/Object

com.gu.flexiblecontent.model.thrift.Event

Immutable

Related Docs: object Immutable | package Event

Permalink

class Immutable extends Event

The default read-only implementation of Event. You typically should not need to directly reference this class; instead, use the Event.apply method to construct new instances.

Linear Supertypes
Event, Serializable, ValidatingThriftStruct[Event], HasThriftStructCodec3[Event], Product6[EventType, Long, String, Long, Option[Content], Option[Seq[String]]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Event
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product6
  7. Product
  8. Equals
  9. ThriftStruct
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(eventType: EventType, eventCreationTime: Long, contentId: String, pageId: Long, content: Option[Content] = _root_.scala.None, aliasPaths: Option[Seq[String]] = _root_.scala.None)

    Permalink
  2. new Immutable(eventType: EventType, eventCreationTime: Long, contentId: String, pageId: Long, content: Option[Content], aliasPaths: Option[Seq[String]], _passthroughFields: Map[Short, TFieldBlob])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _1: EventType

    Permalink
    Definition Classes
    Event → Product6
  5. def _2: Long

    Permalink
    Definition Classes
    Event → Product6
  6. def _3: String

    Permalink
    Definition Classes
    Event → Product6
  7. def _4: Long

    Permalink
    Definition Classes
    Event → Product6
  8. def _5: Option[Content]

    Permalink
    Definition Classes
    Event → Product6
  9. def _6: Option[Seq[String]]

    Permalink
    Definition Classes
    Event → Product6
  10. def _codec: ValidatingThriftStructCodec3[Event]

    Permalink
    Definition Classes
    Event → ValidatingThriftStruct → HasThriftStructCodec3
  11. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableEvent
  12. val aliasPaths: Option[Seq[String]]

    Permalink

    intended to drive de-caching of aliases when deleting content

    intended to drive de-caching of aliases when deleting content

    Definition Classes
    ImmutableEvent
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    Event → Equals
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. val content: Option[Content]

    Permalink
    Definition Classes
    ImmutableEvent
  17. val contentId: String

    Permalink
    Definition Classes
    ImmutableEvent
  18. def copy(eventType: EventType = this.eventType, eventCreationTime: Long = this.eventCreationTime, contentId: String = this.contentId, pageId: Long = this.pageId, content: Option[Content] = this.content, aliasPaths: Option[Seq[String]] = this.aliasPaths, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Event

    Permalink
    Definition Classes
    Event
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Event → Equals → AnyRef → Any
  21. val eventCreationTime: Long

    Permalink
    Definition Classes
    ImmutableEvent
  22. val eventType: EventType

    Permalink
    Definition Classes
    ImmutableEvent
  23. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Permalink

    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
    Event
  26. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

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

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

    Definition Classes
    Event
  27. def hashCode(): Int

    Permalink
    Definition Classes
    Event → AnyRef → Any
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. val pageId: Long

    Permalink
    Definition Classes
    ImmutableEvent
  33. def productArity: Int

    Permalink
    Definition Classes
    Event → Product6 → Product
  34. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Event → Product6 → Product
  35. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  36. def productPrefix: String

    Permalink
    Definition Classes
    Event → Product
  37. def setField(_blob: TFieldBlob): Event

    Permalink

    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
    Event
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    Event → AnyRef → Any
  40. def toTuple: (EventType, Long, String, Long, Option[Content], Option[Seq[String]])

    Permalink
    Definition Classes
    Event
  41. def unsetAliasPaths: Event

    Permalink
    Definition Classes
    Event
  42. def unsetContent: Event

    Permalink
    Definition Classes
    Event
  43. def unsetContentId: Event

    Permalink
    Definition Classes
    Event
  44. def unsetEventCreationTime: Event

    Permalink
    Definition Classes
    Event
  45. def unsetEventType: Event

    Permalink

    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
    Event
  46. def unsetField(_fieldId: Short): Event

    Permalink

    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
    Event
  47. def unsetPageId: Event

    Permalink
    Definition Classes
    Event
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    Event → ThriftStruct

Inherited from Event

Inherited from Serializable

Inherited from ValidatingThriftStruct[Event]

Inherited from HasThriftStructCodec3[Event]

Inherited from Product6[EventType, Long, String, Long, Option[Content], Option[Seq[String]]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped