Click or drag to resize

ICqlQueryAsyncClient Interface

A client capable of querying (reading) POCOs from a Cassandra cluster.

Namespace:  Dse.Mapping
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public interface ICqlQueryAsyncClient
Methods
  NameDescription
Public methodFetchAsyncT(Cql)
Gets a list of T from Cassandra using the CQL statement specified.
Public methodFetchAsyncT(CqlQueryOptions)
Gets a list of all T from Cassandra.
Public methodFetchAsyncT(String, Object)
Gets a list of T from Cassandra using the CQL statement and parameter values specified.
Public methodFetchPageAsyncT(Cql)
Gets a paged list of T results from Cassandra. Suitable for manually page through all the results of a query.
Public methodFetchPageAsyncT(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 methodFetchPageAsyncT(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 methodFirstAsyncT(Cql)
Gets the first T from Cassandra using the CQL specified. Will throw if no records are returned.
Public methodFirstAsyncT(String, Object)
Gets the first T from Cassandra using the CQL statement and parameter values specified. Will throw if no records are returned.
Public methodFirstOrDefaultAsyncT(Cql)
Gets the first T from Cassandra using the CQL specified. Will return the default value of T if no records are found.
Public methodFirstOrDefaultAsyncT(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 methodSingleAsyncT(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 methodSingleAsyncT(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 methodSingleOrDefaultAsyncT(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 methodSingleOrDefaultAsyncT(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