com.websudos.phantom.builder.ops

MapKeyUpdateClause

class MapKeyUpdateClause[K, V] extends AnyRef

Class used to provide serialization ability for updating specific keys of a map column. This CQL syntax allows users to manipulate the content of a Cassandra map column.

Example:

Database.table.update.where(_.id eqs id).modify(_.map(key) setTo value).future()
K

The strong type of the key in the map.

V

The strong type of the value in the map.

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

Instance Constructors

  1. new MapKeyUpdateClause(column: String, key: K)(implicit arg0: Primitive[K], arg1: Primitive[V])

    column

    The name of the column to update, derived from MapColumn.apply.

    key

    The type of the key required, strongly typed.

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

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val column: String

    The name of the column to update, derived from MapColumn.

    The name of the column to update, derived from MapColumn.apply.

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

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

    Definition Classes
    Any
  15. val key: K

    The type of the key required, strongly typed.

  16. def keyName: String

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

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

    Definition Classes
    AnyRef
  20. final def setTo(mark: PrepareMark): clauses.PreparedWhereClause.ParametricCondition[V]

    Overloaded variants of setTo that allows using prepared statements for map key updates.

    Overloaded variants of setTo that allows using prepared statements for map key updates. This will only accept the ? global singleton found in com.websudos.phantom.dsl. When used, the final "bind" to the prepared clause will require an additional V type in the provided tuple to match the type of the MapColumn being updated.

    mark

    The value of the prepared mark used.

    returns

    A parametric condition on the value type of the map.

  21. def setTo(v: V): Condition

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

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped