com.newzly.phantom.column

AbstractQueryColumn

sealed abstract class AbstractQueryColumn[T] extends OrderingColumn[T]

A class enforcing columns used in where clauses to be indexed. Using an implicit mechanism, only columns that are indexed can be converted into Indexed columns. This enforces a Cassandra limitation at compile time. It prevents a user from querying and using where operators on a column without any index.

T

The type of the value the column holds.

Linear Supertypes
OrderingColumn[T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractQueryColumn
  2. OrderingColumn
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractQueryColumn(col: AbstractColumn[T])(implicit arg0: CassandraPrimitive[T])

    col

    The column to cast to an IndexedColumn.

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 asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def asc: QueryOrdering

    Definition Classes
    OrderingColumn
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def desc: QueryOrdering

    Definition Classes
    OrderingColumn
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def eqs(value: T): QueryCondition

    The equals operator.

    The equals operator. Will return a match if the value equals the database value.

    value

    The value to search for in the database.

    returns

    A QueryCondition, wrapping a QueryBuilder clause.

  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. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def gt(value: T): QueryCondition

  16. def gte(value: T): QueryCondition

  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def in(values: List[T]): QueryCondition

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def lt(value: T): QueryCondition

  21. def lte(value: T): QueryCondition

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

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

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

    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from OrderingColumn[T]

Inherited from AnyRef

Inherited from Any

Ungrouped