​Cassandra CQL 3与C#数据类型映射
半野

Cassandra数据库中的数据类型(CQL3)与C#中的数据类型对应关系

CQL3 data type C# type
ascii string
bigint long
blob byte[]
boolean bool
counter long
custom byte[]
date LocalDate(由DataStax C# Driver提供)
decimal decimal
double double
float float
inet IPAddress
int int
list IEnumerable
map IDictionary<K, V>
set IEnumerable
smallint short
text string
time LocalTime (由datastax C# Driver提供)
timestamp DateTimeOffset
timeuuid TimeUuid
tinyint sbyte
uuid Guid
varchar string
varint BigInteger

参考:https://docs.datastax.com/en/developer/csharp-driver/3.7/features/datatypes/

由 Hexo 驱动 & 主题 Keep
总字数 105.7k 访客数 访问量