Class CqlOperator
Contains methods to use as Linq operators.
Inheritance
object
CqlOperator
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Assembly: Cassandra.dll
Syntax
public static class CqlOperator
Methods
Append<T>(T)
Represents the CQL add assign (+=) operator for collections
Declaration
public static T Append<T>(T value) where T : IEnumerable
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Type Parameters
Prepend<T>(T)
Represents the CQL prepend operator for collections (col1 = ? + col1)
Declaration
public static T Prepend<T>(T value) where T : IEnumerable
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Type Parameters
SubstractAssign<T>(T)
Represents the CQL operator to remove an item from lists and sets (col1 = col1 - ?).
Declaration
public static T SubstractAssign<T>(T value) where T : IEnumerable
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Type Parameters
SubstractAssign<TKey, TValue>(Dictionary<TKey, TValue>, params TKey[])
Represents the CQL operator to remove an item from a map (col1 = col1 - ?).
Declaration
public static Dictionary<TKey, TValue> SubstractAssign<TKey, TValue>(this Dictionary<TKey, TValue> map, params TKey[] value)
Parameters
Type |
Name |
Description |
Dictionary<TKey, TValue> |
map |
|
TKey[] |
value |
|
Returns
Type |
Description |
Dictionary<TKey, TValue> |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
SubstractAssign<TKey, TValue>(IDictionary<TKey, TValue>, params TKey[])
Represents the CQL operator to remove an item from a map (col1 = col1 - ?).
Declaration
public static IDictionary<TKey, TValue> SubstractAssign<TKey, TValue>(this IDictionary<TKey, TValue> map, params TKey[] value)
Parameters
Type |
Name |
Description |
IDictionary<TKey, TValue> |
map |
|
TKey[] |
value |
|
Returns
Type |
Description |
IDictionary<TKey, TValue> |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
SubstractAssign<TKey, TValue>(SortedDictionary<TKey, TValue>, params TKey[])
Represents the CQL operator to remove an item from a map (col1 = col1 - ?).
Declaration
public static SortedDictionary<TKey, TValue> SubstractAssign<TKey, TValue>(this SortedDictionary<TKey, TValue> map, params TKey[] value)
Parameters
Type |
Name |
Description |
SortedDictionary<TKey, TValue> |
map |
|
TKey[] |
value |
|
Returns
Type |
Description |
SortedDictionary<TKey, TValue> |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|