Class

io.scalajs.npm.cassandradriver

ClientExtensions

Related Doc: package cassandradriver

Permalink

implicit final class ClientExtensions extends AnyVal

Client Extensions

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClientExtensions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClientExtensions(client: Client)

    Permalink

    client

    the given Client

Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def batchFuture(queries: Array[BatchUpdate], options: |[QueryOptions, RawOptions] = null): Future[Unit]

    Permalink

    Allows you can execute multiple statements in a batch to update/insert several rows atomically even in different column families.

    Allows you can execute multiple statements in a batch to update/insert several rows atomically even in different column families.

    queries

    the given array of queries

    options

    the given query options

    returns

    the promise of an error result

    Annotations
    @inline()
  6. val client: Client

    Permalink

    the given Client

  7. def eachRowFuture[T](query: String, params: CassandraParams, options: |[QueryOptions, RawOptions] = null): Future[(Int, T)]

    Permalink

    Executes the query; invoking the callback function for each row of the result

    Executes the query; invoking the callback function for each row of the result

    query

    the given query

    params

    the given query parameters

    options

    the optional query options

    returns

    the promise of a result

    Annotations
    @inline()
  8. def executeFuture(query: String, params: CassandraParams): Future[Dictionary[_]]

    Permalink

    Executes the query and returns the full result set to the callback function

    Executes the query and returns the full result set to the callback function

    query

    the given query

    params

    the given query parameters

    returns

    the promise of a result

    Annotations
    @inline()
  9. def executeFuture(query: String, params: CassandraParams, options: |[QueryOptions, RawOptions]): Future[Dictionary[_]]

    Permalink

    Executes the update statement and returns the full result set to the callback function

    Executes the update statement and returns the full result set to the callback function

    query

    the given query

    params

    the given query parameters

    options

    the optional query options

    returns

    the promise of a result

    Annotations
    @inline()
  10. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. def onLog(callback: Function4[String, String, String, String, Any]): client.type

    Permalink

    Handles emitted "log" events

    Handles emitted "log" events

    Annotations
    @inline()
    Example:
    1. client.on('log', function(level, className, message, furtherInfo) { ... })

  13. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped