com.datastax.spark.connector

mapper

package mapper

Provides machinery for mapping Cassandra tables to user defined Scala classes or tuples. The main class in this package is mapper.ColumnMapper responsible for matching Scala object's properties with Cassandra column names.

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

Type Members

  1. trait ColumnMapForReading extends Serializable

    A column map for reading objects from Cassandra.

  2. trait ColumnMapForWriting extends Serializable

    A column map for saving objects to Cassandra.

  3. trait ColumnMapper[T] extends AnyRef

    Produces ColumnMapForReading or ColumnMapForWriting objects that map class T properties to columns in a given Cassandra table.

  4. class DefaultColumnMapper[T] extends ColumnMapper[T]

    A ColumnMapper that assumes camel case naming convention for property accessors and constructor names and underscore naming convention for column names.

  5. class JavaBeanColumnMapper[T] extends ReflectionColumnMapper[T]

  6. trait LowPriorityColumnMapper extends AnyRef

    Provides implicit ColumnMapper used for mapping all non-tuple classes.

  7. abstract class ReflectionColumnMapper[T] extends ColumnMapper[T]

  8. case class SimpleColumnMapForReading(constructor: Seq[ColumnRef], setters: Map[String, ColumnRef], allowsNull: Boolean = false) extends ColumnMapForReading with Product with Serializable

  9. case class SimpleColumnMapForWriting(getters: Map[String, ColumnRef]) extends ColumnMapForWriting with Product with Serializable

  10. class TupleColumnMapper[T] extends ColumnMapper[T]

Value Members

  1. object ColumnMapper extends LowPriorityColumnMapper

    Provides implicit ColumnMapper objects used for mapping tuples.

  2. object ColumnMapperConvention

  3. object DefaultColumnMapper

  4. object JavaBeanColumnMapper

Inherited from AnyRef

Inherited from Any

Ungrouped