- All Superinterfaces:
- AutoCloseable,- FlightProducer
- All Known Implementing Classes:
- BasicFlightSqlProducer,- NoOpFlightSqlProducer
API to Implement an Arrow Flight SQL producer.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classDefault schema templates for theFlightSqlProducer.Nested classes/interfaces inherited from interface org.apache.arrow.flight.FlightProducerFlightProducer.CallContext, FlightProducer.ServerStreamListener, FlightProducer.StreamListener<T>
- 
Method SummaryModifier and TypeMethodDescriptiondefault RunnableacceptPut(FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Depending on the provided command, method either: 1.acceptPutPreparedStatementQuery(FlightSql.CommandPreparedStatementQuery command, FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Accepts uploaded parameter values for a particular prepared statement query.acceptPutPreparedStatementUpdate(FlightSql.CommandPreparedStatementUpdate command, FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Accepts uploaded data for a particular prepared statement data stream.acceptPutStatement(FlightSql.CommandStatementUpdate command, FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Accepts uploaded data for a particular SQL query based data stream.default RunnableacceptPutStatementBulkIngest(FlightSql.CommandStatementIngest command, FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Accepts uploaded data for a particular bulk ingest data stream.default RunnableacceptPutSubstraitPlan(FlightSql.CommandStatementSubstraitPlan command, FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Handle a Substrait plan with uploaded data.default voidbeginSavepoint(FlightSql.ActionBeginSavepointRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<FlightSql.ActionBeginSavepointResult> listener) Create a savepoint within a transaction.default voidbeginTransaction(FlightSql.ActionBeginTransactionRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<FlightSql.ActionBeginTransactionResult> listener) Begin a transaction.default voidcancelFlightInfo(CancelFlightInfoRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<CancelStatus> listener) Explicitly cancel a query.default voidcancelQuery(FlightInfo info, FlightProducer.CallContext context, FlightProducer.StreamListener<CancelResult> listener) Deprecated.voidclosePreparedStatement(FlightSql.ActionClosePreparedStatementRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<Result> listener) Closes a prepared statement on the server.default voidcloseSession(CloseSessionRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<CloseSessionResult> listener) Close/invalidate the session.voidcreatePreparedStatement(FlightSql.ActionCreatePreparedStatementRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<Result> listener) Creates a prepared statement on the server and returns a handle and metadata for in aFlightSql.ActionCreatePreparedStatementResultobject in aResultobject.default voidcreatePreparedSubstraitPlan(FlightSql.ActionCreatePreparedSubstraitPlanRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<FlightSql.ActionCreatePreparedStatementResult> listener) Pre-compile a Substrait plan.default voiddoAction(FlightProducer.CallContext context, Action action, FlightProducer.StreamListener<Result> listener) Performs the requested Flight SQL action.default voidendSavepoint(FlightSql.ActionEndSavepointRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<Result> listener) Release or roll back to a savepoint.default voidendTransaction(FlightSql.ActionEndTransactionRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<Result> listener) Commit or roll back to a transaction.default FlightInfogetFlightInfo(FlightProducer.CallContext context, FlightDescriptor descriptor) Depending on the provided command, method either: 1.getFlightInfoCatalogs(FlightSql.CommandGetCatalogs request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the available catalogs by returning a stream ofFlightSql.CommandGetCatalogsobjects inResultobjects.getFlightInfoCrossReference(FlightSql.CommandGetCrossReference request, FlightProducer.CallContext context, FlightDescriptor descriptor) Retrieve a description of the foreign key columns that reference the given table's primary key columnsFlightSql.CommandGetCrossReferenceobjects inResultobjects.getFlightInfoExportedKeys(FlightSql.CommandGetExportedKeys request, FlightProducer.CallContext context, FlightDescriptor descriptor) Retrieves a description of the foreign key columns that reference the given table's primary key columnsFlightSql.CommandGetExportedKeysobjects inResultobjects.getFlightInfoImportedKeys(FlightSql.CommandGetImportedKeys request, FlightProducer.CallContext context, FlightDescriptor descriptor) Retrieves a description of the primary key columns that are referenced by given table's foreign key columnsFlightSql.CommandGetImportedKeysobjects inResultobjects.getFlightInfoPreparedStatement(FlightSql.CommandPreparedStatementQuery command, FlightProducer.CallContext context, FlightDescriptor descriptor) Gets information about a particular prepared statement data stream.getFlightInfoPrimaryKeys(FlightSql.CommandGetPrimaryKeys request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the available primary keys by returning a stream ofFlightSql.CommandGetPrimaryKeysobjects inResultobjects.getFlightInfoSchemas(FlightSql.CommandGetDbSchemas request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the available schemas by returning a stream ofFlightSql.CommandGetDbSchemasobjects inResultobjects.getFlightInfoSqlInfo(FlightSql.CommandGetSqlInfo request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the SQL Info of the server by returning aFlightSql.CommandGetSqlInfoin aResult.getFlightInfoStatement(FlightSql.CommandStatementQuery command, FlightProducer.CallContext context, FlightDescriptor descriptor) Evaluate a SQL query.default FlightInfogetFlightInfoSubstraitPlan(FlightSql.CommandStatementSubstraitPlan command, FlightProducer.CallContext context, FlightDescriptor descriptor) Evaluate a Substrait plan.getFlightInfoTables(FlightSql.CommandGetTables request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the available tables by returning a stream ofFlightSql.CommandGetTablesobjects inResultobjects.getFlightInfoTableTypes(FlightSql.CommandGetTableTypes request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the available table types by returning a stream ofFlightSql.CommandGetTableTypesobjects inResultobjects.getFlightInfoTypeInfo(FlightSql.CommandGetXdbcTypeInfo request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns a description of all the data types supported by source.default SchemaResultgetSchema(FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the schema of the result produced by the SQL query.default SchemaResultgetSchemaPreparedStatement(FlightSql.CommandPreparedStatementQuery command, FlightProducer.CallContext context, FlightDescriptor descriptor) Get the schema of the result set of a prepared statement.getSchemaStatement(FlightSql.CommandStatementQuery command, FlightProducer.CallContext context, FlightDescriptor descriptor) Get the result schema for a SQL query.default SchemaResultgetSchemaSubstraitPlan(FlightSql.CommandStatementSubstraitPlan command, FlightProducer.CallContext context, FlightDescriptor descriptor) Get the result schema for a Substrait plan.default voidgetSessionOptions(GetSessionOptionsRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<GetSessionOptionsResult> listener) Get server session option(s).default voidgetStream(FlightProducer.CallContext context, Ticket ticket, FlightProducer.ServerStreamListener listener) Depending on the provided command, method either: 1.voidgetStreamCatalogs(FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for catalogs based data stream.voidgetStreamCrossReference(FlightSql.CommandGetCrossReference command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for cross reference based data stream.voidgetStreamExportedKeys(FlightSql.CommandGetExportedKeys command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for foreign keys based data stream.voidgetStreamImportedKeys(FlightSql.CommandGetImportedKeys command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for foreign keys based data stream.voidgetStreamPreparedStatement(FlightSql.CommandPreparedStatementQuery command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for a particular prepared statement query instance.voidgetStreamPrimaryKeys(FlightSql.CommandGetPrimaryKeys command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for primary keys based data stream.voidgetStreamSchemas(FlightSql.CommandGetDbSchemas command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for schemas based data stream.voidgetStreamSqlInfo(FlightSql.CommandGetSqlInfo command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for SQL info based data stream.voidgetStreamStatement(FlightSql.TicketStatementQuery ticket, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for a SQL query based data stream.voidgetStreamTables(FlightSql.CommandGetTables command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for tables based data stream.voidgetStreamTableTypes(FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for table types based data stream.voidgetStreamTypeInfo(FlightSql.CommandGetXdbcTypeInfo request, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for type info based data stream.default voidlistActions(FlightProducer.CallContext context, FlightProducer.StreamListener<ActionType> listener) Lists all available Flight SQL actions.default voidrenewFlightEndpoint(RenewFlightEndpointRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<FlightEndpoint> listener) Renew the duration of the given endpoint.default voidsetSessionOptions(SetSessionOptionsRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<SetSessionOptionsResult> listener) Set server session options(s).Methods inherited from interface java.lang.AutoCloseablecloseMethods inherited from interface org.apache.arrow.flight.FlightProducerdoExchange, listFlights, pollFlightInfo
- 
Method Details- 
getFlightInfoDepending on the provided command, method either: 1. Return information about a SQL query, or 2. Return information about a prepared statement. In this case, parameters binding is allowed.- Specified by:
- getFlightInfoin interface- FlightProducer
- Parameters:
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- information about the given SQL query, or the given prepared statement.
 
- 
getSchemaReturns the schema of the result produced by the SQL query.- Specified by:
- getSchemain interface- FlightProducer
- Parameters:
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- the result set schema.
 
- 
getStreamdefault void getStream(FlightProducer.CallContext context, Ticket ticket, FlightProducer.ServerStreamListener listener) Depending on the provided command, method either: 1. Return data for a stream produced by executing the provided SQL query, or 2. Return data for a prepared statement. In this case, parameters binding is allowed.- Specified by:
- getStreamin interface- FlightProducer
- Parameters:
- context- Per-call context.
- ticket- The application-defined ticket identifying this stream.
- listener- An interface for sending data back to the client.
 
- 
acceptPutdefault Runnable acceptPut(FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Depending on the provided command, method either: 1. Execute provided SQL query as an update statement, or 2. Execute provided update SQL query prepared statement. In this case, parameters binding is allowed, or 3. Binds parameters to the provided prepared statement, or 4. Bulk ingests data provided through the flightStream.- Specified by:
- acceptPutin interface- FlightProducer
- Parameters:
- context- Per-call context.
- flightStream- The data stream being uploaded.
- ackStream- The data stream listener for update result acknowledgement.
- Returns:
- a Runnable to process the stream.
 
- 
listActionsdefault void listActions(FlightProducer.CallContext context, FlightProducer.StreamListener<ActionType> listener) Lists all available Flight SQL actions.- Specified by:
- listActionsin interface- FlightProducer
- Parameters:
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
doActiondefault void doAction(FlightProducer.CallContext context, Action action, FlightProducer.StreamListener<Result> listener) Performs the requested Flight SQL action.- Specified by:
- doActionin interface- FlightProducer
- Parameters:
- context- Per-call context.
- action- Client-supplied parameters.
- listener- A stream of responses.
 
- 
beginSavepointdefault void beginSavepoint(FlightSql.ActionBeginSavepointRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<FlightSql.ActionBeginSavepointResult> listener) Create a savepoint within a transaction.- Parameters:
- request- The savepoint request.
- context- Per-call context.
- listener- The newly created savepoint ID.
 
- 
beginTransactiondefault void beginTransaction(FlightSql.ActionBeginTransactionRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<FlightSql.ActionBeginTransactionResult> listener) Begin a transaction.- Parameters:
- request- The transaction request.
- context- Per-call context.
- listener- The newly created transaction ID.
 
- 
cancelFlightInfodefault void cancelFlightInfo(CancelFlightInfoRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<CancelStatus> listener) Explicitly cancel a query.- Parameters:
- request- The CancelFlightInfoRequest for the query to cancel.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
cancelQuery@Deprecated default void cancelQuery(FlightInfo info, FlightProducer.CallContext context, FlightProducer.StreamListener<CancelResult> listener) Deprecated.Explicitly cancel a query.- Parameters:
- info- The FlightInfo of the query to cancel.
- context- Per-call context.
- listener- Whether cancellation succeeded.
 
- 
setSessionOptionsdefault void setSessionOptions(SetSessionOptionsRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<SetSessionOptionsResult> listener) Set server session options(s).- Parameters:
- request- The session options to set. For *DBC driver compatibility, servers should support converting values from strings.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
getSessionOptionsdefault void getSessionOptions(GetSessionOptionsRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<GetSessionOptionsResult> listener) Get server session option(s).- Parameters:
- request- The (empty) GetSessionOptionsRequest.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
closeSessiondefault void closeSession(CloseSessionRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<CloseSessionResult> listener) Close/invalidate the session.- Parameters:
- request- The (empty) CloseSessionRequest.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
createPreparedStatementvoid createPreparedStatement(FlightSql.ActionCreatePreparedStatementRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<Result> listener) Creates a prepared statement on the server and returns a handle and metadata for in aFlightSql.ActionCreatePreparedStatementResultobject in aResultobject.- Parameters:
- request- The sql command to generate the prepared statement.
- context- Per-call context.
- listener- A stream of responses.
 
- 
createPreparedSubstraitPlandefault void createPreparedSubstraitPlan(FlightSql.ActionCreatePreparedSubstraitPlanRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<FlightSql.ActionCreatePreparedStatementResult> listener) Pre-compile a Substrait plan.- Parameters:
- request- The plan.
- context- Per-call context.
- listener- The resulting prepared statement.
 
- 
closePreparedStatementvoid closePreparedStatement(FlightSql.ActionClosePreparedStatementRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<Result> listener) Closes a prepared statement on the server. No result is expected.- Parameters:
- request- The sql command to generate the prepared statement.
- context- Per-call context.
- listener- A stream of responses.
 
- 
endSavepointdefault void endSavepoint(FlightSql.ActionEndSavepointRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<Result> listener) Release or roll back to a savepoint.- Parameters:
- request- The savepoint, and whether to release/rollback.
- context- Per-call context.
- listener- Call- FlightProducer.StreamListener.onCompleted()or- FlightProducer.StreamListener.onError(Throwable)when done; do not send a result.
 
- 
endTransactiondefault void endTransaction(FlightSql.ActionEndTransactionRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<Result> listener) Commit or roll back to a transaction.- Parameters:
- request- The transaction, and whether to release/rollback.
- context- Per-call context.
- listener- Call- FlightProducer.StreamListener.onCompleted()or- FlightProducer.StreamListener.onError(Throwable)when done; do not send a result.
 
- 
getFlightInfoStatementFlightInfo getFlightInfoStatement(FlightSql.CommandStatementQuery command, FlightProducer.CallContext context, FlightDescriptor descriptor) Evaluate a SQL query.- Parameters:
- command- The SQL query.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getFlightInfoSubstraitPlandefault FlightInfo getFlightInfoSubstraitPlan(FlightSql.CommandStatementSubstraitPlan command, FlightProducer.CallContext context, FlightDescriptor descriptor) Evaluate a Substrait plan.- Parameters:
- command- The Substrait plan.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getFlightInfoPreparedStatementFlightInfo getFlightInfoPreparedStatement(FlightSql.CommandPreparedStatementQuery command, FlightProducer.CallContext context, FlightDescriptor descriptor) Gets information about a particular prepared statement data stream.- Parameters:
- command- The prepared statement to generate the data stream.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getSchemaStatementSchemaResult getSchemaStatement(FlightSql.CommandStatementQuery command, FlightProducer.CallContext context, FlightDescriptor descriptor) Get the result schema for a SQL query.- Parameters:
- command- The SQL query.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- the schema of the result set.
 
- 
getSchemaPreparedStatementdefault SchemaResult getSchemaPreparedStatement(FlightSql.CommandPreparedStatementQuery command, FlightProducer.CallContext context, FlightDescriptor descriptor) Get the schema of the result set of a prepared statement.- Parameters:
- command- The prepared statement handle.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- the schema of the result set.
 
- 
getSchemaSubstraitPlandefault SchemaResult getSchemaSubstraitPlan(FlightSql.CommandStatementSubstraitPlan command, FlightProducer.CallContext context, FlightDescriptor descriptor) Get the result schema for a Substrait plan.- Parameters:
- command- The Substrait plan.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Schema for the stream.
 
- 
getStreamStatementvoid getStreamStatement(FlightSql.TicketStatementQuery ticket, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for a SQL query based data stream.- Parameters:
- ticket- Ticket message containing the statement handle.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
getStreamPreparedStatementvoid getStreamPreparedStatement(FlightSql.CommandPreparedStatementQuery command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for a particular prepared statement query instance.- Parameters:
- command- The prepared statement to generate the data stream.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
acceptPutStatementRunnable acceptPutStatement(FlightSql.CommandStatementUpdate command, FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Accepts uploaded data for a particular SQL query based data stream.`PutResult`s must be in the form of a FlightSql.DoPutUpdateResult.- Parameters:
- command- The sql command to generate the data stream.
- context- Per-call context.
- flightStream- The data stream being uploaded.
- ackStream- The result data stream.
- Returns:
- A runnable to process the stream.
 
- 
acceptPutStatementBulkIngestdefault Runnable acceptPutStatementBulkIngest(FlightSql.CommandStatementIngest command, FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Accepts uploaded data for a particular bulk ingest data stream.`PutResult`s must be in the form of a FlightSql.DoPutUpdateResult.- Parameters:
- command- The bulk ingestion request.
- context- Per-call context.
- flightStream- The data stream being uploaded.
- ackStream- The result data stream.
- Returns:
- A runnable to process the stream.
 
- 
acceptPutSubstraitPlandefault Runnable acceptPutSubstraitPlan(FlightSql.CommandStatementSubstraitPlan command, FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Handle a Substrait plan with uploaded data.- Parameters:
- command- The Substrait plan to evaluate.
- context- Per-call context.
- flightStream- The data stream being uploaded.
- ackStream- The result data stream.
- Returns:
- A runnable to process the stream.
 
- 
acceptPutPreparedStatementUpdateRunnable acceptPutPreparedStatementUpdate(FlightSql.CommandPreparedStatementUpdate command, FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Accepts uploaded data for a particular prepared statement data stream.`PutResult`s must be in the form of a FlightSql.DoPutUpdateResult.- Parameters:
- command- The prepared statement to generate the data stream.
- context- Per-call context.
- flightStream- The data stream being uploaded.
- ackStream- The result data stream.
- Returns:
- A runnable to process the stream.
 
- 
acceptPutPreparedStatementQueryRunnable acceptPutPreparedStatementQuery(FlightSql.CommandPreparedStatementQuery command, FlightProducer.CallContext context, FlightStream flightStream, FlightProducer.StreamListener<PutResult> ackStream) Accepts uploaded parameter values for a particular prepared statement query.- Parameters:
- command- The prepared statement the parameter values will bind to.
- context- Per-call context.
- flightStream- The data stream being uploaded.
- ackStream- The result data stream.
- Returns:
- A runnable to process the stream.
 
- 
getFlightInfoSqlInfoFlightInfo getFlightInfoSqlInfo(FlightSql.CommandGetSqlInfo request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the SQL Info of the server by returning aFlightSql.CommandGetSqlInfoin aResult.- Parameters:
- request- request filter parameters.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getStreamSqlInfovoid getStreamSqlInfo(FlightSql.CommandGetSqlInfo command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for SQL info based data stream.- Parameters:
- command- The command to generate the data stream.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
getFlightInfoTypeInfoFlightInfo getFlightInfoTypeInfo(FlightSql.CommandGetXdbcTypeInfo request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns a description of all the data types supported by source.- Parameters:
- request- request filter parameters.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getStreamTypeInfovoid getStreamTypeInfo(FlightSql.CommandGetXdbcTypeInfo request, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for type info based data stream.- Parameters:
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
getFlightInfoCatalogsFlightInfo getFlightInfoCatalogs(FlightSql.CommandGetCatalogs request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the available catalogs by returning a stream ofFlightSql.CommandGetCatalogsobjects inResultobjects.- Parameters:
- request- request filter parameters.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getStreamCatalogsvoid getStreamCatalogs(FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for catalogs based data stream.- Parameters:
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
getFlightInfoSchemasFlightInfo getFlightInfoSchemas(FlightSql.CommandGetDbSchemas request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the available schemas by returning a stream ofFlightSql.CommandGetDbSchemasobjects inResultobjects.- Parameters:
- request- request filter parameters.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getStreamSchemasvoid getStreamSchemas(FlightSql.CommandGetDbSchemas command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for schemas based data stream.- Parameters:
- command- The command to generate the data stream.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
getFlightInfoTablesFlightInfo getFlightInfoTables(FlightSql.CommandGetTables request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the available tables by returning a stream ofFlightSql.CommandGetTablesobjects inResultobjects.- Parameters:
- request- request filter parameters.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getStreamTablesvoid getStreamTables(FlightSql.CommandGetTables command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for tables based data stream.- Parameters:
- command- The command to generate the data stream.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
getFlightInfoTableTypesFlightInfo getFlightInfoTableTypes(FlightSql.CommandGetTableTypes request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the available table types by returning a stream ofFlightSql.CommandGetTableTypesobjects inResultobjects.- Parameters:
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getStreamTableTypesvoid getStreamTableTypes(FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for table types based data stream.- Parameters:
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
getFlightInfoPrimaryKeysFlightInfo getFlightInfoPrimaryKeys(FlightSql.CommandGetPrimaryKeys request, FlightProducer.CallContext context, FlightDescriptor descriptor) Returns the available primary keys by returning a stream ofFlightSql.CommandGetPrimaryKeysobjects inResultobjects.- Parameters:
- request- request filter parameters.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getStreamPrimaryKeysvoid getStreamPrimaryKeys(FlightSql.CommandGetPrimaryKeys command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for primary keys based data stream.- Parameters:
- command- The command to generate the data stream.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
getFlightInfoExportedKeysFlightInfo getFlightInfoExportedKeys(FlightSql.CommandGetExportedKeys request, FlightProducer.CallContext context, FlightDescriptor descriptor) Retrieves a description of the foreign key columns that reference the given table's primary key columnsFlightSql.CommandGetExportedKeysobjects inResultobjects.- Parameters:
- request- request filter parameters.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getFlightInfoImportedKeysFlightInfo getFlightInfoImportedKeys(FlightSql.CommandGetImportedKeys request, FlightProducer.CallContext context, FlightDescriptor descriptor) Retrieves a description of the primary key columns that are referenced by given table's foreign key columnsFlightSql.CommandGetImportedKeysobjects inResultobjects.- Parameters:
- request- request filter parameters.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getFlightInfoCrossReferenceFlightInfo getFlightInfoCrossReference(FlightSql.CommandGetCrossReference request, FlightProducer.CallContext context, FlightDescriptor descriptor) Retrieve a description of the foreign key columns that reference the given table's primary key columnsFlightSql.CommandGetCrossReferenceobjects inResultobjects.- Parameters:
- request- request filter parameters.
- context- Per-call context.
- descriptor- The descriptor identifying the data stream.
- Returns:
- Metadata about the stream.
 
- 
getStreamExportedKeysvoid getStreamExportedKeys(FlightSql.CommandGetExportedKeys command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for foreign keys based data stream.- Parameters:
- command- The command to generate the data stream.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
getStreamImportedKeysvoid getStreamImportedKeys(FlightSql.CommandGetImportedKeys command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for foreign keys based data stream.- Parameters:
- command- The command to generate the data stream.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
getStreamCrossReferencevoid getStreamCrossReference(FlightSql.CommandGetCrossReference command, FlightProducer.CallContext context, FlightProducer.ServerStreamListener listener) Returns data for cross reference based data stream.- Parameters:
- command- The command to generate the data stream.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
- 
renewFlightEndpointdefault void renewFlightEndpoint(RenewFlightEndpointRequest request, FlightProducer.CallContext context, FlightProducer.StreamListener<FlightEndpoint> listener) Renew the duration of the given endpoint.- Parameters:
- request- The endpoint to renew.
- context- Per-call context.
- listener- An interface for sending data back to the client.
 
 
- 
cancelFlightInfo(CancelFlightInfoRequest, CallContext, StreamListener).