Class

com.outworkers.phantom.column

PrimitiveColumn

Related Doc: package column

Permalink

class PrimitiveColumn[T <: CassandraTable[T, R], R, RR] extends Column[T, R, RR]

Annotations
@implicitNotFound( ... )
Linear Supertypes
Column[T, R, RR], AbstractColumn[RR], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrimitiveColumn
  2. Column
  3. AbstractColumn
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PrimitiveColumn(t: CassandraTable[T, R])(implicit ev: Primitive[RR])

    Permalink

Type Members

  1. type Value = RR

    Permalink
    Definition Classes
    AbstractColumn

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. def apply(r: Row): RR

    Permalink
    Definition Classes
    Column
  5. def asCql(v: RR): String

    Permalink

    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
    PrimitiveColumnAbstractColumn
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def cassandraType: String

    Permalink
    Definition Classes
    PrimitiveColumnAbstractColumn
  8. def clone(): AnyRef

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def isAscending: Boolean

    Permalink
    Definition Classes
    AbstractColumn
  15. def isClusteringKey: Boolean

    Permalink
    Definition Classes
    AbstractColumn
  16. def isCounterColumn: Boolean

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

    Permalink
    Definition Classes
    Any
  18. def isMapEntryIndex: Boolean

    Permalink
    Definition Classes
    AbstractColumn
  19. def isMapKeyIndex: Boolean

    Permalink
    Definition Classes
    AbstractColumn
  20. def isPartitionKey: Boolean

    Permalink
    Definition Classes
    AbstractColumn
  21. def isPrimary: Boolean

    Permalink
    Definition Classes
    AbstractColumn
  22. def isSecondaryKey: Boolean

    Permalink
    Definition Classes
    AbstractColumn
  23. def isStaticColumn: Boolean

    Permalink
    Definition Classes
    AbstractColumn
  24. def name: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def parse(r: Row): Try[RR]

    Permalink
    Definition Classes
    PrimitiveColumnColumn
  29. def qb: CQLQuery

    Permalink
    Definition Classes
    PrimitiveColumnAbstractColumn
  30. def shouldFreeze: Boolean

    Permalink

    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
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. val table: CassandraTable[T, R]

    Permalink
    Definition Classes
    Column
  33. def toString(): String

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

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

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

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

Inherited from Column[T, R, RR]

Inherited from AbstractColumn[RR]

Inherited from AnyRef

Inherited from Any

Ungrouped