28namespace adbc::driver {
44void MakeArrayStream(ArrowSchema* schema, ArrowArray* array, ArrowArrayStream* out);
53 ArrowArrayStream* out);
60 std::variant<std::string, int64_t> value;
62 InfoValue(uint32_t code, std::variant<std::string, int64_t> value)
63 : code(code), value(std::move(value)) {}
A wrapper around AdbcStatusCode + AdbcError.
Definition status.h:43
Status MakeTableTypesStream(const std::vector< std::string > &table_types, ArrowArrayStream *out)
Create an ArrowArrayStream representation of a vector of table types.
void MakeArrayStream(ArrowSchema *schema, ArrowArray *array, ArrowArrayStream *out)
Create an ArrowArrayStream from a given ArrowSchema and ArrowArray.
Status MakeGetInfoStream(const std::vector< InfoValue > &infos, ArrowArrayStream *out)
Create an ArrowArrayStream to be returned from AdbcConnectionGetInfo().
void MakeEmptyStream(ArrowSchema *schema, ArrowArrayStream *out)
Create an ArrowArrayStream with zero batches from a given ArrowSchema.
Representation of a single item in an array to be returned from AdbcConnectionGetInfo().
Definition utility.h:58