com.outworkers.phantom.builder.ops

PartitionQueryColumn

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

    name

    The name of the column.

Type Members

  1. implicit class RichSession extends SessionAugmenter

    Definition Classes
    SessionAugmenterImplicits

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

  5. def <(value: Condition): clauses.WhereClause.Condition

  6. def <(value: RR): clauses.WhereClause.PartitionCondition

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

  8. def <=(value: Condition): clauses.WhereClause.Condition

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

  10. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  12. final def >(value: PrepareMark): clauses.WhereClause.ParametricCondition[RR]

  13. def >(value: Condition): clauses.WhereClause.Condition

  14. def >(value: RR): clauses.WhereClause.PartitionCondition

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

  16. def >=(value: Condition): clauses.WhereClause.Condition

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

  18. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  19. def clone(): AnyRef

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

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

    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.

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

  23. def eqs(value: RR): clauses.WhereClause.PartitionCondition

  24. def finalize(): Unit

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

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

  27. def gt(value: Condition): clauses.WhereClause.Condition

  28. def gt(value: RR): clauses.WhereClause.PartitionCondition

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

  30. def gte(value: Condition): clauses.WhereClause.Condition

  31. def gte(value: RR): clauses.WhereClause.PartitionCondition

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

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

  34. final def isInstanceOf[T0]: Boolean

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

  36. def lt(value: Condition): clauses.WhereClause.Condition

  37. def lt(value: RR): clauses.WhereClause.PartitionCondition

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

  39. def lte(value: Condition): clauses.WhereClause.Condition

  40. def lte(value: RR): clauses.WhereClause.PartitionCondition

  41. val name: String

    The name of the column.

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

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

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

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

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

    Definition Classes
    AnyRef
  47. final def wait(): Unit

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

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

    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