Class/Object

com.youtube.vitess.proto.topodata.Shard

SourceShard

Related Docs: object SourceShard | package Shard

Permalink

final case class SourceShard(uid: Int = 0, keyspace: String = "", shard: String = "", keyRange: Option[KeyRange] = None, tables: Seq[String] = Nil) extends GeneratedMessage with Message[SourceShard] with Updatable[SourceShard] with Product with Serializable

SourceShard represents a data source for filtered replication accross shards. When this is used in a destination shard, the master of that shard will run filtered replication.

uid

Uid is the unique ID for this SourceShard object.

keyspace

the source keyspace

shard

the source shard

keyRange

the source shard keyrange

tables

the source table list to replicate

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[SourceShard], Message[SourceShard], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SourceShard
  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 SourceShard(uid: Int = 0, keyspace: String = "", shard: String = "", keyRange: Option[KeyRange] = None, tables: Seq[String] = Nil)

    Permalink

    uid

    Uid is the unique ID for this SourceShard object.

    keyspace

    the source keyspace

    shard

    the source shard

    keyRange

    the source shard keyrange

    tables

    the source table list to replicate

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 addAllTables(__vs: TraversableOnce[String]): SourceShard

    Permalink
  5. def addTables(__vs: String*): SourceShard

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clearKeyRange: SourceShard

    Permalink
  8. def clearTables: SourceShard

    Permalink
  9. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
  14. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    SourceShard → GeneratedMessage
  16. def getKeyRange: KeyRange

    Permalink
  17. final def isInstanceOf[T0]: Boolean

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

    Permalink

    the source shard keyrange

  19. val keyspace: String

    Permalink

    the source keyspace

  20. def mergeFrom(_input__: CodedInputStream): SourceShard

    Permalink
    Definition Classes
    SourceShard → Message
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. final def serializedSize: Int

    Permalink
    Definition Classes
    SourceShard → GeneratedMessage
  25. val shard: String

    Permalink

    the source shard

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

    Permalink
    Definition Classes
    AnyRef
  27. val tables: Seq[String]

    Permalink

    the source table list to replicate

  28. def toByteArray: Array[Byte]

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

    Permalink
    Definition Classes
    SourceShard → AnyRef → Any
  30. val uid: Int

    Permalink

    Uid is the unique ID for this SourceShard object.

  31. def update(ms: (Lens[SourceShard, SourceShard]) ⇒ Mutation[SourceShard]*): SourceShard

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withKeyRange(__v: KeyRange): SourceShard

    Permalink
  36. def withKeyspace(__v: String): SourceShard

    Permalink
  37. def withShard(__v: String): SourceShard

    Permalink
  38. def withTables(__v: Seq[String]): SourceShard

    Permalink
  39. def withUid(__v: Int): SourceShard

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

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

    Permalink
    Definition Classes
    SourceShard → GeneratedMessage
  42. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Inherited from Product

Inherited from Equals

Inherited from Updatable[SourceShard]

Inherited from Message[SourceShard]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped