1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecuteYqlRequest {
#[prost(message, optional, tag="1")]
pub operation_params: ::core::option::Option<super::operations::OperationParams>,
#[prost(string, tag="2")]
pub script: ::prost::alloc::string::String,
#[prost(map="string, message", tag="3")]
pub parameters: ::std::collections::HashMap<::prost::alloc::string::String, super::TypedValue>,
#[prost(enumeration="super::table::query_stats_collection::Mode", tag="4")]
pub collect_stats: i32,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecuteYqlResponse {
#[prost(message, optional, tag="1")]
pub operation: ::core::option::Option<super::operations::Operation>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecuteYqlResult {
#[prost(message, repeated, tag="1")]
pub result_sets: ::prost::alloc::vec::Vec<super::ResultSet>,
#[prost(message, optional, tag="2")]
pub query_stats: ::core::option::Option<super::table_stats::QueryStats>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecuteYqlPartialResponse {
#[prost(enumeration="super::status_ids::StatusCode", tag="1")]
pub status: i32,
#[prost(message, repeated, tag="2")]
pub issues: ::prost::alloc::vec::Vec<super::issue::IssueMessage>,
#[prost(message, optional, tag="3")]
pub result: ::core::option::Option<ExecuteYqlPartialResult>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExecuteYqlPartialResult {
#[prost(uint32, tag="1")]
pub result_set_index: u32,
#[prost(message, optional, tag="2")]
pub result_set: ::core::option::Option<super::ResultSet>,
#[prost(message, optional, tag="3")]
pub query_stats: ::core::option::Option<super::table_stats::QueryStats>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExplainYqlRequest {
#[prost(message, optional, tag="1")]
pub operation_params: ::core::option::Option<super::operations::OperationParams>,
#[prost(string, tag="2")]
pub script: ::prost::alloc::string::String,
#[prost(enumeration="explain_yql_request::Mode", tag="3")]
pub mode: i32,
}
pub mod explain_yql_request {
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Mode {
Unspecified = 0,
Validate = 2,
Plan = 3,
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExplainYqlResponse {
#[prost(message, optional, tag="1")]
pub operation: ::core::option::Option<super::operations::Operation>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExplainYqlResult {
#[prost(map="string, message", tag="1")]
pub parameters_types: ::std::collections::HashMap<::prost::alloc::string::String, super::Type>,
#[prost(string, tag="2")]
pub plan: ::prost::alloc::string::String,
}