(
&self,
_request: Request<Empty>,
)
| 783 | } |
| 784 | |
| 785 | async fn list_actions( |
| 786 | &self, |
| 787 | _request: Request<Empty>, |
| 788 | ) -> Result<Response<Self::ListActionsStream>, Status> { |
| 789 | let create_prepared_statement_action_type = ActionType { |
| 790 | r#type: CREATE_PREPARED_STATEMENT.to_string(), |
| 791 | description: "Creates a reusable prepared statement resource on the server.\n |
| 792 | Request Message: ActionCreatePreparedStatementRequest\n |
| 793 | Response Message: ActionCreatePreparedStatementResult" |
| 794 | .into(), |
| 795 | }; |
| 796 | let close_prepared_statement_action_type = ActionType { |
| 797 | r#type: CLOSE_PREPARED_STATEMENT.to_string(), |
| 798 | description: "Closes a reusable prepared statement resource on the server.\n |
| 799 | Request Message: ActionClosePreparedStatementRequest\n |
| 800 | Response Message: N/A" |
| 801 | .into(), |
| 802 | }; |
| 803 | let create_prepared_substrait_plan_action_type = ActionType { |
| 804 | r#type: CREATE_PREPARED_SUBSTRAIT_PLAN.to_string(), |
| 805 | description: "Creates a reusable prepared substrait plan resource on the server.\n |
| 806 | Request Message: ActionCreatePreparedSubstraitPlanRequest\n |
| 807 | Response Message: ActionCreatePreparedStatementResult" |
| 808 | .into(), |
| 809 | }; |
| 810 | let begin_transaction_action_type = ActionType { |
| 811 | r#type: BEGIN_TRANSACTION.to_string(), |
| 812 | description: "Begins a transaction.\n |
| 813 | Request Message: ActionBeginTransactionRequest\n |
| 814 | Response Message: ActionBeginTransactionResult" |
| 815 | .into(), |
| 816 | }; |
| 817 | let end_transaction_action_type = ActionType { |
| 818 | r#type: END_TRANSACTION.to_string(), |
| 819 | description: "Ends a transaction\n |
| 820 | Request Message: ActionEndTransactionRequest\n |
| 821 | Response Message: N/A" |
| 822 | .into(), |
| 823 | }; |
| 824 | let begin_savepoint_action_type = ActionType { |
| 825 | r#type: BEGIN_SAVEPOINT.to_string(), |
| 826 | description: "Begins a savepoint.\n |
| 827 | Request Message: ActionBeginSavepointRequest\n |
| 828 | Response Message: ActionBeginSavepointResult" |
| 829 | .into(), |
| 830 | }; |
| 831 | let end_savepoint_action_type = ActionType { |
| 832 | r#type: END_SAVEPOINT.to_string(), |
| 833 | description: "Ends a savepoint\n |
| 834 | Request Message: ActionEndSavepointRequest\n |
| 835 | Response Message: N/A" |
| 836 | .into(), |
| 837 | }; |
| 838 | let cancel_query_action_type = ActionType { |
| 839 | r#type: CANCEL_QUERY.to_string(), |
| 840 | description: "Cancels a query\n |
| 841 | Request Message: ActionCancelQueryRequest\n |
| 842 | Response Message: ActionCancelQueryResult" |
nothing calls this directly
no test coverage detected