![]() |
![]() |
![]() |
![]() |
GObject ├── GAFlightServer │ ╰── GAFlightSQLServer ╰── GAFlightSQLCommand ├── GAFlightSQLStatementQuery ├── GAFlightSQLStatementQueryTicket ╰── GAFlightSQLStatementUpdate
const gchar *
gaflightsql_statement_query_get_query (GAFlightSQLStatementQuery *command
);
Since: 9.0.0
const gchar *
gaflightsql_statement_update_get_query
(GAFlightSQLStatementUpdate *command
);
Since: 13.0.0
GBytes * gaflightsql_statement_query_ticket_generate_handle (const gchar *query
,GError **error
);
Since: 9.0.0
GBytes *
gaflightsql_statement_query_ticket_get_handle
(GAFlightSQLStatementQueryTicket *command
);
Since: 9.0.0
GAFlightInfo * gaflightsql_server_get_flight_info_statement (GAFlightSQLServer *server
,GAFlightServerCallContext *context
,GAFlightSQLStatementQuery *command
,GAFlightDescriptor *descriptor
,GError **error
);
server |
||
context |
||
command |
A GAFlightSQLStatementQuery to be executed. |
|
descriptor |
||
error |
[nullable] |
A GAFlightInfo for executing
a SQL query on success, NULL
on error.
[nullable][transfer full]
Since: 9.0.0
GAFlightDataStream * gaflightsql_server_do_get_statement (GAFlightSQLServer *server
,GAFlightServerCallContext *context
,GAFlightSQLStatementQueryTicket *ticket
,GError **error
);
A GAFlightDataStream
containing the query results on success, NULL
on error.
[nullable][transfer full]
Since: 9.0.0
gint64 gaflightsql_server_do_put_command_statement_update (GAFlightSQLServer *server
,GAFlightServerCallContext *context
,GAFlightSQLStatementUpdate *command
,GError **error
);
Since: 13.0.0
#define GAFLIGHTSQL_TYPE_STATEMENT_QUERY (gaflightsql_statement_query_get_type())
struct GAFlightSQLStatementQueryClass { GAFlightSQLCommandClass parent_class; };
#define GAFLIGHTSQL_TYPE_STATEMENT_UPDATE (gaflightsql_statement_update_get_type())
struct GAFlightSQLStatementUpdateClass { GAFlightSQLCommandClass parent_class; };
struct GAFlightSQLStatementQueryTicketClass { GAFlightSQLCommandClass parent_class; };
struct GAFlightSQLServerClass { GAFlightServerClass parent_class; GAFlightInfo *(*get_flight_info_statement)( GAFlightSQLServer *server, GAFlightServerCallContext *context, GAFlightSQLStatementQuery *command, GAFlightDescriptor *descriptor, GError **error); GAFlightDataStream *(*do_get_statement)( GAFlightSQLServer *server, GAFlightServerCallContext *context, GAFlightSQLStatementQueryTicket *ticket, GError **error); gint64 (*do_put_command_statement_update)( GAFlightSQLServer *server, GAFlightServerCallContext *context, GAFlightSQLStatementUpdate *command, GError **error); };
A virtual function to implement
|
||
A virtual function to implement |
||
A virtual function to implement
|
Since: 9.0.0
“command”
property“command” gpointer
The raw command struct.
Owner: GAFlightSQLCommand
Flags: Write / Construct Only