com.datastax.spark.connector

types

package types

Offers type conversion magic, so you can receive Cassandra column values in a form you like the most. Simply specify the type you want to use on the Scala side, and the column value will be converted automatically. Works also with complex objects like collections.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. types
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait CanBuildFrom[-Elem, To] extends Serializable

    Serves the same purpose as standard Scala CanBuildFrom, however this one is Serializable.

  2. sealed trait CassandraOption[+A] extends Product with Serializable

    An Optional value with Cassandra in mind.

  3. class ChainedTypeConverter[T] extends NullableTypeConverter[T]

    Chains together several converters converting to the same type.

  4. trait CollectionColumnType[T] extends ColumnType[T]

  5. trait ColumnType[T] extends Serializable

    Serializable representation of column data type.

  6. trait CustomDriverConverter extends AnyRef

  7. case class ListType[T](elemType: ColumnType[T]) extends CollectionColumnType[Vector[T]] with Product with Serializable

  8. case class MapType[K, V](keyType: ColumnType[K], valueType: ColumnType[V]) extends CollectionColumnType[Map[K, V]] with Product with Serializable

  9. trait NullableTypeConverter[T] extends TypeConverter[T]

    Handles nullable types and converts any null to null.

  10. trait PrimitiveColumnType[T] extends ColumnType[T]

  11. case class SetType[T](elemType: ColumnType[T]) extends CollectionColumnType[Set[T]] with Product with Serializable

  12. case class TupleFieldDef(index: Int, columnType: ColumnType[_]) extends FieldDef with Product with Serializable

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

    A type representing typed tuples.

  14. class TypeConversionException extends Exception

  15. trait TypeConverter[T] extends Serializable

    Machinery for converting objects of any type received from Cassandra into objects of Scala types.

  16. case class UDTFieldDef(columnName: String, columnType: ColumnType[_]) extends FieldDef with Product with Serializable

    A Cassandra user defined type field metadata.

  17. case class UserDefinedType(name: String, columns: IndexedSeq[UDTFieldDef]) extends StructDef with ColumnType[UDTValue] with Product with Serializable

    A Cassandra user defined type metadata.

Value Members

  1. object AsciiType extends PrimitiveColumnType[String] with Product with Serializable

  2. object BigIntType extends PrimitiveColumnType[Long] with Product with Serializable

  3. object BlobType extends PrimitiveColumnType[ByteBuffer] with Product with Serializable

  4. object BooleanType extends PrimitiveColumnType[Boolean] with Product with Serializable

  5. object CanBuildFrom extends Serializable

  6. object CassandraOption extends Serializable

  7. object ColumnType extends Serializable

  8. object ColumnTypeConf

  9. object CounterType extends PrimitiveColumnType[Long] with Product with Serializable

  10. object DateType extends PrimitiveColumnType[Int] with Product with Serializable

  11. object DecimalType extends PrimitiveColumnType[BigDecimal] with Product with Serializable

  12. object DoubleType extends PrimitiveColumnType[Double] with Product with Serializable

  13. object FloatType extends PrimitiveColumnType[Float] with Product with Serializable

  14. object InetType extends PrimitiveColumnType[InetAddress] with Product with Serializable

  15. object IntType extends PrimitiveColumnType[Int] with Product with Serializable

  16. object SmallIntType extends PrimitiveColumnType[Short] with Product with Serializable

  17. object TextType extends PrimitiveColumnType[String] with Product with Serializable

  18. object TimeType extends PrimitiveColumnType[Long] with Product with Serializable

  19. object TimeUUIDType extends PrimitiveColumnType[UUID] with Product with Serializable

  20. object TimestampFormatter

    Formats timestamps and dates using CQL timestamp format yyyy-MM-dd HH:mm:ssZ

  21. object TimestampParser

    Parses CQL timestamps.

  22. object TimestampType extends PrimitiveColumnType[Date] with Product with Serializable

  23. object TinyIntType extends PrimitiveColumnType[Byte] with Product with Serializable

  24. object TupleType extends Serializable

  25. object TypeConverter extends Serializable

    Defines a set of converters and implicit functions used to look up an appropriate converter for a desired type.

  26. object UUIDType extends PrimitiveColumnType[UUID] with Product with Serializable

  27. object Unset extends Serializable

    An object representing a column which will be skipped on insert.

  28. object UserDefinedType extends Serializable

  29. object VarCharType extends PrimitiveColumnType[String] with Product with Serializable

  30. object VarIntType extends PrimitiveColumnType[BigInt] with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped