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
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 ColumnMap extends Serializable

    Associates constructor parameters and property accessors with table columns

  2. trait ColumnMapper[T] extends Serializable

    Produces ColumnMap objects that map class T properties to columns in a given Cassandra table.

  3. sealed trait ColumnRef extends AnyRef

    Unambiguous reference to a column in the query result set row.

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

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

  5. case class IndexedColumnRef(index: Int) extends ColumnRef with Product with Serializable

    References a column by its index in the row.

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

  7. trait LowPriorityColumnMapper extends AnyRef

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

  8. case class NamedColumnRef(name: String) extends ColumnRef with Product with Serializable

    References a column by name.

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

  10. case class SimpleColumnMap(constructor: Seq[ColumnRef], getters: Map[String, ColumnRef], setters: Map[String, ColumnRef]) extends ColumnMap with Product with Serializable

  11. class TupleColumnMapper[T <: Product] extends ColumnMapper[T]

Value Members

  1. object ColumnMapper extends LowPriorityColumnMapper with Serializable

    Provides implicit ColumnMapper objects used for mapping tuples.

  2. object DefaultColumnMapper extends Serializable

  3. object JavaBeanColumnMapper extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped