Chris Bannister
|
ef525ee05c
Use better error messages instead of ErrUnavailable
|
11 jaren geleden |
mihasya
|
818bd933bd
provide some details when encountering a protocol error
|
11 jaren geleden |
Harpreet Sawhney
|
e2550da4d8
un exporting the shouldQuery method
|
11 jaren geleden |
Harpreet Sawhney
|
6ed2c7d73f
(cleanup) move shouldPrepare func to being a Query type method
|
11 jaren geleden |
Phillip Couto
|
f9a5343db1
Added check to prevent user from executing a use statement from an active session.
|
11 jaren geleden |
Phillip Couto
|
d4a853b532
Reduced BatchSizeMaximum by 1 as 65535 is the true maximum. More than this number in statements to execute will cause the batch to fail.
|
11 jaren geleden |
Phillip Couto
|
538e98db31
Added Size method to batch type so when building a batch statement the user can avoid the maximum limit. Also made the limit a exported constant.
|
11 jaren geleden |
Staņislavs Koikovs
|
6da46330bf
Updated documentation on iter.Scan()
|
11 jaren geleden |
Staņislavs Koikovs
|
e4b8bf756e
Merge remote-tracking branch 'upstream/master'
|
11 jaren geleden |
Phillip Couto
|
093f3395a1
Simplified session.executeQuery to use a pointer to Iter instead of creating a new object.
|
12 jaren geleden |
Phillip Couto
|
e2264bb7f8
Added retry policies for Query and Batch Statements. Policies can be defined at the cluster or per query. Added test cases for retries and added test case for batch statement limits.
|
12 jaren geleden |
Staņislavs Koikovs
|
4083742150
Revert changes and allow <nil> interfaces instead
|
12 jaren geleden |
Staņislavs Koikovs
|
effe8de7bf
Allow variable number of arguments for iter.Scan()
|
12 jaren geleden |
Christoph Hack
|
9be9717d49
docs: document typical usage of a session object
|
12 jaren geleden |
Christoph Hack
|
92ccf5fec6
cleaned up CAS branch a bit
|
12 jaren geleden |
Ben Hood
|
8d9a57e01e
No need to make the caller supply the CAS flag in the binding statement
|
12 jaren geleden |
Ben Hood
|
f1f71b5f46
First cut at adding CAS statements
|
12 jaren geleden |
Niklas Korz
|
56f9b80150
Checking for other errors first in Query.Scan
|
12 jaren geleden |
Niklas Korz
|
c60915c4c7
Return ErrNotFound when no row matches the query
|
12 jaren geleden |
Christoph Hack
|
1a181ce13a
support for prefetching and lighter Iter struct
|
12 jaren geleden |
Christoph Hack
|
37e919a109
added session settings
|
12 jaren geleden |
Christoph Hack
|
9f1b21f87b
documented Iter and SnappyCompressor
|
12 jaren geleden |
Christoph Hack
|
bace3dba72
simplified query interface, added more docs
|
12 jaren geleden |
Christoph Hack
|
492bac0157
added tracing docs
|
12 jaren geleden |
Christoph Hack
|
041e8ecacd
nicer tracing interface and bugfixing...
|
12 jaren geleden |
Christoph Hack
|
23a4654e20
support for tracing
|
12 jaren geleden |
Christoph Hack
|
3fadac3f58
readded batches
|
12 jaren geleden |
Christoph Hack
|
83c5eba575
iteration over paged results
|
12 jaren geleden |
Christoph Hack
|
ec8aa7ca9c
improved frame parsing, support protocol v1
|
12 jaren geleden |
Christoph Hack
|
be4d993975
added more docs
|
12 jaren geleden |