Class

com.outworkers.phantom.builder.ops

MapKeyUpdateClause

Related Doc: package ops

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    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: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  13. val key: K

    Permalink

    The type of the key required, strongly typed.

  14. def keyName: String

    Permalink
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def setTo(mark: PrepareMark): clauses.WhereClause.ParametricCondition[V]

    Permalink

    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.outworkers.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.

  19. def setTo(v: V): Default

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

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped