Class/Object

com.youtube.vitess.proto.query

EventToken

Related Docs: object EventToken | package query

Permalink

final case class EventToken(timestamp: Long = 0L, shard: String = "", position: String = "") extends GeneratedMessage with Message[EventToken] with Updatable[EventToken] with Product with Serializable

EventToken is a structure that describes a point in time in a replication stream on one shard. The most recent known replication position can be retrieved from vttablet when executing a query. It is also sent with the replication streams from the binlog service.

timestamp

timestamp is the MySQL timestamp of the statements. Seconds since Epoch.

shard

The shard name that applied the statements. Note this is not set when streaming from a vttablet. It is only used on the client -> vtgate link.

position

The position on the replication stream after this statement was applied. It is not the transaction ID / GTID, but the position / GTIDSet.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[EventToken], Message[EventToken], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventToken
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EventToken(timestamp: Long = 0L, shard: String = "", position: String = "")

    Permalink

    timestamp

    timestamp is the MySQL timestamp of the statements. Seconds since Epoch.

    shard

    The shard name that applied the statements. Note this is not set when streaming from a vttablet. It is only used on the client -> vtgate link.

    position

    The position on the replication stream after this statement was applied. It is not the transaction ID / GTID, but the position / GTIDSet.

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def companion: EventToken.type

    Permalink
    Definition Classes
    EventToken → GeneratedMessage
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    EventToken → GeneratedMessage
  11. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    EventToken → GeneratedMessage
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def mergeFrom(_input__: CodedInputStream): EventToken

    Permalink
    Definition Classes
    EventToken → Message
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. val position: String

    Permalink

    The position on the replication stream after this statement was applied.

    The position on the replication stream after this statement was applied. It is not the transaction ID / GTID, but the position / GTIDSet.

  18. final def serializedSize: Int

    Permalink
    Definition Classes
    EventToken → GeneratedMessage
  19. val shard: String

    Permalink

    The shard name that applied the statements.

    The shard name that applied the statements. Note this is not set when streaming from a vttablet. It is only used on the client -> vtgate link.

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. val timestamp: Long

    Permalink

    timestamp is the MySQL timestamp of the statements.

    timestamp is the MySQL timestamp of the statements. Seconds since Epoch.

  22. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  23. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  24. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  25. def toString(): String

    Permalink
    Definition Classes
    EventToken → AnyRef → Any
  26. def update(ms: (Lens[EventToken, EventToken]) ⇒ Mutation[EventToken]*): EventToken

    Permalink
    Definition Classes
    Updatable
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def withPosition(__v: String): EventToken

    Permalink
  31. def withShard(__v: String): EventToken

    Permalink
  32. def withTimestamp(__v: Long): EventToken

    Permalink
  33. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  34. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    EventToken → GeneratedMessage
  35. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[EventToken]

Inherited from Message[EventToken]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped