A StructSet may be obtained after executing a Query which is obtained from a QueryService which in turn is obtained from a Cache.
More...
Inherits apache::geode::client::CqResults.
A StructSet may be obtained after executing a Query which is obtained from a QueryService which in turn is obtained from a Cache.
It is the parent of a Struct which contains the field values.
virtual apache::geode::client::StructSet::~StructSet |
( |
| ) |
|
|
inlinevirtual |
virtual Iterator apache::geode::client::SelectResults::begin |
( |
| ) |
const |
|
pure virtualinherited |
Get an iterator pointing to the start of vector.
virtual Iterator apache::geode::client::SelectResults::end |
( |
| ) |
const |
|
pure virtualinherited |
Get an iterator pointing to the end of vector.
virtual int32_t apache::geode::client::StructSet::getFieldIndex |
( |
const char * |
fieldname | ) |
|
|
pure virtual |
Get the index number of the specified field name in the StructSet.
- Parameters
-
fieldname | the field name for which the index is required. |
- Returns
- the index number of the specified field name.
- Exceptions
-
IllegalArgumentException | if the field name is not found. |
virtual const char* apache::geode::client::StructSet::getFieldName |
( |
int32_t |
index | ) |
|
|
pure virtual |
Get the field name of the StructSet from the specified index number.
- Parameters
-
index | the index number of the field name to get. |
- Returns
- the field name from the specified index number or NULL if not found.
virtual bool apache::geode::client::StructSet::isModifiable |
( |
| ) |
const |
|
pure virtual |
virtual const SerializablePtr apache::geode::client::StructSet::operator[] |
( |
int32_t |
index | ) |
const |
|
pure virtual |
Index operator to directly access an item in the StructSet.
- Parameters
-
index | the index number of the item to get. |
- Exceptions
-
IllegalArgumentException | if the index is out of bounds. |
- Returns
- A smart pointer to the item indexed.
Implements apache::geode::client::SelectResults.
void apache::geode::client::SharedBase::preserveSB |
( |
| ) |
const |
|
inherited |
Atomically increment reference count.
int32_t apache::geode::client::SharedBase::refCount |
( |
| ) |
|
|
inlineinherited |
- Returns
- the reference count
void apache::geode::client::SharedBase::releaseSB |
( |
| ) |
const |
|
inherited |
Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.
virtual int32_t apache::geode::client::StructSet::size |
( |
| ) |
const |
|
pure virtual |