Click or drag to resize

CqlQueryExtensions Class

Inheritance Hierarchy
SystemObject
  Dse.Data.LinqCqlQueryExtensions

Namespace:  Dse.Data.Linq
Assembly:  Dse (in Dse.dll) Version: 2.9.0
Syntax
C#
public static class CqlQueryExtensions

The CqlQueryExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAllowFilteringTSource
The ALLOW FILTERING option allows to explicitly allow queries that require filtering. Please note that a query using ALLOW FILTERING may thus have unpredictable performance (for the definition above), i.e. even a query that selects a handful of records may exhibit performance that depends on the total amount of data stored in the cluster.
Public methodStatic memberCountTSource
Returns the number of rows matching the query. To execute this CqlScalar use Execute() method.
Public methodStatic memberDeleteTSource
Returns a representation of a DELETE cql statement
Public methodStatic memberDeleteIfTSource
Returns a representation of a DELETE ... IF ... cql statement, for Lightweight Transactions support
Public methodStatic memberFirstTSource(CqlQueryTSource)
Returns a CqlQuery which after execution will return the first element in a sequence. To execute this CqlQuery use Execute() method.
Public methodStatic memberFirstTSource(TableTSource, ExpressionFuncTSource, Boolean)
Returns a CqlQuery which after execution returns the first element in a sequence that satisfies a specified condition. To execute this CqlQuery use Execute() method.
Public methodStatic memberFirstOrDefaultTSource(CqlQueryTSource)
Returns a CqlQuery which after execution will return the first element of a sequence, or a default value if the sequence contains no elements. To execute this CqlQuery use Execute() method.
Public methodStatic memberFirstOrDefaultTSource(TableTSource, ExpressionFuncTSource, Boolean)
Returns a CqlQuery which after execution will return the first element of the sequence that satisfies a condition or a default value if no such element is found. To execute this CqlQuery use Execute() method.
Public methodStatic memberGroupByTKey, TSource
Returns a CqlQuery which after execution returns grouped sequence of values based on a predicate. To execute this CqlQuery use Execute() method.
Public methodStatic memberOrderByTSource, TKey
Sorts the elements, which are returned from CqlQuery, in ascending order according to a key.
Public methodStatic memberOrderByDescendingTSource, TKey
Sorts the elements, which are returned from CqlQuery, in ascending order according to a key.
Public methodStatic memberSelectTSource, TResult(CqlQueryTSource, ExpressionFuncTSource, TResult)
Projects each element of a sequence into a new form.
Public methodStatic memberSelectTGroup, TSource, TResult(CqlQueryIGroupingTGroup, TSource, ExpressionFuncIGroupingTGroup, TSource, TResult)
Public methodStatic memberTakeTSource
Returns a CqlQuery which after execution will return IEnumerable<TSource> with specified number of contiguous elements from the start of a sequence. To execute this CqlQuery use Execute() method.
Public methodStatic memberThenByTSource, TKey
Sorts the elements, which are returned from CqlQuery, in ascending order according to a key.
Public methodStatic memberThenByDescendingTSource, TKey
Sorts the elements, which are returned from CqlQuery, in descending order according to a key.
Public methodStatic memberUpdateTSource
Returns a representation of a UPDATE cql statement
Public methodStatic memberUpdateIfTSource
Returns a representation of a UPDATE ... IF ... cql statement, for Lightweight Transactions support
Public methodStatic memberUpdateIfExistsTSource
Returns a representation of a UPDATE ... IF EXISTS cql statement, for Lightweight Transactions support.
Public methodStatic memberWhereTSource
Returns a CqlQuery which after execution returns filtered sequence of values based on a predicate. To execute this CqlQuery use Execute() method.
Top
See Also