Packages

case class Schema(database: String, tableName: String, columnNames: List[String], columnDesc: Map[String, (ReflectedDataType, (Integer, Integer), String)], indexColumns: Map[String, (List[(String, Integer)], Boolean, Boolean)], isClusteredIndex: Boolean = false, hasTiFlashReplica: Boolean = false) extends Product with Serializable

Case class for Schema of TiDB table

database

database name

tableName

table name

columnNames

name of each column

columnDesc

in the format of (columnName, (dataType, lengthDescriptions, otherDescriptions)) lengthDescriptions in the format of (M, D) describes detailed information for data type

indexColumns

in the format of (indexName, {list of column names})

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Schema
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Schema(database: String, tableName: String, columnNames: List[String], columnDesc: Map[String, (ReflectedDataType, (Integer, Integer), String)], indexColumns: Map[String, (List[(String, Integer)], Boolean, Boolean)], isClusteredIndex: Boolean = false, hasTiFlashReplica: Boolean = false)

    database

    database name

    tableName

    table name

    columnNames

    name of each column

    columnDesc

    in the format of (columnName, (dataType, lengthDescriptions, otherDescriptions)) lengthDescriptions in the format of (M, D) describes detailed information for data type

    indexColumns

    in the format of (indexName, {list of column names})

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val columnDesc: Map[String, (ReflectedDataType, (Integer, Integer), String)]
  7. val columnInfo: List[ColumnInfo]
  8. val columnNames: List[String]
  9. val database: String
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. var hasTiFlashReplica: Boolean
  14. val indexColumns: Map[String, (List[(String, Integer)], Boolean, Boolean)]
  15. val indexInfo: List[IndexInfo]
  16. var isClusteredIndex: Boolean
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val pkColumnName: String
  22. val pkIndexInfo: List[IndexInfo]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. val tableName: String
  25. def toString(): String
    Definition Classes
    Schema → AnyRef → Any
  26. val uniqueColumnNames: List[String]
  27. val uniqueIndexInfo: List[IndexInfo]
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped