#include <NdbScanOperation.hpp>
Inheritance diagram for NdbScanOperation:
|
Scan flags. OR-ed together and passed as second argument to readTuples. |
|
Close scan |
|
Delete current tuple
|
|
Delete current tuple
|
|
Get the next tuple in a scan transaction. After each call to nextResult the buffers and NdbRecAttr objects defined in NdbOperation::getValue are updated with values from the scanned tuple.
fetchAllowed = false is useful when you want to update or delete all the records fetched in one transaction(This will save a lot of round trip time and make updates or deletes of scanned records a lot faster). While nextResult(false) returns 0 take over the record to another transaction. When nextResult(false) returns 2 you must execute and commit the other transaction. This will cause the locks to be transferred to the other transaction, updates or deletes will be made and then the locks will be released. After that, call nextResult(true) which will fetch new records and cache them in the NdbApi.
|
|
readTuples
Reimplemented in NdbIndexScanOperation. |
|
Restart scan with exactly the same getValues and search conditions |
|
Update current tuple
|
|
Update current tuple
|