com.outworkers.phantom.column

JsonColumn

abstract class JsonColumn[T <: CassandraTable[T, R], R, ValueType] extends Column[T, R, ValueType] with JsonDefinition[ValueType]

Linear Supertypes
JsonDefinition[ValueType], Column[T, R, ValueType], AbstractColumn[ValueType], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsonColumn
  2. JsonDefinition
  3. Column
  4. AbstractColumn
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsonColumn(table: CassandraTable[T, R])

Type Members

  1. type Value = ValueType

    Definition Classes
    AbstractColumn

Abstract Value Members

  1. abstract def fromJson(obj: String): ValueType

    Definition Classes
    JsonDefinition
  2. abstract def toJson(obj: ValueType): String

    Definition Classes
    JsonDefinition

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

    Definition Classes
    Column
  7. def asCql(value: ValueType): 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)
    returns

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

    Definition Classes
    JsonColumnAbstractColumn
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val cassandraType: String

    Definition Classes
    JsonColumnAbstractColumn
  10. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def fromString(c: String): ValueType

    Definition Classes
    JsonDefinition
  15. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  17. def isAscending: Boolean

    Definition Classes
    AbstractColumn
  18. def isClusteringKey: Boolean

    Definition Classes
    AbstractColumn
  19. def isCounterColumn: Boolean

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

    Definition Classes
    Any
  21. def isMapEntryIndex: Boolean

    Definition Classes
    AbstractColumn
  22. def isMapKeyIndex: Boolean

    Definition Classes
    AbstractColumn
  23. def isPartitionKey: Boolean

    Definition Classes
    AbstractColumn
  24. def isPrimary: Boolean

    Definition Classes
    AbstractColumn
  25. def isSecondaryKey: Boolean

    Definition Classes
    AbstractColumn
  26. def isStaticColumn: Boolean

    Definition Classes
    AbstractColumn
  27. def name: String

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

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

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

    Definition Classes
    AnyRef
  31. def parse(row: Row): Try[ValueType]

    Definition Classes
    JsonColumnColumn
  32. def qb: CQLQuery

    Definition Classes
    AbstractColumn
  33. 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
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def valueAsCql(obj: ValueType): String

    Definition Classes
    JsonDefinition
  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsonDefinition[ValueType]

Inherited from Column[T, R, ValueType]

Inherited from AbstractColumn[ValueType]

Inherited from AnyRef

Inherited from Any

Ungrouped