case class TableDef(keyspaceName: String, tableName: String, partitionKey: Seq[ColumnDef], clusteringColumns: Seq[ColumnDef], regularColumns: Seq[ColumnDef], indexes: Seq[IndexDef] = Seq.empty, isView: Boolean = false, ifNotExists: Boolean = false, tableOptions: Map[String, String] = Map()) extends StructDef with Product with Serializable
A Cassandra table metadata that can be serialized.
- Alphabetic
- By Inheritance
- TableDef
- Product
- Equals
- StructDef
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Type Members
- type Column = ColumnDef
Allows to specify concrete type of column in subclasses, so that
columnsandcolumnByNamemembers return concrete types. - type ValueRepr = CassandraRow
Type of the data described by this struct
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val allColumns: Seq[ColumnDef]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val clusteringColumns: Seq[ColumnDef]
- def columnByIndex(index: Int): Column
For quickly finding a column definition by index.
For quickly finding a column definition by index. If column is not found, throws NoSuchElementException with information about the requested index of the column and name of the structure.
- Definition Classes
- StructDef
- lazy val columnByName: Map[String, ColumnDef]
For quickly finding a column definition by name.
- def columnByNameIgnoreCase(columnName: String): ColumnDef
- lazy val columnNames: IndexedSeq[String]
Names of the columns, in the same order as column definitions.
Names of the columns, in the same order as column definitions.
- Definition Classes
- StructDef
- lazy val columnRefs: IndexedSeq[ColumnRef]
References to the columns
References to the columns
- Definition Classes
- StructDef
- lazy val columnTypes: IndexedSeq[ColumnType[_]]
Types of the columns, in the same order as column names and column definitions.
Types of the columns, in the same order as column names and column definitions.
- Definition Classes
- StructDef
- lazy val columns: IndexedSeq[ColumnDef]
Sequence of column definitions in this data structure.
- def cql: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val ifNotExists: Boolean
- val indexedColumns: Seq[ColumnDef]
- val indexes: Seq[IndexDef]
- def isIndexed(column: ColumnDef): Boolean
- def isIndexed(column: String): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isView: Boolean
- val keyspaceName: String
- def missingColumns(columnsToCheck: Seq[ColumnRef]): Seq[ColumnRef]
Returns the columns that are not present in the structure.
Returns the columns that are not present in the structure.
- Definition Classes
- StructDef
- val name: String
Human-readable name for easy identification of this structure.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newInstance(columnValues: Any*): CassandraRow
Creates new instance of this struct.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val partitionKey: Seq[ColumnDef]
- lazy val primaryKey: IndexedSeq[ColumnDef]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val regularColumns: Seq[ColumnDef]
- lazy val rowMetadata: CassandraRowMetadata
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tableName: String
- val tableOptions: Map[String, String]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)