Class CqlQuerySingleElement<TEntity>
Inheritance
CqlQuerySingleElement<TEntity>
Assembly: Cassandra.dll
Syntax
public class CqlQuerySingleElement<TEntity> : CqlQueryBase<TEntity>, IStatement
Type Parameters
Methods
BeginExecute(AsyncCallback, object)
Declaration
public IAsyncResult BeginExecute(AsyncCallback callback, object state)
Parameters
Returns
EndExecute(IAsyncResult)
Declaration
public TEntity EndExecute(IAsyncResult ar)
Parameters
Returns
Execute()
Evaluates the Linq query, executes the cql statement and returns the first result.
Declaration
Returns
Execute(string)
Evaluates the Linq query, executes the cql statement with the provided execution profile and returns the first result.
Declaration
public TEntity Execute(string executionProfile)
Parameters
Type |
Name |
Description |
string |
executionProfile |
|
Returns
ExecuteAsync()
Declaration
public Task<TEntity> ExecuteAsync()
Returns
Type |
Description |
Task<TEntity> |
|
ExecuteAsync(string)
Declaration
public Task<TEntity> ExecuteAsync(string executionProfile)
Parameters
Type |
Name |
Description |
string |
executionProfile |
|
Returns
Type |
Description |
Task<TEntity> |
|
GetCql(out object[])
Declaration
protected override string GetCql(out object[] values)
Parameters
Type |
Name |
Description |
object[] |
values |
|
Returns
Overrides
SetConsistencyLevel(ConsistencyLevel?)
Declaration
public CqlQuerySingleElement<TEntity> SetConsistencyLevel(ConsistencyLevel? consistencyLevel)
Parameters
Returns
SetSerialConsistencyLevel(ConsistencyLevel)
Declaration
public CqlQuerySingleElement<TEntity> SetSerialConsistencyLevel(ConsistencyLevel consistencyLevel)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements