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
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OperationStats {
#[prost(uint64, tag = "1")]
pub rows: u64,
#[prost(uint64, tag = "2")]
pub bytes: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TableAccessStats {
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
#[prost(message, optional, tag = "3")]
pub reads: ::core::option::Option<OperationStats>,
#[prost(message, optional, tag = "4")]
pub updates: ::core::option::Option<OperationStats>,
#[prost(message, optional, tag = "5")]
pub deletes: ::core::option::Option<OperationStats>,
#[prost(uint64, tag = "6")]
pub partitions_count: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryPhaseStats {
#[prost(uint64, tag = "1")]
pub duration_us: u64,
#[prost(message, repeated, tag = "2")]
pub table_access: ::prost::alloc::vec::Vec<TableAccessStats>,
#[prost(uint64, tag = "3")]
pub cpu_time_us: u64,
#[prost(uint64, tag = "4")]
pub affected_shards: u64,
#[prost(bool, tag = "5")]
pub literal_phase: bool,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CompilationStats {
#[prost(bool, tag = "1")]
pub from_cache: bool,
#[prost(uint64, tag = "2")]
pub duration_us: u64,
#[prost(uint64, tag = "3")]
pub cpu_time_us: u64,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryStats {
#[prost(message, repeated, tag = "1")]
pub query_phases: ::prost::alloc::vec::Vec<QueryPhaseStats>,
#[prost(message, optional, tag = "2")]
pub compilation: ::core::option::Option<CompilationStats>,
#[prost(uint64, tag = "3")]
pub process_cpu_time_us: u64,
#[prost(string, tag = "4")]
pub query_plan: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub query_ast: ::prost::alloc::string::String,
}