Class

spinoco.fs2.cassandra

QueryOptions

Related Doc: package cassandra

Permalink

case class QueryOptions(consistencyLevel: Option[ConsistencyLevel], tracing: Option[Boolean], retryPolicy: Option[RetryPolicy], fetchSize: Option[Int], readTimeout: Option[FiniteDuration], pagingState: Option[PagingState]) extends Options with Product with Serializable

Source
options.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryOptions
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Options
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryOptions(consistencyLevel: Option[ConsistencyLevel], tracing: Option[Boolean], retryPolicy: Option[RetryPolicy], fetchSize: Option[Int], readTimeout: Option[FiniteDuration], pagingState: Option[PagingState])

    Permalink

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 QueryOptions to any2stringadd[QueryOptions] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (QueryOptions, B)

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val consistencyLevel: Option[ConsistencyLevel]

    Permalink
  9. def enableTracing: QueryOptions

    Permalink

    Enables tracing for this Query *

  10. def ensuring(cond: (QueryOptions) ⇒ Boolean, msg: ⇒ Any): QueryOptions

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. val fetchSize: Option[Int]

    Permalink
  16. def finalize(): Unit

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from QueryOptions to StringFormat[QueryOptions] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. val pagingState: Option[PagingState]

    Permalink
  24. val readTimeout: Option[FiniteDuration]

    Permalink
  25. val retryPolicy: Option[RetryPolicy]

    Permalink
  26. def startFrom(page: PagingState): QueryOptions

    Permalink

    Sets paging state.

    Sets paging state. See java driver documentation about paging (http://datastax.github.io/java-driver/manual/paging/). To be used with page methods on cassandra session.

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. val tracing: Option[Boolean]

    Permalink
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def withConsistencyLevel(level: ConsistencyLevel): QueryOptions

    Permalink

    Sets the consistency level for the Query.

  33. def withFetchSize(sz: Int): QueryOptions

    Permalink

    Sets the query fetch size.

    Sets the query fetch size.

    The fetch size controls how much resulting rows will be retrieved simultaneously (the goal being to avoid loading too much results in memory for queries yielding large results). Please note that while value as low as 1 can be used, it is *highly* discouraged to use such a low value in practice as it will yield very poor performance. If in doubt, leaving the default is probably a good idea.

  34. def withReadTimeout(timeout: FiniteDuration): QueryOptions

    Permalink

    Overrides the default per-host read timeout (SocketOptions#getReadTimeoutMillis()) for this statement.

    Overrides the default per-host read timeout (SocketOptions#getReadTimeoutMillis()) for this statement. You should override this only for statements for which the coordinator may allow a longer server-side timeout (for example aggregation queries).

  35. def withRetryPolicy(policy: RetryPolicy): QueryOptions

    Permalink

    Sets the retry policy to use for this query.

    Sets the retry policy to use for this query. The default retry policy, if this method is not called, is the one returned by com.datastax.driver.core.policies.Policies#getRetryPolicy in the cluster configuration. This method is thus only useful in case you want to punctually override the default policy for this request.

  36. def [B](y: B): (QueryOptions, B)

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Options

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from QueryOptions to any2stringadd[QueryOptions]

Inherited by implicit conversion StringFormat from QueryOptions to StringFormat[QueryOptions]

Inherited by implicit conversion Ensuring from QueryOptions to Ensuring[QueryOptions]

Inherited by implicit conversion ArrowAssoc from QueryOptions to ArrowAssoc[QueryOptions]

Ungrouped