Trait/Object

spinoco.fs2.cassandra

Query

Related Docs: object Query | package cassandra

Permalink

trait Query[Q, R] extends CStatement[Q]

Defines CQL Query that can be run against the C* table.

Self Type
Query[Q, R]
Source
statement.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Query
  2. CStatement
  3. AnyRef
  4. Any
Implicitly
  1. by QuerySyntaxRH
  2. by QuerySyntaxQH
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def cqlFor(q: Q): String

    Permalink

    function that writes query to their CQL representations *

  2. abstract def cqlStatement: String

    Permalink

    raw cql statement *

    raw cql statement *

    Definition Classes
    QueryCStatement
  3. abstract def fill(i: Q, s: PreparedStatement, protocolVersion: ProtocolVersion): BoundStatement

    Permalink

    fills prepared statement with any I to form bound statement *

    fills prepared statement with any I to form bound statement *

    Definition Classes
    CStatement
  4. abstract def read(r: Row, protocolVersion: ProtocolVersion): Either[Throwable, R]

    Permalink

    function that read values from the row with converting them to R or presenting read failure *

  5. abstract def writeRaw(q: Q, protocolVersion: ProtocolVersion): Map[String, ByteBuffer]

    Permalink

    function that writes query to their raw values *

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to any2stringadd[Query[Q, R]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Query[Q, R], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to ArrowAssoc[Query[Q, R]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def as[A](implicit G: Aux[A, R]): Query[Q, A]

    Permalink

    converts result of query to to A *

    converts result of query to to A *

    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to QuerySyntaxRH[Q, R] performed by method QuerySyntaxRH in spinoco.fs2.cassandra.Query. This conversion will take place only if R is a subclass of HList (R <: HList).
    Definition Classes
    QuerySyntaxRH
  7. def asA[A](implicit V: Aux[R, ::[A, HNil]]): Query[Q, A]

    Permalink

    returns the result as single A if the hlist if of single element *

    returns the result as single A if the hlist if of single element *

    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to QuerySyntaxRH[Q, R] performed by method QuerySyntaxRH in spinoco.fs2.cassandra.Query. This conversion will take place only if R is a subclass of HList (R <: HList).
    Definition Classes
    QuerySyntaxRH
  8. def asHlist(implicit V: Values[R]): Query[Q, Out]

    Permalink

    returns result as Hlist, stripping any key types *

    returns result as Hlist, stripping any key types *

    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to QuerySyntaxRH[Q, R] performed by method QuerySyntaxRH in spinoco.fs2.cassandra.Query. This conversion will take place only if R is a subclass of HList (R <: HList).
    Definition Classes
    QuerySyntaxRH
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def asTuple(implicit T: Tupler[R]): Query[Q, shapeless.ops.hlist.Tupler.Out]

    Permalink

    returns result as tuple *

    returns result as tuple *

    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to QuerySyntaxRH[Q, R] performed by method QuerySyntaxRH in spinoco.fs2.cassandra.Query. This conversion will take place only if R is a subclass of HList (R <: HList).
    Definition Classes
    QuerySyntaxRH
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def ensuring(cond: (Query[Q, R]) ⇒ Boolean, msg: ⇒ Any): Query[Q, R]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to Ensuring[Query[Q, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (Query[Q, R]) ⇒ Boolean): Query[Q, R]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to Ensuring[Query[Q, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): Query[Q, R]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to Ensuring[Query[Q, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): Query[Q, R]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to Ensuring[Query[Q, R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to StringFormat[Query[Q, R]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. def from[A](implicit G: Aux[A, Q]): Query[A, R]

    Permalink

    converts query to read queried parameters from A instead of Q *

    converts query to read queried parameters from A instead of Q *

    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to QuerySyntaxQH[Q, R] performed by method QuerySyntaxQH in spinoco.fs2.cassandra.Query. This conversion will take place only if Q is a subclass of HList (Q <: HList).
    Definition Classes
    QuerySyntaxQH
  21. def fromA[A](implicit V: Aux[Q, ::[A, HNil]]): Query[A, R]

    Permalink

    converts query to read from single A if input requires only single parameter *

    converts query to read from single A if input requires only single parameter *

    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to QuerySyntaxQH[Q, R] performed by method QuerySyntaxQH in spinoco.fs2.cassandra.Query. This conversion will take place only if Q is a subclass of HList (Q <: HList).
    Definition Classes
    QuerySyntaxQH
  22. def fromHList[L <: HList](implicit V: Aux[Q, L]): Query[L, R]

    Permalink

    reads from given supplied HList.

    reads from given supplied HList. value types must be in same order as Q record *

    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to QuerySyntaxQH[Q, R] performed by method QuerySyntaxQH in spinoco.fs2.cassandra.Query. This conversion will take place only if Q is a subclass of HList (Q <: HList).
    Definition Classes
    QuerySyntaxQH
  23. def fromTuple[T](implicit T: Aux[T, Q]): Query[T, R]

    Permalink

    reads delete from supplied tuple.

    reads delete from supplied tuple. Explicit tuple type must be provided *

    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to QuerySyntaxQH[Q, R] performed by method QuerySyntaxQH in spinoco.fs2.cassandra.Query. This conversion will take place only if Q is a subclass of HList (Q <: HList).
    Definition Classes
    QuerySyntaxQH
  24. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def map[O](f: (R) ⇒ O): Query[Q, O]

    Permalink

    allows to modify output result by f *

  28. def mapIn[I](f: (I) ⇒ Q): Query[I, R]

    Permalink

    allows to modify input Query by f *

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def [B](y: B): (Query[Q, R], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to ArrowAssoc[Query[Q, R]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Query[Q, R]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to QuerySyntaxRH[Q, R] performed by method QuerySyntaxRH in spinoco.fs2.cassandra.Query. This conversion will take place only if R is a subclass of HList (R <: HList).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (query: QuerySyntaxRH[Q, R]).self
    Definition Classes
    QuerySyntaxRH
  2. val self: Query[Q, R]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Query[Q, R] to QuerySyntaxQH[Q, R] performed by method QuerySyntaxQH in spinoco.fs2.cassandra.Query. This conversion will take place only if Q is a subclass of HList (Q <: HList).
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (query: QuerySyntaxQH[Q, R]).self
    Definition Classes
    QuerySyntaxQH

Inherited from CStatement[Q]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion QuerySyntaxRH from Query[Q, R] to QuerySyntaxRH[Q, R]

Inherited by implicit conversion QuerySyntaxQH from Query[Q, R] to QuerySyntaxQH[Q, R]

Inherited by implicit conversion any2stringadd from Query[Q, R] to any2stringadd[Query[Q, R]]

Inherited by implicit conversion StringFormat from Query[Q, R] to StringFormat[Query[Q, R]]

Inherited by implicit conversion Ensuring from Query[Q, R] to Ensuring[Query[Q, R]]

Inherited by implicit conversion ArrowAssoc from Query[Q, R] to ArrowAssoc[Query[Q, R]]

Ungrouped