Packages

case class TransactionsQueryConfig extends Product with Serializable

Allows setting a default query configuration for all transactions.

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

Value Members

  1. def productElementNames: Iterator[String]
    Definition Classes
    Product
  2. def scanConsistency(scanConsistency: QueryScanConsistency): TransactionsQueryConfig

    Customizes the default consistency guarantees for all queries inside this transaction.

    Customizes the default consistency guarantees for all queries inside this transaction.

    Tuning the scan consistency allows to trade data "freshness" for latency and vice versa. By default QueryScanConsistency.RequestPlus is used for any queries inside a transaction, which means that the indexer will wait until any indexes used are consistent with all mutations at the time of the query. If this level of consistency is not required, use QueryScanConsistency.NotBounded which will execute the query immediately with whatever data are in the index.

    scanConsistency

    the index scan consistency to be used.

    returns

    a builder with the value set