com.outworkers.phantom.column

MapColumn

class MapColumn[Owner <: CassandraTable[Owner, Record], Record, K, V] extends AbstractMapColumn[Owner, Record, K, V]

Annotations
@implicitNotFound( ... )
Linear Supertypes
AbstractMapColumn[Owner, Record, K, V], CollectionValueDefinition[V], Column[Owner, Record, Map[K, V]], AbstractColumn[Map[K, V]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MapColumn
  2. AbstractMapColumn
  3. CollectionValueDefinition
  4. Column
  5. AbstractColumn
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MapColumn(table: CassandraTable[Owner, Record])(implicit ev: Primitive[Map[K, V]], keyPrimitive: Primitive[K], valuePrimitive: Primitive[V])

Type Members

  1. type Value = Map[K, V]

    Definition Classes
    AbstractColumn

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 apply(mark: PrepareMark)(implicit space: KeySpace): Prepared[K]

  7. def apply(k: K): MapKeyUpdateClause[K, V]

  8. def apply(r: Row): Map[K, V]

    Definition Classes
    AbstractMapColumn → Column
  9. def asCql(v: Map[K, V]): String

    Provides the serialisation mechanism of a value to a CQL string.

    Provides the serialisation mechanism of a value to a CQL string. The vast majority of serializers are fed in via the Primitives mechanism.

    Primitive columns will automatically override and define "asCql" based on the serialization of specific primitives. When T is context bounded by a primitive:

    def asCql(v: T): String = implicitly[Primitive[T]].asCql(value)
    v

    The value of the object to convert to a string.

    returns

    A string that can be directly appended to a CQL query.

    Definition Classes
    AbstractMapColumn → AbstractColumn
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. val cassandraType: String

    Definition Classes
    MapColumnAbstractColumn
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  18. def isAscending: Boolean

    Definition Classes
    AbstractColumn
  19. def isClusteringKey: Boolean

    Definition Classes
    AbstractColumn
  20. def isCounterColumn: Boolean

    Definition Classes
    AbstractColumn
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def isMapEntryIndex: Boolean

    Definition Classes
    AbstractColumn
  23. def isMapKeyIndex: Boolean

    Definition Classes
    AbstractColumn
  24. def isPartitionKey: Boolean

    Definition Classes
    AbstractColumn
  25. def isPrimary: Boolean

    Definition Classes
    AbstractColumn
  26. def isSecondaryKey: Boolean

    Definition Classes
    AbstractColumn
  27. def isStaticColumn: Boolean

    Definition Classes
    AbstractColumn
  28. def keyAsCql(v: K): String

    Definition Classes
    MapColumn → AbstractMapColumn
  29. def name: String

    Definition Classes
    AbstractColumn
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  33. def parse(r: Row): Try[Map[K, V]]

    Definition Classes
    MapColumnColumn
  34. def qb: CQLQuery

    Definition Classes
    MapColumnAbstractColumn
  35. def shouldFreeze: Boolean

    Whether or not this is a compound primitive type that should free if the type of primitive is a collection.

    Whether or not this is a compound primitive type that should free if the type of primitive is a collection.

    This means that Cassandra will serialise your collection to a blob instead of a normal index based collection storage, so things like index access will not be available.

    One such scenario is using a list as part of the primary key, because of how Cassandra works, we need to treat the list as a blob, as if we change its contents we would breach basic rules of serialisation/hashing.

    returns

    A boolean that says whether or not this type should be frozen.

    Definition Classes
    AbstractColumn
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def valueAsCql(v: V): String

    Definition Classes
    MapColumnCollectionValueDefinition
  39. implicit val valuePrimitive: Primitive[V]

  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AbstractMapColumn[Owner, Record, K, V]

Inherited from CollectionValueDefinition[V]

Inherited from Column[Owner, Record, Map[K, V]]

Inherited from AbstractColumn[Map[K, V]]

Inherited from AnyRef

Inherited from Any

Ungrouped