GetSqlInfo
capability metadata instead of assuming that the server implements every Flight
SQL operation.
Query and metadata commands
GetFlightInfo validates and plans a SQL statement, then returns an opaque
ticket. DoGet executes that ticket and streams Arrow record batches.
Prepared statements
A prepared statement is read-only and has this lifecycle:- The
CreatePreparedStatementaction creates a server-side handle. DoPutonCommandPreparedStatementQuerybinds parameter values to it.- The
ClosePreparedStatementaction releases it.
Unsupported operations
The SQL surface does not support:- Writes, ingestion, or transactions.
DoExchange, orDoPutfor anything but binding prepared statement parameters.ListFlightsorPollFlightInfo.- Transaction, savepoint, or cancellation actions.
UNIMPLEMENTED. ListActions returns an
empty stream because the server does not advertise actions proactively.
Handshake is accepted and does nothing, so JDBC drivers that call it on
connect work; authentication comes from the authorization metadata on every
call.
Primary and foreign-key commands return logical metadata. They do not make the
underlying tables enforce constraints.