Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
Partitioned Results
Collaboration diagram for Partitioned Results:

Classes

struct  AdbcPartitions
 The partitions of a distributed/partitioned result set. More...
 

Functions

ADBC_EXPORT AdbcStatusCode AdbcStatementExecutePartitions (struct AdbcStatement *statement, struct ArrowSchema *schema, struct AdbcPartitions *partitions, int64_t *rows_affected, struct AdbcError *error)
 Execute a statement and get the results as a partitioned result set.
 

Detailed Description

Some backends may internally partition the results. These partitions are exposed to clients who may wish to integrate them with a threaded or distributed execution model, where partitions can be divided among threads or machines and fetched in parallel.

To use partitioning, execute the statement with AdbcStatementExecutePartitions to get the partition descriptors. Call AdbcConnectionReadPartition to turn the individual descriptors into ArrowArrayStream instances. This may be done on a different connection than the one the partition was created with, or even in a different process on another machine.

Drivers are not required to support partitioning.

Function Documentation

◆ AdbcStatementExecutePartitions()

ADBC_EXPORT AdbcStatusCode AdbcStatementExecutePartitions ( struct AdbcStatement statement,
struct ArrowSchema schema,
struct AdbcPartitions partitions,
int64_t rows_affected,
struct AdbcError error 
)

Execute a statement and get the results as a partitioned result set.

Parameters
[in]statementThe statement to execute.
[out]schemaThe schema of the result set.
[out]partitionsThe result partitions.
[out]rows_affectedThe number of rows affected if known, else -1. Pass NULL if the client does not want this information.
[out]errorAn optional location to return an error message if necessary.
Returns
ADBC_STATUS_NOT_IMPLEMENTED if the driver does not support partitioned results