Converting a PgxFrame to PgqlResultSet
You can convert a PgxFrame to PgqlResultSet as follows:
opg4j> var resultSet = exampleFrame.toPgqlResultSet()
PgqlResultSet resultSet = exampleFrame.toPgqlResultSet();
result_set = example_frame.to_pgql_result_set()
You can view the content of the result set through the usual PgqlResultSet APIs. The output appears as follows:
+--------------------------------------------------+
| from_acct_id | to_acct_id | amount | description |
+--------------------------------------------------+
| 1 | 418 | 1000.0 | transfer |
| 1 | 584 | 1000.0 | transfer |
| 1 | 644 | 1000.0 | transfer |
| 1 | 672 | 1000.0 | transfer |
| 1 | 259 | 1000.0 | transfer |
+--------------------------------------------------+