5
5
class ProfiledQueryPlanArguments
6
6
{
7
7
public function __construct (
8
- private readonly ?int $ globalMemory = null ,
8
+ private readonly ?int $ globalMemory = null ,
9
9
private readonly ?string $ plannerImpl = null ,
10
- private readonly ?int $ memory = null ,
10
+ private readonly ?int $ memory = null ,
11
11
private readonly ?string $ stringRepresentation = null ,
12
12
private readonly ?string $ runtime = null ,
13
- private readonly ?int $ time = null ,
14
- private readonly ?int $ pageCacheMisses = null ,
15
- private readonly ?int $ pageCacheHits = null ,
13
+ private readonly ?int $ time = null ,
14
+ private readonly ?int $ pageCacheMisses = null ,
15
+ // private readonly ?int $pageCacheHits = null,
16
16
private readonly ?string $ runtimeImpl = null ,
17
- private readonly ?int $ version = null ,
18
- private readonly ?int $ dbHits = null ,
19
- private readonly ?int $ batchSize = null ,
17
+ private readonly ?int $ version = null ,
18
+ private readonly ?int $ dbHits = null ,
19
+ private readonly ?int $ batchSize = null ,
20
20
private readonly ?string $ details = null ,
21
21
private readonly ?string $ plannerVersion = null ,
22
22
private readonly ?string $ pipelineInfo = null ,
23
23
private readonly ?string $ runtimeVersion = null ,
24
- private readonly ?int $ id = null ,
25
- private readonly ?float $ estimatedRows = null ,
24
+ private readonly ?int $ id = null ,
25
+ private readonly ?float $ estimatedRows = null ,
26
26
private readonly ?string $ planner = null ,
27
- private readonly ?int $ rows = null
27
+ private readonly ?int $ rows = null
28
28
) {
29
29
}
30
30
31
+ /**
32
+ * @psalm-suppress PossiblyUnusedMethod
33
+ */
31
34
public function getGlobalMemory (): ?int
32
35
{
33
36
return $ this ->globalMemory ;
34
37
}
38
+
35
39
/**
36
40
* @psalm-suppress PossiblyUnusedMethod
37
41
*/
@@ -47,13 +51,15 @@ public function getMemory(): ?int
47
51
{
48
52
return $ this ->memory ;
49
53
}
54
+
50
55
/**
51
56
* @psalm-suppress PossiblyUnusedMethod
52
57
*/
53
58
public function getStringRepresentation (): ?string
54
59
{
55
60
return $ this ->stringRepresentation ;
56
61
}
62
+
57
63
/**
58
64
* @psalm-suppress PossiblyUnusedMethod
59
65
*/
@@ -62,76 +68,123 @@ public function getRuntime(): ?string
62
68
return $ this ->runtime ;
63
69
}
64
70
71
+ /**
72
+ * @psalm-suppress PossiblyUnusedMethod
73
+ */
65
74
public function getTime (): ?int
66
75
{
67
76
return $ this ->time ;
68
77
}
69
78
79
+ /**
80
+ * @psalm-suppress PossiblyUnusedMethod
81
+ */
82
+
70
83
public function getPageCacheMisses (): ?int
71
84
{
72
85
return $ this ->pageCacheMisses ;
73
86
}
74
87
75
- private function getPageCacheHits (): ?int
88
+ /**
89
+ * @psalm-suppress PossiblyUnusedMethod
90
+ */
91
+ /*private function getPageCacheHits(): ?int
76
92
{
77
93
return $this->pageCacheHits;
78
- }
94
+ }*/
79
95
96
+ /**
97
+ * @psalm-suppress PossiblyUnusedMethod
98
+ */
80
99
public function getRuntimeImpl (): ?string
81
100
{
82
101
return $ this ->runtimeImpl ;
83
102
}
84
103
104
+ /**
105
+ * @psalm-suppress PossiblyUnusedMethod
106
+ */
85
107
public function getVersion (): ?int
86
108
{
87
109
return $ this ->version ;
88
110
}
89
111
112
+ /**
113
+ * @psalm-suppress PossiblyUnusedMethod
114
+ */
115
+
90
116
public function getDbHits (): ?int
91
117
{
92
118
return $ this ->dbHits ;
93
119
}
94
120
121
+ /**
122
+ * @psalm-suppress PossiblyUnusedMethod
123
+ */
95
124
public function getBatchSize (): ?int
96
125
{
97
126
return $ this ->batchSize ;
98
127
}
99
128
129
+ /**
130
+ * @psalm-suppress PossiblyUnusedMethod
131
+ */
100
132
public function getDetails (): ?string
101
133
{
102
134
return $ this ->details ;
103
135
}
104
136
137
+ /**
138
+ * @psalm-suppress PossiblyUnusedMethod
139
+ */
105
140
public function getPlannerVersion (): ?string
106
141
{
107
142
return $ this ->plannerVersion ;
108
143
}
109
144
145
+ /**
146
+ * @psalm-suppress PossiblyUnusedMethod
147
+ */
110
148
public function getPipelineInfo (): ?string
111
149
{
112
150
return $ this ->pipelineInfo ;
113
151
}
114
152
153
+ /**
154
+ * @psalm-suppress PossiblyUnusedMethod
155
+ */
115
156
public function getRuntimeVersion (): ?string
116
157
{
117
158
return $ this ->runtimeVersion ;
118
159
}
119
160
161
+ /**
162
+ * @psalm-suppress PossiblyUnusedMethod
163
+ */
120
164
public function getId (): ?int
121
165
{
122
166
return $ this ->id ;
123
167
}
124
168
169
+ /**
170
+ * @psalm-suppress PossiblyUnusedMethod
171
+ */
125
172
public function getEstimatedRows (): ?float
126
173
{
127
174
return $ this ->estimatedRows ;
128
175
}
129
176
177
+ /**
178
+ * @psalm-suppress PossiblyUnusedMethod
179
+ */
130
180
public function getPlanner (): ?string
131
181
{
132
182
return $ this ->planner ;
133
183
}
134
184
185
+ /**
186
+ * @psalm-suppress PossiblyUnusedMethod
187
+ */
135
188
public function getRows (): ?int
136
189
{
137
190
return $ this ->rows ;
0 commit comments