![]() |
GridGain C++
|
Binary map reader. More...
#include <binary_containers.h>
Public Member Functions | |
BinaryMapReader (impl::binary::BinaryReaderImpl *impl, int32_t id, MapType::Type type, int32_t size) | |
Constructor. More... | |
bool | HasNext () |
Check whether next element is available for read. More... | |
void | GetNext (K &key, V &val) |
Read next element. More... | |
MapType::Type | GetType () |
Get map type. More... | |
int32_t | GetSize () |
Get map size. More... | |
bool | IsNull () |
Check whether map is NULL. More... | |
Binary map reader.
Can be used to read map entry by entry.
Use GetNext() method to read array value by value while HasNext() method returns true.
|
inline |
Constructor.
Internal call. Should not be used by user.
impl | Reader implementation. |
id | Identifier. |
type | Map type. |
size | Map size. |
|
inline |
Read next element.
key | Pointer to buffer where key element should be stored. Should not be null. |
val | Pointer to buffer where value element should be stored. Should not be null. |
IgniteError | if there is no element to read. |
|
inline |
Get map size.
|
inline |
Get map type.
|
inline |
Check whether next element is available for read.
|
inline |
Check whether map is NULL.