Was this page helpful?
CQL data types to C# typesΒΆ
When retrieving the value of a column from a Row
object, you use a getter based on the type of the column.
CQL data type |
C# type |
---|---|
ascii |
string |
bigint |
long |
blob |
byte[] |
boolean |
bool |
counter |
long |
custom |
byte[] |
date |
|
decimal |
decimal |
double |
double |
duration |
Duration |
float |
float |
inet |
IPAddress |
int |
int |
list |
IEnumerable<T> |
map |
IDictionary<K, V> |
set |
IEnumerable<T> |
smallint |
short |
text |
string |
time |
|
timestamp |
|
timeuuid |
TimeUuid |
tinyint |
sbyte |
uuid |
Guid |
varchar |
string |
varint |
BigInteger |
vector |