| 849 | } |
| 850 | |
| 851 | Status FlightSqlServerBase::ListActions(const ServerCallContext& context, |
| 852 | std::vector<ActionType>* actions) { |
| 853 | *actions = {ActionType::kCancelFlightInfo, |
| 854 | ActionType::kRenewFlightEndpoint, |
| 855 | FlightSqlServerBase::kBeginSavepointActionType, |
| 856 | FlightSqlServerBase::kBeginTransactionActionType, |
| 857 | FlightSqlServerBase::kCancelQueryActionType, |
| 858 | FlightSqlServerBase::kCreatePreparedStatementActionType, |
| 859 | FlightSqlServerBase::kCreatePreparedSubstraitPlanActionType, |
| 860 | FlightSqlServerBase::kClosePreparedStatementActionType, |
| 861 | FlightSqlServerBase::kEndSavepointActionType, |
| 862 | FlightSqlServerBase::kEndTransactionActionType, |
| 863 | ActionType::kSetSessionOptions, |
| 864 | ActionType::kGetSessionOptions, |
| 865 | ActionType::kCloseSession}; |
| 866 | return Status::OK(); |
| 867 | } |
| 868 | |
| 869 | Status FlightSqlServerBase::DoAction(const ServerCallContext& context, |
| 870 | const Action& action, |