com.datastax.spark.connector.types

TupleType

case class TupleType(componentTypes: TupleFieldDef*) extends StructDef with ColumnType[TupleValue] with Product with Serializable

A type representing typed tuples. A tuple consists of a sequence of values. Every value is identified by its 0-based position. Every value can be of a different type.

Linear Supertypes
Product, Equals, ColumnType[TupleValue], StructDef, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TupleType
  2. Product
  3. Equals
  4. ColumnType
  5. StructDef
  6. Serializable
  7. Serializable
  8. AnyRef
  9. 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 TupleType(componentTypes: TupleFieldDef*)

Type Members

  1. type Column = TupleFieldDef

    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
    TupleTypeStructDef
  2. type ValueRepr = TupleValue

    Type of the data described by this struct

    Type of the data described by this struct

    Definition Classes
    TupleTypeStructDef

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 TupleType to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (TupleType, B)

    Implicit information
    This member is added by an implicit conversion from TupleType to ArrowAssoc[TupleType] 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. 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
  11. def columnByName: Map[String, Column]

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

    References to the columns

    References to the columns

    Definition Classes
    StructDef
  14. 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
  15. def columns: IndexedSeq[TupleFieldDef]

    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
    TupleTypeStructDef
  16. val componentTypes: TupleFieldDef*

  17. def converterToCassandra: TypeConverter[TupleValue]

    Returns a converter that converts this column to type that can be saved by TableWriter.

    Returns a converter that converts this column to type that can be saved by TableWriter.

    Definition Classes
    TupleTypeColumnType
  18. def converterToCassandra(componentConverters: IndexedSeq[TypeConverter[_ <: AnyRef]]): TypeConverter[TupleValue]

  19. lazy val converterToScala: TypeConverter[TupleValue]

    Returns a converter that converts values to the Scala type associated with this column.

    Returns a converter that converts values to the Scala type associated with this column.

    Definition Classes
    ColumnType
  20. def cqlTypeName: String

    Name of the CQL type.

    Name of the CQL type. Useful for CQL generation.

    Definition Classes
    TupleTypeColumnType
  21. def ensuring(cond: (TupleType) ⇒ Boolean, msg: ⇒ Any): TupleType

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

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

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

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

    Definition Classes
    AnyRef
  26. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  29. def isCollection: Boolean

    Definition Classes
    TupleTypeColumnType
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. 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
  32. 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
    TupleTypeStructDef
  33. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  34. def newInstance(componentValues: Any*): TupleValue

    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
    TupleTypeStructDef
  35. def newInstance(componentConverters: IndexedSeq[TypeConverter[_ <: AnyRef]])(componentValues: Any*): TupleValue

    Creates new tuple from components converted each to the type determined by an appropriate componentType.

    Creates new tuple from components converted each to the type determined by an appropriate componentType. Throws IllegalArgumentException if the number of components does not match the number of components in the tuple type.

  36. final def notify(): Unit

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

    Definition Classes
    AnyRef
  38. def scalaTypeName: String

    Name of the Scala type.

    Name of the Scala type. Useful for source generation.

    Definition Classes
    ColumnType
  39. def scalaTypeTag: scala.reflect.api.JavaUniverse.TypeTag[TupleValue]

    Returns the TypeTag of the Scala type recommended to represent values of this column.

    Returns the TypeTag of the Scala type recommended to represent values of this column.

    Definition Classes
    TupleTypeColumnType
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. final def wait(): Unit

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

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

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

    Implicit information
    This member is added by an implicit conversion from TupleType to ArrowAssoc[TupleType] 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 TupleType 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:
    (tupleType: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from TupleType 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:
    (tupleType: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: TupleType

    Implicit information
    This member is added by an implicit conversion from TupleType to ArrowAssoc[TupleType] 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:
    (tupleType: ArrowAssoc[TupleType]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: TupleType

    Implicit information
    This member is added by an implicit conversion from TupleType to Ensuring[TupleType] 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:
    (tupleType: Ensuring[TupleType]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Product

Inherited from Equals

Inherited from ColumnType[TupleValue]

Inherited from StructDef

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from TupleType to StringAdd

Inherited by implicit conversion any2stringfmt from TupleType to StringFormat

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

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

Ungrouped