Trait

com.outworkers.phantom.column

AbstractColumn

Related Doc: package column

Permalink

trait AbstractColumn[T] extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractColumn
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Value = T

    Permalink

Abstract Value Members

  1. abstract def asCql(v: T): 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.

  2. abstract def cassandraType: String

    Permalink

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

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

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

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

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

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

    Permalink
  12. def isClusteringKey: Boolean

    Permalink
  13. def isCounterColumn: Boolean

    Permalink
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def isMapEntryIndex: Boolean

    Permalink
  16. def isMapKeyIndex: Boolean

    Permalink
  17. def isPartitionKey: Boolean

    Permalink
  18. def isPrimary: Boolean

    Permalink
  19. def isSecondaryKey: Boolean

    Permalink
  20. def isStaticColumn: Boolean

    Permalink
  21. def name: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def qb: CQLQuery

    Permalink
  26. 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.

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped