| 
    JULEA
    
   | 
 
#include <julea-config.h>#include <glib.h>#include <string.h>#include <bson.h>#include <julea.h>#include <db/jdb-internal.h>#include <julea-db.h>Functions | |
| JDBIterator * | j_db_iterator_new (JDBSchema *schema, JDBSelector *selector, GError **error) | 
| JDBIterator * | j_db_iterator_ref (JDBIterator *iterator) | 
| void | j_db_iterator_unref (JDBIterator *iterator) | 
| gboolean | j_db_iterator_next (JDBIterator *iterator, GError **error) | 
| gboolean | j_db_iterator_get_field (JDBIterator *iterator, JDBSchema *schema, gchar const *name, JDBType *type, gpointer *value, guint64 *length, GError **error) | 
| gboolean j_db_iterator_get_field | ( | JDBIterator * | iterator, | 
| JDBSchema * | schema, | ||
| gchar const * | name, | ||
| JDBType * | type, | ||
| gpointer * | value, | ||
| guint64 * | length, | ||
| GError ** | error | ||
| ) | 
Get a single value from the current entry of the iterator.
| [in] | iterator | The iterator to query. | 
| [in] | schema | The schema the field belongs to. If the field is in the primary schema (especially if no joins are used) NULL may be passed. | 
| [in] | name | The name of the value to retrieve. | 
| [out] | type | The type of the retrieved value. | 
| [out] | value | The retieved value. | 
| [out] | length | The length of the retrieved value. | 
| [out] | error | A GError pointer. Will point to a GError object in case of failure. | 
| JDBIterator * j_db_iterator_new | ( | JDBSchema * | schema, | 
| JDBSelector * | selector, | ||
| GError ** | error | ||
| ) | 
Allocates a new iterator.
| [in] | schema | The primary schema of the iterator. | 
| [in] | selector | The selector to use. | 
| [out] | error | A GError pointer. Will point to a GError object in case of failure. | 
| gboolean j_db_iterator_next | ( | JDBIterator * | iterator, | 
| GError ** | error | ||
| ) | 
The iterator moves to the next element.
| [in,out] | iterator | to update | 
| [out] | error | A GError pointer. Will point to a GError object in case of failure. | 
| JDBIterator * j_db_iterator_ref | ( | JDBIterator * | iterator | ) | 
Increase the ref_count of the given iterator.
| [in] | iterator | the iterator to increase the ref_count | 
| void j_db_iterator_unref | ( | JDBIterator * | iterator | ) | 
Decrease the ref_count of the given iterator - and automatically call free if ref_count is 0. This is a noop if iterator == NULL.
| [in] | iterator | the iterator to decrease the ref_count |