Commit 37e2859
committed
ClusterState: Accepts
There is no easy way for the users to create SerializedValues, which
makes the current APIs cumbersome to use. Instead they should accept
`&dyn SerializeRow` and perform serialization based on table metadata.
Worth noting that those methods can now return serialization error, so
the error type had to be change to PartitionKeyError because does not
have a variant with SerializationError.&dyn SerializeRow instead of SerializedValues
1 parent af5f53a commit 37e2859
2 files changed
+17
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | 221 | | |
225 | 222 | | |
226 | 223 | | |
| |||
245 | 242 | | |
246 | 243 | | |
247 | 244 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | 245 | | |
252 | 246 | | |
253 | | - | |
| 247 | + | |
254 | 248 | | |
255 | 249 | | |
256 | 250 | | |
| |||
272 | 266 | | |
273 | 267 | | |
274 | 268 | | |
275 | | - | |
| 269 | + | |
276 | 270 | | |
277 | 271 | | |
278 | 272 | | |
| |||
608 | 602 | | |
609 | 603 | | |
610 | 604 | | |
611 | | - | |
612 | 605 | | |
613 | 606 | | |
614 | 607 | | |
| |||
631 | 624 | | |
632 | 625 | | |
633 | 626 | | |
634 | | - | |
| 627 | + | |
635 | 628 | | |
636 | 629 | | |
637 | 630 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
208 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
212 | 217 | | |
213 | 218 | | |
214 | 219 | | |
215 | 220 | | |
216 | | - | |
| 221 | + | |
217 | 222 | | |
218 | 223 | | |
219 | 224 | | |
| |||
250 | 255 | | |
251 | 256 | | |
252 | 257 | | |
253 | | - | |
254 | | - | |
| 258 | + | |
| 259 | + | |
255 | 260 | | |
256 | 261 | | |
257 | 262 | | |
| |||
0 commit comments