Failure Type | +Action | +
---|---|
Read Timeout | +Retry if the number of received responses is greater than or equal to the + number of required responses, but the data was not received. Returns and + error in all other cases. | +
Write Timeout | +Retry only if the request is a logged batch request and the request failed to + write the batch log. Returns an error in all other cases. | +
Unavailable | +Retries the request using the next host in the query plan. | +
Failure Type | +Action | +
---|---|
Read Timeout | +Return error | +
Write Timeout | +Return error | +
Unavailable | +Return error | +
Level | +Driver | +
---|---|
All | +CASS_CONSISTENCY_ALL |
+
Each Quorum | +CASS_CONSISTENCY_EACH_QUORUM |
+
Quorum | +CASS_CONSISTENCY_QUORUM |
+
Local Quorum | +CASS_CONSISTENCY_LOCAL_QUORUM |
+
One | +CASS_CONSISTENCY_ONE |
+
Two | +CASS_CONSISTENCY_TWO |
+
Three | +CASS_CONSISTENCY_THREE |
+
Local One | +CASS_CONSISTENCY_LOCAL_ONE |
+
Any | +CASS_CONSISTENCY_ANY |
+
Serial | +CASS_CONSISTENCY_SERIAL |
+
Local Serial | +CASS_CONSISTENCY_LOCAL_SERIAL |
+
ScyllaDB/Cassandra Type(s) | +Driver Type | +
---|---|
int |
+ cass_int32_t |
+
bigint , counter , timestamp |
+ cass_int64_t |
+
float |
+ cass_float_t |
+
double |
+ cass_double_t |
+
boolean |
+ cass_bool_t |
+
ascii , text , varchar |
+ const char* |
+
blob , varint |
+ const cass_byte_t* |
+
uuid , timeuuid |
+ CassUuid |
+
inet |
+ CassInet |
+
decimal |
+ const cass_byte_t* (varint) and a cass_int32_t (scale) |
+
list , map , set |
+ CassCollection |
+
tuple |
+ CassTuple |
+
user-defined type |
+ CassUserType |
+
tinyint |
+ cass_int8_t |
+
smallint |
+ cass_int16_t |
+
date |
+ cass_uint32_t |
+
time |
+ cass_int64_t |
+