Class CqlScalar<TEntity>
Represents an IQueryable that returns the first column of the first rows
Inheritance
CqlScalar<TEntity>
Assembly: Cassandra.dll
Syntax
public class CqlScalar<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()
Declaration
Returns
Execute(string)
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 CqlScalar<TEntity> SetConsistencyLevel(ConsistencyLevel? consistencyLevel)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements