![]() |
![]() |
![]() |
![]() |
gpointer | client | Write / Construct Only |
GAFlightClient * | flight-client | Read / Write / Construct Only |
GAFlightSQLClient * | client | Read / Write / Construct Only |
gpointer | statement | Write / Construct Only |
GAFlightSQLClient is a class for Apache Arrow Flight SQL client.
GAFlightSQLPreparedStatement is a class for prepared statement.
GAFlightInfo * gaflightsql_prepared_statement_execute (GAFlightSQLPreparedStatement *statement
,GAFlightCallOptions *options
,GError **error
);
The GAFlightInfo describing
where to access the dataset on success, NULL
on error.
[nullable][transfer full]
Since: 14.0.0
gint64 gaflightsql_prepared_statement_execute_update (GAFlightSQLPreparedStatement *statement
,GAFlightCallOptions *options
,GError **error
);
Since: 14.0.0
GArrowSchema *
gaflightsql_prepared_statement_get_parameter_schema
(GAFlightSQLPreparedStatement *statement
);
Since: 14.0.0
GArrowSchema *
gaflightsql_prepared_statement_get_dataset_schema
(GAFlightSQLPreparedStatement *statement
);
Since: 14.0.0
gboolean gaflightsql_prepared_statement_set_record_batch (GAFlightSQLPreparedStatement *statement
,GArrowRecordBatch *record_batch
,GError **error
);
statement |
||
record_batch |
A GArrowRecordBatch that contains the parameters that will be bound. |
|
error |
[nullable] |
Since: 14.0.0
gboolean gaflightsql_prepared_statement_set_record_batch_reader (GAFlightSQLPreparedStatement *statement
,GArrowRecordBatchReader *reader
,GError **error
);
statement |
||
reader |
A GArrowRecordBatchReader that contains the parameters that will be bound. |
|
error |
[nullable] |
Since: 14.0.0
gboolean gaflightsql_prepared_statement_close (GAFlightSQLPreparedStatement *statement
,GAFlightCallOptions *options
,GError **error
);
TRUE
on success, FALSE
otherwise.
After this, the prepared statement may not be used anymore.
Since: 14.0.0
gboolean
gaflightsql_prepared_statement_is_closed
(GAFlightSQLPreparedStatement *statement
);
Since: 14.0.0
GAFlightSQLClient *
gaflightsql_client_new (GAFlightClient *client
);
Since: 9.0.0
GAFlightInfo * gaflightsql_client_execute (GAFlightSQLClient *client
,const gchar *query
,GAFlightCallOptions *options
,GError **error
);
client |
||
query |
A query to be executed in the UTF-8 format. |
|
options |
[nullable] | |
error |
[nullable] |
The GAFlightInfo describing
where to access the dataset on success, NULL
on error.
[nullable][transfer full]
Since: 9.0.0
gint64 gaflightsql_client_execute_update (GAFlightSQLClient *client
,const gchar *query
,GAFlightCallOptions *options
,GError **error
);
client |
||
query |
A query to be executed in the UTF-8 format. |
|
options |
[nullable] | |
error |
[nullable] |
Since: 13.0.0
GAFlightStreamReader * gaflightsql_client_do_get (GAFlightSQLClient *client
,GAFlightTicket *ticket
,GAFlightCallOptions *options
,GError **error
);
The GAFlightStreamReader to read record batched from the server
on success, NULL
on error.
[nullable][transfer full]
Since: 9.0.0
GAFlightSQLPreparedStatement * gaflightsql_client_prepare (GAFlightSQLClient *client
,const gchar *query
,GAFlightCallOptions *options
,GError **error
);
client |
||
query |
A query to be prepared in the UTF-8 format. |
|
options |
[nullable] | |
error |
[nullable] |
Since: 14.0.0
“client”
property“client” gpointer
The raw arrow::flight::sql::FlightSqlClient *.
Owner: GAFlightSQLClient
Flags: Write / Construct Only
“flight-client”
property“flight-client” GAFlightClient *
The underlying Flight client.
Owner: GAFlightSQLClient
Flags: Read / Write / Construct Only
Since: 9.0.0
“client”
property“client” GAFlightSQLClient *
The underlying Flight SQL client.
Owner: GAFlightSQLPreparedStatement
Flags: Read / Write / Construct Only
Since: 14.0.0
“statement”
property“statement” gpointer
Owner: GAFlightSQLPreparedStatement
Flags: Write / Construct Only