Class CqlScalar<TEntity>
Represents an IQueryable that returns the first column of the first rows
Inheritance
object
CqlScalar<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 CqlScalar<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()
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
Cassandra.Data.Linq.CqlQueryBase<TEntity>.GetCql(out object[])
SetConsistencyLevel(ConsistencyLevel?)
Declaration
public CqlScalar<TEntity> SetConsistencyLevel(ConsistencyLevel? consistencyLevel)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
object.ToString()
Implements