#include <dmprovider/SchemaRowIDJoin.h>
Inheritance diagram for BSchemaRowIDJoin::JoinIterator:
Custom iterator implementation that uses a cursor to step over the results of a query.
Bookkeeping | |
Creation, destruction, locking, etc. | |
virtual status_t | FinishAtom (const void *id) |
Return FINISH_ATOM_ASYNC, same as GenericIterator::FinishAtom(). | |
JoinIterator (const SContext &context, const sptr< BSchemaRowIDJoin > &owner) | |
Return FINISH_ATOM_ASYNC, same as GenericIterator::FinishAtom(). | |
virtual SValue | Inspect (const sptr< IBinder > &caller, const SValue &which, uint32_t flags) |
We support both IIterator and IRandomIterator. | |
virtual | ~JoinIterator () |
Return FINISH_ATOM_ASYNC, same as GenericIterator::FinishAtom(). | |
Public Member Functions | |
virtual size_t | Count () const |
This base class does not support IRandomIterator, so this is stubbed to return 0. | |
virtual status_t | NextLocked (uint32_t flags, SValue *key, SValue *entry) |
Move iterator to next item and return it. The 'flags' come directly from IIterator::Next(). | |
virtual SValue | Options () const |
Return the argument options that are in effect for this iterator. | |
virtual status_t | ParseArgs (const SValue &args) |
Process arguments passed to NewIterator(). | |
virtual size_t | Position () const |
This base class does not support IRandomIterator, so this is stubbed to return 0. | |
virtual status_t | Remove () |
Calls back to BGenericIterable::RemoveIteratorEntryLocked(). | |
virtual void | SetPosition (size_t p) |
This base class does not support IRandomIterator, so this is stubbed to do nothing. |
|
Return FINISH_ATOM_ASYNC, same as GenericIterator::FinishAtom().
|
|
Return FINISH_ATOM_ASYNC, same as GenericIterator::FinishAtom().
|
|
This base class does not support IRandomIterator, so this is stubbed to return 0.
Reimplemented from BGenericIterable::GenericIterator. |
|
Return FINISH_ATOM_ASYNC, same as GenericIterator::FinishAtom().
Reimplemented from BGenericIterable::GenericIterator. |
|
We support both IIterator and IRandomIterator.
Reimplemented from BGenericIterable::GenericIterator. |
|
Move iterator to next item and return it. The 'flags' come directly from IIterator::Next().
Implements BGenericIterable::GenericIterator. |
|
Return the argument options that are in effect for this iterator. The default implementation returns B_UNDEFINED, indicating no additional arguments have been handled. Derived implementations should always try to implement this option; if you can't, re-implement this function to return only the options you do implement. Reimplemented from BGenericIterable::GenericIterator. |
|
Process arguments passed to NewIterator(). The default implementation does nothing. Derived implementation should try to handle as many arguments as possible, returning those from Options(). Reimplemented from BGenericIterable::GenericIterator. |
|
This base class does not support IRandomIterator, so this is stubbed to return 0.
Reimplemented from BGenericIterable::GenericIterator. |
|
Calls back to BGenericIterable::RemoveIteratorEntryLocked().
Reimplemented from BGenericIterable::GenericIterator. |
|
This base class does not support IRandomIterator, so this is stubbed to do nothing.
Reimplemented from BGenericIterable::GenericIterator. |