com.datastax.spark.connector.cql

TableDef

case class TableDef(keyspaceName: String, tableName: String, partitionKey: Seq[ColumnDef], clusteringColumns: Seq[ColumnDef], regularColumns: Seq[ColumnDef]) 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 any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TableDef(keyspaceName: String, tableName: String, partitionKey: Seq[ColumnDef], clusteringColumns: Seq[ColumnDef], regularColumns: Seq[ColumnDef])

Type Members

  1. type Column = ColumnDef

    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

    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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

    Definition Classes
    TableDefStructDef
  13. def 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
  14. lazy val columnRefs: IndexedSeq[ColumnRef]

    References to the columns

    References to the columns

    Definition Classes
    StructDef
  15. def 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
  16. lazy val columns: IndexedSeq[ColumnDef]

    Definition Classes
    TableDefStructDef
  17. def cql: String

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

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

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

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

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

    Definition Classes
    AnyRef
  23. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. val keyspaceName: String

  28. 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
  29. def name: String

    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
  30. final def ne(arg0: AnyRef): Boolean

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

    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
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. val partitionKey: Seq[ColumnDef]

  35. lazy val primaryKey: IndexedSeq[ColumnDef]

  36. val regularColumns: Seq[ColumnDef]

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

    Definition Classes
    AnyRef
  38. val tableName: String

  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def [B](y: B): (TableDef, B)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from TableDef to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (tableDef: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from TableDef to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (tableDef: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: TableDef

    Implicit information
    This member is added by an implicit conversion from TableDef to ArrowAssoc[TableDef] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (tableDef: ArrowAssoc[TableDef]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: TableDef

    Implicit information
    This member is added by an implicit conversion from TableDef to Ensuring[TableDef] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (tableDef: Ensuring[TableDef]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

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 StringAdd

Inherited by implicit conversion any2stringfmt from TableDef to StringFormat

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

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

Ungrouped