Class/Object

com.youtube.vitess.proto.query

Field

Related Docs: object Field | package query

Permalink

final case class Field(name: String = "", type: Type = ..., table: String = "", orgTable: String = "", database: String = "", orgName: String = "", columnLength: Int = 0, charset: Int = 0, decimals: Int = 0, flags: Int = 0) extends GeneratedMessage with Message[Field] with Updatable[Field] with Product with Serializable

Field describes a single column returned by a query

name

name of the field as returned by mysql C API

type

vitess-defined type. Conversion function is in sqltypes package.

table

Remaining fields from mysql C API. These fields are only populated when ExecuteOptions.included_fields is set to IncludedFields.ALL.

columnLength

column_length is really a uint32. All 32 bits can be used.

charset

charset is actually a uint16. Only the lower 16 bits are used.

decimals

decimals is actualy a uint8. Only the lower 8 bits are used.

flags

flags is actually a uint16. Only the lower 16 bits are used.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Field], Message[Field], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Field
  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 Field(name: String = "", type: Type = ..., table: String = "", orgTable: String = "", database: String = "", orgName: String = "", columnLength: Int = 0, charset: Int = 0, decimals: Int = 0, flags: Int = 0)

    Permalink

    name

    name of the field as returned by mysql C API

    type

    vitess-defined type. Conversion function is in sqltypes package.

    table

    Remaining fields from mysql C API. These fields are only populated when ExecuteOptions.included_fields is set to IncludedFields.ALL.

    columnLength

    column_length is really a uint32. All 32 bits can be used.

    charset

    charset is actually a uint16. Only the lower 16 bits are used.

    decimals

    decimals is actualy a uint8. Only the lower 8 bits are used.

    flags

    flags is actually a uint16. Only the lower 16 bits are used.

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 charset: Int

    Permalink

    charset is actually a uint16.

    charset is actually a uint16. Only the lower 16 bits are used.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val columnLength: Int

    Permalink

    column_length is really a uint32.

    column_length is really a uint32. All 32 bits can be used.

  8. def companion: Field.type

    Permalink
    Definition Classes
    Field → GeneratedMessage
  9. val database: String

    Permalink
  10. val decimals: Int

    Permalink

    decimals is actualy a uint8.

    decimals is actualy a uint8. Only the lower 8 bits are used.

  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. val flags: Int

    Permalink

    flags is actually a uint16.

    flags is actually a uint16. Only the lower 16 bits are used.

  14. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Field → GeneratedMessage
  16. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    Field → GeneratedMessage
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def mergeFrom(_input__: CodedInputStream): Field

    Permalink
    Definition Classes
    Field → Message
  19. val name: String

    Permalink

    name of the field as returned by mysql C API

  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. val orgName: String

    Permalink
  24. val orgTable: String

    Permalink
  25. final def serializedSize: Int

    Permalink
    Definition Classes
    Field → GeneratedMessage
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. val table: String

    Permalink

    Remaining fields from mysql C API.

    Remaining fields from mysql C API. These fields are only populated when ExecuteOptions.included_fields is set to IncludedFields.ALL.

  28. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  29. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  30. def toPMessage: PMessage

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

    Permalink
    Definition Classes
    Field → AnyRef → Any
  32. val type: Type

    Permalink

    vitess-defined type.

    vitess-defined type. Conversion function is in sqltypes package.

  33. def update(ms: (Lens[Field, Field]) ⇒ Mutation[Field]*): Field

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def withCharset(__v: Int): Field

    Permalink
  38. def withColumnLength(__v: Int): Field

    Permalink
  39. def withDatabase(__v: String): Field

    Permalink
  40. def withDecimals(__v: Int): Field

    Permalink
  41. def withFlags(__v: Int): Field

    Permalink
  42. def withName(__v: String): Field

    Permalink
  43. def withOrgName(__v: String): Field

    Permalink
  44. def withOrgTable(__v: String): Field

    Permalink
  45. def withTable(__v: String): Field

    Permalink
  46. def withType(__v: Type): Field

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

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

    Permalink
    Definition Classes
    Field → 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[Field]

Inherited from Message[Field]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped