Class CqlQuerySingleElement<TEntity>
Inheritance
object
CqlQuerySingleElement<TEntity>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
Type |
Name |
Description |
AsyncCallback |
callback |
|
object |
state |
|
Returns
Type |
Description |
IAsyncResult |
|
EndExecute(IAsyncResult)
Declaration
public TEntity EndExecute(IAsyncResult ar)
Parameters
Type |
Name |
Description |
IAsyncResult |
ar |
|
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
Cassandra.Data.Linq.CqlQueryBase<TEntity>.GetCql(out object[])
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
object.ToString()
Implements