Class/Object

com.youtube.vitess.proto.vtgate

UpdateStreamRequest

Related Docs: object UpdateStreamRequest | package vtgate

Permalink

final case class UpdateStreamRequest(callerId: Option[CallerID] = None, keyspace: String = "", shard: String = "", keyRange: Option[KeyRange] = None, tabletType: TabletType = ..., timestamp: Long = 0L, event: Option[EventToken] = None) extends GeneratedMessage with Message[UpdateStreamRequest] with Updatable[UpdateStreamRequest] with Product with Serializable

UpdateStreamRequest is the payload to UpdateStream.

callerId

caller_id identifies the caller. This is the effective caller ID, set by the application to further identify the caller.

keyspace

keyspace to target the query to.

shard

shard to target the query to, for unsharded keyspaces.

keyRange

KeyRange to target the query to, for sharded keyspaces.

tabletType

tablet_type is the type of tablets that this request is targeted to.

timestamp

timestamp is the timestamp to start the stream from. It is unused is event is set, and we are only streaming from the shard described by event.shard.

event

event is the event to start the stream from. Note it is only used if we are streaming from exactly the same shard as this event was coming from. Otherwise we can't use this event, and will use the timestamp as a starting point.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[UpdateStreamRequest], Message[UpdateStreamRequest], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpdateStreamRequest
  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 UpdateStreamRequest(callerId: Option[CallerID] = None, keyspace: String = "", shard: String = "", keyRange: Option[KeyRange] = None, tabletType: TabletType = ..., timestamp: Long = 0L, event: Option[EventToken] = None)

    Permalink

    callerId

    caller_id identifies the caller. This is the effective caller ID, set by the application to further identify the caller.

    keyspace

    keyspace to target the query to.

    shard

    shard to target the query to, for unsharded keyspaces.

    keyRange

    KeyRange to target the query to, for sharded keyspaces.

    tabletType

    tablet_type is the type of tablets that this request is targeted to.

    timestamp

    timestamp is the timestamp to start the stream from. It is unused is event is set, and we are only streaming from the shard described by event.shard.

    event

    event is the event to start the stream from. Note it is only used if we are streaming from exactly the same shard as this event was coming from. Otherwise we can't use this event, and will use the timestamp as a starting point.

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. val callerId: Option[CallerID]

    Permalink

    caller_id identifies the caller.

    caller_id identifies the caller. This is the effective caller ID, set by the application to further identify the caller.

  6. def clearCallerId: UpdateStreamRequest

    Permalink
  7. def clearEvent: UpdateStreamRequest

    Permalink
  8. def clearKeyRange: UpdateStreamRequest

    Permalink
  9. def clone(): AnyRef

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

    Permalink
    Definition Classes
    UpdateStreamRequest → GeneratedMessage
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. val event: Option[EventToken]

    Permalink

    event is the event to start the stream from.

    event is the event to start the stream from. Note it is only used if we are streaming from exactly the same shard as this event was coming from. Otherwise we can't use this event, and will use the timestamp as a starting point.

  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def getCallerId: CallerID

    Permalink
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getEvent: EventToken

    Permalink
  17. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    UpdateStreamRequest → GeneratedMessage
  18. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    UpdateStreamRequest → GeneratedMessage
  19. def getKeyRange: KeyRange

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val keyRange: Option[KeyRange]

    Permalink

    KeyRange to target the query to, for sharded keyspaces.

  22. val keyspace: String

    Permalink

    keyspace to target the query to.

  23. def mergeFrom(_input__: CodedInputStream): UpdateStreamRequest

    Permalink
    Definition Classes
    UpdateStreamRequest → Message
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. final def serializedSize: Int

    Permalink
    Definition Classes
    UpdateStreamRequest → GeneratedMessage
  28. val shard: String

    Permalink

    shard to target the query to, for unsharded keyspaces.

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

    Permalink
    Definition Classes
    AnyRef
  30. val tabletType: TabletType

    Permalink

    tablet_type is the type of tablets that this request is targeted to.

  31. val timestamp: Long

    Permalink

    timestamp is the timestamp to start the stream from.

    timestamp is the timestamp to start the stream from. It is unused is event is set, and we are only streaming from the shard described by event.shard.

  32. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  33. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  34. def toPMessage: PMessage

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def withCallerId(__v: CallerID): UpdateStreamRequest

    Permalink
  41. def withEvent(__v: EventToken): UpdateStreamRequest

    Permalink
  42. def withKeyRange(__v: KeyRange): UpdateStreamRequest

    Permalink
  43. def withKeyspace(__v: String): UpdateStreamRequest

    Permalink
  44. def withShard(__v: String): UpdateStreamRequest

    Permalink
  45. def withTabletType(__v: TabletType): UpdateStreamRequest

    Permalink
  46. def withTimestamp(__v: Long): UpdateStreamRequest

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

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

    Permalink
    Definition Classes
    UpdateStreamRequest → GeneratedMessage
  49. 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[UpdateStreamRequest]

Inherited from Message[UpdateStreamRequest]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped