Class CqlQuerySingleElement<TEntity>
Inheritance
System.Object
CqlQuerySingleElement<TEntity>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Dse.dll
Syntax
public class CqlQuerySingleElement<TEntity> : CqlQueryBase<TEntity>, IInternalStatement, IStatement
Type Parameters
Methods
BeginExecute(AsyncCallback, Object)
Declaration
public IAsyncResult BeginExecute(AsyncCallback callback, object state)
Parameters
Type |
Name |
Description |
System.AsyncCallback |
callback |
|
System.Object |
state |
|
Returns
Type |
Description |
System.IAsyncResult |
|
EndExecute(IAsyncResult)
Declaration
public TEntity EndExecute(IAsyncResult ar)
Parameters
Type |
Name |
Description |
System.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 |
System.String |
executionProfile |
|
Returns
ExecuteAsync()
Declaration
public Task<TEntity> ExecuteAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<TEntity> |
|
ExecuteAsync(String)
Declaration
public Task<TEntity> ExecuteAsync(string executionProfile)
Parameters
Type |
Name |
Description |
System.String |
executionProfile |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TEntity> |
|
GetCql(out Object[])
Declaration
protected override string GetCql(out object[] values)
Parameters
Type |
Name |
Description |
System.Object[] |
values |
|
Returns
Type |
Description |
System.String |
|
Overrides
Dse.Data.Linq.CqlQueryBase<TEntity>.GetCql(System.Object[])
SetConsistencyLevel(Nullable<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
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Implements