Class

spinoco.fs2.cassandra

DMLOptions

Related Doc: package cassandra

Permalink

case class DMLOptions(consistencyLevel: Option[ConsistencyLevel], serialConsistencyLevel: Option[ConsistencyLevel], tracing: Option[Boolean], retryPolicy: Option[RetryPolicy], defaultTimeStamp: Option[Long], idempotent: Option[Boolean]) extends Options with Product with Serializable

Source
options.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DMLOptions
  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 DMLOptions(consistencyLevel: Option[ConsistencyLevel], serialConsistencyLevel: Option[ConsistencyLevel], tracing: Option[Boolean], retryPolicy: Option[RetryPolicy], defaultTimeStamp: Option[Long], idempotent: Option[Boolean])

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from DMLOptions to ArrowAssoc[DMLOptions] 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. val defaultTimeStamp: Option[Long]

    Permalink
  10. def enableTracing: DMLOptions

    Permalink

    Enables tracing for this DML statement *

  11. def ensuring(cond: (DMLOptions) ⇒ Boolean, msg: ⇒ Any): DMLOptions

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  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 DMLOptions to StringFormat[DMLOptions] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. val idempotent: Option[Boolean]

    Permalink
  20. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. val retryPolicy: Option[RetryPolicy]

    Permalink
  25. val serialConsistencyLevel: Option[ConsistencyLevel]

    Permalink
  26. def setIdempotent(idempotent: Boolean): DMLOptions

    Permalink

    Whether this statement is idempotent, i.e.

    Whether this statement is idempotent, i.e. whether it can be applied multiple times without changing the result beyond the initial application.

    Overrides default behaviour, where statement is idempotnet when - it updates counter - it prepends / appends to the list - uses function call

  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): DMLOptions

    Permalink

    Sets the consistency level for the DML statement.

  33. def withDefaultTimeStamp(ts: Long): DMLOptions

    Permalink

    Sets the default timestamp for this query (in microseconds since the epoch).

    Sets the default timestamp for this query (in microseconds since the epoch).

    This feature is only available when version V3 or higher of the native protocol is in use. With earlier versions, calling this method has no effect.

    The actual timestamp that will be used for this query is, in order of preference:

    the timestamp specified directly in the CQL query string (using the USING TIMESTAMP syntax) the timestamp specified through this method, if different from Long#MIN_VALUE; the timestamp returned by the TimestampGenerator currently in use, if different from Long#MIN_VALUE.

    If none of these apply, no timestamp will be sent with the query and Cassandra will generate a server-side one (similar to the pre-V3 behavior).

  34. def withRetryPolicy(policy: RetryPolicy): DMLOptions

    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.

  35. def withSerialConsistencyLevel(level: ConsistencyLevel): DMLOptions

    Permalink

    Sets the serial consistency level for the query.

    Sets the serial consistency level for the query.

    The serial consistency level is only used by conditional updates (INSERT, UPDATE or DELETE statements with an IF condition). For those, the serial consistency level defines the consistency level of the serial phase (or "paxos" phase) while the normal consistency level defines the consistency for the "learn" phase, i.e. what type of reads will be guaranteed to see the update right away. For instance, if a conditional write has a regular consistency of QUORUM (and is successful), then a QUORUM read is guaranteed to see that write. But if the regular consistency of that write is ANY, then only a read with a consistency of SERIAL is guaranteed to see it (even a read with consistency ALL is not guaranteed to be enough).

    The serial consistency can only be one of ConsistencyLevel.SERIAL or ConsistencyLevel.LOCAL_SERIAL. While ConsistencyLevel.SERIAL guarantees full linearizability (with other SERIAL updates), ConsistencyLevel.LOCAL_SERIAL only guarantees it in the local data center.

    The serial consistency level is ignored for any query that is not a conditional update (serial reads should use the regular consistency level for instance).

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from DMLOptions to ArrowAssoc[DMLOptions] 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 DMLOptions to any2stringadd[DMLOptions]

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

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

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

Ungrouped