Class CqlScalar<TEntity>
Represents an IQueryable that returns the first column of the first rows
Inheritance
System.Object
CqlScalar<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 CqlScalar<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()
Declaration
Returns
Execute(String)
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 CqlScalar<TEntity> SetConsistencyLevel(ConsistencyLevel? consistencyLevel)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Implements