Class/Object

com.datastax.spark.connector.cql

TableDef

Related Docs: object TableDef | package cql

Permalink

case class TableDef(keyspaceName: String, tableName: String, partitionKey: Seq[ColumnDef], clusteringColumns: Seq[ColumnDef], regularColumns: Seq[ColumnDef], indexes: Seq[IndexDef] = Seq.empty, isView: Boolean = false) extends StructDef with Product with Serializable

A Cassandra table metadata that can be serialized.

Linear Supertypes
Product, Equals, StructDef, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableDef
  2. Product
  3. Equals
  4. StructDef
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TableDef(keyspaceName: String, tableName: String, partitionKey: Seq[ColumnDef], clusteringColumns: Seq[ColumnDef], regularColumns: Seq[ColumnDef], indexes: Seq[IndexDef] = Seq.empty, isView: Boolean = false)

    Permalink

Type Members

  1. type Column = ColumnDef

    Permalink

    Allows to specify concrete type of column in subclasses, so that columns and columnByName members return concrete types.

    Allows to specify concrete type of column in subclasses, so that columns and columnByName members return concrete types. Columns in tables may carry more information than columns in user defined types.

    Definition Classes
    TableDefStructDef
  2. type ValueRepr = CassandraRow

    Permalink

    Type of the data described by this struct

    Type of the data described by this struct

    Definition Classes
    TableDefStructDef

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from TableDef to any2stringadd[TableDef] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (TableDef, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from TableDef to ArrowAssoc[TableDef] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. val allColumns: Seq[ColumnDef]

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val clusteringColumns: Seq[ColumnDef]

    Permalink
  10. def columnByIndex(index: Int): Column

    Permalink

    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
  11. lazy val columnByName: Map[String, ColumnDef]

    Permalink

    For quickly finding a column definition by name.

    For quickly finding a column definition by name. If column is not found, throws NoSuchElementException with information about the name of the column and name of the structure.

    Definition Classes
    TableDefStructDef
  12. lazy val columnNames: IndexedSeq[String]

    Permalink

    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
  13. lazy val columnRefs: IndexedSeq[ColumnRef]

    Permalink

    References to the columns

    References to the columns

    Definition Classes
    StructDef
  14. lazy val columnTypes: IndexedSeq[ColumnType[_]]

    Permalink

    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
  15. lazy val columns: IndexedSeq[ColumnDef]

    Permalink

    Sequence of column definitions in this data structure.

    Sequence of column definitions in this data structure. The order of the columns is implementation-defined.

    Definition Classes
    TableDefStructDef
  16. def cql: String

    Permalink
  17. def ensuring(cond: (TableDef) ⇒ Boolean, msg: ⇒ Any): TableDef

    Permalink
    Implicit information
    This member is added by an implicit conversion from TableDef to Ensuring[TableDef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: (TableDef) ⇒ Boolean): TableDef

    Permalink
    Implicit information
    This member is added by an implicit conversion from TableDef to Ensuring[TableDef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean, msg: ⇒ Any): TableDef

    Permalink
    Implicit information
    This member is added by an implicit conversion from TableDef to Ensuring[TableDef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean): TableDef

    Permalink
    Implicit information
    This member is added by an implicit conversion from TableDef to Ensuring[TableDef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from TableDef to StringFormat[TableDef] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. val indexedColumns: Seq[ColumnDef]

    Permalink
  26. val indexes: Seq[IndexDef]

    Permalink
  27. def isIndexed(column: ColumnDef): Boolean

    Permalink
  28. def isIndexed(column: String): Boolean

    Permalink
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. val isView: Boolean

    Permalink
  31. val keyspaceName: String

    Permalink
  32. def missingColumns(columnsToCheck: Seq[ColumnRef]): Seq[ColumnRef]

    Permalink

    Returns the columns that are not present in the structure.

    Returns the columns that are not present in the structure.

    Definition Classes
    StructDef
  33. val name: String

    Permalink

    Human-readable name for easy identification of this structure.

    Human-readable name for easy identification of this structure. Used in the error message when the column is not found. E.g. a table name or a type name.

    Definition Classes
    TableDefStructDef
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. def newInstance(columnValues: Any*): CassandraRow

    Permalink

    Creates new instance of this struct.

    Creates new instance of this struct. Column values must be given in the same order as columnNames

    Definition Classes
    TableDefStructDef
  36. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  38. val partitionKey: Seq[ColumnDef]

    Permalink
  39. lazy val primaryKey: IndexedSeq[ColumnDef]

    Permalink
  40. val regularColumns: Seq[ColumnDef]

    Permalink
  41. lazy val rowMetadata: CassandraRowMetadata

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

    Permalink
    Definition Classes
    AnyRef
  43. val tableName: String

    Permalink
  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 [B](y: B): (TableDef, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from TableDef to ArrowAssoc[TableDef] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Product

Inherited from Equals

Inherited from StructDef

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from TableDef to any2stringadd[TableDef]

Inherited by implicit conversion StringFormat from TableDef to StringFormat[TableDef]

Inherited by implicit conversion Ensuring from TableDef to Ensuring[TableDef]

Inherited by implicit conversion ArrowAssoc from TableDef to ArrowAssoc[TableDef]

Ungrouped