Class/Object

com.youtube.vitess.proto.topodata

Tablet

Related Docs: object Tablet | package topodata

Permalink

final case class Tablet(alias: Option[TabletAlias] = None, hostname: String = "", ip: String = "", portMap: Map[String, Int] = ..., keyspace: String = "", shard: String = "", keyRange: Option[KeyRange] = None, type: TabletType = ..., dbNameOverride: String = "", tags: Map[String, String] = ...) extends GeneratedMessage with Message[Tablet] with Updatable[Tablet] with Product with Serializable

Tablet represents information about a running instance of vttablet.

alias

alias is the unique name of the tablet.

hostname

Fully qualified domain name of the host.

ip

IP address, stored as a string.

portMap

Map of named ports. Normally this should include vt, grpc, and mysql.

keyspace

Keyspace name.

shard

Shard name. If range based sharding is used, it should match key_range.

keyRange

If range based sharding is used, range for the tablet's shard.

type

type is the current type of the tablet.

dbNameOverride

It this is set, it is used as the database name instead of the normal "vt_" + keyspace.

tags

tablet tags

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Tablet], Message[Tablet], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tablet
  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 Tablet(alias: Option[TabletAlias] = None, hostname: String = "", ip: String = "", portMap: Map[String, Int] = ..., keyspace: String = "", shard: String = "", keyRange: Option[KeyRange] = None, type: TabletType = ..., dbNameOverride: String = "", tags: Map[String, String] = ...)

    Permalink

    alias

    alias is the unique name of the tablet.

    hostname

    Fully qualified domain name of the host.

    ip

    IP address, stored as a string.

    portMap

    Map of named ports. Normally this should include vt, grpc, and mysql.

    keyspace

    Keyspace name.

    shard

    Shard name. If range based sharding is used, it should match key_range.

    keyRange

    If range based sharding is used, range for the tablet's shard.

    type

    type is the current type of the tablet.

    dbNameOverride

    It this is set, it is used as the database name instead of the normal "vt_" + keyspace.

    tags

    tablet tags

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 addAllPortMap(__vs: TraversableOnce[(String, Int)]): Tablet

    Permalink
  5. def addAllTags(__vs: TraversableOnce[(String, String)]): Tablet

    Permalink
  6. def addPortMap(__vs: (String, Int)*): Tablet

    Permalink
  7. def addTags(__vs: (String, String)*): Tablet

    Permalink
  8. val alias: Option[TabletAlias]

    Permalink

    alias is the unique name of the tablet.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clearAlias: Tablet

    Permalink
  11. def clearKeyRange: Tablet

    Permalink
  12. def clearPortMap: Tablet

    Permalink
  13. def clearTags: Tablet

    Permalink
  14. def clone(): AnyRef

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

    Permalink
    Definition Classes
    Tablet → GeneratedMessage
  16. val dbNameOverride: String

    Permalink

    It this is set, it is used as the database name instead of the normal "vt_" + keyspace.

  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def getAlias: TabletAlias

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

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

    Permalink
    Definition Classes
    Tablet → GeneratedMessage
  22. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    Tablet → GeneratedMessage
  23. def getKeyRange: KeyRange

    Permalink
  24. val hostname: String

    Permalink

    Fully qualified domain name of the host.

  25. val ip: String

    Permalink

    IP address, stored as a string.

  26. final def isInstanceOf[T0]: Boolean

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

    Permalink

    If range based sharding is used, range for the tablet's shard.

  28. val keyspace: String

    Permalink

    Keyspace name.

  29. def mergeFrom(_input__: CodedInputStream): Tablet

    Permalink
    Definition Classes
    Tablet → Message
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. val portMap: Map[String, Int]

    Permalink

    Map of named ports.

    Map of named ports. Normally this should include vt, grpc, and mysql.

  34. final def serializedSize: Int

    Permalink
    Definition Classes
    Tablet → GeneratedMessage
  35. val shard: String

    Permalink

    Shard name.

    Shard name. If range based sharding is used, it should match key_range.

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

    Permalink
    Definition Classes
    AnyRef
  37. val tags: Map[String, String]

    Permalink

    tablet tags

  38. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  39. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  40. def toPMessage: PMessage

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

    Permalink
    Definition Classes
    Tablet → AnyRef → Any
  42. val type: TabletType

    Permalink

    type is the current type of the tablet.

  43. def update(ms: (Lens[Tablet, Tablet]) ⇒ Mutation[Tablet]*): Tablet

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def withAlias(__v: TabletAlias): Tablet

    Permalink
  48. def withDbNameOverride(__v: String): Tablet

    Permalink
  49. def withHostname(__v: String): Tablet

    Permalink
  50. def withIp(__v: String): Tablet

    Permalink
  51. def withKeyRange(__v: KeyRange): Tablet

    Permalink
  52. def withKeyspace(__v: String): Tablet

    Permalink
  53. def withPortMap(__v: Map[String, Int]): Tablet

    Permalink
  54. def withShard(__v: String): Tablet

    Permalink
  55. def withTags(__v: Map[String, String]): Tablet

    Permalink
  56. def withType(__v: TabletType): Tablet

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

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

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

Inherited from Message[Tablet]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped