Click or drag to resize

ICqlQueryClient Interface

The contract for synchronous read operations.

Namespace:  Cassandra.Mapping
Assembly:  Cassandra (in Cassandra.dll) Version: 3.10.0
Syntax
C#
public interface ICqlQueryClient
Methods
  NameDescription
Public methodFetch<T>(Cql)
Gets a list of T from Cassandra using the CQL statement specified.
Public methodFetch<T>(CqlQueryOptions)
Gets a list of all T from Cassandra.
Public methodFetch<T>(String,Object[])
Gets a list of T from Cassandra using the CQL statement and parameter values specified.
Public methodFetchPage<T>(Cql)
Gets a paged list of T results from Cassandra. Suitable for manually page through all the results of a query.
Public methodFetchPage<T>(CqlQueryOptions)
Gets a paged list of T results from Cassandra using the CQL statement specified. Suitable for manually page through all the results of a query.
Public methodFetchPage<T>(Int32,Byte[], String,Object[])
Gets a paged list of T results from Cassandra. Suitable for manually page through all the results of a query.
Public methodFirst<T>(Cql)
Gets the first T from Cassandra using the CQL statement specified. Will throw if no records are returned.
Public methodFirst<T>(String,Object[])
Gets the first T from Cassandra using the CQL statement and parameter values specified. Will throw if no records are returned.
Public methodFirstOrDefault<T>(Cql)
Gets the first T from Cassandra using the CQL statement specified. Will return the default value of T if no records are found.
Public methodFirstOrDefault<T>(String,Object[])
Gets the first T from Cassandra using the CQL statement and parameter values specified. Will return the default value of T is no records are found.
Public methodSingle<T>(Cql)
Gets a single T from Cassandra using the CQL statement specified. Will throw if no records or more than one record is returned.
Public methodSingle<T>(String,Object[])
Gets a single T from Cassandra using the CQL statement and parameter values specified. Will throw if no records or more than one record is returned.
Public methodSingleOrDefault<T>(Cql)
Gets a single T from Cassandra using the CQL statement specified. Will return the default value of T if no records are found. Will throw if more than one record is returned.
Public methodSingleOrDefault<T>(String,Object[])
Gets a single T from Cassandra using the CQL statement and parameter values specified. Will return the default value of T if no records are found. Will throw if more than one record is returned.
Top
See Also