Class

com.outworkers.phantom.builder.ops

PartitionQueryColumn

Related Doc: package ops

Permalink

case class PartitionQueryColumn[RR](name: String)(implicit p: Primitive[RR]) extends SessionAugmenterImplicits with Product with Serializable

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.

RR

The type of the value the column holds.

name

The name of the column.

Linear Supertypes
Serializable, Serializable, Product, Equals, SessionAugmenterImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartitionQueryColumn
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SessionAugmenterImplicits
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PartitionQueryColumn(name: String)(implicit p: Primitive[RR])

    Permalink

    name

    The name of the column.

Type Members

  1. implicit class RichSession extends SessionAugmenter

    Permalink
    Definition Classes
    SessionAugmenterImplicits

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 <(value: PrepareMark): clauses.WhereClause.ParametricCondition[RR]

    Permalink
  4. def <(value: Condition): clauses.WhereClause.Condition

    Permalink
  5. def <(value: RR): clauses.WhereClause.PartitionCondition

    Permalink
  6. final def <=(value: PrepareMark): clauses.WhereClause.ParametricCondition[RR]

    Permalink
  7. def <=(value: Condition): clauses.WhereClause.Condition

    Permalink
  8. def <=(value: RR): clauses.WhereClause.PartitionCondition

    Permalink
  9. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def >(value: PrepareMark): clauses.WhereClause.ParametricCondition[RR]

    Permalink
  11. def >(value: Condition): clauses.WhereClause.Condition

    Permalink
  12. def >(value: RR): clauses.WhereClause.PartitionCondition

    Permalink
  13. final def >=(value: PrepareMark): clauses.WhereClause.ParametricCondition[RR]

    Permalink
  14. def >=(value: Condition): clauses.WhereClause.Condition

    Permalink
  15. def >=(value: RR): clauses.WhereClause.PartitionCondition

    Permalink
  16. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  17. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  19. final def eqs(value: PrepareMark): clauses.WhereClause.ParametricCondition[RR]

    Permalink

    Equals clause defined for the prepared statement.

    Equals clause defined for the prepared statement. When this prepared clause is applied, the value specified in the WHERE clause can be binded at a later stage.

    Example usage:
    
    Table.select.where(_.id eqs ?)
    
    Will produce
    
    SELECT * FROM KEYSPACE.TABLE WHERE ID = ?
    value

    The prepare mark value to use, the "?" singleton.

    returns

    A where clause with a parametric condition specified.

  20. def eqs(value: Condition): clauses.WhereClause.Condition

    Permalink
  21. def eqs(value: RR): clauses.WhereClause.PartitionCondition

    Permalink
  22. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def gt(value: PrepareMark): clauses.WhereClause.ParametricCondition[RR]

    Permalink
  25. def gt(value: Condition): clauses.WhereClause.Condition

    Permalink
  26. def gt(value: RR): clauses.WhereClause.PartitionCondition

    Permalink
  27. final def gte(value: PrepareMark): clauses.WhereClause.ParametricCondition[RR]

    Permalink
  28. def gte(value: Condition): clauses.WhereClause.Condition

    Permalink
  29. def gte(value: RR): clauses.WhereClause.PartitionCondition

    Permalink
  30. final def in(value: PrepareMark): clauses.WhereClause.ParametricCondition[ListValue[RR]]

    Permalink
  31. def in(values: List[RR])(implicit ev: Primitive[ListValue[RR]]): clauses.WhereClause.PartitionCondition

    Permalink
  32. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  33. final def lt(value: PrepareMark): clauses.WhereClause.ParametricCondition[RR]

    Permalink
  34. def lt(value: Condition): clauses.WhereClause.Condition

    Permalink
  35. def lt(value: RR): clauses.WhereClause.PartitionCondition

    Permalink
  36. final def lte(value: PrepareMark): clauses.WhereClause.ParametricCondition[RR]

    Permalink
  37. def lte(value: Condition): clauses.WhereClause.Condition

    Permalink
  38. def lte(value: RR): clauses.WhereClause.PartitionCondition

    Permalink
  39. val name: String

    Permalink

    The name of the column.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  43. def operator[R](value: R)(fn: (String, String) ⇒ CQLQuery)(implicit arg0: Primitive[R], pp: Primitive[R]): clauses.WhereClause.PartitionCondition

    Permalink
    Attributes
    protected[this]
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SessionAugmenterImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped