|
NebulaGraph Python Client 5.3.0
|
Public Member Functions | |
| __init__ (self, Any table) | |
| Row | next (self) |
| __iter__ (self) | |
| Row | __next__ (self) |
Public Attributes | |
| result_table | |
| byte_order | |
| parser | |
| num_batches | |
| column_names | |
| total_num_records | |
Protected Member Functions | |
| Row | _get_row_by_index (self, Batch batch, int index) |
Protected Attributes | |
| _current_batch_row_index | |
| _current_batch | |
Stateful iterator over batched result data, matching Java's ResultTable.next() semantics. Rows are decoded on-demand as next() is called, rather than all at once.
Definition at line 40 of file result_set.py.
| __init__ | ( | self, | |
| Any | table | ||
| ) |
Definition at line 46 of file result_set.py.
| __iter__ | ( | self | ) |
Definition at line 132 of file result_set.py.
| Row __next__ | ( | self | ) |
Definition at line 135 of file result_set.py.
|
protected |
Decode one row from the given batch at the specified index.
Definition at line 85 of file result_set.py.
Here is the caller graph for this function:| Row next | ( | self | ) |
Return the next decoded row, advancing internal state. Mirrors Java ResultTable.next(): - Skip empty or exhausted batches automatically. - Raises StopIteration when all rows have been consumed.
Definition at line 100 of file result_set.py.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 123 of file result_set.py.
|
protected |
Definition at line 122 of file result_set.py.
| byte_order |
Definition at line 56 of file result_set.py.
| column_names |
Definition at line 65 of file result_set.py.
| num_batches |
Definition at line 61 of file result_set.py.
| parser |
Definition at line 60 of file result_set.py.
| result_table |
Definition at line 50 of file result_set.py.
| total_num_records |
Definition at line 76 of file result_set.py.