github.com/matrixorigin/matrixone@v1.2.0/pkg/pb/plan/plan.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: plan.proto 3 4 package plan 5 6 import ( 7 encoding_binary "encoding/binary" 8 fmt "fmt" 9 io "io" 10 math "math" 11 math_bits "math/bits" 12 13 _ "github.com/gogo/protobuf/gogoproto" 14 proto "github.com/gogo/protobuf/proto" 15 lock "github.com/matrixorigin/matrixone/pkg/pb/lock" 16 timestamp "github.com/matrixorigin/matrixone/pkg/pb/timestamp" 17 ) 18 19 // Reference imports to suppress errors if they are not otherwise used. 20 var _ = proto.Marshal 21 var _ = fmt.Errorf 22 var _ = math.Inf 23 24 // This is a compile-time assertion to ensure that this generated file 25 // is compatible with the proto package it is being compiled against. 26 // A compilation error at this line likely means your copy of the 27 // proto package needs to be updated. 28 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 29 30 type CompressType int32 31 32 const ( 33 CompressType_None CompressType = 0 34 CompressType_Lz4 CompressType = 1 35 ) 36 37 var CompressType_name = map[int32]string{ 38 0: "None", 39 1: "Lz4", 40 } 41 42 var CompressType_value = map[string]int32{ 43 "None": 0, 44 "Lz4": 1, 45 } 46 47 func (x CompressType) String() string { 48 return proto.EnumName(CompressType_name, int32(x)) 49 } 50 51 func (CompressType) EnumDescriptor() ([]byte, []int) { 52 return fileDescriptor_2d655ab2f7683c23, []int{0} 53 } 54 55 type PartitionType int32 56 57 const ( 58 PartitionType_KEY PartitionType = 0 59 PartitionType_LINEAR_KEY PartitionType = 1 60 PartitionType_HASH PartitionType = 2 61 PartitionType_LINEAR_HASH PartitionType = 3 62 PartitionType_RANGE PartitionType = 4 63 PartitionType_RANGE_COLUMNS PartitionType = 5 64 PartitionType_LIST PartitionType = 6 65 PartitionType_LIST_COLUMNS PartitionType = 7 66 ) 67 68 var PartitionType_name = map[int32]string{ 69 0: "KEY", 70 1: "LINEAR_KEY", 71 2: "HASH", 72 3: "LINEAR_HASH", 73 4: "RANGE", 74 5: "RANGE_COLUMNS", 75 6: "LIST", 76 7: "LIST_COLUMNS", 77 } 78 79 var PartitionType_value = map[string]int32{ 80 "KEY": 0, 81 "LINEAR_KEY": 1, 82 "HASH": 2, 83 "LINEAR_HASH": 3, 84 "RANGE": 4, 85 "RANGE_COLUMNS": 5, 86 "LIST": 6, 87 "LIST_COLUMNS": 7, 88 } 89 90 func (x PartitionType) String() string { 91 return proto.EnumName(PartitionType_name, int32(x)) 92 } 93 94 func (PartitionType) EnumDescriptor() ([]byte, []int) { 95 return fileDescriptor_2d655ab2f7683c23, []int{1} 96 } 97 98 type ShuffleType int32 99 100 const ( 101 ShuffleType_Hash ShuffleType = 0 102 ShuffleType_Range ShuffleType = 1 103 ) 104 105 var ShuffleType_name = map[int32]string{ 106 0: "Hash", 107 1: "Range", 108 } 109 110 var ShuffleType_value = map[string]int32{ 111 "Hash": 0, 112 "Range": 1, 113 } 114 115 func (x ShuffleType) String() string { 116 return proto.EnumName(ShuffleType_name, int32(x)) 117 } 118 119 func (ShuffleType) EnumDescriptor() ([]byte, []int) { 120 return fileDescriptor_2d655ab2f7683c23, []int{2} 121 } 122 123 type ShuffleMethod int32 124 125 const ( 126 ShuffleMethod_Normal ShuffleMethod = 0 127 ShuffleMethod_Reuse ShuffleMethod = 1 128 ShuffleMethod_Reshuffle ShuffleMethod = 2 129 ) 130 131 var ShuffleMethod_name = map[int32]string{ 132 0: "Normal", 133 1: "Reuse", 134 2: "Reshuffle", 135 } 136 137 var ShuffleMethod_value = map[string]int32{ 138 "Normal": 0, 139 "Reuse": 1, 140 "Reshuffle": 2, 141 } 142 143 func (x ShuffleMethod) String() string { 144 return proto.EnumName(ShuffleMethod_name, int32(x)) 145 } 146 147 func (ShuffleMethod) EnumDescriptor() ([]byte, []int) { 148 return fileDescriptor_2d655ab2f7683c23, []int{3} 149 } 150 151 type ShuffleTypeForMultiCN int32 152 153 const ( 154 ShuffleTypeForMultiCN_Simple ShuffleTypeForMultiCN = 0 155 ShuffleTypeForMultiCN_Hybrid ShuffleTypeForMultiCN = 1 156 ) 157 158 var ShuffleTypeForMultiCN_name = map[int32]string{ 159 0: "Simple", 160 1: "Hybrid", 161 } 162 163 var ShuffleTypeForMultiCN_value = map[string]int32{ 164 "Simple": 0, 165 "Hybrid": 1, 166 } 167 168 func (x ShuffleTypeForMultiCN) String() string { 169 return proto.EnumName(ShuffleTypeForMultiCN_name, int32(x)) 170 } 171 172 func (ShuffleTypeForMultiCN) EnumDescriptor() ([]byte, []int) { 173 return fileDescriptor_2d655ab2f7683c23, []int{4} 174 } 175 176 type TransationCompletionType int32 177 178 const ( 179 TransationCompletionType_CHAIN TransationCompletionType = 0 180 TransationCompletionType_NO_CHAIN TransationCompletionType = 1 181 TransationCompletionType_RELEASE TransationCompletionType = 2 182 ) 183 184 var TransationCompletionType_name = map[int32]string{ 185 0: "CHAIN", 186 1: "NO_CHAIN", 187 2: "RELEASE", 188 } 189 190 var TransationCompletionType_value = map[string]int32{ 191 "CHAIN": 0, 192 "NO_CHAIN": 1, 193 "RELEASE": 2, 194 } 195 196 func (x TransationCompletionType) String() string { 197 return proto.EnumName(TransationCompletionType_name, int32(x)) 198 } 199 200 func (TransationCompletionType) EnumDescriptor() ([]byte, []int) { 201 return fileDescriptor_2d655ab2f7683c23, []int{5} 202 } 203 204 type TableLockType int32 205 206 const ( 207 TableLockType_TableLockNone TableLockType = 0 208 TableLockType_TableLockRead TableLockType = 1 209 TableLockType_TableLockReadLocal TableLockType = 2 210 TableLockType_TableLockWrite TableLockType = 3 211 TableLockType_TableLockLowPriorityWrite TableLockType = 4 212 ) 213 214 var TableLockType_name = map[int32]string{ 215 0: "TableLockNone", 216 1: "TableLockRead", 217 2: "TableLockReadLocal", 218 3: "TableLockWrite", 219 4: "TableLockLowPriorityWrite", 220 } 221 222 var TableLockType_value = map[string]int32{ 223 "TableLockNone": 0, 224 "TableLockRead": 1, 225 "TableLockReadLocal": 2, 226 "TableLockWrite": 3, 227 "TableLockLowPriorityWrite": 4, 228 } 229 230 func (x TableLockType) String() string { 231 return proto.EnumName(TableLockType_name, int32(x)) 232 } 233 234 func (TableLockType) EnumDescriptor() ([]byte, []int) { 235 return fileDescriptor_2d655ab2f7683c23, []int{6} 236 } 237 238 type SubqueryRef_Type int32 239 240 const ( 241 SubqueryRef_SCALAR SubqueryRef_Type = 0 242 SubqueryRef_EXISTS SubqueryRef_Type = 1 243 SubqueryRef_NOT_EXISTS SubqueryRef_Type = 2 244 SubqueryRef_IN SubqueryRef_Type = 3 245 SubqueryRef_NOT_IN SubqueryRef_Type = 4 246 SubqueryRef_ANY SubqueryRef_Type = 5 247 SubqueryRef_ALL SubqueryRef_Type = 6 248 ) 249 250 var SubqueryRef_Type_name = map[int32]string{ 251 0: "SCALAR", 252 1: "EXISTS", 253 2: "NOT_EXISTS", 254 3: "IN", 255 4: "NOT_IN", 256 5: "ANY", 257 6: "ALL", 258 } 259 260 var SubqueryRef_Type_value = map[string]int32{ 261 "SCALAR": 0, 262 "EXISTS": 1, 263 "NOT_EXISTS": 2, 264 "IN": 3, 265 "NOT_IN": 4, 266 "ANY": 5, 267 "ALL": 6, 268 } 269 270 func (x SubqueryRef_Type) String() string { 271 return proto.EnumName(SubqueryRef_Type_name, int32(x)) 272 } 273 274 func (SubqueryRef_Type) EnumDescriptor() ([]byte, []int) { 275 return fileDescriptor_2d655ab2f7683c23, []int{11, 0} 276 } 277 278 // Function flags 279 type Function_FuncFlag int32 280 281 const ( 282 Function_NONE Function_FuncFlag = 0 283 // Internal function is generated by system, cannot 284 // by called by user. 285 Function_INTERNAL Function_FuncFlag = 1 286 // Function, by default is immutable. 287 Function_STABLE Function_FuncFlag = 2 288 Function_VOLATILE Function_FuncFlag = 4 289 // Nulls 290 Function_STRICT Function_FuncFlag = 8 291 Function_PRODUCE_NULL Function_FuncFlag = 16 292 Function_PRODUCE_NO_NULL Function_FuncFlag = 32 293 // Vararg, all trailing args must be of the same type. 294 Function_VARARG Function_FuncFlag = 64 295 // Window and Agg 296 Function_AGG Function_FuncFlag = 128 297 Function_WIN_VALUE Function_FuncFlag = 256 298 Function_WIN_ORDER Function_FuncFlag = 512 299 // Filter which can be applied on zonemaps 300 Function_ZONEMAPPABLE Function_FuncFlag = 1024 301 ) 302 303 var Function_FuncFlag_name = map[int32]string{ 304 0: "NONE", 305 1: "INTERNAL", 306 2: "STABLE", 307 4: "VOLATILE", 308 8: "STRICT", 309 16: "PRODUCE_NULL", 310 32: "PRODUCE_NO_NULL", 311 64: "VARARG", 312 128: "AGG", 313 256: "WIN_VALUE", 314 512: "WIN_ORDER", 315 1024: "ZONEMAPPABLE", 316 } 317 318 var Function_FuncFlag_value = map[string]int32{ 319 "NONE": 0, 320 "INTERNAL": 1, 321 "STABLE": 2, 322 "VOLATILE": 4, 323 "STRICT": 8, 324 "PRODUCE_NULL": 16, 325 "PRODUCE_NO_NULL": 32, 326 "VARARG": 64, 327 "AGG": 128, 328 "WIN_VALUE": 256, 329 "WIN_ORDER": 512, 330 "ZONEMAPPABLE": 1024, 331 } 332 333 func (x Function_FuncFlag) String() string { 334 return proto.EnumName(Function_FuncFlag_name, int32(x)) 335 } 336 337 func (Function_FuncFlag) EnumDescriptor() ([]byte, []int) { 338 return fileDescriptor_2d655ab2f7683c23, []int{15, 0} 339 } 340 341 type ForeignKeyDef_RefAction int32 342 343 const ( 344 ForeignKeyDef_RESTRICT ForeignKeyDef_RefAction = 0 345 ForeignKeyDef_CASCADE ForeignKeyDef_RefAction = 1 346 ForeignKeyDef_SET_NULL ForeignKeyDef_RefAction = 2 347 ForeignKeyDef_SET_DEFAULT ForeignKeyDef_RefAction = 3 348 ForeignKeyDef_NO_ACTION ForeignKeyDef_RefAction = 4 349 ) 350 351 var ForeignKeyDef_RefAction_name = map[int32]string{ 352 0: "RESTRICT", 353 1: "CASCADE", 354 2: "SET_NULL", 355 3: "SET_DEFAULT", 356 4: "NO_ACTION", 357 } 358 359 var ForeignKeyDef_RefAction_value = map[string]int32{ 360 "RESTRICT": 0, 361 "CASCADE": 1, 362 "SET_NULL": 2, 363 "SET_DEFAULT": 3, 364 "NO_ACTION": 4, 365 } 366 367 func (x ForeignKeyDef_RefAction) String() string { 368 return proto.EnumName(ForeignKeyDef_RefAction_name, int32(x)) 369 } 370 371 func (ForeignKeyDef_RefAction) EnumDescriptor() ([]byte, []int) { 372 return fileDescriptor_2d655ab2f7683c23, []int{27, 0} 373 } 374 375 type OrderBySpec_OrderByFlag int32 376 377 const ( 378 OrderBySpec_INTERNAL OrderBySpec_OrderByFlag = 0 379 OrderBySpec_ASC OrderBySpec_OrderByFlag = 1 380 OrderBySpec_DESC OrderBySpec_OrderByFlag = 2 381 OrderBySpec_NULLS_FIRST OrderBySpec_OrderByFlag = 4 382 OrderBySpec_NULLS_LAST OrderBySpec_OrderByFlag = 8 383 OrderBySpec_UNIQUE OrderBySpec_OrderByFlag = 16 384 ) 385 386 var OrderBySpec_OrderByFlag_name = map[int32]string{ 387 0: "INTERNAL", 388 1: "ASC", 389 2: "DESC", 390 4: "NULLS_FIRST", 391 8: "NULLS_LAST", 392 16: "UNIQUE", 393 } 394 395 var OrderBySpec_OrderByFlag_value = map[string]int32{ 396 "INTERNAL": 0, 397 "ASC": 1, 398 "DESC": 2, 399 "NULLS_FIRST": 4, 400 "NULLS_LAST": 8, 401 "UNIQUE": 16, 402 } 403 404 func (x OrderBySpec_OrderByFlag) String() string { 405 return proto.EnumName(OrderBySpec_OrderByFlag_name, int32(x)) 406 } 407 408 func (OrderBySpec_OrderByFlag) EnumDescriptor() ([]byte, []int) { 409 return fileDescriptor_2d655ab2f7683c23, []int{45, 0} 410 } 411 412 type FrameClause_FrameType int32 413 414 const ( 415 FrameClause_ROWS FrameClause_FrameType = 0 416 FrameClause_RANGE FrameClause_FrameType = 1 417 ) 418 419 var FrameClause_FrameType_name = map[int32]string{ 420 0: "ROWS", 421 1: "RANGE", 422 } 423 424 var FrameClause_FrameType_value = map[string]int32{ 425 "ROWS": 0, 426 "RANGE": 1, 427 } 428 429 func (x FrameClause_FrameType) String() string { 430 return proto.EnumName(FrameClause_FrameType_name, int32(x)) 431 } 432 433 func (FrameClause_FrameType) EnumDescriptor() ([]byte, []int) { 434 return fileDescriptor_2d655ab2f7683c23, []int{48, 0} 435 } 436 437 type FrameBound_BoundType int32 438 439 const ( 440 FrameBound_FOLLOWING FrameBound_BoundType = 0 441 FrameBound_PRECEDING FrameBound_BoundType = 1 442 FrameBound_CURRENT_ROW FrameBound_BoundType = 2 443 ) 444 445 var FrameBound_BoundType_name = map[int32]string{ 446 0: "FOLLOWING", 447 1: "PRECEDING", 448 2: "CURRENT_ROW", 449 } 450 451 var FrameBound_BoundType_value = map[string]int32{ 452 "FOLLOWING": 0, 453 "PRECEDING": 1, 454 "CURRENT_ROW": 2, 455 } 456 457 func (x FrameBound_BoundType) String() string { 458 return proto.EnumName(FrameBound_BoundType_name, int32(x)) 459 } 460 461 func (FrameBound_BoundType) EnumDescriptor() ([]byte, []int) { 462 return fileDescriptor_2d655ab2f7683c23, []int{49, 0} 463 } 464 465 type Node_NodeType int32 466 467 const ( 468 Node_UNKNOWN Node_NodeType = 0 469 // Scans 470 Node_VALUE_SCAN Node_NodeType = 1 471 Node_TABLE_SCAN Node_NodeType = 2 472 Node_FUNCTION_SCAN Node_NodeType = 3 473 Node_EXTERNAL_SCAN Node_NodeType = 4 474 Node_MATERIAL_SCAN Node_NodeType = 5 475 Node_SOURCE_SCAN Node_NodeType = 6 476 // Proj, for convenience 477 Node_PROJECT Node_NodeType = 10 478 // External function call (UDF) 479 Node_EXTERNAL_FUNCTION Node_NodeType = 11 480 // Material, CTE, etc. 481 Node_MATERIAL Node_NodeType = 20 482 Node_RECURSIVE_CTE Node_NodeType = 21 483 Node_SINK Node_NodeType = 22 484 Node_SINK_SCAN Node_NodeType = 23 485 Node_RECURSIVE_SCAN Node_NodeType = 24 486 // Proper Relational Operators 487 Node_AGG Node_NodeType = 30 488 Node_DISTINCT Node_NodeType = 31 489 Node_FILTER Node_NodeType = 32 490 Node_JOIN Node_NodeType = 33 491 Node_SAMPLE Node_NodeType = 34 492 Node_SORT Node_NodeType = 35 493 Node_UNION Node_NodeType = 36 494 Node_UNION_ALL Node_NodeType = 37 495 Node_UNIQUE Node_NodeType = 38 496 Node_WINDOW Node_NodeType = 39 497 // Physical tuple mover 498 Node_BROADCAST Node_NodeType = 40 499 Node_SPLIT Node_NodeType = 41 500 Node_GATHER Node_NodeType = 42 501 // Misc 502 Node_ASSERT Node_NodeType = 50 503 // 504 Node_INSERT Node_NodeType = 51 505 Node_DELETE Node_NodeType = 52 506 Node_REPLACE Node_NodeType = 53 507 // 508 Node_LOCK_OP Node_NodeType = 54 509 // 510 Node_INTERSECT Node_NodeType = 55 511 Node_INTERSECT_ALL Node_NodeType = 56 512 Node_MINUS Node_NodeType = 57 513 Node_MINUS_ALL Node_NodeType = 58 514 // 515 Node_ON_DUPLICATE_KEY Node_NodeType = 59 516 Node_PRE_INSERT Node_NodeType = 60 517 Node_PRE_DELETE Node_NodeType = 61 518 // the node which build insert batch for hidden table(unique key) 519 Node_PRE_INSERT_UK Node_NodeType = 62 520 Node_PRE_INSERT_SK Node_NodeType = 63 521 // 522 Node_TIME_WINDOW Node_NodeType = 64 523 Node_FILL Node_NodeType = 65 524 Node_PARTITION Node_NodeType = 66 525 Node_FUZZY_FILTER Node_NodeType = 67 526 ) 527 528 var Node_NodeType_name = map[int32]string{ 529 0: "UNKNOWN", 530 1: "VALUE_SCAN", 531 2: "TABLE_SCAN", 532 3: "FUNCTION_SCAN", 533 4: "EXTERNAL_SCAN", 534 5: "MATERIAL_SCAN", 535 6: "SOURCE_SCAN", 536 10: "PROJECT", 537 11: "EXTERNAL_FUNCTION", 538 20: "MATERIAL", 539 21: "RECURSIVE_CTE", 540 22: "SINK", 541 23: "SINK_SCAN", 542 24: "RECURSIVE_SCAN", 543 30: "AGG", 544 31: "DISTINCT", 545 32: "FILTER", 546 33: "JOIN", 547 34: "SAMPLE", 548 35: "SORT", 549 36: "UNION", 550 37: "UNION_ALL", 551 38: "UNIQUE", 552 39: "WINDOW", 553 40: "BROADCAST", 554 41: "SPLIT", 555 42: "GATHER", 556 50: "ASSERT", 557 51: "INSERT", 558 52: "DELETE", 559 53: "REPLACE", 560 54: "LOCK_OP", 561 55: "INTERSECT", 562 56: "INTERSECT_ALL", 563 57: "MINUS", 564 58: "MINUS_ALL", 565 59: "ON_DUPLICATE_KEY", 566 60: "PRE_INSERT", 567 61: "PRE_DELETE", 568 62: "PRE_INSERT_UK", 569 63: "PRE_INSERT_SK", 570 64: "TIME_WINDOW", 571 65: "FILL", 572 66: "PARTITION", 573 67: "FUZZY_FILTER", 574 } 575 576 var Node_NodeType_value = map[string]int32{ 577 "UNKNOWN": 0, 578 "VALUE_SCAN": 1, 579 "TABLE_SCAN": 2, 580 "FUNCTION_SCAN": 3, 581 "EXTERNAL_SCAN": 4, 582 "MATERIAL_SCAN": 5, 583 "SOURCE_SCAN": 6, 584 "PROJECT": 10, 585 "EXTERNAL_FUNCTION": 11, 586 "MATERIAL": 20, 587 "RECURSIVE_CTE": 21, 588 "SINK": 22, 589 "SINK_SCAN": 23, 590 "RECURSIVE_SCAN": 24, 591 "AGG": 30, 592 "DISTINCT": 31, 593 "FILTER": 32, 594 "JOIN": 33, 595 "SAMPLE": 34, 596 "SORT": 35, 597 "UNION": 36, 598 "UNION_ALL": 37, 599 "UNIQUE": 38, 600 "WINDOW": 39, 601 "BROADCAST": 40, 602 "SPLIT": 41, 603 "GATHER": 42, 604 "ASSERT": 50, 605 "INSERT": 51, 606 "DELETE": 52, 607 "REPLACE": 53, 608 "LOCK_OP": 54, 609 "INTERSECT": 55, 610 "INTERSECT_ALL": 56, 611 "MINUS": 57, 612 "MINUS_ALL": 58, 613 "ON_DUPLICATE_KEY": 59, 614 "PRE_INSERT": 60, 615 "PRE_DELETE": 61, 616 "PRE_INSERT_UK": 62, 617 "PRE_INSERT_SK": 63, 618 "TIME_WINDOW": 64, 619 "FILL": 65, 620 "PARTITION": 66, 621 "FUZZY_FILTER": 67, 622 } 623 624 func (x Node_NodeType) String() string { 625 return proto.EnumName(Node_NodeType_name, int32(x)) 626 } 627 628 func (Node_NodeType) EnumDescriptor() ([]byte, []int) { 629 return fileDescriptor_2d655ab2f7683c23, []int{56, 0} 630 } 631 632 type Node_JoinType int32 633 634 const ( 635 Node_INNER Node_JoinType = 0 636 Node_LEFT Node_JoinType = 1 637 Node_RIGHT Node_JoinType = 2 638 Node_OUTER Node_JoinType = 3 639 Node_SEMI Node_JoinType = 4 640 Node_ANTI Node_JoinType = 5 641 Node_SINGLE Node_JoinType = 6 642 Node_MARK Node_JoinType = 7 643 Node_APPLY Node_JoinType = 8 644 Node_INDEX Node_JoinType = 9 645 ) 646 647 var Node_JoinType_name = map[int32]string{ 648 0: "INNER", 649 1: "LEFT", 650 2: "RIGHT", 651 3: "OUTER", 652 4: "SEMI", 653 5: "ANTI", 654 6: "SINGLE", 655 7: "MARK", 656 8: "APPLY", 657 9: "INDEX", 658 } 659 660 var Node_JoinType_value = map[string]int32{ 661 "INNER": 0, 662 "LEFT": 1, 663 "RIGHT": 2, 664 "OUTER": 3, 665 "SEMI": 4, 666 "ANTI": 5, 667 "SINGLE": 6, 668 "MARK": 7, 669 "APPLY": 8, 670 "INDEX": 9, 671 } 672 673 func (x Node_JoinType) String() string { 674 return proto.EnumName(Node_JoinType_name, int32(x)) 675 } 676 677 func (Node_JoinType) EnumDescriptor() ([]byte, []int) { 678 return fileDescriptor_2d655ab2f7683c23, []int{56, 1} 679 } 680 681 type Node_AggMode int32 682 683 const ( 684 Node_FULL Node_AggMode = 0 685 Node_BOTTOM Node_AggMode = 1 686 Node_TOP Node_AggMode = 2 687 ) 688 689 var Node_AggMode_name = map[int32]string{ 690 0: "FULL", 691 1: "BOTTOM", 692 2: "TOP", 693 } 694 695 var Node_AggMode_value = map[string]int32{ 696 "FULL": 0, 697 "BOTTOM": 1, 698 "TOP": 2, 699 } 700 701 func (x Node_AggMode) String() string { 702 return proto.EnumName(Node_AggMode_name, int32(x)) 703 } 704 705 func (Node_AggMode) EnumDescriptor() ([]byte, []int) { 706 return fileDescriptor_2d655ab2f7683c23, []int{56, 2} 707 } 708 709 type Node_FillType int32 710 711 const ( 712 Node_NONE Node_FillType = 0 713 Node_PREV Node_FillType = 1 714 Node_NEXT Node_FillType = 2 715 Node_NULL Node_FillType = 3 716 Node_VALUE Node_FillType = 4 717 Node_LINEAR Node_FillType = 5 718 ) 719 720 var Node_FillType_name = map[int32]string{ 721 0: "NONE", 722 1: "PREV", 723 2: "NEXT", 724 3: "NULL", 725 4: "VALUE", 726 5: "LINEAR", 727 } 728 729 var Node_FillType_value = map[string]int32{ 730 "NONE": 0, 731 "PREV": 1, 732 "NEXT": 2, 733 "NULL": 3, 734 "VALUE": 4, 735 "LINEAR": 5, 736 } 737 738 func (x Node_FillType) String() string { 739 return proto.EnumName(Node_FillType_name, int32(x)) 740 } 741 742 func (Node_FillType) EnumDescriptor() ([]byte, []int) { 743 return fileDescriptor_2d655ab2f7683c23, []int{56, 3} 744 } 745 746 type Query_StatementType int32 747 748 const ( 749 Query_UNKNOWN Query_StatementType = 0 750 Query_SELECT Query_StatementType = 1 751 Query_INSERT Query_StatementType = 2 752 Query_REPLACE Query_StatementType = 3 753 Query_DELETE Query_StatementType = 4 754 Query_UPDATE Query_StatementType = 5 755 Query_MERGE Query_StatementType = 6 756 ) 757 758 var Query_StatementType_name = map[int32]string{ 759 0: "UNKNOWN", 760 1: "SELECT", 761 2: "INSERT", 762 3: "REPLACE", 763 4: "DELETE", 764 5: "UPDATE", 765 6: "MERGE", 766 } 767 768 var Query_StatementType_value = map[string]int32{ 769 "UNKNOWN": 0, 770 "SELECT": 1, 771 "INSERT": 2, 772 "REPLACE": 3, 773 "DELETE": 4, 774 "UPDATE": 5, 775 "MERGE": 6, 776 } 777 778 func (x Query_StatementType) String() string { 779 return proto.EnumName(Query_StatementType_name, int32(x)) 780 } 781 782 func (Query_StatementType) EnumDescriptor() ([]byte, []int) { 783 return fileDescriptor_2d655ab2f7683c23, []int{68, 0} 784 } 785 786 type TransationControl_TclType int32 787 788 const ( 789 TransationControl_BEGIN TransationControl_TclType = 0 790 TransationControl_COMMIT TransationControl_TclType = 1 791 TransationControl_ROLLBACK TransationControl_TclType = 2 792 ) 793 794 var TransationControl_TclType_name = map[int32]string{ 795 0: "BEGIN", 796 1: "COMMIT", 797 2: "ROLLBACK", 798 } 799 800 var TransationControl_TclType_value = map[string]int32{ 801 "BEGIN": 0, 802 "COMMIT": 1, 803 "ROLLBACK": 2, 804 } 805 806 func (x TransationControl_TclType) String() string { 807 return proto.EnumName(TransationControl_TclType_name, int32(x)) 808 } 809 810 func (TransationControl_TclType) EnumDescriptor() ([]byte, []int) { 811 return fileDescriptor_2d655ab2f7683c23, []int{69, 0} 812 } 813 814 type TransationBegin_TransationMode int32 815 816 const ( 817 TransationBegin_NONE TransationBegin_TransationMode = 0 818 TransationBegin_READ_ONLY TransationBegin_TransationMode = 1 819 TransationBegin_READ_WRITE TransationBegin_TransationMode = 2 820 ) 821 822 var TransationBegin_TransationMode_name = map[int32]string{ 823 0: "NONE", 824 1: "READ_ONLY", 825 2: "READ_WRITE", 826 } 827 828 var TransationBegin_TransationMode_value = map[string]int32{ 829 "NONE": 0, 830 "READ_ONLY": 1, 831 "READ_WRITE": 2, 832 } 833 834 func (x TransationBegin_TransationMode) String() string { 835 return proto.EnumName(TransationBegin_TransationMode_name, int32(x)) 836 } 837 838 func (TransationBegin_TransationMode) EnumDescriptor() ([]byte, []int) { 839 return fileDescriptor_2d655ab2f7683c23, []int{70, 0} 840 } 841 842 type DataControl_DclType int32 843 844 const ( 845 DataControl_SET_VARIABLES DataControl_DclType = 0 846 DataControl_GRANT DataControl_DclType = 1 847 DataControl_REVOKE DataControl_DclType = 2 848 DataControl_DENY DataControl_DclType = 3 849 DataControl_PREPARE DataControl_DclType = 4 850 DataControl_EXECUTE DataControl_DclType = 5 851 DataControl_DEALLOCATE DataControl_DclType = 6 852 DataControl_CREATE_ACCOUNT DataControl_DclType = 7 853 DataControl_ALTER_ACCOUNT DataControl_DclType = 8 854 DataControl_DROP_ACCOUNT DataControl_DclType = 9 855 ) 856 857 var DataControl_DclType_name = map[int32]string{ 858 0: "SET_VARIABLES", 859 1: "GRANT", 860 2: "REVOKE", 861 3: "DENY", 862 4: "PREPARE", 863 5: "EXECUTE", 864 6: "DEALLOCATE", 865 7: "CREATE_ACCOUNT", 866 8: "ALTER_ACCOUNT", 867 9: "DROP_ACCOUNT", 868 } 869 870 var DataControl_DclType_value = map[string]int32{ 871 "SET_VARIABLES": 0, 872 "GRANT": 1, 873 "REVOKE": 2, 874 "DENY": 3, 875 "PREPARE": 4, 876 "EXECUTE": 5, 877 "DEALLOCATE": 6, 878 "CREATE_ACCOUNT": 7, 879 "ALTER_ACCOUNT": 8, 880 "DROP_ACCOUNT": 9, 881 } 882 883 func (x DataControl_DclType) String() string { 884 return proto.EnumName(DataControl_DclType_name, int32(x)) 885 } 886 887 func (DataControl_DclType) EnumDescriptor() ([]byte, []int) { 888 return fileDescriptor_2d655ab2f7683c23, []int{75, 0} 889 } 890 891 type DataDefinition_DdlType int32 892 893 const ( 894 DataDefinition_CREATE_DATABASE DataDefinition_DdlType = 0 895 DataDefinition_ALTER_DATABASE DataDefinition_DdlType = 1 896 DataDefinition_DROP_DATABASE DataDefinition_DdlType = 2 897 DataDefinition_CREATE_TABLE DataDefinition_DdlType = 3 898 DataDefinition_ALTER_TABLE DataDefinition_DdlType = 4 899 DataDefinition_DROP_TABLE DataDefinition_DdlType = 5 900 DataDefinition_CREATE_INDEX DataDefinition_DdlType = 6 901 DataDefinition_ALTER_INDEX DataDefinition_DdlType = 7 902 DataDefinition_DROP_INDEX DataDefinition_DdlType = 8 903 DataDefinition_TRUNCATE_TABLE DataDefinition_DdlType = 9 904 DataDefinition_CREATE_VIEW DataDefinition_DdlType = 10 905 DataDefinition_ALTER_VIEW DataDefinition_DdlType = 11 906 DataDefinition_DROP_VIEW DataDefinition_DdlType = 12 907 DataDefinition_SHOW_CREATEDATABASE DataDefinition_DdlType = 13 908 DataDefinition_SHOW_CREATETABLE DataDefinition_DdlType = 14 909 DataDefinition_SHOW_DATABASES DataDefinition_DdlType = 15 910 DataDefinition_SHOW_TABLES DataDefinition_DdlType = 16 911 DataDefinition_SHOW_COLUMNS DataDefinition_DdlType = 17 912 DataDefinition_SHOW_INDEX DataDefinition_DdlType = 18 913 DataDefinition_SHOW_VARIABLES DataDefinition_DdlType = 19 914 DataDefinition_SHOW_WARNINGS DataDefinition_DdlType = 20 915 DataDefinition_SHOW_ERRORS DataDefinition_DdlType = 21 916 DataDefinition_SHOW_STATUS DataDefinition_DdlType = 22 917 DataDefinition_SHOW_PROCESSLIST DataDefinition_DdlType = 23 918 DataDefinition_SHOW_TABLE_STATUS DataDefinition_DdlType = 24 919 DataDefinition_SHOW_TARGET DataDefinition_DdlType = 25 920 DataDefinition_SHOW_COLLATION DataDefinition_DdlType = 26 921 DataDefinition_LOCK_TABLES DataDefinition_DdlType = 27 922 DataDefinition_UNLOCK_TABLES DataDefinition_DdlType = 28 923 DataDefinition_CREATE_SEQUENCE DataDefinition_DdlType = 29 924 DataDefinition_ALTER_SEQUENCE DataDefinition_DdlType = 30 925 DataDefinition_DROP_SEQUENCE DataDefinition_DdlType = 31 926 DataDefinition_SHOW_SEQUENCES DataDefinition_DdlType = 32 927 DataDefinition_SHOW_CONNECTORS DataDefinition_DdlType = 33 928 DataDefinition_SHOW_UPGRADE DataDefinition_DdlType = 34 929 ) 930 931 var DataDefinition_DdlType_name = map[int32]string{ 932 0: "CREATE_DATABASE", 933 1: "ALTER_DATABASE", 934 2: "DROP_DATABASE", 935 3: "CREATE_TABLE", 936 4: "ALTER_TABLE", 937 5: "DROP_TABLE", 938 6: "CREATE_INDEX", 939 7: "ALTER_INDEX", 940 8: "DROP_INDEX", 941 9: "TRUNCATE_TABLE", 942 10: "CREATE_VIEW", 943 11: "ALTER_VIEW", 944 12: "DROP_VIEW", 945 13: "SHOW_CREATEDATABASE", 946 14: "SHOW_CREATETABLE", 947 15: "SHOW_DATABASES", 948 16: "SHOW_TABLES", 949 17: "SHOW_COLUMNS", 950 18: "SHOW_INDEX", 951 19: "SHOW_VARIABLES", 952 20: "SHOW_WARNINGS", 953 21: "SHOW_ERRORS", 954 22: "SHOW_STATUS", 955 23: "SHOW_PROCESSLIST", 956 24: "SHOW_TABLE_STATUS", 957 25: "SHOW_TARGET", 958 26: "SHOW_COLLATION", 959 27: "LOCK_TABLES", 960 28: "UNLOCK_TABLES", 961 29: "CREATE_SEQUENCE", 962 30: "ALTER_SEQUENCE", 963 31: "DROP_SEQUENCE", 964 32: "SHOW_SEQUENCES", 965 33: "SHOW_CONNECTORS", 966 34: "SHOW_UPGRADE", 967 } 968 969 var DataDefinition_DdlType_value = map[string]int32{ 970 "CREATE_DATABASE": 0, 971 "ALTER_DATABASE": 1, 972 "DROP_DATABASE": 2, 973 "CREATE_TABLE": 3, 974 "ALTER_TABLE": 4, 975 "DROP_TABLE": 5, 976 "CREATE_INDEX": 6, 977 "ALTER_INDEX": 7, 978 "DROP_INDEX": 8, 979 "TRUNCATE_TABLE": 9, 980 "CREATE_VIEW": 10, 981 "ALTER_VIEW": 11, 982 "DROP_VIEW": 12, 983 "SHOW_CREATEDATABASE": 13, 984 "SHOW_CREATETABLE": 14, 985 "SHOW_DATABASES": 15, 986 "SHOW_TABLES": 16, 987 "SHOW_COLUMNS": 17, 988 "SHOW_INDEX": 18, 989 "SHOW_VARIABLES": 19, 990 "SHOW_WARNINGS": 20, 991 "SHOW_ERRORS": 21, 992 "SHOW_STATUS": 22, 993 "SHOW_PROCESSLIST": 23, 994 "SHOW_TABLE_STATUS": 24, 995 "SHOW_TARGET": 25, 996 "SHOW_COLLATION": 26, 997 "LOCK_TABLES": 27, 998 "UNLOCK_TABLES": 28, 999 "CREATE_SEQUENCE": 29, 1000 "ALTER_SEQUENCE": 30, 1001 "DROP_SEQUENCE": 31, 1002 "SHOW_SEQUENCES": 32, 1003 "SHOW_CONNECTORS": 33, 1004 "SHOW_UPGRADE": 34, 1005 } 1006 1007 func (x DataDefinition_DdlType) String() string { 1008 return proto.EnumName(DataDefinition_DdlType_name, int32(x)) 1009 } 1010 1011 func (DataDefinition_DdlType) EnumDescriptor() ([]byte, []int) { 1012 return fileDescriptor_2d655ab2f7683c23, []int{76, 0} 1013 } 1014 1015 type AlterTableDrop_Typ int32 1016 1017 const ( 1018 AlterTableDrop_COLUMN AlterTableDrop_Typ = 0 1019 AlterTableDrop_INDEX AlterTableDrop_Typ = 1 1020 AlterTableDrop_KEY AlterTableDrop_Typ = 2 1021 AlterTableDrop_PRIMARY_KEY AlterTableDrop_Typ = 3 1022 AlterTableDrop_FOREIGN_KEY AlterTableDrop_Typ = 4 1023 ) 1024 1025 var AlterTableDrop_Typ_name = map[int32]string{ 1026 0: "COLUMN", 1027 1: "INDEX", 1028 2: "KEY", 1029 3: "PRIMARY_KEY", 1030 4: "FOREIGN_KEY", 1031 } 1032 1033 var AlterTableDrop_Typ_value = map[string]int32{ 1034 "COLUMN": 0, 1035 "INDEX": 1, 1036 "KEY": 2, 1037 "PRIMARY_KEY": 3, 1038 "FOREIGN_KEY": 4, 1039 } 1040 1041 func (x AlterTableDrop_Typ) String() string { 1042 return proto.EnumName(AlterTableDrop_Typ_name, int32(x)) 1043 } 1044 1045 func (AlterTableDrop_Typ) EnumDescriptor() ([]byte, []int) { 1046 return fileDescriptor_2d655ab2f7683c23, []int{84, 0} 1047 } 1048 1049 type AlterTable_AlgorithmType int32 1050 1051 const ( 1052 AlterTable_DEFAULT AlterTable_AlgorithmType = 0 1053 AlterTable_COPY AlterTable_AlgorithmType = 1 1054 AlterTable_INSTANT AlterTable_AlgorithmType = 2 1055 AlterTable_INPLACE AlterTable_AlgorithmType = 3 1056 ) 1057 1058 var AlterTable_AlgorithmType_name = map[int32]string{ 1059 0: "DEFAULT", 1060 1: "COPY", 1061 2: "INSTANT", 1062 3: "INPLACE", 1063 } 1064 1065 var AlterTable_AlgorithmType_value = map[string]int32{ 1066 "DEFAULT": 0, 1067 "COPY": 1, 1068 "INSTANT": 2, 1069 "INPLACE": 3, 1070 } 1071 1072 func (x AlterTable_AlgorithmType) String() string { 1073 return proto.EnumName(AlterTable_AlgorithmType_name, int32(x)) 1074 } 1075 1076 func (AlterTable_AlgorithmType) EnumDescriptor() ([]byte, []int) { 1077 return fileDescriptor_2d655ab2f7683c23, []int{95, 0} 1078 } 1079 1080 type MetadataScanInfo_MetadataScanInfoType int32 1081 1082 const ( 1083 MetadataScanInfo_COL_NAME MetadataScanInfo_MetadataScanInfoType = 0 1084 MetadataScanInfo_OBJECT_NAME MetadataScanInfo_MetadataScanInfoType = 1 1085 MetadataScanInfo_IS_HIDDEN MetadataScanInfo_MetadataScanInfoType = 2 1086 MetadataScanInfo_OBJ_LOC MetadataScanInfo_MetadataScanInfoType = 3 1087 MetadataScanInfo_CREATE_TS MetadataScanInfo_MetadataScanInfoType = 4 1088 MetadataScanInfo_DELETE_TS MetadataScanInfo_MetadataScanInfoType = 5 1089 MetadataScanInfo_ROWS_CNT MetadataScanInfo_MetadataScanInfoType = 6 1090 MetadataScanInfo_NULL_CNT MetadataScanInfo_MetadataScanInfoType = 7 1091 MetadataScanInfo_COMPRESS_SIZE MetadataScanInfo_MetadataScanInfoType = 8 1092 MetadataScanInfo_ORIGIN_SIZE MetadataScanInfo_MetadataScanInfoType = 9 1093 MetadataScanInfo_MIN MetadataScanInfo_MetadataScanInfoType = 10 1094 MetadataScanInfo_MAX MetadataScanInfo_MetadataScanInfoType = 11 1095 MetadataScanInfo_SUM MetadataScanInfo_MetadataScanInfoType = 12 1096 ) 1097 1098 var MetadataScanInfo_MetadataScanInfoType_name = map[int32]string{ 1099 0: "COL_NAME", 1100 1: "OBJECT_NAME", 1101 2: "IS_HIDDEN", 1102 3: "OBJ_LOC", 1103 4: "CREATE_TS", 1104 5: "DELETE_TS", 1105 6: "ROWS_CNT", 1106 7: "NULL_CNT", 1107 8: "COMPRESS_SIZE", 1108 9: "ORIGIN_SIZE", 1109 10: "MIN", 1110 11: "MAX", 1111 12: "SUM", 1112 } 1113 1114 var MetadataScanInfo_MetadataScanInfoType_value = map[string]int32{ 1115 "COL_NAME": 0, 1116 "OBJECT_NAME": 1, 1117 "IS_HIDDEN": 2, 1118 "OBJ_LOC": 3, 1119 "CREATE_TS": 4, 1120 "DELETE_TS": 5, 1121 "ROWS_CNT": 6, 1122 "NULL_CNT": 7, 1123 "COMPRESS_SIZE": 8, 1124 "ORIGIN_SIZE": 9, 1125 "MIN": 10, 1126 "MAX": 11, 1127 "SUM": 12, 1128 } 1129 1130 func (x MetadataScanInfo_MetadataScanInfoType) String() string { 1131 return proto.EnumName(MetadataScanInfo_MetadataScanInfoType_name, int32(x)) 1132 } 1133 1134 func (MetadataScanInfo_MetadataScanInfoType) EnumDescriptor() ([]byte, []int) { 1135 return fileDescriptor_2d655ab2f7683c23, []int{116, 0} 1136 } 1137 1138 type Type struct { 1139 Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 1140 NotNullable bool `protobuf:"varint,2,opt,name=notNullable,proto3" json:"notNullable,omitempty"` 1141 AutoIncr bool `protobuf:"varint,3,opt,name=auto_incr,json=autoIncr,proto3" json:"auto_incr,omitempty"` 1142 Width int32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` 1143 Scale int32 `protobuf:"varint,5,opt,name=scale,proto3" json:"scale,omitempty"` 1144 Table string `protobuf:"bytes,6,opt,name=table,proto3" json:"table,omitempty"` 1145 Enumvalues string `protobuf:"bytes,7,opt,name=enumvalues,proto3" json:"enumvalues,omitempty"` 1146 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1147 XXX_unrecognized []byte `json:"-"` 1148 XXX_sizecache int32 `json:"-"` 1149 } 1150 1151 func (m *Type) Reset() { *m = Type{} } 1152 func (m *Type) String() string { return proto.CompactTextString(m) } 1153 func (*Type) ProtoMessage() {} 1154 func (*Type) Descriptor() ([]byte, []int) { 1155 return fileDescriptor_2d655ab2f7683c23, []int{0} 1156 } 1157 func (m *Type) XXX_Unmarshal(b []byte) error { 1158 return m.Unmarshal(b) 1159 } 1160 func (m *Type) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1161 if deterministic { 1162 return xxx_messageInfo_Type.Marshal(b, m, deterministic) 1163 } else { 1164 b = b[:cap(b)] 1165 n, err := m.MarshalToSizedBuffer(b) 1166 if err != nil { 1167 return nil, err 1168 } 1169 return b[:n], nil 1170 } 1171 } 1172 func (m *Type) XXX_Merge(src proto.Message) { 1173 xxx_messageInfo_Type.Merge(m, src) 1174 } 1175 func (m *Type) XXX_Size() int { 1176 return m.ProtoSize() 1177 } 1178 func (m *Type) XXX_DiscardUnknown() { 1179 xxx_messageInfo_Type.DiscardUnknown(m) 1180 } 1181 1182 var xxx_messageInfo_Type proto.InternalMessageInfo 1183 1184 func (m *Type) GetId() int32 { 1185 if m != nil { 1186 return m.Id 1187 } 1188 return 0 1189 } 1190 1191 func (m *Type) GetNotNullable() bool { 1192 if m != nil { 1193 return m.NotNullable 1194 } 1195 return false 1196 } 1197 1198 func (m *Type) GetAutoIncr() bool { 1199 if m != nil { 1200 return m.AutoIncr 1201 } 1202 return false 1203 } 1204 1205 func (m *Type) GetWidth() int32 { 1206 if m != nil { 1207 return m.Width 1208 } 1209 return 0 1210 } 1211 1212 func (m *Type) GetScale() int32 { 1213 if m != nil { 1214 return m.Scale 1215 } 1216 return 0 1217 } 1218 1219 func (m *Type) GetTable() string { 1220 if m != nil { 1221 return m.Table 1222 } 1223 return "" 1224 } 1225 1226 func (m *Type) GetEnumvalues() string { 1227 if m != nil { 1228 return m.Enumvalues 1229 } 1230 return "" 1231 } 1232 1233 type MsgHeader struct { 1234 MsgTag int32 `protobuf:"varint,1,opt,name=msg_tag,json=msgTag,proto3" json:"msg_tag,omitempty"` 1235 MsgType int32 `protobuf:"varint,2,opt,name=msg_type,json=msgType,proto3" json:"msg_type,omitempty"` 1236 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1237 XXX_unrecognized []byte `json:"-"` 1238 XXX_sizecache int32 `json:"-"` 1239 } 1240 1241 func (m *MsgHeader) Reset() { *m = MsgHeader{} } 1242 func (m *MsgHeader) String() string { return proto.CompactTextString(m) } 1243 func (*MsgHeader) ProtoMessage() {} 1244 func (*MsgHeader) Descriptor() ([]byte, []int) { 1245 return fileDescriptor_2d655ab2f7683c23, []int{1} 1246 } 1247 func (m *MsgHeader) XXX_Unmarshal(b []byte) error { 1248 return m.Unmarshal(b) 1249 } 1250 func (m *MsgHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1251 if deterministic { 1252 return xxx_messageInfo_MsgHeader.Marshal(b, m, deterministic) 1253 } else { 1254 b = b[:cap(b)] 1255 n, err := m.MarshalToSizedBuffer(b) 1256 if err != nil { 1257 return nil, err 1258 } 1259 return b[:n], nil 1260 } 1261 } 1262 func (m *MsgHeader) XXX_Merge(src proto.Message) { 1263 xxx_messageInfo_MsgHeader.Merge(m, src) 1264 } 1265 func (m *MsgHeader) XXX_Size() int { 1266 return m.ProtoSize() 1267 } 1268 func (m *MsgHeader) XXX_DiscardUnknown() { 1269 xxx_messageInfo_MsgHeader.DiscardUnknown(m) 1270 } 1271 1272 var xxx_messageInfo_MsgHeader proto.InternalMessageInfo 1273 1274 func (m *MsgHeader) GetMsgTag() int32 { 1275 if m != nil { 1276 return m.MsgTag 1277 } 1278 return 0 1279 } 1280 1281 func (m *MsgHeader) GetMsgType() int32 { 1282 if m != nil { 1283 return m.MsgType 1284 } 1285 return 0 1286 } 1287 1288 // Literal: if a literal value can be reprensented by int64 or 1289 // double, use that, otherwise store a string representation. 1290 type Literal struct { 1291 Isnull bool `protobuf:"varint,1,opt,name=isnull,proto3" json:"isnull,omitempty"` 1292 // Types that are valid to be assigned to Value: 1293 // *Literal_I8Val 1294 // *Literal_I16Val 1295 // *Literal_I32Val 1296 // *Literal_I64Val 1297 // *Literal_U8Val 1298 // *Literal_U16Val 1299 // *Literal_U32Val 1300 // *Literal_U64Val 1301 // *Literal_Dval 1302 // *Literal_Sval 1303 // *Literal_Bval 1304 // *Literal_Fval 1305 // *Literal_Dateval 1306 // *Literal_Timeval 1307 // *Literal_Datetimeval 1308 // *Literal_Decimal64Val 1309 // *Literal_Decimal128Val 1310 // *Literal_Timestampval 1311 // *Literal_Jsonval 1312 // *Literal_Defaultval 1313 // *Literal_UpdateVal 1314 // *Literal_EnumVal 1315 Value isLiteral_Value `protobuf_oneof:"value"` 1316 IsBin bool `protobuf:"varint,24,opt,name=isBin,proto3" json:"isBin,omitempty"` 1317 Src *Expr `protobuf:"bytes,25,opt,name=src,proto3" json:"src,omitempty"` 1318 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1319 XXX_unrecognized []byte `json:"-"` 1320 XXX_sizecache int32 `json:"-"` 1321 } 1322 1323 func (m *Literal) Reset() { *m = Literal{} } 1324 func (m *Literal) String() string { return proto.CompactTextString(m) } 1325 func (*Literal) ProtoMessage() {} 1326 func (*Literal) Descriptor() ([]byte, []int) { 1327 return fileDescriptor_2d655ab2f7683c23, []int{2} 1328 } 1329 func (m *Literal) XXX_Unmarshal(b []byte) error { 1330 return m.Unmarshal(b) 1331 } 1332 func (m *Literal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1333 if deterministic { 1334 return xxx_messageInfo_Literal.Marshal(b, m, deterministic) 1335 } else { 1336 b = b[:cap(b)] 1337 n, err := m.MarshalToSizedBuffer(b) 1338 if err != nil { 1339 return nil, err 1340 } 1341 return b[:n], nil 1342 } 1343 } 1344 func (m *Literal) XXX_Merge(src proto.Message) { 1345 xxx_messageInfo_Literal.Merge(m, src) 1346 } 1347 func (m *Literal) XXX_Size() int { 1348 return m.ProtoSize() 1349 } 1350 func (m *Literal) XXX_DiscardUnknown() { 1351 xxx_messageInfo_Literal.DiscardUnknown(m) 1352 } 1353 1354 var xxx_messageInfo_Literal proto.InternalMessageInfo 1355 1356 type isLiteral_Value interface { 1357 isLiteral_Value() 1358 MarshalTo([]byte) (int, error) 1359 ProtoSize() int 1360 } 1361 1362 type Literal_I8Val struct { 1363 I8Val int32 `protobuf:"varint,2,opt,name=i8val,proto3,oneof" json:"i8val,omitempty"` 1364 } 1365 type Literal_I16Val struct { 1366 I16Val int32 `protobuf:"varint,3,opt,name=i16val,proto3,oneof" json:"i16val,omitempty"` 1367 } 1368 type Literal_I32Val struct { 1369 I32Val int32 `protobuf:"varint,4,opt,name=i32val,proto3,oneof" json:"i32val,omitempty"` 1370 } 1371 type Literal_I64Val struct { 1372 I64Val int64 `protobuf:"varint,5,opt,name=i64val,proto3,oneof" json:"i64val,omitempty"` 1373 } 1374 type Literal_U8Val struct { 1375 U8Val uint32 `protobuf:"varint,6,opt,name=u8val,proto3,oneof" json:"u8val,omitempty"` 1376 } 1377 type Literal_U16Val struct { 1378 U16Val uint32 `protobuf:"varint,7,opt,name=u16val,proto3,oneof" json:"u16val,omitempty"` 1379 } 1380 type Literal_U32Val struct { 1381 U32Val uint32 `protobuf:"varint,8,opt,name=u32val,proto3,oneof" json:"u32val,omitempty"` 1382 } 1383 type Literal_U64Val struct { 1384 U64Val uint64 `protobuf:"varint,9,opt,name=u64val,proto3,oneof" json:"u64val,omitempty"` 1385 } 1386 type Literal_Dval struct { 1387 Dval float64 `protobuf:"fixed64,10,opt,name=dval,proto3,oneof" json:"dval,omitempty"` 1388 } 1389 type Literal_Sval struct { 1390 Sval string `protobuf:"bytes,11,opt,name=sval,proto3,oneof" json:"sval,omitempty"` 1391 } 1392 type Literal_Bval struct { 1393 Bval bool `protobuf:"varint,12,opt,name=bval,proto3,oneof" json:"bval,omitempty"` 1394 } 1395 type Literal_Fval struct { 1396 Fval float32 `protobuf:"fixed32,13,opt,name=fval,proto3,oneof" json:"fval,omitempty"` 1397 } 1398 type Literal_Dateval struct { 1399 Dateval int32 `protobuf:"varint,14,opt,name=dateval,proto3,oneof" json:"dateval,omitempty"` 1400 } 1401 type Literal_Timeval struct { 1402 Timeval int64 `protobuf:"varint,15,opt,name=timeval,proto3,oneof" json:"timeval,omitempty"` 1403 } 1404 type Literal_Datetimeval struct { 1405 Datetimeval int64 `protobuf:"varint,16,opt,name=datetimeval,proto3,oneof" json:"datetimeval,omitempty"` 1406 } 1407 type Literal_Decimal64Val struct { 1408 Decimal64Val *Decimal64 `protobuf:"bytes,17,opt,name=decimal64val,proto3,oneof" json:"decimal64val,omitempty"` 1409 } 1410 type Literal_Decimal128Val struct { 1411 Decimal128Val *Decimal128 `protobuf:"bytes,18,opt,name=decimal128val,proto3,oneof" json:"decimal128val,omitempty"` 1412 } 1413 type Literal_Timestampval struct { 1414 Timestampval int64 `protobuf:"varint,19,opt,name=timestampval,proto3,oneof" json:"timestampval,omitempty"` 1415 } 1416 type Literal_Jsonval struct { 1417 Jsonval string `protobuf:"bytes,20,opt,name=jsonval,proto3,oneof" json:"jsonval,omitempty"` 1418 } 1419 type Literal_Defaultval struct { 1420 Defaultval bool `protobuf:"varint,21,opt,name=defaultval,proto3,oneof" json:"defaultval,omitempty"` 1421 } 1422 type Literal_UpdateVal struct { 1423 UpdateVal bool `protobuf:"varint,22,opt,name=updateVal,proto3,oneof" json:"updateVal,omitempty"` 1424 } 1425 type Literal_EnumVal struct { 1426 EnumVal uint32 `protobuf:"varint,23,opt,name=enumVal,proto3,oneof" json:"enumVal,omitempty"` 1427 } 1428 1429 func (*Literal_I8Val) isLiteral_Value() {} 1430 func (*Literal_I16Val) isLiteral_Value() {} 1431 func (*Literal_I32Val) isLiteral_Value() {} 1432 func (*Literal_I64Val) isLiteral_Value() {} 1433 func (*Literal_U8Val) isLiteral_Value() {} 1434 func (*Literal_U16Val) isLiteral_Value() {} 1435 func (*Literal_U32Val) isLiteral_Value() {} 1436 func (*Literal_U64Val) isLiteral_Value() {} 1437 func (*Literal_Dval) isLiteral_Value() {} 1438 func (*Literal_Sval) isLiteral_Value() {} 1439 func (*Literal_Bval) isLiteral_Value() {} 1440 func (*Literal_Fval) isLiteral_Value() {} 1441 func (*Literal_Dateval) isLiteral_Value() {} 1442 func (*Literal_Timeval) isLiteral_Value() {} 1443 func (*Literal_Datetimeval) isLiteral_Value() {} 1444 func (*Literal_Decimal64Val) isLiteral_Value() {} 1445 func (*Literal_Decimal128Val) isLiteral_Value() {} 1446 func (*Literal_Timestampval) isLiteral_Value() {} 1447 func (*Literal_Jsonval) isLiteral_Value() {} 1448 func (*Literal_Defaultval) isLiteral_Value() {} 1449 func (*Literal_UpdateVal) isLiteral_Value() {} 1450 func (*Literal_EnumVal) isLiteral_Value() {} 1451 1452 func (m *Literal) GetValue() isLiteral_Value { 1453 if m != nil { 1454 return m.Value 1455 } 1456 return nil 1457 } 1458 1459 func (m *Literal) GetIsnull() bool { 1460 if m != nil { 1461 return m.Isnull 1462 } 1463 return false 1464 } 1465 1466 func (m *Literal) GetI8Val() int32 { 1467 if x, ok := m.GetValue().(*Literal_I8Val); ok { 1468 return x.I8Val 1469 } 1470 return 0 1471 } 1472 1473 func (m *Literal) GetI16Val() int32 { 1474 if x, ok := m.GetValue().(*Literal_I16Val); ok { 1475 return x.I16Val 1476 } 1477 return 0 1478 } 1479 1480 func (m *Literal) GetI32Val() int32 { 1481 if x, ok := m.GetValue().(*Literal_I32Val); ok { 1482 return x.I32Val 1483 } 1484 return 0 1485 } 1486 1487 func (m *Literal) GetI64Val() int64 { 1488 if x, ok := m.GetValue().(*Literal_I64Val); ok { 1489 return x.I64Val 1490 } 1491 return 0 1492 } 1493 1494 func (m *Literal) GetU8Val() uint32 { 1495 if x, ok := m.GetValue().(*Literal_U8Val); ok { 1496 return x.U8Val 1497 } 1498 return 0 1499 } 1500 1501 func (m *Literal) GetU16Val() uint32 { 1502 if x, ok := m.GetValue().(*Literal_U16Val); ok { 1503 return x.U16Val 1504 } 1505 return 0 1506 } 1507 1508 func (m *Literal) GetU32Val() uint32 { 1509 if x, ok := m.GetValue().(*Literal_U32Val); ok { 1510 return x.U32Val 1511 } 1512 return 0 1513 } 1514 1515 func (m *Literal) GetU64Val() uint64 { 1516 if x, ok := m.GetValue().(*Literal_U64Val); ok { 1517 return x.U64Val 1518 } 1519 return 0 1520 } 1521 1522 func (m *Literal) GetDval() float64 { 1523 if x, ok := m.GetValue().(*Literal_Dval); ok { 1524 return x.Dval 1525 } 1526 return 0 1527 } 1528 1529 func (m *Literal) GetSval() string { 1530 if x, ok := m.GetValue().(*Literal_Sval); ok { 1531 return x.Sval 1532 } 1533 return "" 1534 } 1535 1536 func (m *Literal) GetBval() bool { 1537 if x, ok := m.GetValue().(*Literal_Bval); ok { 1538 return x.Bval 1539 } 1540 return false 1541 } 1542 1543 func (m *Literal) GetFval() float32 { 1544 if x, ok := m.GetValue().(*Literal_Fval); ok { 1545 return x.Fval 1546 } 1547 return 0 1548 } 1549 1550 func (m *Literal) GetDateval() int32 { 1551 if x, ok := m.GetValue().(*Literal_Dateval); ok { 1552 return x.Dateval 1553 } 1554 return 0 1555 } 1556 1557 func (m *Literal) GetTimeval() int64 { 1558 if x, ok := m.GetValue().(*Literal_Timeval); ok { 1559 return x.Timeval 1560 } 1561 return 0 1562 } 1563 1564 func (m *Literal) GetDatetimeval() int64 { 1565 if x, ok := m.GetValue().(*Literal_Datetimeval); ok { 1566 return x.Datetimeval 1567 } 1568 return 0 1569 } 1570 1571 func (m *Literal) GetDecimal64Val() *Decimal64 { 1572 if x, ok := m.GetValue().(*Literal_Decimal64Val); ok { 1573 return x.Decimal64Val 1574 } 1575 return nil 1576 } 1577 1578 func (m *Literal) GetDecimal128Val() *Decimal128 { 1579 if x, ok := m.GetValue().(*Literal_Decimal128Val); ok { 1580 return x.Decimal128Val 1581 } 1582 return nil 1583 } 1584 1585 func (m *Literal) GetTimestampval() int64 { 1586 if x, ok := m.GetValue().(*Literal_Timestampval); ok { 1587 return x.Timestampval 1588 } 1589 return 0 1590 } 1591 1592 func (m *Literal) GetJsonval() string { 1593 if x, ok := m.GetValue().(*Literal_Jsonval); ok { 1594 return x.Jsonval 1595 } 1596 return "" 1597 } 1598 1599 func (m *Literal) GetDefaultval() bool { 1600 if x, ok := m.GetValue().(*Literal_Defaultval); ok { 1601 return x.Defaultval 1602 } 1603 return false 1604 } 1605 1606 func (m *Literal) GetUpdateVal() bool { 1607 if x, ok := m.GetValue().(*Literal_UpdateVal); ok { 1608 return x.UpdateVal 1609 } 1610 return false 1611 } 1612 1613 func (m *Literal) GetEnumVal() uint32 { 1614 if x, ok := m.GetValue().(*Literal_EnumVal); ok { 1615 return x.EnumVal 1616 } 1617 return 0 1618 } 1619 1620 func (m *Literal) GetIsBin() bool { 1621 if m != nil { 1622 return m.IsBin 1623 } 1624 return false 1625 } 1626 1627 func (m *Literal) GetSrc() *Expr { 1628 if m != nil { 1629 return m.Src 1630 } 1631 return nil 1632 } 1633 1634 // XXX_OneofWrappers is for the internal use of the proto package. 1635 func (*Literal) XXX_OneofWrappers() []interface{} { 1636 return []interface{}{ 1637 (*Literal_I8Val)(nil), 1638 (*Literal_I16Val)(nil), 1639 (*Literal_I32Val)(nil), 1640 (*Literal_I64Val)(nil), 1641 (*Literal_U8Val)(nil), 1642 (*Literal_U16Val)(nil), 1643 (*Literal_U32Val)(nil), 1644 (*Literal_U64Val)(nil), 1645 (*Literal_Dval)(nil), 1646 (*Literal_Sval)(nil), 1647 (*Literal_Bval)(nil), 1648 (*Literal_Fval)(nil), 1649 (*Literal_Dateval)(nil), 1650 (*Literal_Timeval)(nil), 1651 (*Literal_Datetimeval)(nil), 1652 (*Literal_Decimal64Val)(nil), 1653 (*Literal_Decimal128Val)(nil), 1654 (*Literal_Timestampval)(nil), 1655 (*Literal_Jsonval)(nil), 1656 (*Literal_Defaultval)(nil), 1657 (*Literal_UpdateVal)(nil), 1658 (*Literal_EnumVal)(nil), 1659 } 1660 } 1661 1662 // Bounded param for prepared statement. User fill on execution. 1663 type ParamRef struct { 1664 Pos int32 `protobuf:"varint,1,opt,name=pos,proto3" json:"pos,omitempty"` 1665 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1666 XXX_unrecognized []byte `json:"-"` 1667 XXX_sizecache int32 `json:"-"` 1668 } 1669 1670 func (m *ParamRef) Reset() { *m = ParamRef{} } 1671 func (m *ParamRef) String() string { return proto.CompactTextString(m) } 1672 func (*ParamRef) ProtoMessage() {} 1673 func (*ParamRef) Descriptor() ([]byte, []int) { 1674 return fileDescriptor_2d655ab2f7683c23, []int{3} 1675 } 1676 func (m *ParamRef) XXX_Unmarshal(b []byte) error { 1677 return m.Unmarshal(b) 1678 } 1679 func (m *ParamRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1680 if deterministic { 1681 return xxx_messageInfo_ParamRef.Marshal(b, m, deterministic) 1682 } else { 1683 b = b[:cap(b)] 1684 n, err := m.MarshalToSizedBuffer(b) 1685 if err != nil { 1686 return nil, err 1687 } 1688 return b[:n], nil 1689 } 1690 } 1691 func (m *ParamRef) XXX_Merge(src proto.Message) { 1692 xxx_messageInfo_ParamRef.Merge(m, src) 1693 } 1694 func (m *ParamRef) XXX_Size() int { 1695 return m.ProtoSize() 1696 } 1697 func (m *ParamRef) XXX_DiscardUnknown() { 1698 xxx_messageInfo_ParamRef.DiscardUnknown(m) 1699 } 1700 1701 var xxx_messageInfo_ParamRef proto.InternalMessageInfo 1702 1703 func (m *ParamRef) GetPos() int32 { 1704 if m != nil { 1705 return m.Pos 1706 } 1707 return 0 1708 } 1709 1710 // Session variable ref, compiler should fold. 1711 type VarRef struct { 1712 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1713 System bool `protobuf:"varint,2,opt,name=system,proto3" json:"system,omitempty"` 1714 Global bool `protobuf:"varint,3,opt,name=global,proto3" json:"global,omitempty"` 1715 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1716 XXX_unrecognized []byte `json:"-"` 1717 XXX_sizecache int32 `json:"-"` 1718 } 1719 1720 func (m *VarRef) Reset() { *m = VarRef{} } 1721 func (m *VarRef) String() string { return proto.CompactTextString(m) } 1722 func (*VarRef) ProtoMessage() {} 1723 func (*VarRef) Descriptor() ([]byte, []int) { 1724 return fileDescriptor_2d655ab2f7683c23, []int{4} 1725 } 1726 func (m *VarRef) XXX_Unmarshal(b []byte) error { 1727 return m.Unmarshal(b) 1728 } 1729 func (m *VarRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1730 if deterministic { 1731 return xxx_messageInfo_VarRef.Marshal(b, m, deterministic) 1732 } else { 1733 b = b[:cap(b)] 1734 n, err := m.MarshalToSizedBuffer(b) 1735 if err != nil { 1736 return nil, err 1737 } 1738 return b[:n], nil 1739 } 1740 } 1741 func (m *VarRef) XXX_Merge(src proto.Message) { 1742 xxx_messageInfo_VarRef.Merge(m, src) 1743 } 1744 func (m *VarRef) XXX_Size() int { 1745 return m.ProtoSize() 1746 } 1747 func (m *VarRef) XXX_DiscardUnknown() { 1748 xxx_messageInfo_VarRef.DiscardUnknown(m) 1749 } 1750 1751 var xxx_messageInfo_VarRef proto.InternalMessageInfo 1752 1753 func (m *VarRef) GetName() string { 1754 if m != nil { 1755 return m.Name 1756 } 1757 return "" 1758 } 1759 1760 func (m *VarRef) GetSystem() bool { 1761 if m != nil { 1762 return m.System 1763 } 1764 return false 1765 } 1766 1767 func (m *VarRef) GetGlobal() bool { 1768 if m != nil { 1769 return m.Global 1770 } 1771 return false 1772 } 1773 1774 // Reference a column in the proj list of a node. 1775 type ColRef struct { 1776 RelPos int32 `protobuf:"varint,1,opt,name=rel_pos,json=relPos,proto3" json:"rel_pos,omitempty"` 1777 ColPos int32 `protobuf:"varint,2,opt,name=col_pos,json=colPos,proto3" json:"col_pos,omitempty"` 1778 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 1779 TblName string `protobuf:"bytes,4,opt,name=tbl_name,json=tblName,proto3" json:"tbl_name,omitempty"` 1780 DbName string `protobuf:"bytes,5,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` 1781 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1782 XXX_unrecognized []byte `json:"-"` 1783 XXX_sizecache int32 `json:"-"` 1784 } 1785 1786 func (m *ColRef) Reset() { *m = ColRef{} } 1787 func (m *ColRef) String() string { return proto.CompactTextString(m) } 1788 func (*ColRef) ProtoMessage() {} 1789 func (*ColRef) Descriptor() ([]byte, []int) { 1790 return fileDescriptor_2d655ab2f7683c23, []int{5} 1791 } 1792 func (m *ColRef) XXX_Unmarshal(b []byte) error { 1793 return m.Unmarshal(b) 1794 } 1795 func (m *ColRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1796 if deterministic { 1797 return xxx_messageInfo_ColRef.Marshal(b, m, deterministic) 1798 } else { 1799 b = b[:cap(b)] 1800 n, err := m.MarshalToSizedBuffer(b) 1801 if err != nil { 1802 return nil, err 1803 } 1804 return b[:n], nil 1805 } 1806 } 1807 func (m *ColRef) XXX_Merge(src proto.Message) { 1808 xxx_messageInfo_ColRef.Merge(m, src) 1809 } 1810 func (m *ColRef) XXX_Size() int { 1811 return m.ProtoSize() 1812 } 1813 func (m *ColRef) XXX_DiscardUnknown() { 1814 xxx_messageInfo_ColRef.DiscardUnknown(m) 1815 } 1816 1817 var xxx_messageInfo_ColRef proto.InternalMessageInfo 1818 1819 func (m *ColRef) GetRelPos() int32 { 1820 if m != nil { 1821 return m.RelPos 1822 } 1823 return 0 1824 } 1825 1826 func (m *ColRef) GetColPos() int32 { 1827 if m != nil { 1828 return m.ColPos 1829 } 1830 return 0 1831 } 1832 1833 func (m *ColRef) GetName() string { 1834 if m != nil { 1835 return m.Name 1836 } 1837 return "" 1838 } 1839 1840 func (m *ColRef) GetTblName() string { 1841 if m != nil { 1842 return m.TblName 1843 } 1844 return "" 1845 } 1846 1847 func (m *ColRef) GetDbName() string { 1848 if m != nil { 1849 return m.DbName 1850 } 1851 return "" 1852 } 1853 1854 // Reference a column by its internal table id and column id 1855 type RawColRef struct { 1856 TblId uint64 `protobuf:"varint,1,opt,name=tbl_id,json=tblId,proto3" json:"tbl_id,omitempty"` 1857 ColId uint64 `protobuf:"varint,2,opt,name=col_id,json=colId,proto3" json:"col_id,omitempty"` 1858 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1859 XXX_unrecognized []byte `json:"-"` 1860 XXX_sizecache int32 `json:"-"` 1861 } 1862 1863 func (m *RawColRef) Reset() { *m = RawColRef{} } 1864 func (m *RawColRef) String() string { return proto.CompactTextString(m) } 1865 func (*RawColRef) ProtoMessage() {} 1866 func (*RawColRef) Descriptor() ([]byte, []int) { 1867 return fileDescriptor_2d655ab2f7683c23, []int{6} 1868 } 1869 func (m *RawColRef) XXX_Unmarshal(b []byte) error { 1870 return m.Unmarshal(b) 1871 } 1872 func (m *RawColRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1873 if deterministic { 1874 return xxx_messageInfo_RawColRef.Marshal(b, m, deterministic) 1875 } else { 1876 b = b[:cap(b)] 1877 n, err := m.MarshalToSizedBuffer(b) 1878 if err != nil { 1879 return nil, err 1880 } 1881 return b[:n], nil 1882 } 1883 } 1884 func (m *RawColRef) XXX_Merge(src proto.Message) { 1885 xxx_messageInfo_RawColRef.Merge(m, src) 1886 } 1887 func (m *RawColRef) XXX_Size() int { 1888 return m.ProtoSize() 1889 } 1890 func (m *RawColRef) XXX_DiscardUnknown() { 1891 xxx_messageInfo_RawColRef.DiscardUnknown(m) 1892 } 1893 1894 var xxx_messageInfo_RawColRef proto.InternalMessageInfo 1895 1896 func (m *RawColRef) GetTblId() uint64 { 1897 if m != nil { 1898 return m.TblId 1899 } 1900 return 0 1901 } 1902 1903 func (m *RawColRef) GetColId() uint64 { 1904 if m != nil { 1905 return m.ColId 1906 } 1907 return 0 1908 } 1909 1910 // Reference a correlated column in the proj list of a node. 1911 type CorrColRef struct { 1912 RelPos int32 `protobuf:"varint,1,opt,name=rel_pos,json=relPos,proto3" json:"rel_pos,omitempty"` 1913 ColPos int32 `protobuf:"varint,2,opt,name=col_pos,json=colPos,proto3" json:"col_pos,omitempty"` 1914 Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"` 1915 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1916 XXX_unrecognized []byte `json:"-"` 1917 XXX_sizecache int32 `json:"-"` 1918 } 1919 1920 func (m *CorrColRef) Reset() { *m = CorrColRef{} } 1921 func (m *CorrColRef) String() string { return proto.CompactTextString(m) } 1922 func (*CorrColRef) ProtoMessage() {} 1923 func (*CorrColRef) Descriptor() ([]byte, []int) { 1924 return fileDescriptor_2d655ab2f7683c23, []int{7} 1925 } 1926 func (m *CorrColRef) XXX_Unmarshal(b []byte) error { 1927 return m.Unmarshal(b) 1928 } 1929 func (m *CorrColRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1930 if deterministic { 1931 return xxx_messageInfo_CorrColRef.Marshal(b, m, deterministic) 1932 } else { 1933 b = b[:cap(b)] 1934 n, err := m.MarshalToSizedBuffer(b) 1935 if err != nil { 1936 return nil, err 1937 } 1938 return b[:n], nil 1939 } 1940 } 1941 func (m *CorrColRef) XXX_Merge(src proto.Message) { 1942 xxx_messageInfo_CorrColRef.Merge(m, src) 1943 } 1944 func (m *CorrColRef) XXX_Size() int { 1945 return m.ProtoSize() 1946 } 1947 func (m *CorrColRef) XXX_DiscardUnknown() { 1948 xxx_messageInfo_CorrColRef.DiscardUnknown(m) 1949 } 1950 1951 var xxx_messageInfo_CorrColRef proto.InternalMessageInfo 1952 1953 func (m *CorrColRef) GetRelPos() int32 { 1954 if m != nil { 1955 return m.RelPos 1956 } 1957 return 0 1958 } 1959 1960 func (m *CorrColRef) GetColPos() int32 { 1961 if m != nil { 1962 return m.ColPos 1963 } 1964 return 0 1965 } 1966 1967 func (m *CorrColRef) GetDepth() int32 { 1968 if m != nil { 1969 return m.Depth 1970 } 1971 return 0 1972 } 1973 1974 // ExprList is a type of Expr 1975 type ExprList struct { 1976 List []*Expr `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` 1977 XXX_NoUnkeyedLiteral struct{} `json:"-"` 1978 XXX_unrecognized []byte `json:"-"` 1979 XXX_sizecache int32 `json:"-"` 1980 } 1981 1982 func (m *ExprList) Reset() { *m = ExprList{} } 1983 func (m *ExprList) String() string { return proto.CompactTextString(m) } 1984 func (*ExprList) ProtoMessage() {} 1985 func (*ExprList) Descriptor() ([]byte, []int) { 1986 return fileDescriptor_2d655ab2f7683c23, []int{8} 1987 } 1988 func (m *ExprList) XXX_Unmarshal(b []byte) error { 1989 return m.Unmarshal(b) 1990 } 1991 func (m *ExprList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1992 if deterministic { 1993 return xxx_messageInfo_ExprList.Marshal(b, m, deterministic) 1994 } else { 1995 b = b[:cap(b)] 1996 n, err := m.MarshalToSizedBuffer(b) 1997 if err != nil { 1998 return nil, err 1999 } 2000 return b[:n], nil 2001 } 2002 } 2003 func (m *ExprList) XXX_Merge(src proto.Message) { 2004 xxx_messageInfo_ExprList.Merge(m, src) 2005 } 2006 func (m *ExprList) XXX_Size() int { 2007 return m.ProtoSize() 2008 } 2009 func (m *ExprList) XXX_DiscardUnknown() { 2010 xxx_messageInfo_ExprList.DiscardUnknown(m) 2011 } 2012 2013 var xxx_messageInfo_ExprList proto.InternalMessageInfo 2014 2015 func (m *ExprList) GetList() []*Expr { 2016 if m != nil { 2017 return m.List 2018 } 2019 return nil 2020 } 2021 2022 type MaxValue struct { 2023 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` 2024 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2025 XXX_unrecognized []byte `json:"-"` 2026 XXX_sizecache int32 `json:"-"` 2027 } 2028 2029 func (m *MaxValue) Reset() { *m = MaxValue{} } 2030 func (m *MaxValue) String() string { return proto.CompactTextString(m) } 2031 func (*MaxValue) ProtoMessage() {} 2032 func (*MaxValue) Descriptor() ([]byte, []int) { 2033 return fileDescriptor_2d655ab2f7683c23, []int{9} 2034 } 2035 func (m *MaxValue) XXX_Unmarshal(b []byte) error { 2036 return m.Unmarshal(b) 2037 } 2038 func (m *MaxValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2039 if deterministic { 2040 return xxx_messageInfo_MaxValue.Marshal(b, m, deterministic) 2041 } else { 2042 b = b[:cap(b)] 2043 n, err := m.MarshalToSizedBuffer(b) 2044 if err != nil { 2045 return nil, err 2046 } 2047 return b[:n], nil 2048 } 2049 } 2050 func (m *MaxValue) XXX_Merge(src proto.Message) { 2051 xxx_messageInfo_MaxValue.Merge(m, src) 2052 } 2053 func (m *MaxValue) XXX_Size() int { 2054 return m.ProtoSize() 2055 } 2056 func (m *MaxValue) XXX_DiscardUnknown() { 2057 xxx_messageInfo_MaxValue.DiscardUnknown(m) 2058 } 2059 2060 var xxx_messageInfo_MaxValue proto.InternalMessageInfo 2061 2062 func (m *MaxValue) GetValue() string { 2063 if m != nil { 2064 return m.Value 2065 } 2066 return "" 2067 } 2068 2069 // TargetType used in cast function as target type 2070 type TargetType struct { 2071 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2072 XXX_unrecognized []byte `json:"-"` 2073 XXX_sizecache int32 `json:"-"` 2074 } 2075 2076 func (m *TargetType) Reset() { *m = TargetType{} } 2077 func (m *TargetType) String() string { return proto.CompactTextString(m) } 2078 func (*TargetType) ProtoMessage() {} 2079 func (*TargetType) Descriptor() ([]byte, []int) { 2080 return fileDescriptor_2d655ab2f7683c23, []int{10} 2081 } 2082 func (m *TargetType) XXX_Unmarshal(b []byte) error { 2083 return m.Unmarshal(b) 2084 } 2085 func (m *TargetType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2086 if deterministic { 2087 return xxx_messageInfo_TargetType.Marshal(b, m, deterministic) 2088 } else { 2089 b = b[:cap(b)] 2090 n, err := m.MarshalToSizedBuffer(b) 2091 if err != nil { 2092 return nil, err 2093 } 2094 return b[:n], nil 2095 } 2096 } 2097 func (m *TargetType) XXX_Merge(src proto.Message) { 2098 xxx_messageInfo_TargetType.Merge(m, src) 2099 } 2100 func (m *TargetType) XXX_Size() int { 2101 return m.ProtoSize() 2102 } 2103 func (m *TargetType) XXX_DiscardUnknown() { 2104 xxx_messageInfo_TargetType.DiscardUnknown(m) 2105 } 2106 2107 var xxx_messageInfo_TargetType proto.InternalMessageInfo 2108 2109 // Reference a subquery 2110 type SubqueryRef struct { 2111 Typ SubqueryRef_Type `protobuf:"varint,1,opt,name=typ,proto3,enum=plan.SubqueryRef_Type" json:"typ,omitempty"` 2112 NodeId int32 `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` 2113 Op string `protobuf:"bytes,3,opt,name=op,proto3" json:"op,omitempty"` 2114 Child *Expr `protobuf:"bytes,4,opt,name=child,proto3" json:"child,omitempty"` 2115 RowSize int32 `protobuf:"varint,5,opt,name=row_size,json=rowSize,proto3" json:"row_size,omitempty"` 2116 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2117 XXX_unrecognized []byte `json:"-"` 2118 XXX_sizecache int32 `json:"-"` 2119 } 2120 2121 func (m *SubqueryRef) Reset() { *m = SubqueryRef{} } 2122 func (m *SubqueryRef) String() string { return proto.CompactTextString(m) } 2123 func (*SubqueryRef) ProtoMessage() {} 2124 func (*SubqueryRef) Descriptor() ([]byte, []int) { 2125 return fileDescriptor_2d655ab2f7683c23, []int{11} 2126 } 2127 func (m *SubqueryRef) XXX_Unmarshal(b []byte) error { 2128 return m.Unmarshal(b) 2129 } 2130 func (m *SubqueryRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2131 if deterministic { 2132 return xxx_messageInfo_SubqueryRef.Marshal(b, m, deterministic) 2133 } else { 2134 b = b[:cap(b)] 2135 n, err := m.MarshalToSizedBuffer(b) 2136 if err != nil { 2137 return nil, err 2138 } 2139 return b[:n], nil 2140 } 2141 } 2142 func (m *SubqueryRef) XXX_Merge(src proto.Message) { 2143 xxx_messageInfo_SubqueryRef.Merge(m, src) 2144 } 2145 func (m *SubqueryRef) XXX_Size() int { 2146 return m.ProtoSize() 2147 } 2148 func (m *SubqueryRef) XXX_DiscardUnknown() { 2149 xxx_messageInfo_SubqueryRef.DiscardUnknown(m) 2150 } 2151 2152 var xxx_messageInfo_SubqueryRef proto.InternalMessageInfo 2153 2154 func (m *SubqueryRef) GetTyp() SubqueryRef_Type { 2155 if m != nil { 2156 return m.Typ 2157 } 2158 return SubqueryRef_SCALAR 2159 } 2160 2161 func (m *SubqueryRef) GetNodeId() int32 { 2162 if m != nil { 2163 return m.NodeId 2164 } 2165 return 0 2166 } 2167 2168 func (m *SubqueryRef) GetOp() string { 2169 if m != nil { 2170 return m.Op 2171 } 2172 return "" 2173 } 2174 2175 func (m *SubqueryRef) GetChild() *Expr { 2176 if m != nil { 2177 return m.Child 2178 } 2179 return nil 2180 } 2181 2182 func (m *SubqueryRef) GetRowSize() int32 { 2183 if m != nil { 2184 return m.RowSize 2185 } 2186 return 0 2187 } 2188 2189 // Object ref, reference a object in database, 4 part name. 2190 type ObjectRef struct { 2191 Server int64 `protobuf:"varint,1,opt,name=server,proto3" json:"server,omitempty"` 2192 Db int64 `protobuf:"varint,2,opt,name=db,proto3" json:"db,omitempty"` 2193 Schema int64 `protobuf:"varint,3,opt,name=schema,proto3" json:"schema,omitempty"` 2194 Obj int64 `protobuf:"varint,4,opt,name=obj,proto3" json:"obj,omitempty"` 2195 ServerName string `protobuf:"bytes,5,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` 2196 DbName string `protobuf:"bytes,6,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` 2197 SchemaName string `protobuf:"bytes,7,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` 2198 ObjName string `protobuf:"bytes,8,opt,name=obj_name,json=objName,proto3" json:"obj_name,omitempty"` 2199 SubscriptionName string `protobuf:"bytes,9,opt,name=subscription_name,json=subscriptionName,proto3" json:"subscription_name,omitempty"` 2200 PubInfo *PubInfo `protobuf:"bytes,10,opt,name=pub_info,json=pubInfo,proto3" json:"pub_info,omitempty"` 2201 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2202 XXX_unrecognized []byte `json:"-"` 2203 XXX_sizecache int32 `json:"-"` 2204 } 2205 2206 func (m *ObjectRef) Reset() { *m = ObjectRef{} } 2207 func (m *ObjectRef) String() string { return proto.CompactTextString(m) } 2208 func (*ObjectRef) ProtoMessage() {} 2209 func (*ObjectRef) Descriptor() ([]byte, []int) { 2210 return fileDescriptor_2d655ab2f7683c23, []int{12} 2211 } 2212 func (m *ObjectRef) XXX_Unmarshal(b []byte) error { 2213 return m.Unmarshal(b) 2214 } 2215 func (m *ObjectRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2216 if deterministic { 2217 return xxx_messageInfo_ObjectRef.Marshal(b, m, deterministic) 2218 } else { 2219 b = b[:cap(b)] 2220 n, err := m.MarshalToSizedBuffer(b) 2221 if err != nil { 2222 return nil, err 2223 } 2224 return b[:n], nil 2225 } 2226 } 2227 func (m *ObjectRef) XXX_Merge(src proto.Message) { 2228 xxx_messageInfo_ObjectRef.Merge(m, src) 2229 } 2230 func (m *ObjectRef) XXX_Size() int { 2231 return m.ProtoSize() 2232 } 2233 func (m *ObjectRef) XXX_DiscardUnknown() { 2234 xxx_messageInfo_ObjectRef.DiscardUnknown(m) 2235 } 2236 2237 var xxx_messageInfo_ObjectRef proto.InternalMessageInfo 2238 2239 func (m *ObjectRef) GetServer() int64 { 2240 if m != nil { 2241 return m.Server 2242 } 2243 return 0 2244 } 2245 2246 func (m *ObjectRef) GetDb() int64 { 2247 if m != nil { 2248 return m.Db 2249 } 2250 return 0 2251 } 2252 2253 func (m *ObjectRef) GetSchema() int64 { 2254 if m != nil { 2255 return m.Schema 2256 } 2257 return 0 2258 } 2259 2260 func (m *ObjectRef) GetObj() int64 { 2261 if m != nil { 2262 return m.Obj 2263 } 2264 return 0 2265 } 2266 2267 func (m *ObjectRef) GetServerName() string { 2268 if m != nil { 2269 return m.ServerName 2270 } 2271 return "" 2272 } 2273 2274 func (m *ObjectRef) GetDbName() string { 2275 if m != nil { 2276 return m.DbName 2277 } 2278 return "" 2279 } 2280 2281 func (m *ObjectRef) GetSchemaName() string { 2282 if m != nil { 2283 return m.SchemaName 2284 } 2285 return "" 2286 } 2287 2288 func (m *ObjectRef) GetObjName() string { 2289 if m != nil { 2290 return m.ObjName 2291 } 2292 return "" 2293 } 2294 2295 func (m *ObjectRef) GetSubscriptionName() string { 2296 if m != nil { 2297 return m.SubscriptionName 2298 } 2299 return "" 2300 } 2301 2302 func (m *ObjectRef) GetPubInfo() *PubInfo { 2303 if m != nil { 2304 return m.PubInfo 2305 } 2306 return nil 2307 } 2308 2309 type PubInfo struct { 2310 TenantId int32 `protobuf:"varint,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` 2311 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2312 XXX_unrecognized []byte `json:"-"` 2313 XXX_sizecache int32 `json:"-"` 2314 } 2315 2316 func (m *PubInfo) Reset() { *m = PubInfo{} } 2317 func (m *PubInfo) String() string { return proto.CompactTextString(m) } 2318 func (*PubInfo) ProtoMessage() {} 2319 func (*PubInfo) Descriptor() ([]byte, []int) { 2320 return fileDescriptor_2d655ab2f7683c23, []int{13} 2321 } 2322 func (m *PubInfo) XXX_Unmarshal(b []byte) error { 2323 return m.Unmarshal(b) 2324 } 2325 func (m *PubInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2326 if deterministic { 2327 return xxx_messageInfo_PubInfo.Marshal(b, m, deterministic) 2328 } else { 2329 b = b[:cap(b)] 2330 n, err := m.MarshalToSizedBuffer(b) 2331 if err != nil { 2332 return nil, err 2333 } 2334 return b[:n], nil 2335 } 2336 } 2337 func (m *PubInfo) XXX_Merge(src proto.Message) { 2338 xxx_messageInfo_PubInfo.Merge(m, src) 2339 } 2340 func (m *PubInfo) XXX_Size() int { 2341 return m.ProtoSize() 2342 } 2343 func (m *PubInfo) XXX_DiscardUnknown() { 2344 xxx_messageInfo_PubInfo.DiscardUnknown(m) 2345 } 2346 2347 var xxx_messageInfo_PubInfo proto.InternalMessageInfo 2348 2349 func (m *PubInfo) GetTenantId() int32 { 2350 if m != nil { 2351 return m.TenantId 2352 } 2353 return 0 2354 } 2355 2356 type SubscriptionMeta struct { 2357 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 2358 AccountId int32 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` 2359 DbName string `protobuf:"bytes,3,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` 2360 AccountName string `protobuf:"bytes,4,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` 2361 SubName string `protobuf:"bytes,5,opt,name=sub_name,json=subName,proto3" json:"sub_name,omitempty"` 2362 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2363 XXX_unrecognized []byte `json:"-"` 2364 XXX_sizecache int32 `json:"-"` 2365 } 2366 2367 func (m *SubscriptionMeta) Reset() { *m = SubscriptionMeta{} } 2368 func (m *SubscriptionMeta) String() string { return proto.CompactTextString(m) } 2369 func (*SubscriptionMeta) ProtoMessage() {} 2370 func (*SubscriptionMeta) Descriptor() ([]byte, []int) { 2371 return fileDescriptor_2d655ab2f7683c23, []int{14} 2372 } 2373 func (m *SubscriptionMeta) XXX_Unmarshal(b []byte) error { 2374 return m.Unmarshal(b) 2375 } 2376 func (m *SubscriptionMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2377 if deterministic { 2378 return xxx_messageInfo_SubscriptionMeta.Marshal(b, m, deterministic) 2379 } else { 2380 b = b[:cap(b)] 2381 n, err := m.MarshalToSizedBuffer(b) 2382 if err != nil { 2383 return nil, err 2384 } 2385 return b[:n], nil 2386 } 2387 } 2388 func (m *SubscriptionMeta) XXX_Merge(src proto.Message) { 2389 xxx_messageInfo_SubscriptionMeta.Merge(m, src) 2390 } 2391 func (m *SubscriptionMeta) XXX_Size() int { 2392 return m.ProtoSize() 2393 } 2394 func (m *SubscriptionMeta) XXX_DiscardUnknown() { 2395 xxx_messageInfo_SubscriptionMeta.DiscardUnknown(m) 2396 } 2397 2398 var xxx_messageInfo_SubscriptionMeta proto.InternalMessageInfo 2399 2400 func (m *SubscriptionMeta) GetName() string { 2401 if m != nil { 2402 return m.Name 2403 } 2404 return "" 2405 } 2406 2407 func (m *SubscriptionMeta) GetAccountId() int32 { 2408 if m != nil { 2409 return m.AccountId 2410 } 2411 return 0 2412 } 2413 2414 func (m *SubscriptionMeta) GetDbName() string { 2415 if m != nil { 2416 return m.DbName 2417 } 2418 return "" 2419 } 2420 2421 func (m *SubscriptionMeta) GetAccountName() string { 2422 if m != nil { 2423 return m.AccountName 2424 } 2425 return "" 2426 } 2427 2428 func (m *SubscriptionMeta) GetSubName() string { 2429 if m != nil { 2430 return m.SubName 2431 } 2432 return "" 2433 } 2434 2435 type Function struct { 2436 Func *ObjectRef `protobuf:"bytes,1,opt,name=func,proto3" json:"func,omitempty"` 2437 Args []*Expr `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` 2438 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2439 XXX_unrecognized []byte `json:"-"` 2440 XXX_sizecache int32 `json:"-"` 2441 } 2442 2443 func (m *Function) Reset() { *m = Function{} } 2444 func (m *Function) String() string { return proto.CompactTextString(m) } 2445 func (*Function) ProtoMessage() {} 2446 func (*Function) Descriptor() ([]byte, []int) { 2447 return fileDescriptor_2d655ab2f7683c23, []int{15} 2448 } 2449 func (m *Function) XXX_Unmarshal(b []byte) error { 2450 return m.Unmarshal(b) 2451 } 2452 func (m *Function) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2453 if deterministic { 2454 return xxx_messageInfo_Function.Marshal(b, m, deterministic) 2455 } else { 2456 b = b[:cap(b)] 2457 n, err := m.MarshalToSizedBuffer(b) 2458 if err != nil { 2459 return nil, err 2460 } 2461 return b[:n], nil 2462 } 2463 } 2464 func (m *Function) XXX_Merge(src proto.Message) { 2465 xxx_messageInfo_Function.Merge(m, src) 2466 } 2467 func (m *Function) XXX_Size() int { 2468 return m.ProtoSize() 2469 } 2470 func (m *Function) XXX_DiscardUnknown() { 2471 xxx_messageInfo_Function.DiscardUnknown(m) 2472 } 2473 2474 var xxx_messageInfo_Function proto.InternalMessageInfo 2475 2476 func (m *Function) GetFunc() *ObjectRef { 2477 if m != nil { 2478 return m.Func 2479 } 2480 return nil 2481 } 2482 2483 func (m *Function) GetArgs() []*Expr { 2484 if m != nil { 2485 return m.Args 2486 } 2487 return nil 2488 } 2489 2490 type Expr struct { 2491 Typ Type `protobuf:"bytes,1,opt,name=typ,proto3" json:"typ"` 2492 // Types that are valid to be assigned to Expr: 2493 // 2494 // *Expr_Lit 2495 // *Expr_P 2496 // *Expr_V 2497 // *Expr_Col 2498 // *Expr_Raw 2499 // *Expr_F 2500 // *Expr_W 2501 // *Expr_Sub 2502 // *Expr_Corr 2503 // *Expr_T 2504 // *Expr_List 2505 // *Expr_Max 2506 // *Expr_Vec 2507 Expr isExpr_Expr `protobuf_oneof:"expr"` 2508 AuxId int32 `protobuf:"varint,15,opt,name=aux_id,json=auxId,proto3" json:"aux_id,omitempty"` 2509 Ndv float64 `protobuf:"fixed64,16,opt,name=ndv,proto3" json:"ndv,omitempty"` 2510 Selectivity float64 `protobuf:"fixed64,17,opt,name=selectivity,proto3" json:"selectivity,omitempty"` 2511 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2512 XXX_unrecognized []byte `json:"-"` 2513 XXX_sizecache int32 `json:"-"` 2514 } 2515 2516 func (m *Expr) Reset() { *m = Expr{} } 2517 func (m *Expr) String() string { return proto.CompactTextString(m) } 2518 func (*Expr) ProtoMessage() {} 2519 func (*Expr) Descriptor() ([]byte, []int) { 2520 return fileDescriptor_2d655ab2f7683c23, []int{16} 2521 } 2522 func (m *Expr) XXX_Unmarshal(b []byte) error { 2523 return m.Unmarshal(b) 2524 } 2525 func (m *Expr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2526 if deterministic { 2527 return xxx_messageInfo_Expr.Marshal(b, m, deterministic) 2528 } else { 2529 b = b[:cap(b)] 2530 n, err := m.MarshalToSizedBuffer(b) 2531 if err != nil { 2532 return nil, err 2533 } 2534 return b[:n], nil 2535 } 2536 } 2537 func (m *Expr) XXX_Merge(src proto.Message) { 2538 xxx_messageInfo_Expr.Merge(m, src) 2539 } 2540 func (m *Expr) XXX_Size() int { 2541 return m.ProtoSize() 2542 } 2543 func (m *Expr) XXX_DiscardUnknown() { 2544 xxx_messageInfo_Expr.DiscardUnknown(m) 2545 } 2546 2547 var xxx_messageInfo_Expr proto.InternalMessageInfo 2548 2549 type isExpr_Expr interface { 2550 isExpr_Expr() 2551 MarshalTo([]byte) (int, error) 2552 ProtoSize() int 2553 } 2554 2555 type Expr_Lit struct { 2556 Lit *Literal `protobuf:"bytes,2,opt,name=lit,proto3,oneof" json:"lit,omitempty"` 2557 } 2558 type Expr_P struct { 2559 P *ParamRef `protobuf:"bytes,3,opt,name=p,proto3,oneof" json:"p,omitempty"` 2560 } 2561 type Expr_V struct { 2562 V *VarRef `protobuf:"bytes,4,opt,name=v,proto3,oneof" json:"v,omitempty"` 2563 } 2564 type Expr_Col struct { 2565 Col *ColRef `protobuf:"bytes,5,opt,name=col,proto3,oneof" json:"col,omitempty"` 2566 } 2567 type Expr_Raw struct { 2568 Raw *RawColRef `protobuf:"bytes,6,opt,name=raw,proto3,oneof" json:"raw,omitempty"` 2569 } 2570 type Expr_F struct { 2571 F *Function `protobuf:"bytes,7,opt,name=f,proto3,oneof" json:"f,omitempty"` 2572 } 2573 type Expr_W struct { 2574 W *WindowSpec `protobuf:"bytes,8,opt,name=w,proto3,oneof" json:"w,omitempty"` 2575 } 2576 type Expr_Sub struct { 2577 Sub *SubqueryRef `protobuf:"bytes,9,opt,name=sub,proto3,oneof" json:"sub,omitempty"` 2578 } 2579 type Expr_Corr struct { 2580 Corr *CorrColRef `protobuf:"bytes,10,opt,name=corr,proto3,oneof" json:"corr,omitempty"` 2581 } 2582 type Expr_T struct { 2583 T *TargetType `protobuf:"bytes,11,opt,name=t,proto3,oneof" json:"t,omitempty"` 2584 } 2585 type Expr_List struct { 2586 List *ExprList `protobuf:"bytes,12,opt,name=list,proto3,oneof" json:"list,omitempty"` 2587 } 2588 type Expr_Max struct { 2589 Max *MaxValue `protobuf:"bytes,13,opt,name=max,proto3,oneof" json:"max,omitempty"` 2590 } 2591 type Expr_Vec struct { 2592 Vec *LiteralVec `protobuf:"bytes,14,opt,name=vec,proto3,oneof" json:"vec,omitempty"` 2593 } 2594 2595 func (*Expr_Lit) isExpr_Expr() {} 2596 func (*Expr_P) isExpr_Expr() {} 2597 func (*Expr_V) isExpr_Expr() {} 2598 func (*Expr_Col) isExpr_Expr() {} 2599 func (*Expr_Raw) isExpr_Expr() {} 2600 func (*Expr_F) isExpr_Expr() {} 2601 func (*Expr_W) isExpr_Expr() {} 2602 func (*Expr_Sub) isExpr_Expr() {} 2603 func (*Expr_Corr) isExpr_Expr() {} 2604 func (*Expr_T) isExpr_Expr() {} 2605 func (*Expr_List) isExpr_Expr() {} 2606 func (*Expr_Max) isExpr_Expr() {} 2607 func (*Expr_Vec) isExpr_Expr() {} 2608 2609 func (m *Expr) GetExpr() isExpr_Expr { 2610 if m != nil { 2611 return m.Expr 2612 } 2613 return nil 2614 } 2615 2616 func (m *Expr) GetTyp() Type { 2617 if m != nil { 2618 return m.Typ 2619 } 2620 return Type{} 2621 } 2622 2623 func (m *Expr) GetLit() *Literal { 2624 if x, ok := m.GetExpr().(*Expr_Lit); ok { 2625 return x.Lit 2626 } 2627 return nil 2628 } 2629 2630 func (m *Expr) GetP() *ParamRef { 2631 if x, ok := m.GetExpr().(*Expr_P); ok { 2632 return x.P 2633 } 2634 return nil 2635 } 2636 2637 func (m *Expr) GetV() *VarRef { 2638 if x, ok := m.GetExpr().(*Expr_V); ok { 2639 return x.V 2640 } 2641 return nil 2642 } 2643 2644 func (m *Expr) GetCol() *ColRef { 2645 if x, ok := m.GetExpr().(*Expr_Col); ok { 2646 return x.Col 2647 } 2648 return nil 2649 } 2650 2651 func (m *Expr) GetRaw() *RawColRef { 2652 if x, ok := m.GetExpr().(*Expr_Raw); ok { 2653 return x.Raw 2654 } 2655 return nil 2656 } 2657 2658 func (m *Expr) GetF() *Function { 2659 if x, ok := m.GetExpr().(*Expr_F); ok { 2660 return x.F 2661 } 2662 return nil 2663 } 2664 2665 func (m *Expr) GetW() *WindowSpec { 2666 if x, ok := m.GetExpr().(*Expr_W); ok { 2667 return x.W 2668 } 2669 return nil 2670 } 2671 2672 func (m *Expr) GetSub() *SubqueryRef { 2673 if x, ok := m.GetExpr().(*Expr_Sub); ok { 2674 return x.Sub 2675 } 2676 return nil 2677 } 2678 2679 func (m *Expr) GetCorr() *CorrColRef { 2680 if x, ok := m.GetExpr().(*Expr_Corr); ok { 2681 return x.Corr 2682 } 2683 return nil 2684 } 2685 2686 func (m *Expr) GetT() *TargetType { 2687 if x, ok := m.GetExpr().(*Expr_T); ok { 2688 return x.T 2689 } 2690 return nil 2691 } 2692 2693 func (m *Expr) GetList() *ExprList { 2694 if x, ok := m.GetExpr().(*Expr_List); ok { 2695 return x.List 2696 } 2697 return nil 2698 } 2699 2700 func (m *Expr) GetMax() *MaxValue { 2701 if x, ok := m.GetExpr().(*Expr_Max); ok { 2702 return x.Max 2703 } 2704 return nil 2705 } 2706 2707 func (m *Expr) GetVec() *LiteralVec { 2708 if x, ok := m.GetExpr().(*Expr_Vec); ok { 2709 return x.Vec 2710 } 2711 return nil 2712 } 2713 2714 func (m *Expr) GetAuxId() int32 { 2715 if m != nil { 2716 return m.AuxId 2717 } 2718 return 0 2719 } 2720 2721 func (m *Expr) GetNdv() float64 { 2722 if m != nil { 2723 return m.Ndv 2724 } 2725 return 0 2726 } 2727 2728 func (m *Expr) GetSelectivity() float64 { 2729 if m != nil { 2730 return m.Selectivity 2731 } 2732 return 0 2733 } 2734 2735 // XXX_OneofWrappers is for the internal use of the proto package. 2736 func (*Expr) XXX_OneofWrappers() []interface{} { 2737 return []interface{}{ 2738 (*Expr_Lit)(nil), 2739 (*Expr_P)(nil), 2740 (*Expr_V)(nil), 2741 (*Expr_Col)(nil), 2742 (*Expr_Raw)(nil), 2743 (*Expr_F)(nil), 2744 (*Expr_W)(nil), 2745 (*Expr_Sub)(nil), 2746 (*Expr_Corr)(nil), 2747 (*Expr_T)(nil), 2748 (*Expr_List)(nil), 2749 (*Expr_Max)(nil), 2750 (*Expr_Vec)(nil), 2751 } 2752 } 2753 2754 type LiteralVec struct { 2755 Len int32 `protobuf:"varint,1,opt,name=len,proto3" json:"len,omitempty"` 2756 Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` 2757 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2758 XXX_unrecognized []byte `json:"-"` 2759 XXX_sizecache int32 `json:"-"` 2760 } 2761 2762 func (m *LiteralVec) Reset() { *m = LiteralVec{} } 2763 func (m *LiteralVec) String() string { return proto.CompactTextString(m) } 2764 func (*LiteralVec) ProtoMessage() {} 2765 func (*LiteralVec) Descriptor() ([]byte, []int) { 2766 return fileDescriptor_2d655ab2f7683c23, []int{17} 2767 } 2768 func (m *LiteralVec) XXX_Unmarshal(b []byte) error { 2769 return m.Unmarshal(b) 2770 } 2771 func (m *LiteralVec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2772 if deterministic { 2773 return xxx_messageInfo_LiteralVec.Marshal(b, m, deterministic) 2774 } else { 2775 b = b[:cap(b)] 2776 n, err := m.MarshalToSizedBuffer(b) 2777 if err != nil { 2778 return nil, err 2779 } 2780 return b[:n], nil 2781 } 2782 } 2783 func (m *LiteralVec) XXX_Merge(src proto.Message) { 2784 xxx_messageInfo_LiteralVec.Merge(m, src) 2785 } 2786 func (m *LiteralVec) XXX_Size() int { 2787 return m.ProtoSize() 2788 } 2789 func (m *LiteralVec) XXX_DiscardUnknown() { 2790 xxx_messageInfo_LiteralVec.DiscardUnknown(m) 2791 } 2792 2793 var xxx_messageInfo_LiteralVec proto.InternalMessageInfo 2794 2795 func (m *LiteralVec) GetLen() int32 { 2796 if m != nil { 2797 return m.Len 2798 } 2799 return 0 2800 } 2801 2802 func (m *LiteralVec) GetData() []byte { 2803 if m != nil { 2804 return m.Data 2805 } 2806 return nil 2807 } 2808 2809 type Decimal64 struct { 2810 A int64 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` 2811 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2812 XXX_unrecognized []byte `json:"-"` 2813 XXX_sizecache int32 `json:"-"` 2814 } 2815 2816 func (m *Decimal64) Reset() { *m = Decimal64{} } 2817 func (m *Decimal64) String() string { return proto.CompactTextString(m) } 2818 func (*Decimal64) ProtoMessage() {} 2819 func (*Decimal64) Descriptor() ([]byte, []int) { 2820 return fileDescriptor_2d655ab2f7683c23, []int{18} 2821 } 2822 func (m *Decimal64) XXX_Unmarshal(b []byte) error { 2823 return m.Unmarshal(b) 2824 } 2825 func (m *Decimal64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2826 if deterministic { 2827 return xxx_messageInfo_Decimal64.Marshal(b, m, deterministic) 2828 } else { 2829 b = b[:cap(b)] 2830 n, err := m.MarshalToSizedBuffer(b) 2831 if err != nil { 2832 return nil, err 2833 } 2834 return b[:n], nil 2835 } 2836 } 2837 func (m *Decimal64) XXX_Merge(src proto.Message) { 2838 xxx_messageInfo_Decimal64.Merge(m, src) 2839 } 2840 func (m *Decimal64) XXX_Size() int { 2841 return m.ProtoSize() 2842 } 2843 func (m *Decimal64) XXX_DiscardUnknown() { 2844 xxx_messageInfo_Decimal64.DiscardUnknown(m) 2845 } 2846 2847 var xxx_messageInfo_Decimal64 proto.InternalMessageInfo 2848 2849 func (m *Decimal64) GetA() int64 { 2850 if m != nil { 2851 return m.A 2852 } 2853 return 0 2854 } 2855 2856 type Decimal128 struct { 2857 A int64 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` 2858 B int64 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"` 2859 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2860 XXX_unrecognized []byte `json:"-"` 2861 XXX_sizecache int32 `json:"-"` 2862 } 2863 2864 func (m *Decimal128) Reset() { *m = Decimal128{} } 2865 func (m *Decimal128) String() string { return proto.CompactTextString(m) } 2866 func (*Decimal128) ProtoMessage() {} 2867 func (*Decimal128) Descriptor() ([]byte, []int) { 2868 return fileDescriptor_2d655ab2f7683c23, []int{19} 2869 } 2870 func (m *Decimal128) XXX_Unmarshal(b []byte) error { 2871 return m.Unmarshal(b) 2872 } 2873 func (m *Decimal128) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2874 if deterministic { 2875 return xxx_messageInfo_Decimal128.Marshal(b, m, deterministic) 2876 } else { 2877 b = b[:cap(b)] 2878 n, err := m.MarshalToSizedBuffer(b) 2879 if err != nil { 2880 return nil, err 2881 } 2882 return b[:n], nil 2883 } 2884 } 2885 func (m *Decimal128) XXX_Merge(src proto.Message) { 2886 xxx_messageInfo_Decimal128.Merge(m, src) 2887 } 2888 func (m *Decimal128) XXX_Size() int { 2889 return m.ProtoSize() 2890 } 2891 func (m *Decimal128) XXX_DiscardUnknown() { 2892 xxx_messageInfo_Decimal128.DiscardUnknown(m) 2893 } 2894 2895 var xxx_messageInfo_Decimal128 proto.InternalMessageInfo 2896 2897 func (m *Decimal128) GetA() int64 { 2898 if m != nil { 2899 return m.A 2900 } 2901 return 0 2902 } 2903 2904 func (m *Decimal128) GetB() int64 { 2905 if m != nil { 2906 return m.B 2907 } 2908 return 0 2909 } 2910 2911 type ResultColDef struct { 2912 ResultCols []*ColDef `protobuf:"bytes,1,rep,name=ResultCols,proto3" json:"ResultCols,omitempty"` 2913 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2914 XXX_unrecognized []byte `json:"-"` 2915 XXX_sizecache int32 `json:"-"` 2916 } 2917 2918 func (m *ResultColDef) Reset() { *m = ResultColDef{} } 2919 func (m *ResultColDef) String() string { return proto.CompactTextString(m) } 2920 func (*ResultColDef) ProtoMessage() {} 2921 func (*ResultColDef) Descriptor() ([]byte, []int) { 2922 return fileDescriptor_2d655ab2f7683c23, []int{20} 2923 } 2924 func (m *ResultColDef) XXX_Unmarshal(b []byte) error { 2925 return m.Unmarshal(b) 2926 } 2927 func (m *ResultColDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2928 if deterministic { 2929 return xxx_messageInfo_ResultColDef.Marshal(b, m, deterministic) 2930 } else { 2931 b = b[:cap(b)] 2932 n, err := m.MarshalToSizedBuffer(b) 2933 if err != nil { 2934 return nil, err 2935 } 2936 return b[:n], nil 2937 } 2938 } 2939 func (m *ResultColDef) XXX_Merge(src proto.Message) { 2940 xxx_messageInfo_ResultColDef.Merge(m, src) 2941 } 2942 func (m *ResultColDef) XXX_Size() int { 2943 return m.ProtoSize() 2944 } 2945 func (m *ResultColDef) XXX_DiscardUnknown() { 2946 xxx_messageInfo_ResultColDef.DiscardUnknown(m) 2947 } 2948 2949 var xxx_messageInfo_ResultColDef proto.InternalMessageInfo 2950 2951 func (m *ResultColDef) GetResultCols() []*ColDef { 2952 if m != nil { 2953 return m.ResultCols 2954 } 2955 return nil 2956 } 2957 2958 type ColDef struct { 2959 ColId uint64 `protobuf:"varint,1,opt,name=col_id,json=colId,proto3" json:"col_id,omitempty"` 2960 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 2961 Hidden bool `protobuf:"varint,3,opt,name=hidden,proto3" json:"hidden,omitempty"` 2962 Alg CompressType `protobuf:"varint,4,opt,name=alg,proto3,enum=plan.CompressType" json:"alg,omitempty"` 2963 Typ Type `protobuf:"bytes,5,opt,name=typ,proto3" json:"typ"` 2964 NotNull bool `protobuf:"varint,6,opt,name=not_null,json=notNull,proto3" json:"not_null,omitempty"` 2965 Default *Default `protobuf:"bytes,7,opt,name=default,proto3" json:"default,omitempty"` 2966 Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` 2967 OnUpdate *OnUpdate `protobuf:"bytes,9,opt,name=on_update,json=onUpdate,proto3" json:"on_update,omitempty"` 2968 LowCard bool `protobuf:"varint,10,opt,name=low_card,json=lowCard,proto3" json:"low_card,omitempty"` 2969 Seqnum uint32 `protobuf:"varint,11,opt,name=seqnum,proto3" json:"seqnum,omitempty"` 2970 // XXX: Deprecated and to be removed soon. 2971 ClusterBy bool `protobuf:"varint,12,opt,name=clusterBy,proto3" json:"clusterBy,omitempty"` 2972 Primary bool `protobuf:"varint,13,opt,name=primary,proto3" json:"primary,omitempty"` 2973 Pkidx int32 `protobuf:"varint,14,opt,name=pkidx,proto3" json:"pkidx,omitempty"` 2974 Headers bool `protobuf:"varint,15,opt,name=headers,proto3" json:"headers,omitempty"` 2975 Header string `protobuf:"bytes,16,opt,name=header,proto3" json:"header,omitempty"` 2976 TblName string `protobuf:"bytes,17,opt,name=tbl_name,json=tblName,proto3" json:"tbl_name,omitempty"` 2977 DbName string `protobuf:"bytes,18,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` 2978 XXX_NoUnkeyedLiteral struct{} `json:"-"` 2979 XXX_unrecognized []byte `json:"-"` 2980 XXX_sizecache int32 `json:"-"` 2981 } 2982 2983 func (m *ColDef) Reset() { *m = ColDef{} } 2984 func (m *ColDef) String() string { return proto.CompactTextString(m) } 2985 func (*ColDef) ProtoMessage() {} 2986 func (*ColDef) Descriptor() ([]byte, []int) { 2987 return fileDescriptor_2d655ab2f7683c23, []int{21} 2988 } 2989 func (m *ColDef) XXX_Unmarshal(b []byte) error { 2990 return m.Unmarshal(b) 2991 } 2992 func (m *ColDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 2993 if deterministic { 2994 return xxx_messageInfo_ColDef.Marshal(b, m, deterministic) 2995 } else { 2996 b = b[:cap(b)] 2997 n, err := m.MarshalToSizedBuffer(b) 2998 if err != nil { 2999 return nil, err 3000 } 3001 return b[:n], nil 3002 } 3003 } 3004 func (m *ColDef) XXX_Merge(src proto.Message) { 3005 xxx_messageInfo_ColDef.Merge(m, src) 3006 } 3007 func (m *ColDef) XXX_Size() int { 3008 return m.ProtoSize() 3009 } 3010 func (m *ColDef) XXX_DiscardUnknown() { 3011 xxx_messageInfo_ColDef.DiscardUnknown(m) 3012 } 3013 3014 var xxx_messageInfo_ColDef proto.InternalMessageInfo 3015 3016 func (m *ColDef) GetColId() uint64 { 3017 if m != nil { 3018 return m.ColId 3019 } 3020 return 0 3021 } 3022 3023 func (m *ColDef) GetName() string { 3024 if m != nil { 3025 return m.Name 3026 } 3027 return "" 3028 } 3029 3030 func (m *ColDef) GetHidden() bool { 3031 if m != nil { 3032 return m.Hidden 3033 } 3034 return false 3035 } 3036 3037 func (m *ColDef) GetAlg() CompressType { 3038 if m != nil { 3039 return m.Alg 3040 } 3041 return CompressType_None 3042 } 3043 3044 func (m *ColDef) GetTyp() Type { 3045 if m != nil { 3046 return m.Typ 3047 } 3048 return Type{} 3049 } 3050 3051 func (m *ColDef) GetNotNull() bool { 3052 if m != nil { 3053 return m.NotNull 3054 } 3055 return false 3056 } 3057 3058 func (m *ColDef) GetDefault() *Default { 3059 if m != nil { 3060 return m.Default 3061 } 3062 return nil 3063 } 3064 3065 func (m *ColDef) GetComment() string { 3066 if m != nil { 3067 return m.Comment 3068 } 3069 return "" 3070 } 3071 3072 func (m *ColDef) GetOnUpdate() *OnUpdate { 3073 if m != nil { 3074 return m.OnUpdate 3075 } 3076 return nil 3077 } 3078 3079 func (m *ColDef) GetLowCard() bool { 3080 if m != nil { 3081 return m.LowCard 3082 } 3083 return false 3084 } 3085 3086 func (m *ColDef) GetSeqnum() uint32 { 3087 if m != nil { 3088 return m.Seqnum 3089 } 3090 return 0 3091 } 3092 3093 func (m *ColDef) GetClusterBy() bool { 3094 if m != nil { 3095 return m.ClusterBy 3096 } 3097 return false 3098 } 3099 3100 func (m *ColDef) GetPrimary() bool { 3101 if m != nil { 3102 return m.Primary 3103 } 3104 return false 3105 } 3106 3107 func (m *ColDef) GetPkidx() int32 { 3108 if m != nil { 3109 return m.Pkidx 3110 } 3111 return 0 3112 } 3113 3114 func (m *ColDef) GetHeaders() bool { 3115 if m != nil { 3116 return m.Headers 3117 } 3118 return false 3119 } 3120 3121 func (m *ColDef) GetHeader() string { 3122 if m != nil { 3123 return m.Header 3124 } 3125 return "" 3126 } 3127 3128 func (m *ColDef) GetTblName() string { 3129 if m != nil { 3130 return m.TblName 3131 } 3132 return "" 3133 } 3134 3135 func (m *ColDef) GetDbName() string { 3136 if m != nil { 3137 return m.DbName 3138 } 3139 return "" 3140 } 3141 3142 type Default struct { 3143 Expr *Expr `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"` 3144 OriginString string `protobuf:"bytes,2,opt,name=origin_string,json=originString,proto3" json:"origin_string,omitempty"` 3145 // XXX: Deprecated and to be removed soon. 3146 NullAbility bool `protobuf:"varint,3,opt,name=null_ability,json=nullAbility,proto3" json:"null_ability,omitempty"` 3147 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3148 XXX_unrecognized []byte `json:"-"` 3149 XXX_sizecache int32 `json:"-"` 3150 } 3151 3152 func (m *Default) Reset() { *m = Default{} } 3153 func (m *Default) String() string { return proto.CompactTextString(m) } 3154 func (*Default) ProtoMessage() {} 3155 func (*Default) Descriptor() ([]byte, []int) { 3156 return fileDescriptor_2d655ab2f7683c23, []int{22} 3157 } 3158 func (m *Default) XXX_Unmarshal(b []byte) error { 3159 return m.Unmarshal(b) 3160 } 3161 func (m *Default) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3162 if deterministic { 3163 return xxx_messageInfo_Default.Marshal(b, m, deterministic) 3164 } else { 3165 b = b[:cap(b)] 3166 n, err := m.MarshalToSizedBuffer(b) 3167 if err != nil { 3168 return nil, err 3169 } 3170 return b[:n], nil 3171 } 3172 } 3173 func (m *Default) XXX_Merge(src proto.Message) { 3174 xxx_messageInfo_Default.Merge(m, src) 3175 } 3176 func (m *Default) XXX_Size() int { 3177 return m.ProtoSize() 3178 } 3179 func (m *Default) XXX_DiscardUnknown() { 3180 xxx_messageInfo_Default.DiscardUnknown(m) 3181 } 3182 3183 var xxx_messageInfo_Default proto.InternalMessageInfo 3184 3185 func (m *Default) GetExpr() *Expr { 3186 if m != nil { 3187 return m.Expr 3188 } 3189 return nil 3190 } 3191 3192 func (m *Default) GetOriginString() string { 3193 if m != nil { 3194 return m.OriginString 3195 } 3196 return "" 3197 } 3198 3199 func (m *Default) GetNullAbility() bool { 3200 if m != nil { 3201 return m.NullAbility 3202 } 3203 return false 3204 } 3205 3206 type OnUpdate struct { 3207 Expr *Expr `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"` 3208 OriginString string `protobuf:"bytes,2,opt,name=origin_string,json=originString,proto3" json:"origin_string,omitempty"` 3209 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3210 XXX_unrecognized []byte `json:"-"` 3211 XXX_sizecache int32 `json:"-"` 3212 } 3213 3214 func (m *OnUpdate) Reset() { *m = OnUpdate{} } 3215 func (m *OnUpdate) String() string { return proto.CompactTextString(m) } 3216 func (*OnUpdate) ProtoMessage() {} 3217 func (*OnUpdate) Descriptor() ([]byte, []int) { 3218 return fileDescriptor_2d655ab2f7683c23, []int{23} 3219 } 3220 func (m *OnUpdate) XXX_Unmarshal(b []byte) error { 3221 return m.Unmarshal(b) 3222 } 3223 func (m *OnUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3224 if deterministic { 3225 return xxx_messageInfo_OnUpdate.Marshal(b, m, deterministic) 3226 } else { 3227 b = b[:cap(b)] 3228 n, err := m.MarshalToSizedBuffer(b) 3229 if err != nil { 3230 return nil, err 3231 } 3232 return b[:n], nil 3233 } 3234 } 3235 func (m *OnUpdate) XXX_Merge(src proto.Message) { 3236 xxx_messageInfo_OnUpdate.Merge(m, src) 3237 } 3238 func (m *OnUpdate) XXX_Size() int { 3239 return m.ProtoSize() 3240 } 3241 func (m *OnUpdate) XXX_DiscardUnknown() { 3242 xxx_messageInfo_OnUpdate.DiscardUnknown(m) 3243 } 3244 3245 var xxx_messageInfo_OnUpdate proto.InternalMessageInfo 3246 3247 func (m *OnUpdate) GetExpr() *Expr { 3248 if m != nil { 3249 return m.Expr 3250 } 3251 return nil 3252 } 3253 3254 func (m *OnUpdate) GetOriginString() string { 3255 if m != nil { 3256 return m.OriginString 3257 } 3258 return "" 3259 } 3260 3261 type IndexOption struct { 3262 CreateExtraTable bool `protobuf:"varint,1,opt,name=create_extra_table,json=createExtraTable,proto3" json:"create_extra_table,omitempty"` 3263 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3264 XXX_unrecognized []byte `json:"-"` 3265 XXX_sizecache int32 `json:"-"` 3266 } 3267 3268 func (m *IndexOption) Reset() { *m = IndexOption{} } 3269 func (m *IndexOption) String() string { return proto.CompactTextString(m) } 3270 func (*IndexOption) ProtoMessage() {} 3271 func (*IndexOption) Descriptor() ([]byte, []int) { 3272 return fileDescriptor_2d655ab2f7683c23, []int{24} 3273 } 3274 func (m *IndexOption) XXX_Unmarshal(b []byte) error { 3275 return m.Unmarshal(b) 3276 } 3277 func (m *IndexOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3278 if deterministic { 3279 return xxx_messageInfo_IndexOption.Marshal(b, m, deterministic) 3280 } else { 3281 b = b[:cap(b)] 3282 n, err := m.MarshalToSizedBuffer(b) 3283 if err != nil { 3284 return nil, err 3285 } 3286 return b[:n], nil 3287 } 3288 } 3289 func (m *IndexOption) XXX_Merge(src proto.Message) { 3290 xxx_messageInfo_IndexOption.Merge(m, src) 3291 } 3292 func (m *IndexOption) XXX_Size() int { 3293 return m.ProtoSize() 3294 } 3295 func (m *IndexOption) XXX_DiscardUnknown() { 3296 xxx_messageInfo_IndexOption.DiscardUnknown(m) 3297 } 3298 3299 var xxx_messageInfo_IndexOption proto.InternalMessageInfo 3300 3301 func (m *IndexOption) GetCreateExtraTable() bool { 3302 if m != nil { 3303 return m.CreateExtraTable 3304 } 3305 return false 3306 } 3307 3308 type PrimaryKeyDef struct { 3309 // currently not used 3310 Cols []uint64 `protobuf:"varint,1,rep,packed,name=cols,proto3" json:"cols,omitempty"` 3311 // currently not used 3312 PkeyColId uint64 `protobuf:"varint,2,opt,name=pkey_col_id,json=pkeyColId,proto3" json:"pkey_col_id,omitempty"` 3313 // currently not used 3314 Option *IndexOption `protobuf:"bytes,3,opt,name=option,proto3" json:"option,omitempty"` 3315 // Composed primary key column name: __mo_cpkey 3316 PkeyColName string `protobuf:"bytes,4,opt,name=pkey_col_name,json=pkeyColName,proto3" json:"pkey_col_name,omitempty"` 3317 // XXX: Deprecated and to be removed soon. 3318 Names []string `protobuf:"bytes,5,rep,name=names,proto3" json:"names,omitempty"` 3319 // Composite primary key column definition 3320 CompPkeyCol *ColDef `protobuf:"bytes,6,opt,name=comp_pkey_col,json=compPkeyCol,proto3" json:"comp_pkey_col,omitempty"` 3321 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3322 XXX_unrecognized []byte `json:"-"` 3323 XXX_sizecache int32 `json:"-"` 3324 } 3325 3326 func (m *PrimaryKeyDef) Reset() { *m = PrimaryKeyDef{} } 3327 func (m *PrimaryKeyDef) String() string { return proto.CompactTextString(m) } 3328 func (*PrimaryKeyDef) ProtoMessage() {} 3329 func (*PrimaryKeyDef) Descriptor() ([]byte, []int) { 3330 return fileDescriptor_2d655ab2f7683c23, []int{25} 3331 } 3332 func (m *PrimaryKeyDef) XXX_Unmarshal(b []byte) error { 3333 return m.Unmarshal(b) 3334 } 3335 func (m *PrimaryKeyDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3336 if deterministic { 3337 return xxx_messageInfo_PrimaryKeyDef.Marshal(b, m, deterministic) 3338 } else { 3339 b = b[:cap(b)] 3340 n, err := m.MarshalToSizedBuffer(b) 3341 if err != nil { 3342 return nil, err 3343 } 3344 return b[:n], nil 3345 } 3346 } 3347 func (m *PrimaryKeyDef) XXX_Merge(src proto.Message) { 3348 xxx_messageInfo_PrimaryKeyDef.Merge(m, src) 3349 } 3350 func (m *PrimaryKeyDef) XXX_Size() int { 3351 return m.ProtoSize() 3352 } 3353 func (m *PrimaryKeyDef) XXX_DiscardUnknown() { 3354 xxx_messageInfo_PrimaryKeyDef.DiscardUnknown(m) 3355 } 3356 3357 var xxx_messageInfo_PrimaryKeyDef proto.InternalMessageInfo 3358 3359 func (m *PrimaryKeyDef) GetCols() []uint64 { 3360 if m != nil { 3361 return m.Cols 3362 } 3363 return nil 3364 } 3365 3366 func (m *PrimaryKeyDef) GetPkeyColId() uint64 { 3367 if m != nil { 3368 return m.PkeyColId 3369 } 3370 return 0 3371 } 3372 3373 func (m *PrimaryKeyDef) GetOption() *IndexOption { 3374 if m != nil { 3375 return m.Option 3376 } 3377 return nil 3378 } 3379 3380 func (m *PrimaryKeyDef) GetPkeyColName() string { 3381 if m != nil { 3382 return m.PkeyColName 3383 } 3384 return "" 3385 } 3386 3387 func (m *PrimaryKeyDef) GetNames() []string { 3388 if m != nil { 3389 return m.Names 3390 } 3391 return nil 3392 } 3393 3394 func (m *PrimaryKeyDef) GetCompPkeyCol() *ColDef { 3395 if m != nil { 3396 return m.CompPkeyCol 3397 } 3398 return nil 3399 } 3400 3401 type IndexDef struct { 3402 // Generate UUID for each index, currently not used 3403 IdxId string `protobuf:"bytes,1,opt,name=idx_id,json=idxId,proto3" json:"idx_id,omitempty"` 3404 IndexName string `protobuf:"bytes,2,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` 3405 // The constituent columns of the index 3406 Parts []string `protobuf:"bytes,3,rep,name=parts,proto3" json:"parts,omitempty"` 3407 Unique bool `protobuf:"varint,4,opt,name=unique,proto3" json:"unique,omitempty"` 3408 IndexTableName string `protobuf:"bytes,5,opt,name=index_table_name,json=indexTableName,proto3" json:"index_table_name,omitempty"` 3409 TableExist bool `protobuf:"varint,6,opt,name=table_exist,json=tableExist,proto3" json:"table_exist,omitempty"` 3410 Comment string `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"` 3411 Visible bool `protobuf:"varint,8,opt,name=visible,proto3" json:"visible,omitempty"` 3412 // currently not used 3413 Option *IndexOption `protobuf:"bytes,9,opt,name=option,proto3" json:"option,omitempty"` 3414 IndexAlgo string `protobuf:"bytes,10,opt,name=index_algo,json=indexAlgo,proto3" json:"index_algo,omitempty"` 3415 IndexAlgoTableType string `protobuf:"bytes,11,opt,name=index_algo_table_type,json=indexAlgoTableType,proto3" json:"index_algo_table_type,omitempty"` 3416 IndexAlgoParams string `protobuf:"bytes,12,opt,name=index_algo_params,json=indexAlgoParams,proto3" json:"index_algo_params,omitempty"` 3417 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3418 XXX_unrecognized []byte `json:"-"` 3419 XXX_sizecache int32 `json:"-"` 3420 } 3421 3422 func (m *IndexDef) Reset() { *m = IndexDef{} } 3423 func (m *IndexDef) String() string { return proto.CompactTextString(m) } 3424 func (*IndexDef) ProtoMessage() {} 3425 func (*IndexDef) Descriptor() ([]byte, []int) { 3426 return fileDescriptor_2d655ab2f7683c23, []int{26} 3427 } 3428 func (m *IndexDef) XXX_Unmarshal(b []byte) error { 3429 return m.Unmarshal(b) 3430 } 3431 func (m *IndexDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3432 if deterministic { 3433 return xxx_messageInfo_IndexDef.Marshal(b, m, deterministic) 3434 } else { 3435 b = b[:cap(b)] 3436 n, err := m.MarshalToSizedBuffer(b) 3437 if err != nil { 3438 return nil, err 3439 } 3440 return b[:n], nil 3441 } 3442 } 3443 func (m *IndexDef) XXX_Merge(src proto.Message) { 3444 xxx_messageInfo_IndexDef.Merge(m, src) 3445 } 3446 func (m *IndexDef) XXX_Size() int { 3447 return m.ProtoSize() 3448 } 3449 func (m *IndexDef) XXX_DiscardUnknown() { 3450 xxx_messageInfo_IndexDef.DiscardUnknown(m) 3451 } 3452 3453 var xxx_messageInfo_IndexDef proto.InternalMessageInfo 3454 3455 func (m *IndexDef) GetIdxId() string { 3456 if m != nil { 3457 return m.IdxId 3458 } 3459 return "" 3460 } 3461 3462 func (m *IndexDef) GetIndexName() string { 3463 if m != nil { 3464 return m.IndexName 3465 } 3466 return "" 3467 } 3468 3469 func (m *IndexDef) GetParts() []string { 3470 if m != nil { 3471 return m.Parts 3472 } 3473 return nil 3474 } 3475 3476 func (m *IndexDef) GetUnique() bool { 3477 if m != nil { 3478 return m.Unique 3479 } 3480 return false 3481 } 3482 3483 func (m *IndexDef) GetIndexTableName() string { 3484 if m != nil { 3485 return m.IndexTableName 3486 } 3487 return "" 3488 } 3489 3490 func (m *IndexDef) GetTableExist() bool { 3491 if m != nil { 3492 return m.TableExist 3493 } 3494 return false 3495 } 3496 3497 func (m *IndexDef) GetComment() string { 3498 if m != nil { 3499 return m.Comment 3500 } 3501 return "" 3502 } 3503 3504 func (m *IndexDef) GetVisible() bool { 3505 if m != nil { 3506 return m.Visible 3507 } 3508 return false 3509 } 3510 3511 func (m *IndexDef) GetOption() *IndexOption { 3512 if m != nil { 3513 return m.Option 3514 } 3515 return nil 3516 } 3517 3518 func (m *IndexDef) GetIndexAlgo() string { 3519 if m != nil { 3520 return m.IndexAlgo 3521 } 3522 return "" 3523 } 3524 3525 func (m *IndexDef) GetIndexAlgoTableType() string { 3526 if m != nil { 3527 return m.IndexAlgoTableType 3528 } 3529 return "" 3530 } 3531 3532 func (m *IndexDef) GetIndexAlgoParams() string { 3533 if m != nil { 3534 return m.IndexAlgoParams 3535 } 3536 return "" 3537 } 3538 3539 type ForeignKeyDef struct { 3540 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 3541 Cols []uint64 `protobuf:"varint,2,rep,packed,name=cols,proto3" json:"cols,omitempty"` 3542 // Foreign key parent table Id 3543 ForeignTbl uint64 `protobuf:"varint,3,opt,name=foreign_tbl,json=foreignTbl,proto3" json:"foreign_tbl,omitempty"` 3544 // Foreign key parent table dependent column colids 3545 ForeignCols []uint64 `protobuf:"varint,4,rep,packed,name=foreign_cols,json=foreignCols,proto3" json:"foreign_cols,omitempty"` 3546 OnDelete ForeignKeyDef_RefAction `protobuf:"varint,5,opt,name=on_delete,json=onDelete,proto3,enum=plan.ForeignKeyDef_RefAction" json:"on_delete,omitempty"` 3547 OnUpdate ForeignKeyDef_RefAction `protobuf:"varint,6,opt,name=on_update,json=onUpdate,proto3,enum=plan.ForeignKeyDef_RefAction" json:"on_update,omitempty"` 3548 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3549 XXX_unrecognized []byte `json:"-"` 3550 XXX_sizecache int32 `json:"-"` 3551 } 3552 3553 func (m *ForeignKeyDef) Reset() { *m = ForeignKeyDef{} } 3554 func (m *ForeignKeyDef) String() string { return proto.CompactTextString(m) } 3555 func (*ForeignKeyDef) ProtoMessage() {} 3556 func (*ForeignKeyDef) Descriptor() ([]byte, []int) { 3557 return fileDescriptor_2d655ab2f7683c23, []int{27} 3558 } 3559 func (m *ForeignKeyDef) XXX_Unmarshal(b []byte) error { 3560 return m.Unmarshal(b) 3561 } 3562 func (m *ForeignKeyDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3563 if deterministic { 3564 return xxx_messageInfo_ForeignKeyDef.Marshal(b, m, deterministic) 3565 } else { 3566 b = b[:cap(b)] 3567 n, err := m.MarshalToSizedBuffer(b) 3568 if err != nil { 3569 return nil, err 3570 } 3571 return b[:n], nil 3572 } 3573 } 3574 func (m *ForeignKeyDef) XXX_Merge(src proto.Message) { 3575 xxx_messageInfo_ForeignKeyDef.Merge(m, src) 3576 } 3577 func (m *ForeignKeyDef) XXX_Size() int { 3578 return m.ProtoSize() 3579 } 3580 func (m *ForeignKeyDef) XXX_DiscardUnknown() { 3581 xxx_messageInfo_ForeignKeyDef.DiscardUnknown(m) 3582 } 3583 3584 var xxx_messageInfo_ForeignKeyDef proto.InternalMessageInfo 3585 3586 func (m *ForeignKeyDef) GetName() string { 3587 if m != nil { 3588 return m.Name 3589 } 3590 return "" 3591 } 3592 3593 func (m *ForeignKeyDef) GetCols() []uint64 { 3594 if m != nil { 3595 return m.Cols 3596 } 3597 return nil 3598 } 3599 3600 func (m *ForeignKeyDef) GetForeignTbl() uint64 { 3601 if m != nil { 3602 return m.ForeignTbl 3603 } 3604 return 0 3605 } 3606 3607 func (m *ForeignKeyDef) GetForeignCols() []uint64 { 3608 if m != nil { 3609 return m.ForeignCols 3610 } 3611 return nil 3612 } 3613 3614 func (m *ForeignKeyDef) GetOnDelete() ForeignKeyDef_RefAction { 3615 if m != nil { 3616 return m.OnDelete 3617 } 3618 return ForeignKeyDef_RESTRICT 3619 } 3620 3621 func (m *ForeignKeyDef) GetOnUpdate() ForeignKeyDef_RefAction { 3622 if m != nil { 3623 return m.OnUpdate 3624 } 3625 return ForeignKeyDef_RESTRICT 3626 } 3627 3628 type CheckDef struct { 3629 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 3630 // Name for anonymous constraints, __mo_chk_[INDEX_ID] 3631 Check *Expr `protobuf:"bytes,2,opt,name=check,proto3" json:"check,omitempty"` 3632 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3633 XXX_unrecognized []byte `json:"-"` 3634 XXX_sizecache int32 `json:"-"` 3635 } 3636 3637 func (m *CheckDef) Reset() { *m = CheckDef{} } 3638 func (m *CheckDef) String() string { return proto.CompactTextString(m) } 3639 func (*CheckDef) ProtoMessage() {} 3640 func (*CheckDef) Descriptor() ([]byte, []int) { 3641 return fileDescriptor_2d655ab2f7683c23, []int{28} 3642 } 3643 func (m *CheckDef) XXX_Unmarshal(b []byte) error { 3644 return m.Unmarshal(b) 3645 } 3646 func (m *CheckDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3647 if deterministic { 3648 return xxx_messageInfo_CheckDef.Marshal(b, m, deterministic) 3649 } else { 3650 b = b[:cap(b)] 3651 n, err := m.MarshalToSizedBuffer(b) 3652 if err != nil { 3653 return nil, err 3654 } 3655 return b[:n], nil 3656 } 3657 } 3658 func (m *CheckDef) XXX_Merge(src proto.Message) { 3659 xxx_messageInfo_CheckDef.Merge(m, src) 3660 } 3661 func (m *CheckDef) XXX_Size() int { 3662 return m.ProtoSize() 3663 } 3664 func (m *CheckDef) XXX_DiscardUnknown() { 3665 xxx_messageInfo_CheckDef.DiscardUnknown(m) 3666 } 3667 3668 var xxx_messageInfo_CheckDef proto.InternalMessageInfo 3669 3670 func (m *CheckDef) GetName() string { 3671 if m != nil { 3672 return m.Name 3673 } 3674 return "" 3675 } 3676 3677 func (m *CheckDef) GetCheck() *Expr { 3678 if m != nil { 3679 return m.Check 3680 } 3681 return nil 3682 } 3683 3684 type ClusterByDef struct { 3685 // XXX: Deprecated and to be removed soon. 3686 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 3687 // Composite cluster by column definition 3688 CompCbkeyCol *ColDef `protobuf:"bytes,2,opt,name=comp_cbkey_col,json=compCbkeyCol,proto3" json:"comp_cbkey_col,omitempty"` 3689 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3690 XXX_unrecognized []byte `json:"-"` 3691 XXX_sizecache int32 `json:"-"` 3692 } 3693 3694 func (m *ClusterByDef) Reset() { *m = ClusterByDef{} } 3695 func (m *ClusterByDef) String() string { return proto.CompactTextString(m) } 3696 func (*ClusterByDef) ProtoMessage() {} 3697 func (*ClusterByDef) Descriptor() ([]byte, []int) { 3698 return fileDescriptor_2d655ab2f7683c23, []int{29} 3699 } 3700 func (m *ClusterByDef) XXX_Unmarshal(b []byte) error { 3701 return m.Unmarshal(b) 3702 } 3703 func (m *ClusterByDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3704 if deterministic { 3705 return xxx_messageInfo_ClusterByDef.Marshal(b, m, deterministic) 3706 } else { 3707 b = b[:cap(b)] 3708 n, err := m.MarshalToSizedBuffer(b) 3709 if err != nil { 3710 return nil, err 3711 } 3712 return b[:n], nil 3713 } 3714 } 3715 func (m *ClusterByDef) XXX_Merge(src proto.Message) { 3716 xxx_messageInfo_ClusterByDef.Merge(m, src) 3717 } 3718 func (m *ClusterByDef) XXX_Size() int { 3719 return m.ProtoSize() 3720 } 3721 func (m *ClusterByDef) XXX_DiscardUnknown() { 3722 xxx_messageInfo_ClusterByDef.DiscardUnknown(m) 3723 } 3724 3725 var xxx_messageInfo_ClusterByDef proto.InternalMessageInfo 3726 3727 func (m *ClusterByDef) GetName() string { 3728 if m != nil { 3729 return m.Name 3730 } 3731 return "" 3732 } 3733 3734 func (m *ClusterByDef) GetCompCbkeyCol() *ColDef { 3735 if m != nil { 3736 return m.CompCbkeyCol 3737 } 3738 return nil 3739 } 3740 3741 type PropertyDef struct { 3742 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 3743 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 3744 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3745 XXX_unrecognized []byte `json:"-"` 3746 XXX_sizecache int32 `json:"-"` 3747 } 3748 3749 func (m *PropertyDef) Reset() { *m = PropertyDef{} } 3750 func (m *PropertyDef) String() string { return proto.CompactTextString(m) } 3751 func (*PropertyDef) ProtoMessage() {} 3752 func (*PropertyDef) Descriptor() ([]byte, []int) { 3753 return fileDescriptor_2d655ab2f7683c23, []int{30} 3754 } 3755 func (m *PropertyDef) XXX_Unmarshal(b []byte) error { 3756 return m.Unmarshal(b) 3757 } 3758 func (m *PropertyDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3759 if deterministic { 3760 return xxx_messageInfo_PropertyDef.Marshal(b, m, deterministic) 3761 } else { 3762 b = b[:cap(b)] 3763 n, err := m.MarshalToSizedBuffer(b) 3764 if err != nil { 3765 return nil, err 3766 } 3767 return b[:n], nil 3768 } 3769 } 3770 func (m *PropertyDef) XXX_Merge(src proto.Message) { 3771 xxx_messageInfo_PropertyDef.Merge(m, src) 3772 } 3773 func (m *PropertyDef) XXX_Size() int { 3774 return m.ProtoSize() 3775 } 3776 func (m *PropertyDef) XXX_DiscardUnknown() { 3777 xxx_messageInfo_PropertyDef.DiscardUnknown(m) 3778 } 3779 3780 var xxx_messageInfo_PropertyDef proto.InternalMessageInfo 3781 3782 func (m *PropertyDef) GetKey() string { 3783 if m != nil { 3784 return m.Key 3785 } 3786 return "" 3787 } 3788 3789 func (m *PropertyDef) GetValue() string { 3790 if m != nil { 3791 return m.Value 3792 } 3793 return "" 3794 } 3795 3796 type Property struct { 3797 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 3798 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 3799 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3800 XXX_unrecognized []byte `json:"-"` 3801 XXX_sizecache int32 `json:"-"` 3802 } 3803 3804 func (m *Property) Reset() { *m = Property{} } 3805 func (m *Property) String() string { return proto.CompactTextString(m) } 3806 func (*Property) ProtoMessage() {} 3807 func (*Property) Descriptor() ([]byte, []int) { 3808 return fileDescriptor_2d655ab2f7683c23, []int{31} 3809 } 3810 func (m *Property) XXX_Unmarshal(b []byte) error { 3811 return m.Unmarshal(b) 3812 } 3813 func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3814 if deterministic { 3815 return xxx_messageInfo_Property.Marshal(b, m, deterministic) 3816 } else { 3817 b = b[:cap(b)] 3818 n, err := m.MarshalToSizedBuffer(b) 3819 if err != nil { 3820 return nil, err 3821 } 3822 return b[:n], nil 3823 } 3824 } 3825 func (m *Property) XXX_Merge(src proto.Message) { 3826 xxx_messageInfo_Property.Merge(m, src) 3827 } 3828 func (m *Property) XXX_Size() int { 3829 return m.ProtoSize() 3830 } 3831 func (m *Property) XXX_DiscardUnknown() { 3832 xxx_messageInfo_Property.DiscardUnknown(m) 3833 } 3834 3835 var xxx_messageInfo_Property proto.InternalMessageInfo 3836 3837 func (m *Property) GetKey() string { 3838 if m != nil { 3839 return m.Key 3840 } 3841 return "" 3842 } 3843 3844 func (m *Property) GetValue() string { 3845 if m != nil { 3846 return m.Value 3847 } 3848 return "" 3849 } 3850 3851 type PropertiesDef struct { 3852 Properties []*Property `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty"` 3853 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3854 XXX_unrecognized []byte `json:"-"` 3855 XXX_sizecache int32 `json:"-"` 3856 } 3857 3858 func (m *PropertiesDef) Reset() { *m = PropertiesDef{} } 3859 func (m *PropertiesDef) String() string { return proto.CompactTextString(m) } 3860 func (*PropertiesDef) ProtoMessage() {} 3861 func (*PropertiesDef) Descriptor() ([]byte, []int) { 3862 return fileDescriptor_2d655ab2f7683c23, []int{32} 3863 } 3864 func (m *PropertiesDef) XXX_Unmarshal(b []byte) error { 3865 return m.Unmarshal(b) 3866 } 3867 func (m *PropertiesDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3868 if deterministic { 3869 return xxx_messageInfo_PropertiesDef.Marshal(b, m, deterministic) 3870 } else { 3871 b = b[:cap(b)] 3872 n, err := m.MarshalToSizedBuffer(b) 3873 if err != nil { 3874 return nil, err 3875 } 3876 return b[:n], nil 3877 } 3878 } 3879 func (m *PropertiesDef) XXX_Merge(src proto.Message) { 3880 xxx_messageInfo_PropertiesDef.Merge(m, src) 3881 } 3882 func (m *PropertiesDef) XXX_Size() int { 3883 return m.ProtoSize() 3884 } 3885 func (m *PropertiesDef) XXX_DiscardUnknown() { 3886 xxx_messageInfo_PropertiesDef.DiscardUnknown(m) 3887 } 3888 3889 var xxx_messageInfo_PropertiesDef proto.InternalMessageInfo 3890 3891 func (m *PropertiesDef) GetProperties() []*Property { 3892 if m != nil { 3893 return m.Properties 3894 } 3895 return nil 3896 } 3897 3898 type PartitionByDef struct { 3899 Type PartitionType `protobuf:"varint,1,opt,name=type,proto3,enum=plan.PartitionType" json:"type,omitempty"` 3900 PartitionExpr *PartitionExpr `protobuf:"bytes,2,opt,name=partition_expr,json=partitionExpr,proto3" json:"partition_expr,omitempty"` 3901 PartitionExpression *Expr `protobuf:"bytes,3,opt,name=partition_expression,json=partitionExpression,proto3" json:"partition_expression,omitempty"` 3902 PartitionColumns *PartitionColumns `protobuf:"bytes,4,opt,name=partition_columns,json=partitionColumns,proto3" json:"partition_columns,omitempty"` 3903 PartitionNum uint64 `protobuf:"varint,5,opt,name=partitionNum,proto3" json:"partitionNum,omitempty"` 3904 Partitions []*PartitionItem `protobuf:"bytes,6,rep,name=partitions,proto3" json:"partitions,omitempty"` 3905 Algorithm int64 `protobuf:"varint,7,opt,name=algorithm,proto3" json:"algorithm,omitempty"` 3906 IsSubPartition bool `protobuf:"varint,8,opt,name=is_sub_partition,json=isSubPartition,proto3" json:"is_sub_partition,omitempty"` 3907 PartitionMsg string `protobuf:"bytes,9,opt,name=partition_msg,json=partitionMsg,proto3" json:"partition_msg,omitempty"` 3908 PartitionTableNames []string `protobuf:"bytes,10,rep,name=partition_table_names,json=partitionTableNames,proto3" json:"partition_table_names,omitempty"` 3909 XXX_NoUnkeyedLiteral struct{} `json:"-"` 3910 XXX_unrecognized []byte `json:"-"` 3911 XXX_sizecache int32 `json:"-"` 3912 } 3913 3914 func (m *PartitionByDef) Reset() { *m = PartitionByDef{} } 3915 func (m *PartitionByDef) String() string { return proto.CompactTextString(m) } 3916 func (*PartitionByDef) ProtoMessage() {} 3917 func (*PartitionByDef) Descriptor() ([]byte, []int) { 3918 return fileDescriptor_2d655ab2f7683c23, []int{33} 3919 } 3920 func (m *PartitionByDef) XXX_Unmarshal(b []byte) error { 3921 return m.Unmarshal(b) 3922 } 3923 func (m *PartitionByDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 3924 if deterministic { 3925 return xxx_messageInfo_PartitionByDef.Marshal(b, m, deterministic) 3926 } else { 3927 b = b[:cap(b)] 3928 n, err := m.MarshalToSizedBuffer(b) 3929 if err != nil { 3930 return nil, err 3931 } 3932 return b[:n], nil 3933 } 3934 } 3935 func (m *PartitionByDef) XXX_Merge(src proto.Message) { 3936 xxx_messageInfo_PartitionByDef.Merge(m, src) 3937 } 3938 func (m *PartitionByDef) XXX_Size() int { 3939 return m.ProtoSize() 3940 } 3941 func (m *PartitionByDef) XXX_DiscardUnknown() { 3942 xxx_messageInfo_PartitionByDef.DiscardUnknown(m) 3943 } 3944 3945 var xxx_messageInfo_PartitionByDef proto.InternalMessageInfo 3946 3947 func (m *PartitionByDef) GetType() PartitionType { 3948 if m != nil { 3949 return m.Type 3950 } 3951 return PartitionType_KEY 3952 } 3953 3954 func (m *PartitionByDef) GetPartitionExpr() *PartitionExpr { 3955 if m != nil { 3956 return m.PartitionExpr 3957 } 3958 return nil 3959 } 3960 3961 func (m *PartitionByDef) GetPartitionExpression() *Expr { 3962 if m != nil { 3963 return m.PartitionExpression 3964 } 3965 return nil 3966 } 3967 3968 func (m *PartitionByDef) GetPartitionColumns() *PartitionColumns { 3969 if m != nil { 3970 return m.PartitionColumns 3971 } 3972 return nil 3973 } 3974 3975 func (m *PartitionByDef) GetPartitionNum() uint64 { 3976 if m != nil { 3977 return m.PartitionNum 3978 } 3979 return 0 3980 } 3981 3982 func (m *PartitionByDef) GetPartitions() []*PartitionItem { 3983 if m != nil { 3984 return m.Partitions 3985 } 3986 return nil 3987 } 3988 3989 func (m *PartitionByDef) GetAlgorithm() int64 { 3990 if m != nil { 3991 return m.Algorithm 3992 } 3993 return 0 3994 } 3995 3996 func (m *PartitionByDef) GetIsSubPartition() bool { 3997 if m != nil { 3998 return m.IsSubPartition 3999 } 4000 return false 4001 } 4002 4003 func (m *PartitionByDef) GetPartitionMsg() string { 4004 if m != nil { 4005 return m.PartitionMsg 4006 } 4007 return "" 4008 } 4009 4010 func (m *PartitionByDef) GetPartitionTableNames() []string { 4011 if m != nil { 4012 return m.PartitionTableNames 4013 } 4014 return nil 4015 } 4016 4017 type PartitionExpr struct { 4018 Expr *Expr `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"` 4019 ExprStr string `protobuf:"bytes,2,opt,name=expr_str,json=exprStr,proto3" json:"expr_str,omitempty"` 4020 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4021 XXX_unrecognized []byte `json:"-"` 4022 XXX_sizecache int32 `json:"-"` 4023 } 4024 4025 func (m *PartitionExpr) Reset() { *m = PartitionExpr{} } 4026 func (m *PartitionExpr) String() string { return proto.CompactTextString(m) } 4027 func (*PartitionExpr) ProtoMessage() {} 4028 func (*PartitionExpr) Descriptor() ([]byte, []int) { 4029 return fileDescriptor_2d655ab2f7683c23, []int{34} 4030 } 4031 func (m *PartitionExpr) XXX_Unmarshal(b []byte) error { 4032 return m.Unmarshal(b) 4033 } 4034 func (m *PartitionExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4035 if deterministic { 4036 return xxx_messageInfo_PartitionExpr.Marshal(b, m, deterministic) 4037 } else { 4038 b = b[:cap(b)] 4039 n, err := m.MarshalToSizedBuffer(b) 4040 if err != nil { 4041 return nil, err 4042 } 4043 return b[:n], nil 4044 } 4045 } 4046 func (m *PartitionExpr) XXX_Merge(src proto.Message) { 4047 xxx_messageInfo_PartitionExpr.Merge(m, src) 4048 } 4049 func (m *PartitionExpr) XXX_Size() int { 4050 return m.ProtoSize() 4051 } 4052 func (m *PartitionExpr) XXX_DiscardUnknown() { 4053 xxx_messageInfo_PartitionExpr.DiscardUnknown(m) 4054 } 4055 4056 var xxx_messageInfo_PartitionExpr proto.InternalMessageInfo 4057 4058 func (m *PartitionExpr) GetExpr() *Expr { 4059 if m != nil { 4060 return m.Expr 4061 } 4062 return nil 4063 } 4064 4065 func (m *PartitionExpr) GetExprStr() string { 4066 if m != nil { 4067 return m.ExprStr 4068 } 4069 return "" 4070 } 4071 4072 type PartitionColumns struct { 4073 Columns []*Expr `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"` 4074 PartitionColumns []string `protobuf:"bytes,2,rep,name=partition_columns,json=partitionColumns,proto3" json:"partition_columns,omitempty"` 4075 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4076 XXX_unrecognized []byte `json:"-"` 4077 XXX_sizecache int32 `json:"-"` 4078 } 4079 4080 func (m *PartitionColumns) Reset() { *m = PartitionColumns{} } 4081 func (m *PartitionColumns) String() string { return proto.CompactTextString(m) } 4082 func (*PartitionColumns) ProtoMessage() {} 4083 func (*PartitionColumns) Descriptor() ([]byte, []int) { 4084 return fileDescriptor_2d655ab2f7683c23, []int{35} 4085 } 4086 func (m *PartitionColumns) XXX_Unmarshal(b []byte) error { 4087 return m.Unmarshal(b) 4088 } 4089 func (m *PartitionColumns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4090 if deterministic { 4091 return xxx_messageInfo_PartitionColumns.Marshal(b, m, deterministic) 4092 } else { 4093 b = b[:cap(b)] 4094 n, err := m.MarshalToSizedBuffer(b) 4095 if err != nil { 4096 return nil, err 4097 } 4098 return b[:n], nil 4099 } 4100 } 4101 func (m *PartitionColumns) XXX_Merge(src proto.Message) { 4102 xxx_messageInfo_PartitionColumns.Merge(m, src) 4103 } 4104 func (m *PartitionColumns) XXX_Size() int { 4105 return m.ProtoSize() 4106 } 4107 func (m *PartitionColumns) XXX_DiscardUnknown() { 4108 xxx_messageInfo_PartitionColumns.DiscardUnknown(m) 4109 } 4110 4111 var xxx_messageInfo_PartitionColumns proto.InternalMessageInfo 4112 4113 func (m *PartitionColumns) GetColumns() []*Expr { 4114 if m != nil { 4115 return m.Columns 4116 } 4117 return nil 4118 } 4119 4120 func (m *PartitionColumns) GetPartitionColumns() []string { 4121 if m != nil { 4122 return m.PartitionColumns 4123 } 4124 return nil 4125 } 4126 4127 type PartitionItem struct { 4128 PartitionName string `protobuf:"bytes,1,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"` 4129 OrdinalPosition uint32 `protobuf:"varint,2,opt,name=ordinal_position,json=ordinalPosition,proto3" json:"ordinal_position,omitempty"` 4130 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 4131 Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"` 4132 LessThan []*Expr `protobuf:"bytes,5,rep,name=less_than,json=lessThan,proto3" json:"less_than,omitempty"` 4133 InValues []*Expr `protobuf:"bytes,6,rep,name=in_values,json=inValues,proto3" json:"in_values,omitempty"` 4134 PartitionTableName string `protobuf:"bytes,7,opt,name=partition_table_name,json=partitionTableName,proto3" json:"partition_table_name,omitempty"` 4135 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4136 XXX_unrecognized []byte `json:"-"` 4137 XXX_sizecache int32 `json:"-"` 4138 } 4139 4140 func (m *PartitionItem) Reset() { *m = PartitionItem{} } 4141 func (m *PartitionItem) String() string { return proto.CompactTextString(m) } 4142 func (*PartitionItem) ProtoMessage() {} 4143 func (*PartitionItem) Descriptor() ([]byte, []int) { 4144 return fileDescriptor_2d655ab2f7683c23, []int{36} 4145 } 4146 func (m *PartitionItem) XXX_Unmarshal(b []byte) error { 4147 return m.Unmarshal(b) 4148 } 4149 func (m *PartitionItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4150 if deterministic { 4151 return xxx_messageInfo_PartitionItem.Marshal(b, m, deterministic) 4152 } else { 4153 b = b[:cap(b)] 4154 n, err := m.MarshalToSizedBuffer(b) 4155 if err != nil { 4156 return nil, err 4157 } 4158 return b[:n], nil 4159 } 4160 } 4161 func (m *PartitionItem) XXX_Merge(src proto.Message) { 4162 xxx_messageInfo_PartitionItem.Merge(m, src) 4163 } 4164 func (m *PartitionItem) XXX_Size() int { 4165 return m.ProtoSize() 4166 } 4167 func (m *PartitionItem) XXX_DiscardUnknown() { 4168 xxx_messageInfo_PartitionItem.DiscardUnknown(m) 4169 } 4170 4171 var xxx_messageInfo_PartitionItem proto.InternalMessageInfo 4172 4173 func (m *PartitionItem) GetPartitionName() string { 4174 if m != nil { 4175 return m.PartitionName 4176 } 4177 return "" 4178 } 4179 4180 func (m *PartitionItem) GetOrdinalPosition() uint32 { 4181 if m != nil { 4182 return m.OrdinalPosition 4183 } 4184 return 0 4185 } 4186 4187 func (m *PartitionItem) GetDescription() string { 4188 if m != nil { 4189 return m.Description 4190 } 4191 return "" 4192 } 4193 4194 func (m *PartitionItem) GetComment() string { 4195 if m != nil { 4196 return m.Comment 4197 } 4198 return "" 4199 } 4200 4201 func (m *PartitionItem) GetLessThan() []*Expr { 4202 if m != nil { 4203 return m.LessThan 4204 } 4205 return nil 4206 } 4207 4208 func (m *PartitionItem) GetInValues() []*Expr { 4209 if m != nil { 4210 return m.InValues 4211 } 4212 return nil 4213 } 4214 4215 func (m *PartitionItem) GetPartitionTableName() string { 4216 if m != nil { 4217 return m.PartitionTableName 4218 } 4219 return "" 4220 } 4221 4222 type ViewDef struct { 4223 View string `protobuf:"bytes,1,opt,name=view,proto3" json:"view,omitempty"` 4224 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4225 XXX_unrecognized []byte `json:"-"` 4226 XXX_sizecache int32 `json:"-"` 4227 } 4228 4229 func (m *ViewDef) Reset() { *m = ViewDef{} } 4230 func (m *ViewDef) String() string { return proto.CompactTextString(m) } 4231 func (*ViewDef) ProtoMessage() {} 4232 func (*ViewDef) Descriptor() ([]byte, []int) { 4233 return fileDescriptor_2d655ab2f7683c23, []int{37} 4234 } 4235 func (m *ViewDef) XXX_Unmarshal(b []byte) error { 4236 return m.Unmarshal(b) 4237 } 4238 func (m *ViewDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4239 if deterministic { 4240 return xxx_messageInfo_ViewDef.Marshal(b, m, deterministic) 4241 } else { 4242 b = b[:cap(b)] 4243 n, err := m.MarshalToSizedBuffer(b) 4244 if err != nil { 4245 return nil, err 4246 } 4247 return b[:n], nil 4248 } 4249 } 4250 func (m *ViewDef) XXX_Merge(src proto.Message) { 4251 xxx_messageInfo_ViewDef.Merge(m, src) 4252 } 4253 func (m *ViewDef) XXX_Size() int { 4254 return m.ProtoSize() 4255 } 4256 func (m *ViewDef) XXX_DiscardUnknown() { 4257 xxx_messageInfo_ViewDef.DiscardUnknown(m) 4258 } 4259 4260 var xxx_messageInfo_ViewDef proto.InternalMessageInfo 4261 4262 func (m *ViewDef) GetView() string { 4263 if m != nil { 4264 return m.View 4265 } 4266 return "" 4267 } 4268 4269 type TableDef struct { 4270 TblId uint64 `protobuf:"varint,1,opt,name=tbl_id,json=tblId,proto3" json:"tbl_id,omitempty"` 4271 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 4272 Hidden bool `protobuf:"varint,3,opt,name=hidden,proto3" json:"hidden,omitempty"` 4273 Cols []*ColDef `protobuf:"bytes,4,rep,name=cols,proto3" json:"cols,omitempty"` 4274 TableType string `protobuf:"bytes,5,opt,name=table_type,json=tableType,proto3" json:"table_type,omitempty"` 4275 Createsql string `protobuf:"bytes,6,opt,name=createsql,proto3" json:"createsql,omitempty"` 4276 TblFunc *TableFunction `protobuf:"bytes,7,opt,name=tbl_func,json=tblFunc,proto3" json:"tbl_func,omitempty"` 4277 Version uint32 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"` 4278 Pkey *PrimaryKeyDef `protobuf:"bytes,11,opt,name=pkey,proto3" json:"pkey,omitempty"` 4279 Indexes []*IndexDef `protobuf:"bytes,12,rep,name=indexes,proto3" json:"indexes,omitempty"` 4280 Fkeys []*ForeignKeyDef `protobuf:"bytes,13,rep,name=fkeys,proto3" json:"fkeys,omitempty"` 4281 RefChildTbls []uint64 `protobuf:"varint,14,rep,packed,name=ref_child_tbls,json=refChildTbls,proto3" json:"ref_child_tbls,omitempty"` 4282 Checks []*CheckDef `protobuf:"bytes,15,rep,name=checks,proto3" json:"checks,omitempty"` 4283 Partition *PartitionByDef `protobuf:"bytes,21,opt,name=partition,proto3" json:"partition,omitempty"` 4284 ClusterBy *ClusterByDef `protobuf:"bytes,22,opt,name=cluster_by,json=clusterBy,proto3" json:"cluster_by,omitempty"` 4285 Props []*PropertyDef `protobuf:"bytes,23,rep,name=props,proto3" json:"props,omitempty"` 4286 ViewSql *ViewDef `protobuf:"bytes,24,opt,name=view_sql,json=viewSql,proto3" json:"view_sql,omitempty"` 4287 // XXX: Deprecated and to be removed soon. 4288 Defs []*TableDef_DefType `protobuf:"bytes,25,rep,name=defs,proto3" json:"defs,omitempty"` 4289 Name2ColIndex map[string]int32 `protobuf:"bytes,26,rep,name=name2col_index,json=name2colIndex,proto3" json:"name2col_index,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 4290 IsLocked bool `protobuf:"varint,27,opt,name=isLocked,proto3" json:"isLocked,omitempty"` 4291 TableLockType TableLockType `protobuf:"varint,28,opt,name=tableLockType,proto3,enum=plan.TableLockType" json:"tableLockType,omitempty"` 4292 IsTemporary bool `protobuf:"varint,29,opt,name=is_temporary,json=isTemporary,proto3" json:"is_temporary,omitempty"` 4293 AutoIncrOffset uint64 `protobuf:"varint,30,opt,name=auto_incr_offset,json=autoIncrOffset,proto3" json:"auto_incr_offset,omitempty"` 4294 IsDynamic bool `protobuf:"varint,31,opt,name=is_dynamic,json=isDynamic,proto3" json:"is_dynamic,omitempty"` 4295 DbName string `protobuf:"bytes,32,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` 4296 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4297 XXX_unrecognized []byte `json:"-"` 4298 XXX_sizecache int32 `json:"-"` 4299 } 4300 4301 func (m *TableDef) Reset() { *m = TableDef{} } 4302 func (m *TableDef) String() string { return proto.CompactTextString(m) } 4303 func (*TableDef) ProtoMessage() {} 4304 func (*TableDef) Descriptor() ([]byte, []int) { 4305 return fileDescriptor_2d655ab2f7683c23, []int{38} 4306 } 4307 func (m *TableDef) XXX_Unmarshal(b []byte) error { 4308 return m.Unmarshal(b) 4309 } 4310 func (m *TableDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4311 if deterministic { 4312 return xxx_messageInfo_TableDef.Marshal(b, m, deterministic) 4313 } else { 4314 b = b[:cap(b)] 4315 n, err := m.MarshalToSizedBuffer(b) 4316 if err != nil { 4317 return nil, err 4318 } 4319 return b[:n], nil 4320 } 4321 } 4322 func (m *TableDef) XXX_Merge(src proto.Message) { 4323 xxx_messageInfo_TableDef.Merge(m, src) 4324 } 4325 func (m *TableDef) XXX_Size() int { 4326 return m.ProtoSize() 4327 } 4328 func (m *TableDef) XXX_DiscardUnknown() { 4329 xxx_messageInfo_TableDef.DiscardUnknown(m) 4330 } 4331 4332 var xxx_messageInfo_TableDef proto.InternalMessageInfo 4333 4334 func (m *TableDef) GetTblId() uint64 { 4335 if m != nil { 4336 return m.TblId 4337 } 4338 return 0 4339 } 4340 4341 func (m *TableDef) GetName() string { 4342 if m != nil { 4343 return m.Name 4344 } 4345 return "" 4346 } 4347 4348 func (m *TableDef) GetHidden() bool { 4349 if m != nil { 4350 return m.Hidden 4351 } 4352 return false 4353 } 4354 4355 func (m *TableDef) GetCols() []*ColDef { 4356 if m != nil { 4357 return m.Cols 4358 } 4359 return nil 4360 } 4361 4362 func (m *TableDef) GetTableType() string { 4363 if m != nil { 4364 return m.TableType 4365 } 4366 return "" 4367 } 4368 4369 func (m *TableDef) GetCreatesql() string { 4370 if m != nil { 4371 return m.Createsql 4372 } 4373 return "" 4374 } 4375 4376 func (m *TableDef) GetTblFunc() *TableFunction { 4377 if m != nil { 4378 return m.TblFunc 4379 } 4380 return nil 4381 } 4382 4383 func (m *TableDef) GetVersion() uint32 { 4384 if m != nil { 4385 return m.Version 4386 } 4387 return 0 4388 } 4389 4390 func (m *TableDef) GetPkey() *PrimaryKeyDef { 4391 if m != nil { 4392 return m.Pkey 4393 } 4394 return nil 4395 } 4396 4397 func (m *TableDef) GetIndexes() []*IndexDef { 4398 if m != nil { 4399 return m.Indexes 4400 } 4401 return nil 4402 } 4403 4404 func (m *TableDef) GetFkeys() []*ForeignKeyDef { 4405 if m != nil { 4406 return m.Fkeys 4407 } 4408 return nil 4409 } 4410 4411 func (m *TableDef) GetRefChildTbls() []uint64 { 4412 if m != nil { 4413 return m.RefChildTbls 4414 } 4415 return nil 4416 } 4417 4418 func (m *TableDef) GetChecks() []*CheckDef { 4419 if m != nil { 4420 return m.Checks 4421 } 4422 return nil 4423 } 4424 4425 func (m *TableDef) GetPartition() *PartitionByDef { 4426 if m != nil { 4427 return m.Partition 4428 } 4429 return nil 4430 } 4431 4432 func (m *TableDef) GetClusterBy() *ClusterByDef { 4433 if m != nil { 4434 return m.ClusterBy 4435 } 4436 return nil 4437 } 4438 4439 func (m *TableDef) GetProps() []*PropertyDef { 4440 if m != nil { 4441 return m.Props 4442 } 4443 return nil 4444 } 4445 4446 func (m *TableDef) GetViewSql() *ViewDef { 4447 if m != nil { 4448 return m.ViewSql 4449 } 4450 return nil 4451 } 4452 4453 func (m *TableDef) GetDefs() []*TableDef_DefType { 4454 if m != nil { 4455 return m.Defs 4456 } 4457 return nil 4458 } 4459 4460 func (m *TableDef) GetName2ColIndex() map[string]int32 { 4461 if m != nil { 4462 return m.Name2ColIndex 4463 } 4464 return nil 4465 } 4466 4467 func (m *TableDef) GetIsLocked() bool { 4468 if m != nil { 4469 return m.IsLocked 4470 } 4471 return false 4472 } 4473 4474 func (m *TableDef) GetTableLockType() TableLockType { 4475 if m != nil { 4476 return m.TableLockType 4477 } 4478 return TableLockType_TableLockNone 4479 } 4480 4481 func (m *TableDef) GetIsTemporary() bool { 4482 if m != nil { 4483 return m.IsTemporary 4484 } 4485 return false 4486 } 4487 4488 func (m *TableDef) GetAutoIncrOffset() uint64 { 4489 if m != nil { 4490 return m.AutoIncrOffset 4491 } 4492 return 0 4493 } 4494 4495 func (m *TableDef) GetIsDynamic() bool { 4496 if m != nil { 4497 return m.IsDynamic 4498 } 4499 return false 4500 } 4501 4502 func (m *TableDef) GetDbName() string { 4503 if m != nil { 4504 return m.DbName 4505 } 4506 return "" 4507 } 4508 4509 // XXX: Deprecated and to be removed soon. 4510 type TableDef_DefType struct { 4511 // Types that are valid to be assigned to Def: 4512 // 4513 // *TableDef_DefType_Properties 4514 Def isTableDef_DefType_Def `protobuf_oneof:"def"` 4515 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4516 XXX_unrecognized []byte `json:"-"` 4517 XXX_sizecache int32 `json:"-"` 4518 } 4519 4520 func (m *TableDef_DefType) Reset() { *m = TableDef_DefType{} } 4521 func (m *TableDef_DefType) String() string { return proto.CompactTextString(m) } 4522 func (*TableDef_DefType) ProtoMessage() {} 4523 func (*TableDef_DefType) Descriptor() ([]byte, []int) { 4524 return fileDescriptor_2d655ab2f7683c23, []int{38, 0} 4525 } 4526 func (m *TableDef_DefType) XXX_Unmarshal(b []byte) error { 4527 return m.Unmarshal(b) 4528 } 4529 func (m *TableDef_DefType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4530 if deterministic { 4531 return xxx_messageInfo_TableDef_DefType.Marshal(b, m, deterministic) 4532 } else { 4533 b = b[:cap(b)] 4534 n, err := m.MarshalToSizedBuffer(b) 4535 if err != nil { 4536 return nil, err 4537 } 4538 return b[:n], nil 4539 } 4540 } 4541 func (m *TableDef_DefType) XXX_Merge(src proto.Message) { 4542 xxx_messageInfo_TableDef_DefType.Merge(m, src) 4543 } 4544 func (m *TableDef_DefType) XXX_Size() int { 4545 return m.ProtoSize() 4546 } 4547 func (m *TableDef_DefType) XXX_DiscardUnknown() { 4548 xxx_messageInfo_TableDef_DefType.DiscardUnknown(m) 4549 } 4550 4551 var xxx_messageInfo_TableDef_DefType proto.InternalMessageInfo 4552 4553 type isTableDef_DefType_Def interface { 4554 isTableDef_DefType_Def() 4555 MarshalTo([]byte) (int, error) 4556 ProtoSize() int 4557 } 4558 4559 type TableDef_DefType_Properties struct { 4560 Properties *PropertiesDef `protobuf:"bytes,1,opt,name=properties,proto3,oneof" json:"properties,omitempty"` 4561 } 4562 4563 func (*TableDef_DefType_Properties) isTableDef_DefType_Def() {} 4564 4565 func (m *TableDef_DefType) GetDef() isTableDef_DefType_Def { 4566 if m != nil { 4567 return m.Def 4568 } 4569 return nil 4570 } 4571 4572 func (m *TableDef_DefType) GetProperties() *PropertiesDef { 4573 if x, ok := m.GetDef().(*TableDef_DefType_Properties); ok { 4574 return x.Properties 4575 } 4576 return nil 4577 } 4578 4579 // XXX_OneofWrappers is for the internal use of the proto package. 4580 func (*TableDef_DefType) XXX_OneofWrappers() []interface{} { 4581 return []interface{}{ 4582 (*TableDef_DefType_Properties)(nil), 4583 } 4584 } 4585 4586 type TableFunction struct { 4587 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 4588 Param []byte `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"` 4589 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4590 XXX_unrecognized []byte `json:"-"` 4591 XXX_sizecache int32 `json:"-"` 4592 } 4593 4594 func (m *TableFunction) Reset() { *m = TableFunction{} } 4595 func (m *TableFunction) String() string { return proto.CompactTextString(m) } 4596 func (*TableFunction) ProtoMessage() {} 4597 func (*TableFunction) Descriptor() ([]byte, []int) { 4598 return fileDescriptor_2d655ab2f7683c23, []int{39} 4599 } 4600 func (m *TableFunction) XXX_Unmarshal(b []byte) error { 4601 return m.Unmarshal(b) 4602 } 4603 func (m *TableFunction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4604 if deterministic { 4605 return xxx_messageInfo_TableFunction.Marshal(b, m, deterministic) 4606 } else { 4607 b = b[:cap(b)] 4608 n, err := m.MarshalToSizedBuffer(b) 4609 if err != nil { 4610 return nil, err 4611 } 4612 return b[:n], nil 4613 } 4614 } 4615 func (m *TableFunction) XXX_Merge(src proto.Message) { 4616 xxx_messageInfo_TableFunction.Merge(m, src) 4617 } 4618 func (m *TableFunction) XXX_Size() int { 4619 return m.ProtoSize() 4620 } 4621 func (m *TableFunction) XXX_DiscardUnknown() { 4622 xxx_messageInfo_TableFunction.DiscardUnknown(m) 4623 } 4624 4625 var xxx_messageInfo_TableFunction proto.InternalMessageInfo 4626 4627 func (m *TableFunction) GetName() string { 4628 if m != nil { 4629 return m.Name 4630 } 4631 return "" 4632 } 4633 4634 func (m *TableFunction) GetParam() []byte { 4635 if m != nil { 4636 return m.Param 4637 } 4638 return nil 4639 } 4640 4641 type HashMapStats struct { 4642 // hashmap size for nodes which build a hashmap 4643 HashmapSize float64 `protobuf:"fixed64,1,opt,name=hashmap_size,json=hashmapSize,proto3" json:"hashmap_size,omitempty"` 4644 HashOnPK bool `protobuf:"varint,2,opt,name=hashOnPK,proto3" json:"hashOnPK,omitempty"` 4645 // for group by and join node with big hashmap, use shuffle 4646 // shuffle on which column. choose a column with max ndv 4647 Shuffle bool `protobuf:"varint,3,opt,name=shuffle,proto3" json:"shuffle,omitempty"` 4648 ShuffleColIdx int32 `protobuf:"varint,4,opt,name=shuffleColIdx,proto3" json:"shuffleColIdx,omitempty"` 4649 // shuffle type 4650 ShuffleType ShuffleType `protobuf:"varint,5,opt,name=shuffleType,proto3,enum=plan.ShuffleType" json:"shuffleType,omitempty"` 4651 ShuffleTypeForMultiCN ShuffleTypeForMultiCN `protobuf:"varint,6,opt,name=shuffleTypeForMultiCN,proto3,enum=plan.ShuffleTypeForMultiCN" json:"shuffleTypeForMultiCN,omitempty"` 4652 // for range shuffle on integer column, need to know its min and max value 4653 ShuffleColMin int64 `protobuf:"varint,7,opt,name=shuffleColMin,proto3" json:"shuffleColMin,omitempty"` 4654 ShuffleColMax int64 `protobuf:"varint,8,opt,name=shuffleColMax,proto3" json:"shuffleColMax,omitempty"` 4655 ShuffleMethod ShuffleMethod `protobuf:"varint,9,opt,name=shuffleMethod,proto3,enum=plan.ShuffleMethod" json:"shuffleMethod,omitempty"` 4656 Nullcnt int64 `protobuf:"varint,10,opt,name=nullcnt,proto3" json:"nullcnt,omitempty"` 4657 Ranges []float64 `protobuf:"fixed64,11,rep,packed,name=ranges,proto3" json:"ranges,omitempty"` 4658 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4659 XXX_unrecognized []byte `json:"-"` 4660 XXX_sizecache int32 `json:"-"` 4661 } 4662 4663 func (m *HashMapStats) Reset() { *m = HashMapStats{} } 4664 func (m *HashMapStats) String() string { return proto.CompactTextString(m) } 4665 func (*HashMapStats) ProtoMessage() {} 4666 func (*HashMapStats) Descriptor() ([]byte, []int) { 4667 return fileDescriptor_2d655ab2f7683c23, []int{40} 4668 } 4669 func (m *HashMapStats) XXX_Unmarshal(b []byte) error { 4670 return m.Unmarshal(b) 4671 } 4672 func (m *HashMapStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4673 if deterministic { 4674 return xxx_messageInfo_HashMapStats.Marshal(b, m, deterministic) 4675 } else { 4676 b = b[:cap(b)] 4677 n, err := m.MarshalToSizedBuffer(b) 4678 if err != nil { 4679 return nil, err 4680 } 4681 return b[:n], nil 4682 } 4683 } 4684 func (m *HashMapStats) XXX_Merge(src proto.Message) { 4685 xxx_messageInfo_HashMapStats.Merge(m, src) 4686 } 4687 func (m *HashMapStats) XXX_Size() int { 4688 return m.ProtoSize() 4689 } 4690 func (m *HashMapStats) XXX_DiscardUnknown() { 4691 xxx_messageInfo_HashMapStats.DiscardUnknown(m) 4692 } 4693 4694 var xxx_messageInfo_HashMapStats proto.InternalMessageInfo 4695 4696 func (m *HashMapStats) GetHashmapSize() float64 { 4697 if m != nil { 4698 return m.HashmapSize 4699 } 4700 return 0 4701 } 4702 4703 func (m *HashMapStats) GetHashOnPK() bool { 4704 if m != nil { 4705 return m.HashOnPK 4706 } 4707 return false 4708 } 4709 4710 func (m *HashMapStats) GetShuffle() bool { 4711 if m != nil { 4712 return m.Shuffle 4713 } 4714 return false 4715 } 4716 4717 func (m *HashMapStats) GetShuffleColIdx() int32 { 4718 if m != nil { 4719 return m.ShuffleColIdx 4720 } 4721 return 0 4722 } 4723 4724 func (m *HashMapStats) GetShuffleType() ShuffleType { 4725 if m != nil { 4726 return m.ShuffleType 4727 } 4728 return ShuffleType_Hash 4729 } 4730 4731 func (m *HashMapStats) GetShuffleTypeForMultiCN() ShuffleTypeForMultiCN { 4732 if m != nil { 4733 return m.ShuffleTypeForMultiCN 4734 } 4735 return ShuffleTypeForMultiCN_Simple 4736 } 4737 4738 func (m *HashMapStats) GetShuffleColMin() int64 { 4739 if m != nil { 4740 return m.ShuffleColMin 4741 } 4742 return 0 4743 } 4744 4745 func (m *HashMapStats) GetShuffleColMax() int64 { 4746 if m != nil { 4747 return m.ShuffleColMax 4748 } 4749 return 0 4750 } 4751 4752 func (m *HashMapStats) GetShuffleMethod() ShuffleMethod { 4753 if m != nil { 4754 return m.ShuffleMethod 4755 } 4756 return ShuffleMethod_Normal 4757 } 4758 4759 func (m *HashMapStats) GetNullcnt() int64 { 4760 if m != nil { 4761 return m.Nullcnt 4762 } 4763 return 0 4764 } 4765 4766 func (m *HashMapStats) GetRanges() []float64 { 4767 if m != nil { 4768 return m.Ranges 4769 } 4770 return nil 4771 } 4772 4773 type Stats struct { 4774 // for scan, number of blocks to read from S3 4775 BlockNum int32 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"` 4776 // for scan, cost of reading from S3, basically the read lines 4777 // for other nodes, it means the estimated cost of current node 4778 Cost float64 `protobuf:"fixed64,2,opt,name=cost,proto3" json:"cost,omitempty"` 4779 // number of output lines 4780 Outcnt float64 `protobuf:"fixed64,3,opt,name=outcnt,proto3" json:"outcnt,omitempty"` 4781 // average size of one row, currently not used 4782 Rowsize float64 `protobuf:"fixed64,4,opt,name=rowsize,proto3" json:"rowsize,omitempty"` 4783 // for scan, this means total count of all table, before filtering 4784 TableCnt float64 `protobuf:"fixed64,5,opt,name=table_cnt,json=tableCnt,proto3" json:"table_cnt,omitempty"` 4785 // for scan, selectivity means outcnt divide total count 4786 Selectivity float64 `protobuf:"fixed64,6,opt,name=selectivity,proto3" json:"selectivity,omitempty"` 4787 ForceOneCN bool `protobuf:"varint,7,opt,name=forceOneCN,proto3" json:"forceOneCN,omitempty"` 4788 HashmapStats *HashMapStats `protobuf:"bytes,8,opt,name=hashmapStats,proto3" json:"hashmapStats,omitempty"` 4789 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4790 XXX_unrecognized []byte `json:"-"` 4791 XXX_sizecache int32 `json:"-"` 4792 } 4793 4794 func (m *Stats) Reset() { *m = Stats{} } 4795 func (m *Stats) String() string { return proto.CompactTextString(m) } 4796 func (*Stats) ProtoMessage() {} 4797 func (*Stats) Descriptor() ([]byte, []int) { 4798 return fileDescriptor_2d655ab2f7683c23, []int{41} 4799 } 4800 func (m *Stats) XXX_Unmarshal(b []byte) error { 4801 return m.Unmarshal(b) 4802 } 4803 func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4804 if deterministic { 4805 return xxx_messageInfo_Stats.Marshal(b, m, deterministic) 4806 } else { 4807 b = b[:cap(b)] 4808 n, err := m.MarshalToSizedBuffer(b) 4809 if err != nil { 4810 return nil, err 4811 } 4812 return b[:n], nil 4813 } 4814 } 4815 func (m *Stats) XXX_Merge(src proto.Message) { 4816 xxx_messageInfo_Stats.Merge(m, src) 4817 } 4818 func (m *Stats) XXX_Size() int { 4819 return m.ProtoSize() 4820 } 4821 func (m *Stats) XXX_DiscardUnknown() { 4822 xxx_messageInfo_Stats.DiscardUnknown(m) 4823 } 4824 4825 var xxx_messageInfo_Stats proto.InternalMessageInfo 4826 4827 func (m *Stats) GetBlockNum() int32 { 4828 if m != nil { 4829 return m.BlockNum 4830 } 4831 return 0 4832 } 4833 4834 func (m *Stats) GetCost() float64 { 4835 if m != nil { 4836 return m.Cost 4837 } 4838 return 0 4839 } 4840 4841 func (m *Stats) GetOutcnt() float64 { 4842 if m != nil { 4843 return m.Outcnt 4844 } 4845 return 0 4846 } 4847 4848 func (m *Stats) GetRowsize() float64 { 4849 if m != nil { 4850 return m.Rowsize 4851 } 4852 return 0 4853 } 4854 4855 func (m *Stats) GetTableCnt() float64 { 4856 if m != nil { 4857 return m.TableCnt 4858 } 4859 return 0 4860 } 4861 4862 func (m *Stats) GetSelectivity() float64 { 4863 if m != nil { 4864 return m.Selectivity 4865 } 4866 return 0 4867 } 4868 4869 func (m *Stats) GetForceOneCN() bool { 4870 if m != nil { 4871 return m.ForceOneCN 4872 } 4873 return false 4874 } 4875 4876 func (m *Stats) GetHashmapStats() *HashMapStats { 4877 if m != nil { 4878 return m.HashmapStats 4879 } 4880 return nil 4881 } 4882 4883 type RowsetExpr struct { 4884 RowPos int32 `protobuf:"varint,1,opt,name=row_pos,json=rowPos,proto3" json:"row_pos,omitempty"` 4885 Pos int32 `protobuf:"varint,2,opt,name=pos,proto3" json:"pos,omitempty"` 4886 Expr *Expr `protobuf:"bytes,3,opt,name=expr,proto3" json:"expr,omitempty"` 4887 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4888 XXX_unrecognized []byte `json:"-"` 4889 XXX_sizecache int32 `json:"-"` 4890 } 4891 4892 func (m *RowsetExpr) Reset() { *m = RowsetExpr{} } 4893 func (m *RowsetExpr) String() string { return proto.CompactTextString(m) } 4894 func (*RowsetExpr) ProtoMessage() {} 4895 func (*RowsetExpr) Descriptor() ([]byte, []int) { 4896 return fileDescriptor_2d655ab2f7683c23, []int{42} 4897 } 4898 func (m *RowsetExpr) XXX_Unmarshal(b []byte) error { 4899 return m.Unmarshal(b) 4900 } 4901 func (m *RowsetExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4902 if deterministic { 4903 return xxx_messageInfo_RowsetExpr.Marshal(b, m, deterministic) 4904 } else { 4905 b = b[:cap(b)] 4906 n, err := m.MarshalToSizedBuffer(b) 4907 if err != nil { 4908 return nil, err 4909 } 4910 return b[:n], nil 4911 } 4912 } 4913 func (m *RowsetExpr) XXX_Merge(src proto.Message) { 4914 xxx_messageInfo_RowsetExpr.Merge(m, src) 4915 } 4916 func (m *RowsetExpr) XXX_Size() int { 4917 return m.ProtoSize() 4918 } 4919 func (m *RowsetExpr) XXX_DiscardUnknown() { 4920 xxx_messageInfo_RowsetExpr.DiscardUnknown(m) 4921 } 4922 4923 var xxx_messageInfo_RowsetExpr proto.InternalMessageInfo 4924 4925 func (m *RowsetExpr) GetRowPos() int32 { 4926 if m != nil { 4927 return m.RowPos 4928 } 4929 return 0 4930 } 4931 4932 func (m *RowsetExpr) GetPos() int32 { 4933 if m != nil { 4934 return m.Pos 4935 } 4936 return 0 4937 } 4938 4939 func (m *RowsetExpr) GetExpr() *Expr { 4940 if m != nil { 4941 return m.Expr 4942 } 4943 return nil 4944 } 4945 4946 type ColData struct { 4947 Data []*RowsetExpr `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` 4948 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4949 XXX_unrecognized []byte `json:"-"` 4950 XXX_sizecache int32 `json:"-"` 4951 } 4952 4953 func (m *ColData) Reset() { *m = ColData{} } 4954 func (m *ColData) String() string { return proto.CompactTextString(m) } 4955 func (*ColData) ProtoMessage() {} 4956 func (*ColData) Descriptor() ([]byte, []int) { 4957 return fileDescriptor_2d655ab2f7683c23, []int{43} 4958 } 4959 func (m *ColData) XXX_Unmarshal(b []byte) error { 4960 return m.Unmarshal(b) 4961 } 4962 func (m *ColData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 4963 if deterministic { 4964 return xxx_messageInfo_ColData.Marshal(b, m, deterministic) 4965 } else { 4966 b = b[:cap(b)] 4967 n, err := m.MarshalToSizedBuffer(b) 4968 if err != nil { 4969 return nil, err 4970 } 4971 return b[:n], nil 4972 } 4973 } 4974 func (m *ColData) XXX_Merge(src proto.Message) { 4975 xxx_messageInfo_ColData.Merge(m, src) 4976 } 4977 func (m *ColData) XXX_Size() int { 4978 return m.ProtoSize() 4979 } 4980 func (m *ColData) XXX_DiscardUnknown() { 4981 xxx_messageInfo_ColData.DiscardUnknown(m) 4982 } 4983 4984 var xxx_messageInfo_ColData proto.InternalMessageInfo 4985 4986 func (m *ColData) GetData() []*RowsetExpr { 4987 if m != nil { 4988 return m.Data 4989 } 4990 return nil 4991 } 4992 4993 type RowsetData struct { 4994 Cols []*ColData `protobuf:"bytes,1,rep,name=cols,proto3" json:"cols,omitempty"` 4995 RowCount int32 `protobuf:"varint,2,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"` 4996 XXX_NoUnkeyedLiteral struct{} `json:"-"` 4997 XXX_unrecognized []byte `json:"-"` 4998 XXX_sizecache int32 `json:"-"` 4999 } 5000 5001 func (m *RowsetData) Reset() { *m = RowsetData{} } 5002 func (m *RowsetData) String() string { return proto.CompactTextString(m) } 5003 func (*RowsetData) ProtoMessage() {} 5004 func (*RowsetData) Descriptor() ([]byte, []int) { 5005 return fileDescriptor_2d655ab2f7683c23, []int{44} 5006 } 5007 func (m *RowsetData) XXX_Unmarshal(b []byte) error { 5008 return m.Unmarshal(b) 5009 } 5010 func (m *RowsetData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5011 if deterministic { 5012 return xxx_messageInfo_RowsetData.Marshal(b, m, deterministic) 5013 } else { 5014 b = b[:cap(b)] 5015 n, err := m.MarshalToSizedBuffer(b) 5016 if err != nil { 5017 return nil, err 5018 } 5019 return b[:n], nil 5020 } 5021 } 5022 func (m *RowsetData) XXX_Merge(src proto.Message) { 5023 xxx_messageInfo_RowsetData.Merge(m, src) 5024 } 5025 func (m *RowsetData) XXX_Size() int { 5026 return m.ProtoSize() 5027 } 5028 func (m *RowsetData) XXX_DiscardUnknown() { 5029 xxx_messageInfo_RowsetData.DiscardUnknown(m) 5030 } 5031 5032 var xxx_messageInfo_RowsetData proto.InternalMessageInfo 5033 5034 func (m *RowsetData) GetCols() []*ColData { 5035 if m != nil { 5036 return m.Cols 5037 } 5038 return nil 5039 } 5040 5041 func (m *RowsetData) GetRowCount() int32 { 5042 if m != nil { 5043 return m.RowCount 5044 } 5045 return 0 5046 } 5047 5048 type OrderBySpec struct { 5049 Expr *Expr `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"` 5050 Collation string `protobuf:"bytes,2,opt,name=collation,proto3" json:"collation,omitempty"` 5051 Flag OrderBySpec_OrderByFlag `protobuf:"varint,3,opt,name=flag,proto3,enum=plan.OrderBySpec_OrderByFlag" json:"flag,omitempty"` 5052 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5053 XXX_unrecognized []byte `json:"-"` 5054 XXX_sizecache int32 `json:"-"` 5055 } 5056 5057 func (m *OrderBySpec) Reset() { *m = OrderBySpec{} } 5058 func (m *OrderBySpec) String() string { return proto.CompactTextString(m) } 5059 func (*OrderBySpec) ProtoMessage() {} 5060 func (*OrderBySpec) Descriptor() ([]byte, []int) { 5061 return fileDescriptor_2d655ab2f7683c23, []int{45} 5062 } 5063 func (m *OrderBySpec) XXX_Unmarshal(b []byte) error { 5064 return m.Unmarshal(b) 5065 } 5066 func (m *OrderBySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5067 if deterministic { 5068 return xxx_messageInfo_OrderBySpec.Marshal(b, m, deterministic) 5069 } else { 5070 b = b[:cap(b)] 5071 n, err := m.MarshalToSizedBuffer(b) 5072 if err != nil { 5073 return nil, err 5074 } 5075 return b[:n], nil 5076 } 5077 } 5078 func (m *OrderBySpec) XXX_Merge(src proto.Message) { 5079 xxx_messageInfo_OrderBySpec.Merge(m, src) 5080 } 5081 func (m *OrderBySpec) XXX_Size() int { 5082 return m.ProtoSize() 5083 } 5084 func (m *OrderBySpec) XXX_DiscardUnknown() { 5085 xxx_messageInfo_OrderBySpec.DiscardUnknown(m) 5086 } 5087 5088 var xxx_messageInfo_OrderBySpec proto.InternalMessageInfo 5089 5090 func (m *OrderBySpec) GetExpr() *Expr { 5091 if m != nil { 5092 return m.Expr 5093 } 5094 return nil 5095 } 5096 5097 func (m *OrderBySpec) GetCollation() string { 5098 if m != nil { 5099 return m.Collation 5100 } 5101 return "" 5102 } 5103 5104 func (m *OrderBySpec) GetFlag() OrderBySpec_OrderByFlag { 5105 if m != nil { 5106 return m.Flag 5107 } 5108 return OrderBySpec_INTERNAL 5109 } 5110 5111 type WindowSpec struct { 5112 WindowFunc *Expr `protobuf:"bytes,1,opt,name=window_func,json=windowFunc,proto3" json:"window_func,omitempty"` 5113 PartitionBy []*Expr `protobuf:"bytes,2,rep,name=partition_by,json=partitionBy,proto3" json:"partition_by,omitempty"` 5114 OrderBy []*OrderBySpec `protobuf:"bytes,3,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` 5115 Frame *FrameClause `protobuf:"bytes,4,opt,name=frame,proto3" json:"frame,omitempty"` 5116 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` 5117 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5118 XXX_unrecognized []byte `json:"-"` 5119 XXX_sizecache int32 `json:"-"` 5120 } 5121 5122 func (m *WindowSpec) Reset() { *m = WindowSpec{} } 5123 func (m *WindowSpec) String() string { return proto.CompactTextString(m) } 5124 func (*WindowSpec) ProtoMessage() {} 5125 func (*WindowSpec) Descriptor() ([]byte, []int) { 5126 return fileDescriptor_2d655ab2f7683c23, []int{46} 5127 } 5128 func (m *WindowSpec) XXX_Unmarshal(b []byte) error { 5129 return m.Unmarshal(b) 5130 } 5131 func (m *WindowSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5132 if deterministic { 5133 return xxx_messageInfo_WindowSpec.Marshal(b, m, deterministic) 5134 } else { 5135 b = b[:cap(b)] 5136 n, err := m.MarshalToSizedBuffer(b) 5137 if err != nil { 5138 return nil, err 5139 } 5140 return b[:n], nil 5141 } 5142 } 5143 func (m *WindowSpec) XXX_Merge(src proto.Message) { 5144 xxx_messageInfo_WindowSpec.Merge(m, src) 5145 } 5146 func (m *WindowSpec) XXX_Size() int { 5147 return m.ProtoSize() 5148 } 5149 func (m *WindowSpec) XXX_DiscardUnknown() { 5150 xxx_messageInfo_WindowSpec.DiscardUnknown(m) 5151 } 5152 5153 var xxx_messageInfo_WindowSpec proto.InternalMessageInfo 5154 5155 func (m *WindowSpec) GetWindowFunc() *Expr { 5156 if m != nil { 5157 return m.WindowFunc 5158 } 5159 return nil 5160 } 5161 5162 func (m *WindowSpec) GetPartitionBy() []*Expr { 5163 if m != nil { 5164 return m.PartitionBy 5165 } 5166 return nil 5167 } 5168 5169 func (m *WindowSpec) GetOrderBy() []*OrderBySpec { 5170 if m != nil { 5171 return m.OrderBy 5172 } 5173 return nil 5174 } 5175 5176 func (m *WindowSpec) GetFrame() *FrameClause { 5177 if m != nil { 5178 return m.Frame 5179 } 5180 return nil 5181 } 5182 5183 func (m *WindowSpec) GetName() string { 5184 if m != nil { 5185 return m.Name 5186 } 5187 return "" 5188 } 5189 5190 type SampleFuncSpec struct { 5191 Rows int32 `protobuf:"varint,1,opt,name=Rows,proto3" json:"Rows,omitempty"` 5192 Percent float64 `protobuf:"fixed64,2,opt,name=Percent,proto3" json:"Percent,omitempty"` 5193 UsingRow bool `protobuf:"varint,3,opt,name=UsingRow,proto3" json:"UsingRow,omitempty"` 5194 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5195 XXX_unrecognized []byte `json:"-"` 5196 XXX_sizecache int32 `json:"-"` 5197 } 5198 5199 func (m *SampleFuncSpec) Reset() { *m = SampleFuncSpec{} } 5200 func (m *SampleFuncSpec) String() string { return proto.CompactTextString(m) } 5201 func (*SampleFuncSpec) ProtoMessage() {} 5202 func (*SampleFuncSpec) Descriptor() ([]byte, []int) { 5203 return fileDescriptor_2d655ab2f7683c23, []int{47} 5204 } 5205 func (m *SampleFuncSpec) XXX_Unmarshal(b []byte) error { 5206 return m.Unmarshal(b) 5207 } 5208 func (m *SampleFuncSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5209 if deterministic { 5210 return xxx_messageInfo_SampleFuncSpec.Marshal(b, m, deterministic) 5211 } else { 5212 b = b[:cap(b)] 5213 n, err := m.MarshalToSizedBuffer(b) 5214 if err != nil { 5215 return nil, err 5216 } 5217 return b[:n], nil 5218 } 5219 } 5220 func (m *SampleFuncSpec) XXX_Merge(src proto.Message) { 5221 xxx_messageInfo_SampleFuncSpec.Merge(m, src) 5222 } 5223 func (m *SampleFuncSpec) XXX_Size() int { 5224 return m.ProtoSize() 5225 } 5226 func (m *SampleFuncSpec) XXX_DiscardUnknown() { 5227 xxx_messageInfo_SampleFuncSpec.DiscardUnknown(m) 5228 } 5229 5230 var xxx_messageInfo_SampleFuncSpec proto.InternalMessageInfo 5231 5232 func (m *SampleFuncSpec) GetRows() int32 { 5233 if m != nil { 5234 return m.Rows 5235 } 5236 return 0 5237 } 5238 5239 func (m *SampleFuncSpec) GetPercent() float64 { 5240 if m != nil { 5241 return m.Percent 5242 } 5243 return 0 5244 } 5245 5246 func (m *SampleFuncSpec) GetUsingRow() bool { 5247 if m != nil { 5248 return m.UsingRow 5249 } 5250 return false 5251 } 5252 5253 type FrameClause struct { 5254 Type FrameClause_FrameType `protobuf:"varint,1,opt,name=type,proto3,enum=plan.FrameClause_FrameType" json:"type,omitempty"` 5255 Start *FrameBound `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` 5256 End *FrameBound `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` 5257 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5258 XXX_unrecognized []byte `json:"-"` 5259 XXX_sizecache int32 `json:"-"` 5260 } 5261 5262 func (m *FrameClause) Reset() { *m = FrameClause{} } 5263 func (m *FrameClause) String() string { return proto.CompactTextString(m) } 5264 func (*FrameClause) ProtoMessage() {} 5265 func (*FrameClause) Descriptor() ([]byte, []int) { 5266 return fileDescriptor_2d655ab2f7683c23, []int{48} 5267 } 5268 func (m *FrameClause) XXX_Unmarshal(b []byte) error { 5269 return m.Unmarshal(b) 5270 } 5271 func (m *FrameClause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5272 if deterministic { 5273 return xxx_messageInfo_FrameClause.Marshal(b, m, deterministic) 5274 } else { 5275 b = b[:cap(b)] 5276 n, err := m.MarshalToSizedBuffer(b) 5277 if err != nil { 5278 return nil, err 5279 } 5280 return b[:n], nil 5281 } 5282 } 5283 func (m *FrameClause) XXX_Merge(src proto.Message) { 5284 xxx_messageInfo_FrameClause.Merge(m, src) 5285 } 5286 func (m *FrameClause) XXX_Size() int { 5287 return m.ProtoSize() 5288 } 5289 func (m *FrameClause) XXX_DiscardUnknown() { 5290 xxx_messageInfo_FrameClause.DiscardUnknown(m) 5291 } 5292 5293 var xxx_messageInfo_FrameClause proto.InternalMessageInfo 5294 5295 func (m *FrameClause) GetType() FrameClause_FrameType { 5296 if m != nil { 5297 return m.Type 5298 } 5299 return FrameClause_ROWS 5300 } 5301 5302 func (m *FrameClause) GetStart() *FrameBound { 5303 if m != nil { 5304 return m.Start 5305 } 5306 return nil 5307 } 5308 5309 func (m *FrameClause) GetEnd() *FrameBound { 5310 if m != nil { 5311 return m.End 5312 } 5313 return nil 5314 } 5315 5316 type FrameBound struct { 5317 Type FrameBound_BoundType `protobuf:"varint,1,opt,name=type,proto3,enum=plan.FrameBound_BoundType" json:"type,omitempty"` 5318 UnBounded bool `protobuf:"varint,2,opt,name=unBounded,proto3" json:"unBounded,omitempty"` 5319 Val *Expr `protobuf:"bytes,3,opt,name=val,proto3" json:"val,omitempty"` 5320 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5321 XXX_unrecognized []byte `json:"-"` 5322 XXX_sizecache int32 `json:"-"` 5323 } 5324 5325 func (m *FrameBound) Reset() { *m = FrameBound{} } 5326 func (m *FrameBound) String() string { return proto.CompactTextString(m) } 5327 func (*FrameBound) ProtoMessage() {} 5328 func (*FrameBound) Descriptor() ([]byte, []int) { 5329 return fileDescriptor_2d655ab2f7683c23, []int{49} 5330 } 5331 func (m *FrameBound) XXX_Unmarshal(b []byte) error { 5332 return m.Unmarshal(b) 5333 } 5334 func (m *FrameBound) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5335 if deterministic { 5336 return xxx_messageInfo_FrameBound.Marshal(b, m, deterministic) 5337 } else { 5338 b = b[:cap(b)] 5339 n, err := m.MarshalToSizedBuffer(b) 5340 if err != nil { 5341 return nil, err 5342 } 5343 return b[:n], nil 5344 } 5345 } 5346 func (m *FrameBound) XXX_Merge(src proto.Message) { 5347 xxx_messageInfo_FrameBound.Merge(m, src) 5348 } 5349 func (m *FrameBound) XXX_Size() int { 5350 return m.ProtoSize() 5351 } 5352 func (m *FrameBound) XXX_DiscardUnknown() { 5353 xxx_messageInfo_FrameBound.DiscardUnknown(m) 5354 } 5355 5356 var xxx_messageInfo_FrameBound proto.InternalMessageInfo 5357 5358 func (m *FrameBound) GetType() FrameBound_BoundType { 5359 if m != nil { 5360 return m.Type 5361 } 5362 return FrameBound_FOLLOWING 5363 } 5364 5365 func (m *FrameBound) GetUnBounded() bool { 5366 if m != nil { 5367 return m.UnBounded 5368 } 5369 return false 5370 } 5371 5372 func (m *FrameBound) GetVal() *Expr { 5373 if m != nil { 5374 return m.Val 5375 } 5376 return nil 5377 } 5378 5379 type OnDuplicateKeyCtx struct { 5380 Attrs []string `protobuf:"bytes,1,rep,name=attrs,proto3" json:"attrs,omitempty"` 5381 InsertColCount int32 `protobuf:"varint,2,opt,name=insert_col_count,json=insertColCount,proto3" json:"insert_col_count,omitempty"` 5382 UniqueColCheckExpr []*Expr `protobuf:"bytes,3,rep,name=unique_col_check_expr,json=uniqueColCheckExpr,proto3" json:"unique_col_check_expr,omitempty"` 5383 UniqueCols []string `protobuf:"bytes,4,rep,name=unique_cols,json=uniqueCols,proto3" json:"unique_cols,omitempty"` 5384 OnDuplicateIdx []int32 `protobuf:"varint,5,rep,packed,name=on_duplicate_idx,json=onDuplicateIdx,proto3" json:"on_duplicate_idx,omitempty"` 5385 OnDuplicateExpr map[string]*Expr `protobuf:"bytes,6,rep,name=on_duplicate_expr,json=onDuplicateExpr,proto3" json:"on_duplicate_expr,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 5386 IsIgnore bool `protobuf:"varint,7,opt,name=is_ignore,json=isIgnore,proto3" json:"is_ignore,omitempty"` 5387 TableName string `protobuf:"bytes,8,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` 5388 TableId uint64 `protobuf:"varint,9,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` 5389 TableVersion uint32 `protobuf:"varint,10,opt,name=table_version,json=tableVersion,proto3" json:"table_version,omitempty"` 5390 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5391 XXX_unrecognized []byte `json:"-"` 5392 XXX_sizecache int32 `json:"-"` 5393 } 5394 5395 func (m *OnDuplicateKeyCtx) Reset() { *m = OnDuplicateKeyCtx{} } 5396 func (m *OnDuplicateKeyCtx) String() string { return proto.CompactTextString(m) } 5397 func (*OnDuplicateKeyCtx) ProtoMessage() {} 5398 func (*OnDuplicateKeyCtx) Descriptor() ([]byte, []int) { 5399 return fileDescriptor_2d655ab2f7683c23, []int{50} 5400 } 5401 func (m *OnDuplicateKeyCtx) XXX_Unmarshal(b []byte) error { 5402 return m.Unmarshal(b) 5403 } 5404 func (m *OnDuplicateKeyCtx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5405 if deterministic { 5406 return xxx_messageInfo_OnDuplicateKeyCtx.Marshal(b, m, deterministic) 5407 } else { 5408 b = b[:cap(b)] 5409 n, err := m.MarshalToSizedBuffer(b) 5410 if err != nil { 5411 return nil, err 5412 } 5413 return b[:n], nil 5414 } 5415 } 5416 func (m *OnDuplicateKeyCtx) XXX_Merge(src proto.Message) { 5417 xxx_messageInfo_OnDuplicateKeyCtx.Merge(m, src) 5418 } 5419 func (m *OnDuplicateKeyCtx) XXX_Size() int { 5420 return m.ProtoSize() 5421 } 5422 func (m *OnDuplicateKeyCtx) XXX_DiscardUnknown() { 5423 xxx_messageInfo_OnDuplicateKeyCtx.DiscardUnknown(m) 5424 } 5425 5426 var xxx_messageInfo_OnDuplicateKeyCtx proto.InternalMessageInfo 5427 5428 func (m *OnDuplicateKeyCtx) GetAttrs() []string { 5429 if m != nil { 5430 return m.Attrs 5431 } 5432 return nil 5433 } 5434 5435 func (m *OnDuplicateKeyCtx) GetInsertColCount() int32 { 5436 if m != nil { 5437 return m.InsertColCount 5438 } 5439 return 0 5440 } 5441 5442 func (m *OnDuplicateKeyCtx) GetUniqueColCheckExpr() []*Expr { 5443 if m != nil { 5444 return m.UniqueColCheckExpr 5445 } 5446 return nil 5447 } 5448 5449 func (m *OnDuplicateKeyCtx) GetUniqueCols() []string { 5450 if m != nil { 5451 return m.UniqueCols 5452 } 5453 return nil 5454 } 5455 5456 func (m *OnDuplicateKeyCtx) GetOnDuplicateIdx() []int32 { 5457 if m != nil { 5458 return m.OnDuplicateIdx 5459 } 5460 return nil 5461 } 5462 5463 func (m *OnDuplicateKeyCtx) GetOnDuplicateExpr() map[string]*Expr { 5464 if m != nil { 5465 return m.OnDuplicateExpr 5466 } 5467 return nil 5468 } 5469 5470 func (m *OnDuplicateKeyCtx) GetIsIgnore() bool { 5471 if m != nil { 5472 return m.IsIgnore 5473 } 5474 return false 5475 } 5476 5477 func (m *OnDuplicateKeyCtx) GetTableName() string { 5478 if m != nil { 5479 return m.TableName 5480 } 5481 return "" 5482 } 5483 5484 func (m *OnDuplicateKeyCtx) GetTableId() uint64 { 5485 if m != nil { 5486 return m.TableId 5487 } 5488 return 0 5489 } 5490 5491 func (m *OnDuplicateKeyCtx) GetTableVersion() uint32 { 5492 if m != nil { 5493 return m.TableVersion 5494 } 5495 return 0 5496 } 5497 5498 type InsertCtx struct { 5499 Ref *ObjectRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` 5500 AddAffectedRows bool `protobuf:"varint,2,opt,name=add_affected_rows,json=addAffectedRows,proto3" json:"add_affected_rows,omitempty"` 5501 IsClusterTable bool `protobuf:"varint,3,opt,name=is_cluster_table,json=isClusterTable,proto3" json:"is_cluster_table,omitempty"` 5502 TableDef *TableDef `protobuf:"bytes,4,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 5503 // Align array index with the partition number 5504 PartitionTableIds []uint64 `protobuf:"varint,5,rep,packed,name=partition_table_ids,json=partitionTableIds,proto3" json:"partition_table_ids,omitempty"` 5505 PartitionTableNames []string `protobuf:"bytes,6,rep,name=partition_table_names,json=partitionTableNames,proto3" json:"partition_table_names,omitempty"` 5506 PartitionIdx int32 `protobuf:"varint,7,opt,name=partition_idx,json=partitionIdx,proto3" json:"partition_idx,omitempty"` 5507 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5508 XXX_unrecognized []byte `json:"-"` 5509 XXX_sizecache int32 `json:"-"` 5510 } 5511 5512 func (m *InsertCtx) Reset() { *m = InsertCtx{} } 5513 func (m *InsertCtx) String() string { return proto.CompactTextString(m) } 5514 func (*InsertCtx) ProtoMessage() {} 5515 func (*InsertCtx) Descriptor() ([]byte, []int) { 5516 return fileDescriptor_2d655ab2f7683c23, []int{51} 5517 } 5518 func (m *InsertCtx) XXX_Unmarshal(b []byte) error { 5519 return m.Unmarshal(b) 5520 } 5521 func (m *InsertCtx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5522 if deterministic { 5523 return xxx_messageInfo_InsertCtx.Marshal(b, m, deterministic) 5524 } else { 5525 b = b[:cap(b)] 5526 n, err := m.MarshalToSizedBuffer(b) 5527 if err != nil { 5528 return nil, err 5529 } 5530 return b[:n], nil 5531 } 5532 } 5533 func (m *InsertCtx) XXX_Merge(src proto.Message) { 5534 xxx_messageInfo_InsertCtx.Merge(m, src) 5535 } 5536 func (m *InsertCtx) XXX_Size() int { 5537 return m.ProtoSize() 5538 } 5539 func (m *InsertCtx) XXX_DiscardUnknown() { 5540 xxx_messageInfo_InsertCtx.DiscardUnknown(m) 5541 } 5542 5543 var xxx_messageInfo_InsertCtx proto.InternalMessageInfo 5544 5545 func (m *InsertCtx) GetRef() *ObjectRef { 5546 if m != nil { 5547 return m.Ref 5548 } 5549 return nil 5550 } 5551 5552 func (m *InsertCtx) GetAddAffectedRows() bool { 5553 if m != nil { 5554 return m.AddAffectedRows 5555 } 5556 return false 5557 } 5558 5559 func (m *InsertCtx) GetIsClusterTable() bool { 5560 if m != nil { 5561 return m.IsClusterTable 5562 } 5563 return false 5564 } 5565 5566 func (m *InsertCtx) GetTableDef() *TableDef { 5567 if m != nil { 5568 return m.TableDef 5569 } 5570 return nil 5571 } 5572 5573 func (m *InsertCtx) GetPartitionTableIds() []uint64 { 5574 if m != nil { 5575 return m.PartitionTableIds 5576 } 5577 return nil 5578 } 5579 5580 func (m *InsertCtx) GetPartitionTableNames() []string { 5581 if m != nil { 5582 return m.PartitionTableNames 5583 } 5584 return nil 5585 } 5586 5587 func (m *InsertCtx) GetPartitionIdx() int32 { 5588 if m != nil { 5589 return m.PartitionIdx 5590 } 5591 return 0 5592 } 5593 5594 type ReplaceCtx struct { 5595 Ref *ObjectRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` 5596 AddAffectedRows bool `protobuf:"varint,2,opt,name=add_affected_rows,json=addAffectedRows,proto3" json:"add_affected_rows,omitempty"` 5597 IsClusterTable bool `protobuf:"varint,3,opt,name=is_cluster_table,json=isClusterTable,proto3" json:"is_cluster_table,omitempty"` 5598 TableDef *TableDef `protobuf:"bytes,4,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 5599 DeleteCond string `protobuf:"bytes,5,opt,name=delete_cond,json=deleteCond,proto3" json:"delete_cond,omitempty"` 5600 // Align array index with the partition number 5601 PartitionTableIds []uint64 `protobuf:"varint,6,rep,packed,name=partition_table_ids,json=partitionTableIds,proto3" json:"partition_table_ids,omitempty"` 5602 PartitionTableNames []string `protobuf:"bytes,7,rep,name=partition_table_names,json=partitionTableNames,proto3" json:"partition_table_names,omitempty"` 5603 PartitionIdx int32 `protobuf:"varint,8,opt,name=partition_idx,json=partitionIdx,proto3" json:"partition_idx,omitempty"` 5604 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5605 XXX_unrecognized []byte `json:"-"` 5606 XXX_sizecache int32 `json:"-"` 5607 } 5608 5609 func (m *ReplaceCtx) Reset() { *m = ReplaceCtx{} } 5610 func (m *ReplaceCtx) String() string { return proto.CompactTextString(m) } 5611 func (*ReplaceCtx) ProtoMessage() {} 5612 func (*ReplaceCtx) Descriptor() ([]byte, []int) { 5613 return fileDescriptor_2d655ab2f7683c23, []int{52} 5614 } 5615 func (m *ReplaceCtx) XXX_Unmarshal(b []byte) error { 5616 return m.Unmarshal(b) 5617 } 5618 func (m *ReplaceCtx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5619 if deterministic { 5620 return xxx_messageInfo_ReplaceCtx.Marshal(b, m, deterministic) 5621 } else { 5622 b = b[:cap(b)] 5623 n, err := m.MarshalToSizedBuffer(b) 5624 if err != nil { 5625 return nil, err 5626 } 5627 return b[:n], nil 5628 } 5629 } 5630 func (m *ReplaceCtx) XXX_Merge(src proto.Message) { 5631 xxx_messageInfo_ReplaceCtx.Merge(m, src) 5632 } 5633 func (m *ReplaceCtx) XXX_Size() int { 5634 return m.ProtoSize() 5635 } 5636 func (m *ReplaceCtx) XXX_DiscardUnknown() { 5637 xxx_messageInfo_ReplaceCtx.DiscardUnknown(m) 5638 } 5639 5640 var xxx_messageInfo_ReplaceCtx proto.InternalMessageInfo 5641 5642 func (m *ReplaceCtx) GetRef() *ObjectRef { 5643 if m != nil { 5644 return m.Ref 5645 } 5646 return nil 5647 } 5648 5649 func (m *ReplaceCtx) GetAddAffectedRows() bool { 5650 if m != nil { 5651 return m.AddAffectedRows 5652 } 5653 return false 5654 } 5655 5656 func (m *ReplaceCtx) GetIsClusterTable() bool { 5657 if m != nil { 5658 return m.IsClusterTable 5659 } 5660 return false 5661 } 5662 5663 func (m *ReplaceCtx) GetTableDef() *TableDef { 5664 if m != nil { 5665 return m.TableDef 5666 } 5667 return nil 5668 } 5669 5670 func (m *ReplaceCtx) GetDeleteCond() string { 5671 if m != nil { 5672 return m.DeleteCond 5673 } 5674 return "" 5675 } 5676 5677 func (m *ReplaceCtx) GetPartitionTableIds() []uint64 { 5678 if m != nil { 5679 return m.PartitionTableIds 5680 } 5681 return nil 5682 } 5683 5684 func (m *ReplaceCtx) GetPartitionTableNames() []string { 5685 if m != nil { 5686 return m.PartitionTableNames 5687 } 5688 return nil 5689 } 5690 5691 func (m *ReplaceCtx) GetPartitionIdx() int32 { 5692 if m != nil { 5693 return m.PartitionIdx 5694 } 5695 return 0 5696 } 5697 5698 type AnalyzeInfo struct { 5699 InputRows int64 `protobuf:"varint,1,opt,name=input_rows,json=inputRows,proto3" json:"input_rows,omitempty"` 5700 OutputRows int64 `protobuf:"varint,2,opt,name=output_rows,json=outputRows,proto3" json:"output_rows,omitempty"` 5701 InputSize int64 `protobuf:"varint,3,opt,name=input_size,json=inputSize,proto3" json:"input_size,omitempty"` 5702 OutputSize int64 `protobuf:"varint,4,opt,name=output_size,json=outputSize,proto3" json:"output_size,omitempty"` 5703 TimeConsumed int64 `protobuf:"varint,5,opt,name=time_consumed,json=timeConsumed,proto3" json:"time_consumed,omitempty"` 5704 MemorySize int64 `protobuf:"varint,6,opt,name=memory_size,json=memorySize,proto3" json:"memory_size,omitempty"` 5705 WaitTimeConsumed int64 `protobuf:"varint,7,opt,name=wait_time_consumed,json=waitTimeConsumed,proto3" json:"wait_time_consumed,omitempty"` 5706 DiskIO int64 `protobuf:"varint,8,opt,name=diskIO,proto3" json:"diskIO,omitempty"` 5707 S3IOByte int64 `protobuf:"varint,9,opt,name=s3IO_byte,json=s3IOByte,proto3" json:"s3IO_byte,omitempty"` 5708 S3IOInputCount int64 `protobuf:"varint,10,opt,name=s3IO_input_count,json=s3IOInputCount,proto3" json:"s3IO_input_count,omitempty"` 5709 S3IOOutputCount int64 `protobuf:"varint,11,opt,name=s3IO_output_count,json=s3IOOutputCount,proto3" json:"s3IO_output_count,omitempty"` 5710 NetworkIO int64 `protobuf:"varint,12,opt,name=networkIO,proto3" json:"networkIO,omitempty"` 5711 ScanTime int64 `protobuf:"varint,13,opt,name=scanTime,proto3" json:"scanTime,omitempty"` 5712 InsertTime int64 `protobuf:"varint,14,opt,name=insertTime,proto3" json:"insertTime,omitempty"` 5713 TimeConsumedArrayMajor []int64 `protobuf:"varint,15,rep,packed,name=time_consumed_array_major,json=timeConsumedArrayMajor,proto3" json:"time_consumed_array_major,omitempty"` 5714 TimeConsumedArrayMinor []int64 `protobuf:"varint,16,rep,packed,name=time_consumed_array_minor,json=timeConsumedArrayMinor,proto3" json:"time_consumed_array_minor,omitempty"` 5715 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5716 XXX_unrecognized []byte `json:"-"` 5717 XXX_sizecache int32 `json:"-"` 5718 } 5719 5720 func (m *AnalyzeInfo) Reset() { *m = AnalyzeInfo{} } 5721 func (m *AnalyzeInfo) String() string { return proto.CompactTextString(m) } 5722 func (*AnalyzeInfo) ProtoMessage() {} 5723 func (*AnalyzeInfo) Descriptor() ([]byte, []int) { 5724 return fileDescriptor_2d655ab2f7683c23, []int{53} 5725 } 5726 func (m *AnalyzeInfo) XXX_Unmarshal(b []byte) error { 5727 return m.Unmarshal(b) 5728 } 5729 func (m *AnalyzeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5730 if deterministic { 5731 return xxx_messageInfo_AnalyzeInfo.Marshal(b, m, deterministic) 5732 } else { 5733 b = b[:cap(b)] 5734 n, err := m.MarshalToSizedBuffer(b) 5735 if err != nil { 5736 return nil, err 5737 } 5738 return b[:n], nil 5739 } 5740 } 5741 func (m *AnalyzeInfo) XXX_Merge(src proto.Message) { 5742 xxx_messageInfo_AnalyzeInfo.Merge(m, src) 5743 } 5744 func (m *AnalyzeInfo) XXX_Size() int { 5745 return m.ProtoSize() 5746 } 5747 func (m *AnalyzeInfo) XXX_DiscardUnknown() { 5748 xxx_messageInfo_AnalyzeInfo.DiscardUnknown(m) 5749 } 5750 5751 var xxx_messageInfo_AnalyzeInfo proto.InternalMessageInfo 5752 5753 func (m *AnalyzeInfo) GetInputRows() int64 { 5754 if m != nil { 5755 return m.InputRows 5756 } 5757 return 0 5758 } 5759 5760 func (m *AnalyzeInfo) GetOutputRows() int64 { 5761 if m != nil { 5762 return m.OutputRows 5763 } 5764 return 0 5765 } 5766 5767 func (m *AnalyzeInfo) GetInputSize() int64 { 5768 if m != nil { 5769 return m.InputSize 5770 } 5771 return 0 5772 } 5773 5774 func (m *AnalyzeInfo) GetOutputSize() int64 { 5775 if m != nil { 5776 return m.OutputSize 5777 } 5778 return 0 5779 } 5780 5781 func (m *AnalyzeInfo) GetTimeConsumed() int64 { 5782 if m != nil { 5783 return m.TimeConsumed 5784 } 5785 return 0 5786 } 5787 5788 func (m *AnalyzeInfo) GetMemorySize() int64 { 5789 if m != nil { 5790 return m.MemorySize 5791 } 5792 return 0 5793 } 5794 5795 func (m *AnalyzeInfo) GetWaitTimeConsumed() int64 { 5796 if m != nil { 5797 return m.WaitTimeConsumed 5798 } 5799 return 0 5800 } 5801 5802 func (m *AnalyzeInfo) GetDiskIO() int64 { 5803 if m != nil { 5804 return m.DiskIO 5805 } 5806 return 0 5807 } 5808 5809 func (m *AnalyzeInfo) GetS3IOByte() int64 { 5810 if m != nil { 5811 return m.S3IOByte 5812 } 5813 return 0 5814 } 5815 5816 func (m *AnalyzeInfo) GetS3IOInputCount() int64 { 5817 if m != nil { 5818 return m.S3IOInputCount 5819 } 5820 return 0 5821 } 5822 5823 func (m *AnalyzeInfo) GetS3IOOutputCount() int64 { 5824 if m != nil { 5825 return m.S3IOOutputCount 5826 } 5827 return 0 5828 } 5829 5830 func (m *AnalyzeInfo) GetNetworkIO() int64 { 5831 if m != nil { 5832 return m.NetworkIO 5833 } 5834 return 0 5835 } 5836 5837 func (m *AnalyzeInfo) GetScanTime() int64 { 5838 if m != nil { 5839 return m.ScanTime 5840 } 5841 return 0 5842 } 5843 5844 func (m *AnalyzeInfo) GetInsertTime() int64 { 5845 if m != nil { 5846 return m.InsertTime 5847 } 5848 return 0 5849 } 5850 5851 func (m *AnalyzeInfo) GetTimeConsumedArrayMajor() []int64 { 5852 if m != nil { 5853 return m.TimeConsumedArrayMajor 5854 } 5855 return nil 5856 } 5857 5858 func (m *AnalyzeInfo) GetTimeConsumedArrayMinor() []int64 { 5859 if m != nil { 5860 return m.TimeConsumedArrayMinor 5861 } 5862 return nil 5863 } 5864 5865 type PartitionPrune struct { 5866 IsPruned bool `protobuf:"varint,1,opt,name=isPruned,proto3" json:"isPruned,omitempty"` 5867 SelectedPartitions []*PartitionItem `protobuf:"bytes,2,rep,name=selected_partitions,json=selectedPartitions,proto3" json:"selected_partitions,omitempty"` 5868 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5869 XXX_unrecognized []byte `json:"-"` 5870 XXX_sizecache int32 `json:"-"` 5871 } 5872 5873 func (m *PartitionPrune) Reset() { *m = PartitionPrune{} } 5874 func (m *PartitionPrune) String() string { return proto.CompactTextString(m) } 5875 func (*PartitionPrune) ProtoMessage() {} 5876 func (*PartitionPrune) Descriptor() ([]byte, []int) { 5877 return fileDescriptor_2d655ab2f7683c23, []int{54} 5878 } 5879 func (m *PartitionPrune) XXX_Unmarshal(b []byte) error { 5880 return m.Unmarshal(b) 5881 } 5882 func (m *PartitionPrune) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5883 if deterministic { 5884 return xxx_messageInfo_PartitionPrune.Marshal(b, m, deterministic) 5885 } else { 5886 b = b[:cap(b)] 5887 n, err := m.MarshalToSizedBuffer(b) 5888 if err != nil { 5889 return nil, err 5890 } 5891 return b[:n], nil 5892 } 5893 } 5894 func (m *PartitionPrune) XXX_Merge(src proto.Message) { 5895 xxx_messageInfo_PartitionPrune.Merge(m, src) 5896 } 5897 func (m *PartitionPrune) XXX_Size() int { 5898 return m.ProtoSize() 5899 } 5900 func (m *PartitionPrune) XXX_DiscardUnknown() { 5901 xxx_messageInfo_PartitionPrune.DiscardUnknown(m) 5902 } 5903 5904 var xxx_messageInfo_PartitionPrune proto.InternalMessageInfo 5905 5906 func (m *PartitionPrune) GetIsPruned() bool { 5907 if m != nil { 5908 return m.IsPruned 5909 } 5910 return false 5911 } 5912 5913 func (m *PartitionPrune) GetSelectedPartitions() []*PartitionItem { 5914 if m != nil { 5915 return m.SelectedPartitions 5916 } 5917 return nil 5918 } 5919 5920 type OriginTableMessageForFuzzy struct { 5921 ParentTableName string `protobuf:"bytes,1,opt,name=ParentTableName,proto3" json:"ParentTableName,omitempty"` 5922 ParentUniqueCols []*ColDef `protobuf:"bytes,2,rep,name=ParentUniqueCols,proto3" json:"ParentUniqueCols,omitempty"` 5923 XXX_NoUnkeyedLiteral struct{} `json:"-"` 5924 XXX_unrecognized []byte `json:"-"` 5925 XXX_sizecache int32 `json:"-"` 5926 } 5927 5928 func (m *OriginTableMessageForFuzzy) Reset() { *m = OriginTableMessageForFuzzy{} } 5929 func (m *OriginTableMessageForFuzzy) String() string { return proto.CompactTextString(m) } 5930 func (*OriginTableMessageForFuzzy) ProtoMessage() {} 5931 func (*OriginTableMessageForFuzzy) Descriptor() ([]byte, []int) { 5932 return fileDescriptor_2d655ab2f7683c23, []int{55} 5933 } 5934 func (m *OriginTableMessageForFuzzy) XXX_Unmarshal(b []byte) error { 5935 return m.Unmarshal(b) 5936 } 5937 func (m *OriginTableMessageForFuzzy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 5938 if deterministic { 5939 return xxx_messageInfo_OriginTableMessageForFuzzy.Marshal(b, m, deterministic) 5940 } else { 5941 b = b[:cap(b)] 5942 n, err := m.MarshalToSizedBuffer(b) 5943 if err != nil { 5944 return nil, err 5945 } 5946 return b[:n], nil 5947 } 5948 } 5949 func (m *OriginTableMessageForFuzzy) XXX_Merge(src proto.Message) { 5950 xxx_messageInfo_OriginTableMessageForFuzzy.Merge(m, src) 5951 } 5952 func (m *OriginTableMessageForFuzzy) XXX_Size() int { 5953 return m.ProtoSize() 5954 } 5955 func (m *OriginTableMessageForFuzzy) XXX_DiscardUnknown() { 5956 xxx_messageInfo_OriginTableMessageForFuzzy.DiscardUnknown(m) 5957 } 5958 5959 var xxx_messageInfo_OriginTableMessageForFuzzy proto.InternalMessageInfo 5960 5961 func (m *OriginTableMessageForFuzzy) GetParentTableName() string { 5962 if m != nil { 5963 return m.ParentTableName 5964 } 5965 return "" 5966 } 5967 5968 func (m *OriginTableMessageForFuzzy) GetParentUniqueCols() []*ColDef { 5969 if m != nil { 5970 return m.ParentUniqueCols 5971 } 5972 return nil 5973 } 5974 5975 type Node struct { 5976 NodeType Node_NodeType `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=plan.Node_NodeType" json:"node_type,omitempty"` 5977 NodeId int32 `protobuf:"varint,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` 5978 Stats *Stats `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"` 5979 Children []int32 `protobuf:"varint,4,rep,packed,name=children,proto3" json:"children,omitempty"` 5980 // PROJECT 5981 ProjectList []*Expr `protobuf:"bytes,5,rep,name=project_list,json=projectList,proto3" json:"project_list,omitempty"` 5982 // JOIN 5983 JoinType Node_JoinType `protobuf:"varint,6,opt,name=join_type,json=joinType,proto3,enum=plan.Node_JoinType" json:"join_type,omitempty"` 5984 OnList []*Expr `protobuf:"bytes,7,rep,name=on_list,json=onList,proto3" json:"on_list,omitempty"` 5985 BuildOnLeft bool `protobuf:"varint,8,opt,name=build_on_left,json=buildOnLeft,proto3" json:"build_on_left,omitempty"` 5986 // FILTER 5987 FilterList []*Expr `protobuf:"bytes,9,rep,name=filter_list,json=filterList,proto3" json:"filter_list,omitempty"` 5988 // AGG 5989 GroupBy []*Expr `protobuf:"bytes,10,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` 5990 GroupingSet []*Expr `protobuf:"bytes,11,rep,name=grouping_set,json=groupingSet,proto3" json:"grouping_set,omitempty"` 5991 AggList []*Expr `protobuf:"bytes,12,rep,name=agg_list,json=aggList,proto3" json:"agg_list,omitempty"` 5992 // WINDOW 5993 WinSpecList []*Expr `protobuf:"bytes,13,rep,name=win_spec_list,json=winSpecList,proto3" json:"win_spec_list,omitempty"` 5994 // SORT 5995 OrderBy []*OrderBySpec `protobuf:"bytes,14,rep,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` 5996 // LIMIT 5997 Limit *Expr `protobuf:"bytes,15,opt,name=limit,proto3" json:"limit,omitempty"` 5998 Offset *Expr `protobuf:"bytes,16,opt,name=offset,proto3" json:"offset,omitempty"` 5999 TableDef *TableDef `protobuf:"bytes,17,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 6000 ObjRef *ObjectRef `protobuf:"bytes,18,opt,name=obj_ref,json=objRef,proto3" json:"obj_ref,omitempty"` 6001 ParentObjRef *ObjectRef `protobuf:"bytes,19,opt,name=parent_obj_ref,json=parentObjRef,proto3" json:"parent_obj_ref,omitempty"` 6002 RowsetData *RowsetData `protobuf:"bytes,20,opt,name=rowset_data,json=rowsetData,proto3" json:"rowset_data,omitempty"` 6003 ExtraOptions string `protobuf:"bytes,22,opt,name=extra_options,json=extraOptions,proto3" json:"extra_options,omitempty"` 6004 DeleteCtx *DeleteCtx `protobuf:"bytes,23,opt,name=delete_ctx,json=deleteCtx,proto3" json:"delete_ctx,omitempty"` 6005 BindingTags []int32 `protobuf:"varint,24,rep,packed,name=binding_tags,json=bindingTags,proto3" json:"binding_tags,omitempty"` 6006 AnalyzeInfo *AnalyzeInfo `protobuf:"bytes,25,opt,name=analyze_info,json=analyzeInfo,proto3" json:"analyze_info,omitempty"` 6007 TblFuncExprList []*Expr `protobuf:"bytes,26,rep,name=tbl_func_expr_list,json=tblFuncExprList,proto3" json:"tbl_func_expr_list,omitempty"` 6008 ClusterTable *ClusterTable `protobuf:"bytes,28,opt,name=cluster_table,json=clusterTable,proto3" json:"cluster_table,omitempty"` 6009 NotCacheable bool `protobuf:"varint,29,opt,name=not_cacheable,json=notCacheable,proto3" json:"not_cacheable,omitempty"` 6010 InsertCtx *InsertCtx `protobuf:"bytes,30,opt,name=insert_ctx,json=insertCtx,proto3" json:"insert_ctx,omitempty"` 6011 ReplaceCtx *ReplaceCtx `protobuf:"bytes,31,opt,name=replace_ctx,json=replaceCtx,proto3" json:"replace_ctx,omitempty"` 6012 // used to connect two plans[steps] 6013 SourceStep []int32 `protobuf:"varint,32,rep,packed,name=source_step,json=sourceStep,proto3" json:"source_step,omitempty"` 6014 PreDeleteCtx *PreDeleteCtx `protobuf:"bytes,33,opt,name=pre_delete_ctx,json=preDeleteCtx,proto3" json:"pre_delete_ctx,omitempty"` 6015 PreInsertCtx *PreInsertCtx `protobuf:"bytes,34,opt,name=pre_insert_ctx,json=preInsertCtx,proto3" json:"pre_insert_ctx,omitempty"` 6016 // build unique key batch before insert into hidden table which keep the unique key 6017 PreInsertUkCtx *PreInsertUkCtx `protobuf:"bytes,35,opt,name=pre_insert_uk_ctx,json=preInsertUkCtx,proto3" json:"pre_insert_uk_ctx,omitempty"` 6018 OnDuplicateKey *OnDuplicateKeyCtx `protobuf:"bytes,36,opt,name=on_duplicate_key,json=onDuplicateKey,proto3" json:"on_duplicate_key,omitempty"` 6019 IsEnd bool `protobuf:"varint,37,opt,name=IsEnd,proto3" json:"IsEnd,omitempty"` 6020 LockTargets []*LockTarget `protobuf:"bytes,38,rep,name=lock_targets,json=lockTargets,proto3" json:"lock_targets,omitempty"` 6021 BlockFilterList []*Expr `protobuf:"bytes,39,rep,name=block_filter_list,json=blockFilterList,proto3" json:"block_filter_list,omitempty"` 6022 // Runtime filters 6023 RuntimeFilterProbeList []*RuntimeFilterSpec `protobuf:"bytes,40,rep,name=runtime_filter_probe_list,json=runtimeFilterProbeList,proto3" json:"runtime_filter_probe_list,omitempty"` 6024 RuntimeFilterBuildList []*RuntimeFilterSpec `protobuf:"bytes,41,rep,name=runtime_filter_build_list,json=runtimeFilterBuildList,proto3" json:"runtime_filter_build_list,omitempty"` 6025 Uuid []byte `protobuf:"bytes,42,opt,name=uuid,proto3" json:"uuid,omitempty"` 6026 RecursiveSink bool `protobuf:"varint,43,opt,name=recursive_sink,json=recursiveSink,proto3" json:"recursive_sink,omitempty"` 6027 ExternScan *ExternScan `protobuf:"bytes,44,opt,name=extern_scan,json=externScan,proto3" json:"extern_scan,omitempty"` 6028 PartitionPrune *PartitionPrune `protobuf:"bytes,45,opt,name=partition_prune,json=partitionPrune,proto3" json:"partition_prune,omitempty"` 6029 PreInsertSkCtx *PreInsertUkCtx `protobuf:"bytes,46,opt,name=pre_insert_sk_ctx,json=preInsertSkCtx,proto3" json:"pre_insert_sk_ctx,omitempty"` 6030 Interval *Expr `protobuf:"bytes,47,opt,name=interval,proto3" json:"interval,omitempty"` 6031 Sliding *Expr `protobuf:"bytes,48,opt,name=sliding,proto3" json:"sliding,omitempty"` 6032 FillType Node_FillType `protobuf:"varint,49,opt,name=fill_type,json=fillType,proto3,enum=plan.Node_FillType" json:"fill_type,omitempty"` 6033 FillVal []*Expr `protobuf:"bytes,50,rep,name=fill_val,json=fillVal,proto3" json:"fill_val,omitempty"` 6034 // sample function related. 6035 SampleFunc *SampleFuncSpec `protobuf:"bytes,51,opt,name=sample_func,json=sampleFunc,proto3" json:"sample_func,omitempty"` 6036 WindowIdx int32 `protobuf:"varint,52,opt,name=window_idx,json=windowIdx,proto3" json:"window_idx,omitempty"` 6037 OnUpdateExprs []*Expr `protobuf:"bytes,53,rep,name=onUpdateExprs,proto3" json:"onUpdateExprs,omitempty"` 6038 Fuzzymessage *OriginTableMessageForFuzzy `protobuf:"bytes,54,opt,name=fuzzymessage,proto3" json:"fuzzymessage,omitempty"` 6039 // for message 6040 SendMsgList []*MsgHeader `protobuf:"bytes,55,rep,name=send_msg_list,json=sendMsgList,proto3" json:"send_msg_list,omitempty"` 6041 RecvMsgList []*MsgHeader `protobuf:"bytes,56,rep,name=recv_msg_list,json=recvMsgList,proto3" json:"recv_msg_list,omitempty"` 6042 ScanSnapshot *Snapshot `protobuf:"bytes,57,opt,name=scan_snapshot,json=scanSnapshot,proto3" json:"scan_snapshot,omitempty"` 6043 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6044 XXX_unrecognized []byte `json:"-"` 6045 XXX_sizecache int32 `json:"-"` 6046 } 6047 6048 func (m *Node) Reset() { *m = Node{} } 6049 func (m *Node) String() string { return proto.CompactTextString(m) } 6050 func (*Node) ProtoMessage() {} 6051 func (*Node) Descriptor() ([]byte, []int) { 6052 return fileDescriptor_2d655ab2f7683c23, []int{56} 6053 } 6054 func (m *Node) XXX_Unmarshal(b []byte) error { 6055 return m.Unmarshal(b) 6056 } 6057 func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6058 if deterministic { 6059 return xxx_messageInfo_Node.Marshal(b, m, deterministic) 6060 } else { 6061 b = b[:cap(b)] 6062 n, err := m.MarshalToSizedBuffer(b) 6063 if err != nil { 6064 return nil, err 6065 } 6066 return b[:n], nil 6067 } 6068 } 6069 func (m *Node) XXX_Merge(src proto.Message) { 6070 xxx_messageInfo_Node.Merge(m, src) 6071 } 6072 func (m *Node) XXX_Size() int { 6073 return m.ProtoSize() 6074 } 6075 func (m *Node) XXX_DiscardUnknown() { 6076 xxx_messageInfo_Node.DiscardUnknown(m) 6077 } 6078 6079 var xxx_messageInfo_Node proto.InternalMessageInfo 6080 6081 func (m *Node) GetNodeType() Node_NodeType { 6082 if m != nil { 6083 return m.NodeType 6084 } 6085 return Node_UNKNOWN 6086 } 6087 6088 func (m *Node) GetNodeId() int32 { 6089 if m != nil { 6090 return m.NodeId 6091 } 6092 return 0 6093 } 6094 6095 func (m *Node) GetStats() *Stats { 6096 if m != nil { 6097 return m.Stats 6098 } 6099 return nil 6100 } 6101 6102 func (m *Node) GetChildren() []int32 { 6103 if m != nil { 6104 return m.Children 6105 } 6106 return nil 6107 } 6108 6109 func (m *Node) GetProjectList() []*Expr { 6110 if m != nil { 6111 return m.ProjectList 6112 } 6113 return nil 6114 } 6115 6116 func (m *Node) GetJoinType() Node_JoinType { 6117 if m != nil { 6118 return m.JoinType 6119 } 6120 return Node_INNER 6121 } 6122 6123 func (m *Node) GetOnList() []*Expr { 6124 if m != nil { 6125 return m.OnList 6126 } 6127 return nil 6128 } 6129 6130 func (m *Node) GetBuildOnLeft() bool { 6131 if m != nil { 6132 return m.BuildOnLeft 6133 } 6134 return false 6135 } 6136 6137 func (m *Node) GetFilterList() []*Expr { 6138 if m != nil { 6139 return m.FilterList 6140 } 6141 return nil 6142 } 6143 6144 func (m *Node) GetGroupBy() []*Expr { 6145 if m != nil { 6146 return m.GroupBy 6147 } 6148 return nil 6149 } 6150 6151 func (m *Node) GetGroupingSet() []*Expr { 6152 if m != nil { 6153 return m.GroupingSet 6154 } 6155 return nil 6156 } 6157 6158 func (m *Node) GetAggList() []*Expr { 6159 if m != nil { 6160 return m.AggList 6161 } 6162 return nil 6163 } 6164 6165 func (m *Node) GetWinSpecList() []*Expr { 6166 if m != nil { 6167 return m.WinSpecList 6168 } 6169 return nil 6170 } 6171 6172 func (m *Node) GetOrderBy() []*OrderBySpec { 6173 if m != nil { 6174 return m.OrderBy 6175 } 6176 return nil 6177 } 6178 6179 func (m *Node) GetLimit() *Expr { 6180 if m != nil { 6181 return m.Limit 6182 } 6183 return nil 6184 } 6185 6186 func (m *Node) GetOffset() *Expr { 6187 if m != nil { 6188 return m.Offset 6189 } 6190 return nil 6191 } 6192 6193 func (m *Node) GetTableDef() *TableDef { 6194 if m != nil { 6195 return m.TableDef 6196 } 6197 return nil 6198 } 6199 6200 func (m *Node) GetObjRef() *ObjectRef { 6201 if m != nil { 6202 return m.ObjRef 6203 } 6204 return nil 6205 } 6206 6207 func (m *Node) GetParentObjRef() *ObjectRef { 6208 if m != nil { 6209 return m.ParentObjRef 6210 } 6211 return nil 6212 } 6213 6214 func (m *Node) GetRowsetData() *RowsetData { 6215 if m != nil { 6216 return m.RowsetData 6217 } 6218 return nil 6219 } 6220 6221 func (m *Node) GetExtraOptions() string { 6222 if m != nil { 6223 return m.ExtraOptions 6224 } 6225 return "" 6226 } 6227 6228 func (m *Node) GetDeleteCtx() *DeleteCtx { 6229 if m != nil { 6230 return m.DeleteCtx 6231 } 6232 return nil 6233 } 6234 6235 func (m *Node) GetBindingTags() []int32 { 6236 if m != nil { 6237 return m.BindingTags 6238 } 6239 return nil 6240 } 6241 6242 func (m *Node) GetAnalyzeInfo() *AnalyzeInfo { 6243 if m != nil { 6244 return m.AnalyzeInfo 6245 } 6246 return nil 6247 } 6248 6249 func (m *Node) GetTblFuncExprList() []*Expr { 6250 if m != nil { 6251 return m.TblFuncExprList 6252 } 6253 return nil 6254 } 6255 6256 func (m *Node) GetClusterTable() *ClusterTable { 6257 if m != nil { 6258 return m.ClusterTable 6259 } 6260 return nil 6261 } 6262 6263 func (m *Node) GetNotCacheable() bool { 6264 if m != nil { 6265 return m.NotCacheable 6266 } 6267 return false 6268 } 6269 6270 func (m *Node) GetInsertCtx() *InsertCtx { 6271 if m != nil { 6272 return m.InsertCtx 6273 } 6274 return nil 6275 } 6276 6277 func (m *Node) GetReplaceCtx() *ReplaceCtx { 6278 if m != nil { 6279 return m.ReplaceCtx 6280 } 6281 return nil 6282 } 6283 6284 func (m *Node) GetSourceStep() []int32 { 6285 if m != nil { 6286 return m.SourceStep 6287 } 6288 return nil 6289 } 6290 6291 func (m *Node) GetPreDeleteCtx() *PreDeleteCtx { 6292 if m != nil { 6293 return m.PreDeleteCtx 6294 } 6295 return nil 6296 } 6297 6298 func (m *Node) GetPreInsertCtx() *PreInsertCtx { 6299 if m != nil { 6300 return m.PreInsertCtx 6301 } 6302 return nil 6303 } 6304 6305 func (m *Node) GetPreInsertUkCtx() *PreInsertUkCtx { 6306 if m != nil { 6307 return m.PreInsertUkCtx 6308 } 6309 return nil 6310 } 6311 6312 func (m *Node) GetOnDuplicateKey() *OnDuplicateKeyCtx { 6313 if m != nil { 6314 return m.OnDuplicateKey 6315 } 6316 return nil 6317 } 6318 6319 func (m *Node) GetIsEnd() bool { 6320 if m != nil { 6321 return m.IsEnd 6322 } 6323 return false 6324 } 6325 6326 func (m *Node) GetLockTargets() []*LockTarget { 6327 if m != nil { 6328 return m.LockTargets 6329 } 6330 return nil 6331 } 6332 6333 func (m *Node) GetBlockFilterList() []*Expr { 6334 if m != nil { 6335 return m.BlockFilterList 6336 } 6337 return nil 6338 } 6339 6340 func (m *Node) GetRuntimeFilterProbeList() []*RuntimeFilterSpec { 6341 if m != nil { 6342 return m.RuntimeFilterProbeList 6343 } 6344 return nil 6345 } 6346 6347 func (m *Node) GetRuntimeFilterBuildList() []*RuntimeFilterSpec { 6348 if m != nil { 6349 return m.RuntimeFilterBuildList 6350 } 6351 return nil 6352 } 6353 6354 func (m *Node) GetUuid() []byte { 6355 if m != nil { 6356 return m.Uuid 6357 } 6358 return nil 6359 } 6360 6361 func (m *Node) GetRecursiveSink() bool { 6362 if m != nil { 6363 return m.RecursiveSink 6364 } 6365 return false 6366 } 6367 6368 func (m *Node) GetExternScan() *ExternScan { 6369 if m != nil { 6370 return m.ExternScan 6371 } 6372 return nil 6373 } 6374 6375 func (m *Node) GetPartitionPrune() *PartitionPrune { 6376 if m != nil { 6377 return m.PartitionPrune 6378 } 6379 return nil 6380 } 6381 6382 func (m *Node) GetPreInsertSkCtx() *PreInsertUkCtx { 6383 if m != nil { 6384 return m.PreInsertSkCtx 6385 } 6386 return nil 6387 } 6388 6389 func (m *Node) GetInterval() *Expr { 6390 if m != nil { 6391 return m.Interval 6392 } 6393 return nil 6394 } 6395 6396 func (m *Node) GetSliding() *Expr { 6397 if m != nil { 6398 return m.Sliding 6399 } 6400 return nil 6401 } 6402 6403 func (m *Node) GetFillType() Node_FillType { 6404 if m != nil { 6405 return m.FillType 6406 } 6407 return Node_NONE 6408 } 6409 6410 func (m *Node) GetFillVal() []*Expr { 6411 if m != nil { 6412 return m.FillVal 6413 } 6414 return nil 6415 } 6416 6417 func (m *Node) GetSampleFunc() *SampleFuncSpec { 6418 if m != nil { 6419 return m.SampleFunc 6420 } 6421 return nil 6422 } 6423 6424 func (m *Node) GetWindowIdx() int32 { 6425 if m != nil { 6426 return m.WindowIdx 6427 } 6428 return 0 6429 } 6430 6431 func (m *Node) GetOnUpdateExprs() []*Expr { 6432 if m != nil { 6433 return m.OnUpdateExprs 6434 } 6435 return nil 6436 } 6437 6438 func (m *Node) GetFuzzymessage() *OriginTableMessageForFuzzy { 6439 if m != nil { 6440 return m.Fuzzymessage 6441 } 6442 return nil 6443 } 6444 6445 func (m *Node) GetSendMsgList() []*MsgHeader { 6446 if m != nil { 6447 return m.SendMsgList 6448 } 6449 return nil 6450 } 6451 6452 func (m *Node) GetRecvMsgList() []*MsgHeader { 6453 if m != nil { 6454 return m.RecvMsgList 6455 } 6456 return nil 6457 } 6458 6459 func (m *Node) GetScanSnapshot() *Snapshot { 6460 if m != nil { 6461 return m.ScanSnapshot 6462 } 6463 return nil 6464 } 6465 6466 // Snapshot Represents a snapshot of the database 6467 type Snapshot struct { 6468 // The timestamp of the snapshot 6469 TS *timestamp.Timestamp `protobuf:"bytes,1,opt,name=TS,proto3" json:"TS,omitempty"` 6470 // Tenant information for creating snapshots 6471 Tenant *SnapshotTenant `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"` 6472 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6473 XXX_unrecognized []byte `json:"-"` 6474 XXX_sizecache int32 `json:"-"` 6475 } 6476 6477 func (m *Snapshot) Reset() { *m = Snapshot{} } 6478 func (m *Snapshot) String() string { return proto.CompactTextString(m) } 6479 func (*Snapshot) ProtoMessage() {} 6480 func (*Snapshot) Descriptor() ([]byte, []int) { 6481 return fileDescriptor_2d655ab2f7683c23, []int{57} 6482 } 6483 func (m *Snapshot) XXX_Unmarshal(b []byte) error { 6484 return m.Unmarshal(b) 6485 } 6486 func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6487 if deterministic { 6488 return xxx_messageInfo_Snapshot.Marshal(b, m, deterministic) 6489 } else { 6490 b = b[:cap(b)] 6491 n, err := m.MarshalToSizedBuffer(b) 6492 if err != nil { 6493 return nil, err 6494 } 6495 return b[:n], nil 6496 } 6497 } 6498 func (m *Snapshot) XXX_Merge(src proto.Message) { 6499 xxx_messageInfo_Snapshot.Merge(m, src) 6500 } 6501 func (m *Snapshot) XXX_Size() int { 6502 return m.ProtoSize() 6503 } 6504 func (m *Snapshot) XXX_DiscardUnknown() { 6505 xxx_messageInfo_Snapshot.DiscardUnknown(m) 6506 } 6507 6508 var xxx_messageInfo_Snapshot proto.InternalMessageInfo 6509 6510 func (m *Snapshot) GetTS() *timestamp.Timestamp { 6511 if m != nil { 6512 return m.TS 6513 } 6514 return nil 6515 } 6516 6517 func (m *Snapshot) GetTenant() *SnapshotTenant { 6518 if m != nil { 6519 return m.Tenant 6520 } 6521 return nil 6522 } 6523 6524 // Tenant information for creating snapshots 6525 type SnapshotTenant struct { 6526 TenantName string `protobuf:"bytes,1,opt,name=tenantName,proto3" json:"tenantName,omitempty"` 6527 TenantID uint32 `protobuf:"varint,2,opt,name=tenantID,proto3" json:"tenantID,omitempty"` 6528 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6529 XXX_unrecognized []byte `json:"-"` 6530 XXX_sizecache int32 `json:"-"` 6531 } 6532 6533 func (m *SnapshotTenant) Reset() { *m = SnapshotTenant{} } 6534 func (m *SnapshotTenant) String() string { return proto.CompactTextString(m) } 6535 func (*SnapshotTenant) ProtoMessage() {} 6536 func (*SnapshotTenant) Descriptor() ([]byte, []int) { 6537 return fileDescriptor_2d655ab2f7683c23, []int{58} 6538 } 6539 func (m *SnapshotTenant) XXX_Unmarshal(b []byte) error { 6540 return m.Unmarshal(b) 6541 } 6542 func (m *SnapshotTenant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6543 if deterministic { 6544 return xxx_messageInfo_SnapshotTenant.Marshal(b, m, deterministic) 6545 } else { 6546 b = b[:cap(b)] 6547 n, err := m.MarshalToSizedBuffer(b) 6548 if err != nil { 6549 return nil, err 6550 } 6551 return b[:n], nil 6552 } 6553 } 6554 func (m *SnapshotTenant) XXX_Merge(src proto.Message) { 6555 xxx_messageInfo_SnapshotTenant.Merge(m, src) 6556 } 6557 func (m *SnapshotTenant) XXX_Size() int { 6558 return m.ProtoSize() 6559 } 6560 func (m *SnapshotTenant) XXX_DiscardUnknown() { 6561 xxx_messageInfo_SnapshotTenant.DiscardUnknown(m) 6562 } 6563 6564 var xxx_messageInfo_SnapshotTenant proto.InternalMessageInfo 6565 6566 func (m *SnapshotTenant) GetTenantName() string { 6567 if m != nil { 6568 return m.TenantName 6569 } 6570 return "" 6571 } 6572 6573 func (m *SnapshotTenant) GetTenantID() uint32 { 6574 if m != nil { 6575 return m.TenantID 6576 } 6577 return 0 6578 } 6579 6580 type ExternScan struct { 6581 Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` 6582 Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` 6583 Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` 6584 IgnoredLines uint64 `protobuf:"varint,4,opt,name=ignored_lines,json=ignoredLines,proto3" json:"ignored_lines,omitempty"` 6585 EnclosedBy []byte `protobuf:"bytes,5,opt,name=enclosed_by,json=enclosedBy,proto3" json:"enclosed_by,omitempty"` 6586 Terminated string `protobuf:"bytes,6,opt,name=terminated,proto3" json:"terminated,omitempty"` 6587 JsonType string `protobuf:"bytes,7,opt,name=json_type,json=jsonType,proto3" json:"json_type,omitempty"` 6588 EscapedBy []byte `protobuf:"bytes,8,opt,name=escaped_by,json=escapedBy,proto3" json:"escaped_by,omitempty"` 6589 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6590 XXX_unrecognized []byte `json:"-"` 6591 XXX_sizecache int32 `json:"-"` 6592 } 6593 6594 func (m *ExternScan) Reset() { *m = ExternScan{} } 6595 func (m *ExternScan) String() string { return proto.CompactTextString(m) } 6596 func (*ExternScan) ProtoMessage() {} 6597 func (*ExternScan) Descriptor() ([]byte, []int) { 6598 return fileDescriptor_2d655ab2f7683c23, []int{59} 6599 } 6600 func (m *ExternScan) XXX_Unmarshal(b []byte) error { 6601 return m.Unmarshal(b) 6602 } 6603 func (m *ExternScan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6604 if deterministic { 6605 return xxx_messageInfo_ExternScan.Marshal(b, m, deterministic) 6606 } else { 6607 b = b[:cap(b)] 6608 n, err := m.MarshalToSizedBuffer(b) 6609 if err != nil { 6610 return nil, err 6611 } 6612 return b[:n], nil 6613 } 6614 } 6615 func (m *ExternScan) XXX_Merge(src proto.Message) { 6616 xxx_messageInfo_ExternScan.Merge(m, src) 6617 } 6618 func (m *ExternScan) XXX_Size() int { 6619 return m.ProtoSize() 6620 } 6621 func (m *ExternScan) XXX_DiscardUnknown() { 6622 xxx_messageInfo_ExternScan.DiscardUnknown(m) 6623 } 6624 6625 var xxx_messageInfo_ExternScan proto.InternalMessageInfo 6626 6627 func (m *ExternScan) GetType() int32 { 6628 if m != nil { 6629 return m.Type 6630 } 6631 return 0 6632 } 6633 6634 func (m *ExternScan) GetData() string { 6635 if m != nil { 6636 return m.Data 6637 } 6638 return "" 6639 } 6640 6641 func (m *ExternScan) GetFormat() string { 6642 if m != nil { 6643 return m.Format 6644 } 6645 return "" 6646 } 6647 6648 func (m *ExternScan) GetIgnoredLines() uint64 { 6649 if m != nil { 6650 return m.IgnoredLines 6651 } 6652 return 0 6653 } 6654 6655 func (m *ExternScan) GetEnclosedBy() []byte { 6656 if m != nil { 6657 return m.EnclosedBy 6658 } 6659 return nil 6660 } 6661 6662 func (m *ExternScan) GetTerminated() string { 6663 if m != nil { 6664 return m.Terminated 6665 } 6666 return "" 6667 } 6668 6669 func (m *ExternScan) GetJsonType() string { 6670 if m != nil { 6671 return m.JsonType 6672 } 6673 return "" 6674 } 6675 6676 func (m *ExternScan) GetEscapedBy() []byte { 6677 if m != nil { 6678 return m.EscapedBy 6679 } 6680 return nil 6681 } 6682 6683 type LockTarget struct { 6684 TableId uint64 `protobuf:"varint,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` 6685 PrimaryColIdxInBat int32 `protobuf:"varint,2,opt,name=primary_col_idx_in_bat,json=primaryColIdxInBat,proto3" json:"primary_col_idx_in_bat,omitempty"` 6686 PrimaryColTyp Type `protobuf:"bytes,3,opt,name=primary_col_typ,json=primaryColTyp,proto3" json:"primary_col_typ"` 6687 RefreshTsIdxInBat int32 `protobuf:"varint,4,opt,name=refresh_ts_idx_in_bat,json=refreshTsIdxInBat,proto3" json:"refresh_ts_idx_in_bat,omitempty"` 6688 FilterColIdxInBat int32 `protobuf:"varint,5,opt,name=filter_col_idx_in_bat,json=filterColIdxInBat,proto3" json:"filter_col_idx_in_bat,omitempty"` 6689 LockTable bool `protobuf:"varint,6,opt,name=lock_table,json=lockTable,proto3" json:"lock_table,omitempty"` 6690 IsPartitionTable bool `protobuf:"varint,7,opt,name=is_partition_table,json=isPartitionTable,proto3" json:"is_partition_table,omitempty"` 6691 PartitionTableIds []uint64 `protobuf:"varint,8,rep,packed,name=partition_table_ids,json=partitionTableIds,proto3" json:"partition_table_ids,omitempty"` 6692 Block bool `protobuf:"varint,9,opt,name=block,proto3" json:"block,omitempty"` 6693 Mode lock.LockMode `protobuf:"varint,10,opt,name=Mode,proto3,enum=lock.LockMode" json:"Mode,omitempty"` 6694 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6695 XXX_unrecognized []byte `json:"-"` 6696 XXX_sizecache int32 `json:"-"` 6697 } 6698 6699 func (m *LockTarget) Reset() { *m = LockTarget{} } 6700 func (m *LockTarget) String() string { return proto.CompactTextString(m) } 6701 func (*LockTarget) ProtoMessage() {} 6702 func (*LockTarget) Descriptor() ([]byte, []int) { 6703 return fileDescriptor_2d655ab2f7683c23, []int{60} 6704 } 6705 func (m *LockTarget) XXX_Unmarshal(b []byte) error { 6706 return m.Unmarshal(b) 6707 } 6708 func (m *LockTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6709 if deterministic { 6710 return xxx_messageInfo_LockTarget.Marshal(b, m, deterministic) 6711 } else { 6712 b = b[:cap(b)] 6713 n, err := m.MarshalToSizedBuffer(b) 6714 if err != nil { 6715 return nil, err 6716 } 6717 return b[:n], nil 6718 } 6719 } 6720 func (m *LockTarget) XXX_Merge(src proto.Message) { 6721 xxx_messageInfo_LockTarget.Merge(m, src) 6722 } 6723 func (m *LockTarget) XXX_Size() int { 6724 return m.ProtoSize() 6725 } 6726 func (m *LockTarget) XXX_DiscardUnknown() { 6727 xxx_messageInfo_LockTarget.DiscardUnknown(m) 6728 } 6729 6730 var xxx_messageInfo_LockTarget proto.InternalMessageInfo 6731 6732 func (m *LockTarget) GetTableId() uint64 { 6733 if m != nil { 6734 return m.TableId 6735 } 6736 return 0 6737 } 6738 6739 func (m *LockTarget) GetPrimaryColIdxInBat() int32 { 6740 if m != nil { 6741 return m.PrimaryColIdxInBat 6742 } 6743 return 0 6744 } 6745 6746 func (m *LockTarget) GetPrimaryColTyp() Type { 6747 if m != nil { 6748 return m.PrimaryColTyp 6749 } 6750 return Type{} 6751 } 6752 6753 func (m *LockTarget) GetRefreshTsIdxInBat() int32 { 6754 if m != nil { 6755 return m.RefreshTsIdxInBat 6756 } 6757 return 0 6758 } 6759 6760 func (m *LockTarget) GetFilterColIdxInBat() int32 { 6761 if m != nil { 6762 return m.FilterColIdxInBat 6763 } 6764 return 0 6765 } 6766 6767 func (m *LockTarget) GetLockTable() bool { 6768 if m != nil { 6769 return m.LockTable 6770 } 6771 return false 6772 } 6773 6774 func (m *LockTarget) GetIsPartitionTable() bool { 6775 if m != nil { 6776 return m.IsPartitionTable 6777 } 6778 return false 6779 } 6780 6781 func (m *LockTarget) GetPartitionTableIds() []uint64 { 6782 if m != nil { 6783 return m.PartitionTableIds 6784 } 6785 return nil 6786 } 6787 6788 func (m *LockTarget) GetBlock() bool { 6789 if m != nil { 6790 return m.Block 6791 } 6792 return false 6793 } 6794 6795 func (m *LockTarget) GetMode() lock.LockMode { 6796 if m != nil { 6797 return m.Mode 6798 } 6799 return lock.LockMode_Exclusive 6800 } 6801 6802 type PreInsertUkCtx struct { 6803 // index of columns(parts of unique key) in pre batch 6804 Columns []int32 `protobuf:"varint,1,rep,packed,name=columns,proto3" json:"columns,omitempty"` 6805 PkColumn int32 `protobuf:"varint,2,opt,name=pk_column,json=pkColumn,proto3" json:"pk_column,omitempty"` 6806 PkType Type `protobuf:"bytes,3,opt,name=pk_type,json=pkType,proto3" json:"pk_type"` 6807 UkType Type `protobuf:"bytes,4,opt,name=uk_type,json=ukType,proto3" json:"uk_type"` 6808 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6809 XXX_unrecognized []byte `json:"-"` 6810 XXX_sizecache int32 `json:"-"` 6811 } 6812 6813 func (m *PreInsertUkCtx) Reset() { *m = PreInsertUkCtx{} } 6814 func (m *PreInsertUkCtx) String() string { return proto.CompactTextString(m) } 6815 func (*PreInsertUkCtx) ProtoMessage() {} 6816 func (*PreInsertUkCtx) Descriptor() ([]byte, []int) { 6817 return fileDescriptor_2d655ab2f7683c23, []int{61} 6818 } 6819 func (m *PreInsertUkCtx) XXX_Unmarshal(b []byte) error { 6820 return m.Unmarshal(b) 6821 } 6822 func (m *PreInsertUkCtx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6823 if deterministic { 6824 return xxx_messageInfo_PreInsertUkCtx.Marshal(b, m, deterministic) 6825 } else { 6826 b = b[:cap(b)] 6827 n, err := m.MarshalToSizedBuffer(b) 6828 if err != nil { 6829 return nil, err 6830 } 6831 return b[:n], nil 6832 } 6833 } 6834 func (m *PreInsertUkCtx) XXX_Merge(src proto.Message) { 6835 xxx_messageInfo_PreInsertUkCtx.Merge(m, src) 6836 } 6837 func (m *PreInsertUkCtx) XXX_Size() int { 6838 return m.ProtoSize() 6839 } 6840 func (m *PreInsertUkCtx) XXX_DiscardUnknown() { 6841 xxx_messageInfo_PreInsertUkCtx.DiscardUnknown(m) 6842 } 6843 6844 var xxx_messageInfo_PreInsertUkCtx proto.InternalMessageInfo 6845 6846 func (m *PreInsertUkCtx) GetColumns() []int32 { 6847 if m != nil { 6848 return m.Columns 6849 } 6850 return nil 6851 } 6852 6853 func (m *PreInsertUkCtx) GetPkColumn() int32 { 6854 if m != nil { 6855 return m.PkColumn 6856 } 6857 return 0 6858 } 6859 6860 func (m *PreInsertUkCtx) GetPkType() Type { 6861 if m != nil { 6862 return m.PkType 6863 } 6864 return Type{} 6865 } 6866 6867 func (m *PreInsertUkCtx) GetUkType() Type { 6868 if m != nil { 6869 return m.UkType 6870 } 6871 return Type{} 6872 } 6873 6874 type PreDeleteCtx struct { 6875 // the indexes of row_id&pk column in the batch 6876 Idx []int32 `protobuf:"varint,1,rep,packed,name=idx,proto3" json:"idx,omitempty"` 6877 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6878 XXX_unrecognized []byte `json:"-"` 6879 XXX_sizecache int32 `json:"-"` 6880 } 6881 6882 func (m *PreDeleteCtx) Reset() { *m = PreDeleteCtx{} } 6883 func (m *PreDeleteCtx) String() string { return proto.CompactTextString(m) } 6884 func (*PreDeleteCtx) ProtoMessage() {} 6885 func (*PreDeleteCtx) Descriptor() ([]byte, []int) { 6886 return fileDescriptor_2d655ab2f7683c23, []int{62} 6887 } 6888 func (m *PreDeleteCtx) XXX_Unmarshal(b []byte) error { 6889 return m.Unmarshal(b) 6890 } 6891 func (m *PreDeleteCtx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6892 if deterministic { 6893 return xxx_messageInfo_PreDeleteCtx.Marshal(b, m, deterministic) 6894 } else { 6895 b = b[:cap(b)] 6896 n, err := m.MarshalToSizedBuffer(b) 6897 if err != nil { 6898 return nil, err 6899 } 6900 return b[:n], nil 6901 } 6902 } 6903 func (m *PreDeleteCtx) XXX_Merge(src proto.Message) { 6904 xxx_messageInfo_PreDeleteCtx.Merge(m, src) 6905 } 6906 func (m *PreDeleteCtx) XXX_Size() int { 6907 return m.ProtoSize() 6908 } 6909 func (m *PreDeleteCtx) XXX_DiscardUnknown() { 6910 xxx_messageInfo_PreDeleteCtx.DiscardUnknown(m) 6911 } 6912 6913 var xxx_messageInfo_PreDeleteCtx proto.InternalMessageInfo 6914 6915 func (m *PreDeleteCtx) GetIdx() []int32 { 6916 if m != nil { 6917 return m.Idx 6918 } 6919 return nil 6920 } 6921 6922 type PreInsertCtx struct { 6923 Ref *ObjectRef `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` 6924 TableDef *TableDef `protobuf:"bytes,2,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 6925 HasAutoCol bool `protobuf:"varint,3,opt,name=has_auto_col,json=hasAutoCol,proto3" json:"has_auto_col,omitempty"` 6926 IsUpdate bool `protobuf:"varint,4,opt,name=is_update,json=isUpdate,proto3" json:"is_update,omitempty"` 6927 XXX_NoUnkeyedLiteral struct{} `json:"-"` 6928 XXX_unrecognized []byte `json:"-"` 6929 XXX_sizecache int32 `json:"-"` 6930 } 6931 6932 func (m *PreInsertCtx) Reset() { *m = PreInsertCtx{} } 6933 func (m *PreInsertCtx) String() string { return proto.CompactTextString(m) } 6934 func (*PreInsertCtx) ProtoMessage() {} 6935 func (*PreInsertCtx) Descriptor() ([]byte, []int) { 6936 return fileDescriptor_2d655ab2f7683c23, []int{63} 6937 } 6938 func (m *PreInsertCtx) XXX_Unmarshal(b []byte) error { 6939 return m.Unmarshal(b) 6940 } 6941 func (m *PreInsertCtx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 6942 if deterministic { 6943 return xxx_messageInfo_PreInsertCtx.Marshal(b, m, deterministic) 6944 } else { 6945 b = b[:cap(b)] 6946 n, err := m.MarshalToSizedBuffer(b) 6947 if err != nil { 6948 return nil, err 6949 } 6950 return b[:n], nil 6951 } 6952 } 6953 func (m *PreInsertCtx) XXX_Merge(src proto.Message) { 6954 xxx_messageInfo_PreInsertCtx.Merge(m, src) 6955 } 6956 func (m *PreInsertCtx) XXX_Size() int { 6957 return m.ProtoSize() 6958 } 6959 func (m *PreInsertCtx) XXX_DiscardUnknown() { 6960 xxx_messageInfo_PreInsertCtx.DiscardUnknown(m) 6961 } 6962 6963 var xxx_messageInfo_PreInsertCtx proto.InternalMessageInfo 6964 6965 func (m *PreInsertCtx) GetRef() *ObjectRef { 6966 if m != nil { 6967 return m.Ref 6968 } 6969 return nil 6970 } 6971 6972 func (m *PreInsertCtx) GetTableDef() *TableDef { 6973 if m != nil { 6974 return m.TableDef 6975 } 6976 return nil 6977 } 6978 6979 func (m *PreInsertCtx) GetHasAutoCol() bool { 6980 if m != nil { 6981 return m.HasAutoCol 6982 } 6983 return false 6984 } 6985 6986 func (m *PreInsertCtx) GetIsUpdate() bool { 6987 if m != nil { 6988 return m.IsUpdate 6989 } 6990 return false 6991 } 6992 6993 type RuntimeFilterSpec struct { 6994 Tag int32 `protobuf:"varint,1,opt,name=tag,proto3" json:"tag,omitempty"` 6995 MatchPrefix bool `protobuf:"varint,2,opt,name=match_prefix,json=matchPrefix,proto3" json:"match_prefix,omitempty"` 6996 UpperLimit int32 `protobuf:"varint,3,opt,name=upper_limit,json=upperLimit,proto3" json:"upper_limit,omitempty"` 6997 Expr *Expr `protobuf:"bytes,4,opt,name=expr,proto3" json:"expr,omitempty"` 6998 Handled bool `protobuf:"varint,5,opt,name=handled,proto3" json:"handled,omitempty"` 6999 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7000 XXX_unrecognized []byte `json:"-"` 7001 XXX_sizecache int32 `json:"-"` 7002 } 7003 7004 func (m *RuntimeFilterSpec) Reset() { *m = RuntimeFilterSpec{} } 7005 func (m *RuntimeFilterSpec) String() string { return proto.CompactTextString(m) } 7006 func (*RuntimeFilterSpec) ProtoMessage() {} 7007 func (*RuntimeFilterSpec) Descriptor() ([]byte, []int) { 7008 return fileDescriptor_2d655ab2f7683c23, []int{64} 7009 } 7010 func (m *RuntimeFilterSpec) XXX_Unmarshal(b []byte) error { 7011 return m.Unmarshal(b) 7012 } 7013 func (m *RuntimeFilterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7014 if deterministic { 7015 return xxx_messageInfo_RuntimeFilterSpec.Marshal(b, m, deterministic) 7016 } else { 7017 b = b[:cap(b)] 7018 n, err := m.MarshalToSizedBuffer(b) 7019 if err != nil { 7020 return nil, err 7021 } 7022 return b[:n], nil 7023 } 7024 } 7025 func (m *RuntimeFilterSpec) XXX_Merge(src proto.Message) { 7026 xxx_messageInfo_RuntimeFilterSpec.Merge(m, src) 7027 } 7028 func (m *RuntimeFilterSpec) XXX_Size() int { 7029 return m.ProtoSize() 7030 } 7031 func (m *RuntimeFilterSpec) XXX_DiscardUnknown() { 7032 xxx_messageInfo_RuntimeFilterSpec.DiscardUnknown(m) 7033 } 7034 7035 var xxx_messageInfo_RuntimeFilterSpec proto.InternalMessageInfo 7036 7037 func (m *RuntimeFilterSpec) GetTag() int32 { 7038 if m != nil { 7039 return m.Tag 7040 } 7041 return 0 7042 } 7043 7044 func (m *RuntimeFilterSpec) GetMatchPrefix() bool { 7045 if m != nil { 7046 return m.MatchPrefix 7047 } 7048 return false 7049 } 7050 7051 func (m *RuntimeFilterSpec) GetUpperLimit() int32 { 7052 if m != nil { 7053 return m.UpperLimit 7054 } 7055 return 0 7056 } 7057 7058 func (m *RuntimeFilterSpec) GetExpr() *Expr { 7059 if m != nil { 7060 return m.Expr 7061 } 7062 return nil 7063 } 7064 7065 func (m *RuntimeFilterSpec) GetHandled() bool { 7066 if m != nil { 7067 return m.Handled 7068 } 7069 return false 7070 } 7071 7072 type IdList struct { 7073 List []int64 `protobuf:"varint,1,rep,packed,name=list,proto3" json:"list,omitempty"` 7074 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7075 XXX_unrecognized []byte `json:"-"` 7076 XXX_sizecache int32 `json:"-"` 7077 } 7078 7079 func (m *IdList) Reset() { *m = IdList{} } 7080 func (m *IdList) String() string { return proto.CompactTextString(m) } 7081 func (*IdList) ProtoMessage() {} 7082 func (*IdList) Descriptor() ([]byte, []int) { 7083 return fileDescriptor_2d655ab2f7683c23, []int{65} 7084 } 7085 func (m *IdList) XXX_Unmarshal(b []byte) error { 7086 return m.Unmarshal(b) 7087 } 7088 func (m *IdList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7089 if deterministic { 7090 return xxx_messageInfo_IdList.Marshal(b, m, deterministic) 7091 } else { 7092 b = b[:cap(b)] 7093 n, err := m.MarshalToSizedBuffer(b) 7094 if err != nil { 7095 return nil, err 7096 } 7097 return b[:n], nil 7098 } 7099 } 7100 func (m *IdList) XXX_Merge(src proto.Message) { 7101 xxx_messageInfo_IdList.Merge(m, src) 7102 } 7103 func (m *IdList) XXX_Size() int { 7104 return m.ProtoSize() 7105 } 7106 func (m *IdList) XXX_DiscardUnknown() { 7107 xxx_messageInfo_IdList.DiscardUnknown(m) 7108 } 7109 7110 var xxx_messageInfo_IdList proto.InternalMessageInfo 7111 7112 func (m *IdList) GetList() []int64 { 7113 if m != nil { 7114 return m.List 7115 } 7116 return nil 7117 } 7118 7119 type ColPosMap struct { 7120 Map map[string]int32 `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 7121 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7122 XXX_unrecognized []byte `json:"-"` 7123 XXX_sizecache int32 `json:"-"` 7124 } 7125 7126 func (m *ColPosMap) Reset() { *m = ColPosMap{} } 7127 func (m *ColPosMap) String() string { return proto.CompactTextString(m) } 7128 func (*ColPosMap) ProtoMessage() {} 7129 func (*ColPosMap) Descriptor() ([]byte, []int) { 7130 return fileDescriptor_2d655ab2f7683c23, []int{66} 7131 } 7132 func (m *ColPosMap) XXX_Unmarshal(b []byte) error { 7133 return m.Unmarshal(b) 7134 } 7135 func (m *ColPosMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7136 if deterministic { 7137 return xxx_messageInfo_ColPosMap.Marshal(b, m, deterministic) 7138 } else { 7139 b = b[:cap(b)] 7140 n, err := m.MarshalToSizedBuffer(b) 7141 if err != nil { 7142 return nil, err 7143 } 7144 return b[:n], nil 7145 } 7146 } 7147 func (m *ColPosMap) XXX_Merge(src proto.Message) { 7148 xxx_messageInfo_ColPosMap.Merge(m, src) 7149 } 7150 func (m *ColPosMap) XXX_Size() int { 7151 return m.ProtoSize() 7152 } 7153 func (m *ColPosMap) XXX_DiscardUnknown() { 7154 xxx_messageInfo_ColPosMap.DiscardUnknown(m) 7155 } 7156 7157 var xxx_messageInfo_ColPosMap proto.InternalMessageInfo 7158 7159 func (m *ColPosMap) GetMap() map[string]int32 { 7160 if m != nil { 7161 return m.Map 7162 } 7163 return nil 7164 } 7165 7166 type DeleteCtx struct { 7167 CanTruncate bool `protobuf:"varint,1,opt,name=can_truncate,json=canTruncate,proto3" json:"can_truncate,omitempty"` 7168 Ref *ObjectRef `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` 7169 RowIdIdx int32 `protobuf:"varint,3,opt,name=row_id_idx,json=rowIdIdx,proto3" json:"row_id_idx,omitempty"` 7170 AddAffectedRows bool `protobuf:"varint,4,opt,name=add_affected_rows,json=addAffectedRows,proto3" json:"add_affected_rows,omitempty"` 7171 IsClusterTable bool `protobuf:"varint,5,opt,name=is_cluster_table,json=isClusterTable,proto3" json:"is_cluster_table,omitempty"` 7172 // Align array index with the partition number 7173 PartitionTableIds []uint64 `protobuf:"varint,6,rep,packed,name=partition_table_ids,json=partitionTableIds,proto3" json:"partition_table_ids,omitempty"` 7174 PartitionTableNames []string `protobuf:"bytes,7,rep,name=partition_table_names,json=partitionTableNames,proto3" json:"partition_table_names,omitempty"` 7175 PartitionIdx int32 `protobuf:"varint,8,opt,name=partition_idx,json=partitionIdx,proto3" json:"partition_idx,omitempty"` 7176 PrimaryKeyIdx int32 `protobuf:"varint,9,opt,name=primary_key_idx,json=primaryKeyIdx,proto3" json:"primary_key_idx,omitempty"` 7177 TruncateTable *TruncateTable `protobuf:"bytes,10,opt,name=truncate_table,json=truncateTable,proto3" json:"truncate_table,omitempty"` 7178 TableDef *TableDef `protobuf:"bytes,11,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 7179 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7180 XXX_unrecognized []byte `json:"-"` 7181 XXX_sizecache int32 `json:"-"` 7182 } 7183 7184 func (m *DeleteCtx) Reset() { *m = DeleteCtx{} } 7185 func (m *DeleteCtx) String() string { return proto.CompactTextString(m) } 7186 func (*DeleteCtx) ProtoMessage() {} 7187 func (*DeleteCtx) Descriptor() ([]byte, []int) { 7188 return fileDescriptor_2d655ab2f7683c23, []int{67} 7189 } 7190 func (m *DeleteCtx) XXX_Unmarshal(b []byte) error { 7191 return m.Unmarshal(b) 7192 } 7193 func (m *DeleteCtx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7194 if deterministic { 7195 return xxx_messageInfo_DeleteCtx.Marshal(b, m, deterministic) 7196 } else { 7197 b = b[:cap(b)] 7198 n, err := m.MarshalToSizedBuffer(b) 7199 if err != nil { 7200 return nil, err 7201 } 7202 return b[:n], nil 7203 } 7204 } 7205 func (m *DeleteCtx) XXX_Merge(src proto.Message) { 7206 xxx_messageInfo_DeleteCtx.Merge(m, src) 7207 } 7208 func (m *DeleteCtx) XXX_Size() int { 7209 return m.ProtoSize() 7210 } 7211 func (m *DeleteCtx) XXX_DiscardUnknown() { 7212 xxx_messageInfo_DeleteCtx.DiscardUnknown(m) 7213 } 7214 7215 var xxx_messageInfo_DeleteCtx proto.InternalMessageInfo 7216 7217 func (m *DeleteCtx) GetCanTruncate() bool { 7218 if m != nil { 7219 return m.CanTruncate 7220 } 7221 return false 7222 } 7223 7224 func (m *DeleteCtx) GetRef() *ObjectRef { 7225 if m != nil { 7226 return m.Ref 7227 } 7228 return nil 7229 } 7230 7231 func (m *DeleteCtx) GetRowIdIdx() int32 { 7232 if m != nil { 7233 return m.RowIdIdx 7234 } 7235 return 0 7236 } 7237 7238 func (m *DeleteCtx) GetAddAffectedRows() bool { 7239 if m != nil { 7240 return m.AddAffectedRows 7241 } 7242 return false 7243 } 7244 7245 func (m *DeleteCtx) GetIsClusterTable() bool { 7246 if m != nil { 7247 return m.IsClusterTable 7248 } 7249 return false 7250 } 7251 7252 func (m *DeleteCtx) GetPartitionTableIds() []uint64 { 7253 if m != nil { 7254 return m.PartitionTableIds 7255 } 7256 return nil 7257 } 7258 7259 func (m *DeleteCtx) GetPartitionTableNames() []string { 7260 if m != nil { 7261 return m.PartitionTableNames 7262 } 7263 return nil 7264 } 7265 7266 func (m *DeleteCtx) GetPartitionIdx() int32 { 7267 if m != nil { 7268 return m.PartitionIdx 7269 } 7270 return 0 7271 } 7272 7273 func (m *DeleteCtx) GetPrimaryKeyIdx() int32 { 7274 if m != nil { 7275 return m.PrimaryKeyIdx 7276 } 7277 return 0 7278 } 7279 7280 func (m *DeleteCtx) GetTruncateTable() *TruncateTable { 7281 if m != nil { 7282 return m.TruncateTable 7283 } 7284 return nil 7285 } 7286 7287 func (m *DeleteCtx) GetTableDef() *TableDef { 7288 if m != nil { 7289 return m.TableDef 7290 } 7291 return nil 7292 } 7293 7294 type Query struct { 7295 StmtType Query_StatementType `protobuf:"varint,1,opt,name=stmt_type,json=stmtType,proto3,enum=plan.Query_StatementType" json:"stmt_type,omitempty"` 7296 // Each step is simply a root node. Root node refers to other 7297 // node as children and the whole step is a DAG. 7298 Steps []int32 `protobuf:"varint,2,rep,packed,name=steps,proto3" json:"steps,omitempty"` 7299 // All the nodes. It is OK to have dangle nodes, we only excute nodes 7300 // reachable from step roots. 7301 Nodes []*Node `protobuf:"bytes,3,rep,name=nodes,proto3" json:"nodes,omitempty"` 7302 // Bound Parameter for the query. 7303 Params []*Expr `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty"` 7304 // return head 7305 Headings []string `protobuf:"bytes,5,rep,name=headings,proto3" json:"headings,omitempty"` 7306 // load Tag 7307 LoadTag bool `protobuf:"varint,6,opt,name=loadTag,proto3" json:"loadTag,omitempty"` 7308 // detectSqls are sqls detect fk self refer constraint 7309 DetectSqls []string `protobuf:"bytes,7,rep,name=detectSqls,proto3" json:"detectSqls,omitempty"` 7310 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7311 XXX_unrecognized []byte `json:"-"` 7312 XXX_sizecache int32 `json:"-"` 7313 } 7314 7315 func (m *Query) Reset() { *m = Query{} } 7316 func (m *Query) String() string { return proto.CompactTextString(m) } 7317 func (*Query) ProtoMessage() {} 7318 func (*Query) Descriptor() ([]byte, []int) { 7319 return fileDescriptor_2d655ab2f7683c23, []int{68} 7320 } 7321 func (m *Query) XXX_Unmarshal(b []byte) error { 7322 return m.Unmarshal(b) 7323 } 7324 func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7325 if deterministic { 7326 return xxx_messageInfo_Query.Marshal(b, m, deterministic) 7327 } else { 7328 b = b[:cap(b)] 7329 n, err := m.MarshalToSizedBuffer(b) 7330 if err != nil { 7331 return nil, err 7332 } 7333 return b[:n], nil 7334 } 7335 } 7336 func (m *Query) XXX_Merge(src proto.Message) { 7337 xxx_messageInfo_Query.Merge(m, src) 7338 } 7339 func (m *Query) XXX_Size() int { 7340 return m.ProtoSize() 7341 } 7342 func (m *Query) XXX_DiscardUnknown() { 7343 xxx_messageInfo_Query.DiscardUnknown(m) 7344 } 7345 7346 var xxx_messageInfo_Query proto.InternalMessageInfo 7347 7348 func (m *Query) GetStmtType() Query_StatementType { 7349 if m != nil { 7350 return m.StmtType 7351 } 7352 return Query_UNKNOWN 7353 } 7354 7355 func (m *Query) GetSteps() []int32 { 7356 if m != nil { 7357 return m.Steps 7358 } 7359 return nil 7360 } 7361 7362 func (m *Query) GetNodes() []*Node { 7363 if m != nil { 7364 return m.Nodes 7365 } 7366 return nil 7367 } 7368 7369 func (m *Query) GetParams() []*Expr { 7370 if m != nil { 7371 return m.Params 7372 } 7373 return nil 7374 } 7375 7376 func (m *Query) GetHeadings() []string { 7377 if m != nil { 7378 return m.Headings 7379 } 7380 return nil 7381 } 7382 7383 func (m *Query) GetLoadTag() bool { 7384 if m != nil { 7385 return m.LoadTag 7386 } 7387 return false 7388 } 7389 7390 func (m *Query) GetDetectSqls() []string { 7391 if m != nil { 7392 return m.DetectSqls 7393 } 7394 return nil 7395 } 7396 7397 type TransationControl struct { 7398 // TransationControl type 7399 TclType TransationControl_TclType `protobuf:"varint,1,opt,name=tcl_type,json=tclType,proto3,enum=plan.TransationControl_TclType" json:"tcl_type,omitempty"` 7400 // Types that are valid to be assigned to Action: 7401 // 7402 // *TransationControl_Begin 7403 // *TransationControl_Commit 7404 // *TransationControl_Rollback 7405 Action isTransationControl_Action `protobuf_oneof:"action"` 7406 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7407 XXX_unrecognized []byte `json:"-"` 7408 XXX_sizecache int32 `json:"-"` 7409 } 7410 7411 func (m *TransationControl) Reset() { *m = TransationControl{} } 7412 func (m *TransationControl) String() string { return proto.CompactTextString(m) } 7413 func (*TransationControl) ProtoMessage() {} 7414 func (*TransationControl) Descriptor() ([]byte, []int) { 7415 return fileDescriptor_2d655ab2f7683c23, []int{69} 7416 } 7417 func (m *TransationControl) XXX_Unmarshal(b []byte) error { 7418 return m.Unmarshal(b) 7419 } 7420 func (m *TransationControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7421 if deterministic { 7422 return xxx_messageInfo_TransationControl.Marshal(b, m, deterministic) 7423 } else { 7424 b = b[:cap(b)] 7425 n, err := m.MarshalToSizedBuffer(b) 7426 if err != nil { 7427 return nil, err 7428 } 7429 return b[:n], nil 7430 } 7431 } 7432 func (m *TransationControl) XXX_Merge(src proto.Message) { 7433 xxx_messageInfo_TransationControl.Merge(m, src) 7434 } 7435 func (m *TransationControl) XXX_Size() int { 7436 return m.ProtoSize() 7437 } 7438 func (m *TransationControl) XXX_DiscardUnknown() { 7439 xxx_messageInfo_TransationControl.DiscardUnknown(m) 7440 } 7441 7442 var xxx_messageInfo_TransationControl proto.InternalMessageInfo 7443 7444 type isTransationControl_Action interface { 7445 isTransationControl_Action() 7446 MarshalTo([]byte) (int, error) 7447 ProtoSize() int 7448 } 7449 7450 type TransationControl_Begin struct { 7451 Begin *TransationBegin `protobuf:"bytes,2,opt,name=begin,proto3,oneof" json:"begin,omitempty"` 7452 } 7453 type TransationControl_Commit struct { 7454 Commit *TransationCommit `protobuf:"bytes,3,opt,name=commit,proto3,oneof" json:"commit,omitempty"` 7455 } 7456 type TransationControl_Rollback struct { 7457 Rollback *TransationRollback `protobuf:"bytes,4,opt,name=rollback,proto3,oneof" json:"rollback,omitempty"` 7458 } 7459 7460 func (*TransationControl_Begin) isTransationControl_Action() {} 7461 func (*TransationControl_Commit) isTransationControl_Action() {} 7462 func (*TransationControl_Rollback) isTransationControl_Action() {} 7463 7464 func (m *TransationControl) GetAction() isTransationControl_Action { 7465 if m != nil { 7466 return m.Action 7467 } 7468 return nil 7469 } 7470 7471 func (m *TransationControl) GetTclType() TransationControl_TclType { 7472 if m != nil { 7473 return m.TclType 7474 } 7475 return TransationControl_BEGIN 7476 } 7477 7478 func (m *TransationControl) GetBegin() *TransationBegin { 7479 if x, ok := m.GetAction().(*TransationControl_Begin); ok { 7480 return x.Begin 7481 } 7482 return nil 7483 } 7484 7485 func (m *TransationControl) GetCommit() *TransationCommit { 7486 if x, ok := m.GetAction().(*TransationControl_Commit); ok { 7487 return x.Commit 7488 } 7489 return nil 7490 } 7491 7492 func (m *TransationControl) GetRollback() *TransationRollback { 7493 if x, ok := m.GetAction().(*TransationControl_Rollback); ok { 7494 return x.Rollback 7495 } 7496 return nil 7497 } 7498 7499 // XXX_OneofWrappers is for the internal use of the proto package. 7500 func (*TransationControl) XXX_OneofWrappers() []interface{} { 7501 return []interface{}{ 7502 (*TransationControl_Begin)(nil), 7503 (*TransationControl_Commit)(nil), 7504 (*TransationControl_Rollback)(nil), 7505 } 7506 } 7507 7508 type TransationBegin struct { 7509 Mode TransationBegin_TransationMode `protobuf:"varint,1,opt,name=mode,proto3,enum=plan.TransationBegin_TransationMode" json:"mode,omitempty"` 7510 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7511 XXX_unrecognized []byte `json:"-"` 7512 XXX_sizecache int32 `json:"-"` 7513 } 7514 7515 func (m *TransationBegin) Reset() { *m = TransationBegin{} } 7516 func (m *TransationBegin) String() string { return proto.CompactTextString(m) } 7517 func (*TransationBegin) ProtoMessage() {} 7518 func (*TransationBegin) Descriptor() ([]byte, []int) { 7519 return fileDescriptor_2d655ab2f7683c23, []int{70} 7520 } 7521 func (m *TransationBegin) XXX_Unmarshal(b []byte) error { 7522 return m.Unmarshal(b) 7523 } 7524 func (m *TransationBegin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7525 if deterministic { 7526 return xxx_messageInfo_TransationBegin.Marshal(b, m, deterministic) 7527 } else { 7528 b = b[:cap(b)] 7529 n, err := m.MarshalToSizedBuffer(b) 7530 if err != nil { 7531 return nil, err 7532 } 7533 return b[:n], nil 7534 } 7535 } 7536 func (m *TransationBegin) XXX_Merge(src proto.Message) { 7537 xxx_messageInfo_TransationBegin.Merge(m, src) 7538 } 7539 func (m *TransationBegin) XXX_Size() int { 7540 return m.ProtoSize() 7541 } 7542 func (m *TransationBegin) XXX_DiscardUnknown() { 7543 xxx_messageInfo_TransationBegin.DiscardUnknown(m) 7544 } 7545 7546 var xxx_messageInfo_TransationBegin proto.InternalMessageInfo 7547 7548 func (m *TransationBegin) GetMode() TransationBegin_TransationMode { 7549 if m != nil { 7550 return m.Mode 7551 } 7552 return TransationBegin_NONE 7553 } 7554 7555 type TransationCommit struct { 7556 CompletionType TransationCompletionType `protobuf:"varint,1,opt,name=completion_type,json=completionType,proto3,enum=plan.TransationCompletionType" json:"completion_type,omitempty"` 7557 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7558 XXX_unrecognized []byte `json:"-"` 7559 XXX_sizecache int32 `json:"-"` 7560 } 7561 7562 func (m *TransationCommit) Reset() { *m = TransationCommit{} } 7563 func (m *TransationCommit) String() string { return proto.CompactTextString(m) } 7564 func (*TransationCommit) ProtoMessage() {} 7565 func (*TransationCommit) Descriptor() ([]byte, []int) { 7566 return fileDescriptor_2d655ab2f7683c23, []int{71} 7567 } 7568 func (m *TransationCommit) XXX_Unmarshal(b []byte) error { 7569 return m.Unmarshal(b) 7570 } 7571 func (m *TransationCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7572 if deterministic { 7573 return xxx_messageInfo_TransationCommit.Marshal(b, m, deterministic) 7574 } else { 7575 b = b[:cap(b)] 7576 n, err := m.MarshalToSizedBuffer(b) 7577 if err != nil { 7578 return nil, err 7579 } 7580 return b[:n], nil 7581 } 7582 } 7583 func (m *TransationCommit) XXX_Merge(src proto.Message) { 7584 xxx_messageInfo_TransationCommit.Merge(m, src) 7585 } 7586 func (m *TransationCommit) XXX_Size() int { 7587 return m.ProtoSize() 7588 } 7589 func (m *TransationCommit) XXX_DiscardUnknown() { 7590 xxx_messageInfo_TransationCommit.DiscardUnknown(m) 7591 } 7592 7593 var xxx_messageInfo_TransationCommit proto.InternalMessageInfo 7594 7595 func (m *TransationCommit) GetCompletionType() TransationCompletionType { 7596 if m != nil { 7597 return m.CompletionType 7598 } 7599 return TransationCompletionType_CHAIN 7600 } 7601 7602 type TransationRollback struct { 7603 CompletionType TransationCompletionType `protobuf:"varint,1,opt,name=completion_type,json=completionType,proto3,enum=plan.TransationCompletionType" json:"completion_type,omitempty"` 7604 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7605 XXX_unrecognized []byte `json:"-"` 7606 XXX_sizecache int32 `json:"-"` 7607 } 7608 7609 func (m *TransationRollback) Reset() { *m = TransationRollback{} } 7610 func (m *TransationRollback) String() string { return proto.CompactTextString(m) } 7611 func (*TransationRollback) ProtoMessage() {} 7612 func (*TransationRollback) Descriptor() ([]byte, []int) { 7613 return fileDescriptor_2d655ab2f7683c23, []int{72} 7614 } 7615 func (m *TransationRollback) XXX_Unmarshal(b []byte) error { 7616 return m.Unmarshal(b) 7617 } 7618 func (m *TransationRollback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7619 if deterministic { 7620 return xxx_messageInfo_TransationRollback.Marshal(b, m, deterministic) 7621 } else { 7622 b = b[:cap(b)] 7623 n, err := m.MarshalToSizedBuffer(b) 7624 if err != nil { 7625 return nil, err 7626 } 7627 return b[:n], nil 7628 } 7629 } 7630 func (m *TransationRollback) XXX_Merge(src proto.Message) { 7631 xxx_messageInfo_TransationRollback.Merge(m, src) 7632 } 7633 func (m *TransationRollback) XXX_Size() int { 7634 return m.ProtoSize() 7635 } 7636 func (m *TransationRollback) XXX_DiscardUnknown() { 7637 xxx_messageInfo_TransationRollback.DiscardUnknown(m) 7638 } 7639 7640 var xxx_messageInfo_TransationRollback proto.InternalMessageInfo 7641 7642 func (m *TransationRollback) GetCompletionType() TransationCompletionType { 7643 if m != nil { 7644 return m.CompletionType 7645 } 7646 return TransationCompletionType_CHAIN 7647 } 7648 7649 type Plan struct { 7650 // Types that are valid to be assigned to Plan: 7651 // 7652 // *Plan_Query 7653 // *Plan_Tcl 7654 // *Plan_Ddl 7655 // *Plan_Dcl 7656 Plan isPlan_Plan `protobuf_oneof:"plan"` 7657 TryRunTimes int32 `protobuf:"varint,5,opt,name=try_run_times,json=tryRunTimes,proto3" json:"try_run_times,omitempty"` 7658 IsPrepare bool `protobuf:"varint,6,opt,name=is_prepare,json=isPrepare,proto3" json:"is_prepare,omitempty"` 7659 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7660 XXX_unrecognized []byte `json:"-"` 7661 XXX_sizecache int32 `json:"-"` 7662 } 7663 7664 func (m *Plan) Reset() { *m = Plan{} } 7665 func (m *Plan) String() string { return proto.CompactTextString(m) } 7666 func (*Plan) ProtoMessage() {} 7667 func (*Plan) Descriptor() ([]byte, []int) { 7668 return fileDescriptor_2d655ab2f7683c23, []int{73} 7669 } 7670 func (m *Plan) XXX_Unmarshal(b []byte) error { 7671 return m.Unmarshal(b) 7672 } 7673 func (m *Plan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7674 if deterministic { 7675 return xxx_messageInfo_Plan.Marshal(b, m, deterministic) 7676 } else { 7677 b = b[:cap(b)] 7678 n, err := m.MarshalToSizedBuffer(b) 7679 if err != nil { 7680 return nil, err 7681 } 7682 return b[:n], nil 7683 } 7684 } 7685 func (m *Plan) XXX_Merge(src proto.Message) { 7686 xxx_messageInfo_Plan.Merge(m, src) 7687 } 7688 func (m *Plan) XXX_Size() int { 7689 return m.ProtoSize() 7690 } 7691 func (m *Plan) XXX_DiscardUnknown() { 7692 xxx_messageInfo_Plan.DiscardUnknown(m) 7693 } 7694 7695 var xxx_messageInfo_Plan proto.InternalMessageInfo 7696 7697 type isPlan_Plan interface { 7698 isPlan_Plan() 7699 MarshalTo([]byte) (int, error) 7700 ProtoSize() int 7701 } 7702 7703 type Plan_Query struct { 7704 Query *Query `protobuf:"bytes,1,opt,name=query,proto3,oneof" json:"query,omitempty"` 7705 } 7706 type Plan_Tcl struct { 7707 Tcl *TransationControl `protobuf:"bytes,2,opt,name=tcl,proto3,oneof" json:"tcl,omitempty"` 7708 } 7709 type Plan_Ddl struct { 7710 Ddl *DataDefinition `protobuf:"bytes,3,opt,name=ddl,proto3,oneof" json:"ddl,omitempty"` 7711 } 7712 type Plan_Dcl struct { 7713 Dcl *DataControl `protobuf:"bytes,4,opt,name=dcl,proto3,oneof" json:"dcl,omitempty"` 7714 } 7715 7716 func (*Plan_Query) isPlan_Plan() {} 7717 func (*Plan_Tcl) isPlan_Plan() {} 7718 func (*Plan_Ddl) isPlan_Plan() {} 7719 func (*Plan_Dcl) isPlan_Plan() {} 7720 7721 func (m *Plan) GetPlan() isPlan_Plan { 7722 if m != nil { 7723 return m.Plan 7724 } 7725 return nil 7726 } 7727 7728 func (m *Plan) GetQuery() *Query { 7729 if x, ok := m.GetPlan().(*Plan_Query); ok { 7730 return x.Query 7731 } 7732 return nil 7733 } 7734 7735 func (m *Plan) GetTcl() *TransationControl { 7736 if x, ok := m.GetPlan().(*Plan_Tcl); ok { 7737 return x.Tcl 7738 } 7739 return nil 7740 } 7741 7742 func (m *Plan) GetDdl() *DataDefinition { 7743 if x, ok := m.GetPlan().(*Plan_Ddl); ok { 7744 return x.Ddl 7745 } 7746 return nil 7747 } 7748 7749 func (m *Plan) GetDcl() *DataControl { 7750 if x, ok := m.GetPlan().(*Plan_Dcl); ok { 7751 return x.Dcl 7752 } 7753 return nil 7754 } 7755 7756 func (m *Plan) GetTryRunTimes() int32 { 7757 if m != nil { 7758 return m.TryRunTimes 7759 } 7760 return 0 7761 } 7762 7763 func (m *Plan) GetIsPrepare() bool { 7764 if m != nil { 7765 return m.IsPrepare 7766 } 7767 return false 7768 } 7769 7770 // XXX_OneofWrappers is for the internal use of the proto package. 7771 func (*Plan) XXX_OneofWrappers() []interface{} { 7772 return []interface{}{ 7773 (*Plan_Query)(nil), 7774 (*Plan_Tcl)(nil), 7775 (*Plan_Ddl)(nil), 7776 (*Plan_Dcl)(nil), 7777 } 7778 } 7779 7780 type Column struct { 7781 Column []*Expr `protobuf:"bytes,1,rep,name=column,proto3" json:"column,omitempty"` 7782 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7783 XXX_unrecognized []byte `json:"-"` 7784 XXX_sizecache int32 `json:"-"` 7785 } 7786 7787 func (m *Column) Reset() { *m = Column{} } 7788 func (m *Column) String() string { return proto.CompactTextString(m) } 7789 func (*Column) ProtoMessage() {} 7790 func (*Column) Descriptor() ([]byte, []int) { 7791 return fileDescriptor_2d655ab2f7683c23, []int{74} 7792 } 7793 func (m *Column) XXX_Unmarshal(b []byte) error { 7794 return m.Unmarshal(b) 7795 } 7796 func (m *Column) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7797 if deterministic { 7798 return xxx_messageInfo_Column.Marshal(b, m, deterministic) 7799 } else { 7800 b = b[:cap(b)] 7801 n, err := m.MarshalToSizedBuffer(b) 7802 if err != nil { 7803 return nil, err 7804 } 7805 return b[:n], nil 7806 } 7807 } 7808 func (m *Column) XXX_Merge(src proto.Message) { 7809 xxx_messageInfo_Column.Merge(m, src) 7810 } 7811 func (m *Column) XXX_Size() int { 7812 return m.ProtoSize() 7813 } 7814 func (m *Column) XXX_DiscardUnknown() { 7815 xxx_messageInfo_Column.DiscardUnknown(m) 7816 } 7817 7818 var xxx_messageInfo_Column proto.InternalMessageInfo 7819 7820 func (m *Column) GetColumn() []*Expr { 7821 if m != nil { 7822 return m.Column 7823 } 7824 return nil 7825 } 7826 7827 type DataControl struct { 7828 // DataDefinition type 7829 DclType DataControl_DclType `protobuf:"varint,1,opt,name=dcl_type,json=dclType,proto3,enum=plan.DataControl_DclType" json:"dcl_type,omitempty"` 7830 // Types that are valid to be assigned to Control: 7831 // 7832 // *DataControl_SetVariables 7833 // *DataControl_Prepare 7834 // *DataControl_Execute 7835 // *DataControl_Deallocate 7836 // *DataControl_Other 7837 Control isDataControl_Control `protobuf_oneof:"control"` 7838 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7839 XXX_unrecognized []byte `json:"-"` 7840 XXX_sizecache int32 `json:"-"` 7841 } 7842 7843 func (m *DataControl) Reset() { *m = DataControl{} } 7844 func (m *DataControl) String() string { return proto.CompactTextString(m) } 7845 func (*DataControl) ProtoMessage() {} 7846 func (*DataControl) Descriptor() ([]byte, []int) { 7847 return fileDescriptor_2d655ab2f7683c23, []int{75} 7848 } 7849 func (m *DataControl) XXX_Unmarshal(b []byte) error { 7850 return m.Unmarshal(b) 7851 } 7852 func (m *DataControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 7853 if deterministic { 7854 return xxx_messageInfo_DataControl.Marshal(b, m, deterministic) 7855 } else { 7856 b = b[:cap(b)] 7857 n, err := m.MarshalToSizedBuffer(b) 7858 if err != nil { 7859 return nil, err 7860 } 7861 return b[:n], nil 7862 } 7863 } 7864 func (m *DataControl) XXX_Merge(src proto.Message) { 7865 xxx_messageInfo_DataControl.Merge(m, src) 7866 } 7867 func (m *DataControl) XXX_Size() int { 7868 return m.ProtoSize() 7869 } 7870 func (m *DataControl) XXX_DiscardUnknown() { 7871 xxx_messageInfo_DataControl.DiscardUnknown(m) 7872 } 7873 7874 var xxx_messageInfo_DataControl proto.InternalMessageInfo 7875 7876 type isDataControl_Control interface { 7877 isDataControl_Control() 7878 MarshalTo([]byte) (int, error) 7879 ProtoSize() int 7880 } 7881 7882 type DataControl_SetVariables struct { 7883 SetVariables *SetVariables `protobuf:"bytes,2,opt,name=set_variables,json=setVariables,proto3,oneof" json:"set_variables,omitempty"` 7884 } 7885 type DataControl_Prepare struct { 7886 Prepare *Prepare `protobuf:"bytes,3,opt,name=prepare,proto3,oneof" json:"prepare,omitempty"` 7887 } 7888 type DataControl_Execute struct { 7889 Execute *Execute `protobuf:"bytes,4,opt,name=execute,proto3,oneof" json:"execute,omitempty"` 7890 } 7891 type DataControl_Deallocate struct { 7892 Deallocate *Deallocate `protobuf:"bytes,5,opt,name=deallocate,proto3,oneof" json:"deallocate,omitempty"` 7893 } 7894 type DataControl_Other struct { 7895 Other *OtherDCL `protobuf:"bytes,6,opt,name=other,proto3,oneof" json:"other,omitempty"` 7896 } 7897 7898 func (*DataControl_SetVariables) isDataControl_Control() {} 7899 func (*DataControl_Prepare) isDataControl_Control() {} 7900 func (*DataControl_Execute) isDataControl_Control() {} 7901 func (*DataControl_Deallocate) isDataControl_Control() {} 7902 func (*DataControl_Other) isDataControl_Control() {} 7903 7904 func (m *DataControl) GetControl() isDataControl_Control { 7905 if m != nil { 7906 return m.Control 7907 } 7908 return nil 7909 } 7910 7911 func (m *DataControl) GetDclType() DataControl_DclType { 7912 if m != nil { 7913 return m.DclType 7914 } 7915 return DataControl_SET_VARIABLES 7916 } 7917 7918 func (m *DataControl) GetSetVariables() *SetVariables { 7919 if x, ok := m.GetControl().(*DataControl_SetVariables); ok { 7920 return x.SetVariables 7921 } 7922 return nil 7923 } 7924 7925 func (m *DataControl) GetPrepare() *Prepare { 7926 if x, ok := m.GetControl().(*DataControl_Prepare); ok { 7927 return x.Prepare 7928 } 7929 return nil 7930 } 7931 7932 func (m *DataControl) GetExecute() *Execute { 7933 if x, ok := m.GetControl().(*DataControl_Execute); ok { 7934 return x.Execute 7935 } 7936 return nil 7937 } 7938 7939 func (m *DataControl) GetDeallocate() *Deallocate { 7940 if x, ok := m.GetControl().(*DataControl_Deallocate); ok { 7941 return x.Deallocate 7942 } 7943 return nil 7944 } 7945 7946 func (m *DataControl) GetOther() *OtherDCL { 7947 if x, ok := m.GetControl().(*DataControl_Other); ok { 7948 return x.Other 7949 } 7950 return nil 7951 } 7952 7953 // XXX_OneofWrappers is for the internal use of the proto package. 7954 func (*DataControl) XXX_OneofWrappers() []interface{} { 7955 return []interface{}{ 7956 (*DataControl_SetVariables)(nil), 7957 (*DataControl_Prepare)(nil), 7958 (*DataControl_Execute)(nil), 7959 (*DataControl_Deallocate)(nil), 7960 (*DataControl_Other)(nil), 7961 } 7962 } 7963 7964 type DataDefinition struct { 7965 // DataDefinition type 7966 DdlType DataDefinition_DdlType `protobuf:"varint,1,opt,name=ddl_type,json=ddlType,proto3,enum=plan.DataDefinition_DdlType" json:"ddl_type,omitempty"` 7967 // other show statement we will rewrite to a select statement 7968 // then we will get a Query 7969 // eg: 'show databases' will rewrite to 'select md.datname as `Database` from mo_database md' 7970 Query *Query `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` 7971 // Types that are valid to be assigned to Definition: 7972 // 7973 // *DataDefinition_CreateDatabase 7974 // *DataDefinition_AlterDatabase 7975 // *DataDefinition_DropDatabase 7976 // *DataDefinition_CreateTable 7977 // *DataDefinition_AlterTable 7978 // *DataDefinition_DropTable 7979 // *DataDefinition_CreateIndex 7980 // *DataDefinition_AlterIndex 7981 // *DataDefinition_DropIndex 7982 // *DataDefinition_TruncateTable 7983 // *DataDefinition_ShowVariables 7984 // *DataDefinition_AlterView 7985 // *DataDefinition_LockTables 7986 // *DataDefinition_UnlockTables 7987 // *DataDefinition_CreateSequence 7988 // *DataDefinition_DropSequence 7989 // *DataDefinition_AlterSequence 7990 Definition isDataDefinition_Definition `protobuf_oneof:"definition"` 7991 XXX_NoUnkeyedLiteral struct{} `json:"-"` 7992 XXX_unrecognized []byte `json:"-"` 7993 XXX_sizecache int32 `json:"-"` 7994 } 7995 7996 func (m *DataDefinition) Reset() { *m = DataDefinition{} } 7997 func (m *DataDefinition) String() string { return proto.CompactTextString(m) } 7998 func (*DataDefinition) ProtoMessage() {} 7999 func (*DataDefinition) Descriptor() ([]byte, []int) { 8000 return fileDescriptor_2d655ab2f7683c23, []int{76} 8001 } 8002 func (m *DataDefinition) XXX_Unmarshal(b []byte) error { 8003 return m.Unmarshal(b) 8004 } 8005 func (m *DataDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8006 if deterministic { 8007 return xxx_messageInfo_DataDefinition.Marshal(b, m, deterministic) 8008 } else { 8009 b = b[:cap(b)] 8010 n, err := m.MarshalToSizedBuffer(b) 8011 if err != nil { 8012 return nil, err 8013 } 8014 return b[:n], nil 8015 } 8016 } 8017 func (m *DataDefinition) XXX_Merge(src proto.Message) { 8018 xxx_messageInfo_DataDefinition.Merge(m, src) 8019 } 8020 func (m *DataDefinition) XXX_Size() int { 8021 return m.ProtoSize() 8022 } 8023 func (m *DataDefinition) XXX_DiscardUnknown() { 8024 xxx_messageInfo_DataDefinition.DiscardUnknown(m) 8025 } 8026 8027 var xxx_messageInfo_DataDefinition proto.InternalMessageInfo 8028 8029 type isDataDefinition_Definition interface { 8030 isDataDefinition_Definition() 8031 MarshalTo([]byte) (int, error) 8032 ProtoSize() int 8033 } 8034 8035 type DataDefinition_CreateDatabase struct { 8036 CreateDatabase *CreateDatabase `protobuf:"bytes,3,opt,name=create_database,json=createDatabase,proto3,oneof" json:"create_database,omitempty"` 8037 } 8038 type DataDefinition_AlterDatabase struct { 8039 AlterDatabase *AlterDatabase `protobuf:"bytes,4,opt,name=alter_database,json=alterDatabase,proto3,oneof" json:"alter_database,omitempty"` 8040 } 8041 type DataDefinition_DropDatabase struct { 8042 DropDatabase *DropDatabase `protobuf:"bytes,5,opt,name=drop_database,json=dropDatabase,proto3,oneof" json:"drop_database,omitempty"` 8043 } 8044 type DataDefinition_CreateTable struct { 8045 CreateTable *CreateTable `protobuf:"bytes,6,opt,name=create_table,json=createTable,proto3,oneof" json:"create_table,omitempty"` 8046 } 8047 type DataDefinition_AlterTable struct { 8048 AlterTable *AlterTable `protobuf:"bytes,7,opt,name=alter_table,json=alterTable,proto3,oneof" json:"alter_table,omitempty"` 8049 } 8050 type DataDefinition_DropTable struct { 8051 DropTable *DropTable `protobuf:"bytes,8,opt,name=drop_table,json=dropTable,proto3,oneof" json:"drop_table,omitempty"` 8052 } 8053 type DataDefinition_CreateIndex struct { 8054 CreateIndex *CreateIndex `protobuf:"bytes,9,opt,name=create_index,json=createIndex,proto3,oneof" json:"create_index,omitempty"` 8055 } 8056 type DataDefinition_AlterIndex struct { 8057 AlterIndex *AlterIndex `protobuf:"bytes,10,opt,name=alter_index,json=alterIndex,proto3,oneof" json:"alter_index,omitempty"` 8058 } 8059 type DataDefinition_DropIndex struct { 8060 DropIndex *DropIndex `protobuf:"bytes,11,opt,name=drop_index,json=dropIndex,proto3,oneof" json:"drop_index,omitempty"` 8061 } 8062 type DataDefinition_TruncateTable struct { 8063 TruncateTable *TruncateTable `protobuf:"bytes,12,opt,name=truncate_table,json=truncateTable,proto3,oneof" json:"truncate_table,omitempty"` 8064 } 8065 type DataDefinition_ShowVariables struct { 8066 ShowVariables *ShowVariables `protobuf:"bytes,13,opt,name=show_variables,json=showVariables,proto3,oneof" json:"show_variables,omitempty"` 8067 } 8068 type DataDefinition_AlterView struct { 8069 AlterView *AlterView `protobuf:"bytes,14,opt,name=alter_view,json=alterView,proto3,oneof" json:"alter_view,omitempty"` 8070 } 8071 type DataDefinition_LockTables struct { 8072 LockTables *LockTables `protobuf:"bytes,15,opt,name=lock_tables,json=lockTables,proto3,oneof" json:"lock_tables,omitempty"` 8073 } 8074 type DataDefinition_UnlockTables struct { 8075 UnlockTables *UnLockTables `protobuf:"bytes,16,opt,name=unlock_tables,json=unlockTables,proto3,oneof" json:"unlock_tables,omitempty"` 8076 } 8077 type DataDefinition_CreateSequence struct { 8078 CreateSequence *CreateSequence `protobuf:"bytes,17,opt,name=create_sequence,json=createSequence,proto3,oneof" json:"create_sequence,omitempty"` 8079 } 8080 type DataDefinition_DropSequence struct { 8081 DropSequence *DropSequence `protobuf:"bytes,18,opt,name=drop_sequence,json=dropSequence,proto3,oneof" json:"drop_sequence,omitempty"` 8082 } 8083 type DataDefinition_AlterSequence struct { 8084 AlterSequence *AlterSequence `protobuf:"bytes,19,opt,name=alter_sequence,json=alterSequence,proto3,oneof" json:"alter_sequence,omitempty"` 8085 } 8086 8087 func (*DataDefinition_CreateDatabase) isDataDefinition_Definition() {} 8088 func (*DataDefinition_AlterDatabase) isDataDefinition_Definition() {} 8089 func (*DataDefinition_DropDatabase) isDataDefinition_Definition() {} 8090 func (*DataDefinition_CreateTable) isDataDefinition_Definition() {} 8091 func (*DataDefinition_AlterTable) isDataDefinition_Definition() {} 8092 func (*DataDefinition_DropTable) isDataDefinition_Definition() {} 8093 func (*DataDefinition_CreateIndex) isDataDefinition_Definition() {} 8094 func (*DataDefinition_AlterIndex) isDataDefinition_Definition() {} 8095 func (*DataDefinition_DropIndex) isDataDefinition_Definition() {} 8096 func (*DataDefinition_TruncateTable) isDataDefinition_Definition() {} 8097 func (*DataDefinition_ShowVariables) isDataDefinition_Definition() {} 8098 func (*DataDefinition_AlterView) isDataDefinition_Definition() {} 8099 func (*DataDefinition_LockTables) isDataDefinition_Definition() {} 8100 func (*DataDefinition_UnlockTables) isDataDefinition_Definition() {} 8101 func (*DataDefinition_CreateSequence) isDataDefinition_Definition() {} 8102 func (*DataDefinition_DropSequence) isDataDefinition_Definition() {} 8103 func (*DataDefinition_AlterSequence) isDataDefinition_Definition() {} 8104 8105 func (m *DataDefinition) GetDefinition() isDataDefinition_Definition { 8106 if m != nil { 8107 return m.Definition 8108 } 8109 return nil 8110 } 8111 8112 func (m *DataDefinition) GetDdlType() DataDefinition_DdlType { 8113 if m != nil { 8114 return m.DdlType 8115 } 8116 return DataDefinition_CREATE_DATABASE 8117 } 8118 8119 func (m *DataDefinition) GetQuery() *Query { 8120 if m != nil { 8121 return m.Query 8122 } 8123 return nil 8124 } 8125 8126 func (m *DataDefinition) GetCreateDatabase() *CreateDatabase { 8127 if x, ok := m.GetDefinition().(*DataDefinition_CreateDatabase); ok { 8128 return x.CreateDatabase 8129 } 8130 return nil 8131 } 8132 8133 func (m *DataDefinition) GetAlterDatabase() *AlterDatabase { 8134 if x, ok := m.GetDefinition().(*DataDefinition_AlterDatabase); ok { 8135 return x.AlterDatabase 8136 } 8137 return nil 8138 } 8139 8140 func (m *DataDefinition) GetDropDatabase() *DropDatabase { 8141 if x, ok := m.GetDefinition().(*DataDefinition_DropDatabase); ok { 8142 return x.DropDatabase 8143 } 8144 return nil 8145 } 8146 8147 func (m *DataDefinition) GetCreateTable() *CreateTable { 8148 if x, ok := m.GetDefinition().(*DataDefinition_CreateTable); ok { 8149 return x.CreateTable 8150 } 8151 return nil 8152 } 8153 8154 func (m *DataDefinition) GetAlterTable() *AlterTable { 8155 if x, ok := m.GetDefinition().(*DataDefinition_AlterTable); ok { 8156 return x.AlterTable 8157 } 8158 return nil 8159 } 8160 8161 func (m *DataDefinition) GetDropTable() *DropTable { 8162 if x, ok := m.GetDefinition().(*DataDefinition_DropTable); ok { 8163 return x.DropTable 8164 } 8165 return nil 8166 } 8167 8168 func (m *DataDefinition) GetCreateIndex() *CreateIndex { 8169 if x, ok := m.GetDefinition().(*DataDefinition_CreateIndex); ok { 8170 return x.CreateIndex 8171 } 8172 return nil 8173 } 8174 8175 func (m *DataDefinition) GetAlterIndex() *AlterIndex { 8176 if x, ok := m.GetDefinition().(*DataDefinition_AlterIndex); ok { 8177 return x.AlterIndex 8178 } 8179 return nil 8180 } 8181 8182 func (m *DataDefinition) GetDropIndex() *DropIndex { 8183 if x, ok := m.GetDefinition().(*DataDefinition_DropIndex); ok { 8184 return x.DropIndex 8185 } 8186 return nil 8187 } 8188 8189 func (m *DataDefinition) GetTruncateTable() *TruncateTable { 8190 if x, ok := m.GetDefinition().(*DataDefinition_TruncateTable); ok { 8191 return x.TruncateTable 8192 } 8193 return nil 8194 } 8195 8196 func (m *DataDefinition) GetShowVariables() *ShowVariables { 8197 if x, ok := m.GetDefinition().(*DataDefinition_ShowVariables); ok { 8198 return x.ShowVariables 8199 } 8200 return nil 8201 } 8202 8203 func (m *DataDefinition) GetAlterView() *AlterView { 8204 if x, ok := m.GetDefinition().(*DataDefinition_AlterView); ok { 8205 return x.AlterView 8206 } 8207 return nil 8208 } 8209 8210 func (m *DataDefinition) GetLockTables() *LockTables { 8211 if x, ok := m.GetDefinition().(*DataDefinition_LockTables); ok { 8212 return x.LockTables 8213 } 8214 return nil 8215 } 8216 8217 func (m *DataDefinition) GetUnlockTables() *UnLockTables { 8218 if x, ok := m.GetDefinition().(*DataDefinition_UnlockTables); ok { 8219 return x.UnlockTables 8220 } 8221 return nil 8222 } 8223 8224 func (m *DataDefinition) GetCreateSequence() *CreateSequence { 8225 if x, ok := m.GetDefinition().(*DataDefinition_CreateSequence); ok { 8226 return x.CreateSequence 8227 } 8228 return nil 8229 } 8230 8231 func (m *DataDefinition) GetDropSequence() *DropSequence { 8232 if x, ok := m.GetDefinition().(*DataDefinition_DropSequence); ok { 8233 return x.DropSequence 8234 } 8235 return nil 8236 } 8237 8238 func (m *DataDefinition) GetAlterSequence() *AlterSequence { 8239 if x, ok := m.GetDefinition().(*DataDefinition_AlterSequence); ok { 8240 return x.AlterSequence 8241 } 8242 return nil 8243 } 8244 8245 // XXX_OneofWrappers is for the internal use of the proto package. 8246 func (*DataDefinition) XXX_OneofWrappers() []interface{} { 8247 return []interface{}{ 8248 (*DataDefinition_CreateDatabase)(nil), 8249 (*DataDefinition_AlterDatabase)(nil), 8250 (*DataDefinition_DropDatabase)(nil), 8251 (*DataDefinition_CreateTable)(nil), 8252 (*DataDefinition_AlterTable)(nil), 8253 (*DataDefinition_DropTable)(nil), 8254 (*DataDefinition_CreateIndex)(nil), 8255 (*DataDefinition_AlterIndex)(nil), 8256 (*DataDefinition_DropIndex)(nil), 8257 (*DataDefinition_TruncateTable)(nil), 8258 (*DataDefinition_ShowVariables)(nil), 8259 (*DataDefinition_AlterView)(nil), 8260 (*DataDefinition_LockTables)(nil), 8261 (*DataDefinition_UnlockTables)(nil), 8262 (*DataDefinition_CreateSequence)(nil), 8263 (*DataDefinition_DropSequence)(nil), 8264 (*DataDefinition_AlterSequence)(nil), 8265 } 8266 } 8267 8268 type SubscriptionOption struct { 8269 From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` 8270 Publication string `protobuf:"bytes,2,opt,name=publication,proto3" json:"publication,omitempty"` 8271 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8272 XXX_unrecognized []byte `json:"-"` 8273 XXX_sizecache int32 `json:"-"` 8274 } 8275 8276 func (m *SubscriptionOption) Reset() { *m = SubscriptionOption{} } 8277 func (m *SubscriptionOption) String() string { return proto.CompactTextString(m) } 8278 func (*SubscriptionOption) ProtoMessage() {} 8279 func (*SubscriptionOption) Descriptor() ([]byte, []int) { 8280 return fileDescriptor_2d655ab2f7683c23, []int{77} 8281 } 8282 func (m *SubscriptionOption) XXX_Unmarshal(b []byte) error { 8283 return m.Unmarshal(b) 8284 } 8285 func (m *SubscriptionOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8286 if deterministic { 8287 return xxx_messageInfo_SubscriptionOption.Marshal(b, m, deterministic) 8288 } else { 8289 b = b[:cap(b)] 8290 n, err := m.MarshalToSizedBuffer(b) 8291 if err != nil { 8292 return nil, err 8293 } 8294 return b[:n], nil 8295 } 8296 } 8297 func (m *SubscriptionOption) XXX_Merge(src proto.Message) { 8298 xxx_messageInfo_SubscriptionOption.Merge(m, src) 8299 } 8300 func (m *SubscriptionOption) XXX_Size() int { 8301 return m.ProtoSize() 8302 } 8303 func (m *SubscriptionOption) XXX_DiscardUnknown() { 8304 xxx_messageInfo_SubscriptionOption.DiscardUnknown(m) 8305 } 8306 8307 var xxx_messageInfo_SubscriptionOption proto.InternalMessageInfo 8308 8309 func (m *SubscriptionOption) GetFrom() string { 8310 if m != nil { 8311 return m.From 8312 } 8313 return "" 8314 } 8315 8316 func (m *SubscriptionOption) GetPublication() string { 8317 if m != nil { 8318 return m.Publication 8319 } 8320 return "" 8321 } 8322 8323 type CreateDatabase struct { 8324 IfNotExists bool `protobuf:"varint,1,opt,name=if_not_exists,json=ifNotExists,proto3" json:"if_not_exists,omitempty"` 8325 Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` 8326 SubscriptionOption *SubscriptionOption `protobuf:"bytes,3,opt,name=subscription_option,json=subscriptionOption,proto3" json:"subscription_option,omitempty"` 8327 Sql string `protobuf:"bytes,4,opt,name=sql,proto3" json:"sql,omitempty"` 8328 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8329 XXX_unrecognized []byte `json:"-"` 8330 XXX_sizecache int32 `json:"-"` 8331 } 8332 8333 func (m *CreateDatabase) Reset() { *m = CreateDatabase{} } 8334 func (m *CreateDatabase) String() string { return proto.CompactTextString(m) } 8335 func (*CreateDatabase) ProtoMessage() {} 8336 func (*CreateDatabase) Descriptor() ([]byte, []int) { 8337 return fileDescriptor_2d655ab2f7683c23, []int{78} 8338 } 8339 func (m *CreateDatabase) XXX_Unmarshal(b []byte) error { 8340 return m.Unmarshal(b) 8341 } 8342 func (m *CreateDatabase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8343 if deterministic { 8344 return xxx_messageInfo_CreateDatabase.Marshal(b, m, deterministic) 8345 } else { 8346 b = b[:cap(b)] 8347 n, err := m.MarshalToSizedBuffer(b) 8348 if err != nil { 8349 return nil, err 8350 } 8351 return b[:n], nil 8352 } 8353 } 8354 func (m *CreateDatabase) XXX_Merge(src proto.Message) { 8355 xxx_messageInfo_CreateDatabase.Merge(m, src) 8356 } 8357 func (m *CreateDatabase) XXX_Size() int { 8358 return m.ProtoSize() 8359 } 8360 func (m *CreateDatabase) XXX_DiscardUnknown() { 8361 xxx_messageInfo_CreateDatabase.DiscardUnknown(m) 8362 } 8363 8364 var xxx_messageInfo_CreateDatabase proto.InternalMessageInfo 8365 8366 func (m *CreateDatabase) GetIfNotExists() bool { 8367 if m != nil { 8368 return m.IfNotExists 8369 } 8370 return false 8371 } 8372 8373 func (m *CreateDatabase) GetDatabase() string { 8374 if m != nil { 8375 return m.Database 8376 } 8377 return "" 8378 } 8379 8380 func (m *CreateDatabase) GetSubscriptionOption() *SubscriptionOption { 8381 if m != nil { 8382 return m.SubscriptionOption 8383 } 8384 return nil 8385 } 8386 8387 func (m *CreateDatabase) GetSql() string { 8388 if m != nil { 8389 return m.Sql 8390 } 8391 return "" 8392 } 8393 8394 type AlterDatabase struct { 8395 IfExists bool `protobuf:"varint,1,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"` 8396 Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` 8397 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8398 XXX_unrecognized []byte `json:"-"` 8399 XXX_sizecache int32 `json:"-"` 8400 } 8401 8402 func (m *AlterDatabase) Reset() { *m = AlterDatabase{} } 8403 func (m *AlterDatabase) String() string { return proto.CompactTextString(m) } 8404 func (*AlterDatabase) ProtoMessage() {} 8405 func (*AlterDatabase) Descriptor() ([]byte, []int) { 8406 return fileDescriptor_2d655ab2f7683c23, []int{79} 8407 } 8408 func (m *AlterDatabase) XXX_Unmarshal(b []byte) error { 8409 return m.Unmarshal(b) 8410 } 8411 func (m *AlterDatabase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8412 if deterministic { 8413 return xxx_messageInfo_AlterDatabase.Marshal(b, m, deterministic) 8414 } else { 8415 b = b[:cap(b)] 8416 n, err := m.MarshalToSizedBuffer(b) 8417 if err != nil { 8418 return nil, err 8419 } 8420 return b[:n], nil 8421 } 8422 } 8423 func (m *AlterDatabase) XXX_Merge(src proto.Message) { 8424 xxx_messageInfo_AlterDatabase.Merge(m, src) 8425 } 8426 func (m *AlterDatabase) XXX_Size() int { 8427 return m.ProtoSize() 8428 } 8429 func (m *AlterDatabase) XXX_DiscardUnknown() { 8430 xxx_messageInfo_AlterDatabase.DiscardUnknown(m) 8431 } 8432 8433 var xxx_messageInfo_AlterDatabase proto.InternalMessageInfo 8434 8435 func (m *AlterDatabase) GetIfExists() bool { 8436 if m != nil { 8437 return m.IfExists 8438 } 8439 return false 8440 } 8441 8442 func (m *AlterDatabase) GetDatabase() string { 8443 if m != nil { 8444 return m.Database 8445 } 8446 return "" 8447 } 8448 8449 type DropDatabase struct { 8450 IfExists bool `protobuf:"varint,1,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"` 8451 Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` 8452 DatabaseId uint64 `protobuf:"varint,3,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` 8453 // drop database should delete fk records related to this database 8454 // from mo_foreign_keys 8455 UpdateFkSql string `protobuf:"bytes,4,opt,name=updateFkSql,proto3" json:"updateFkSql,omitempty"` 8456 // drop database should check mo_foreign_keys to find fk records 8457 // that refer to this database before dropping the database 8458 CheckFKSql string `protobuf:"bytes,5,opt,name=checkFKSql,proto3" json:"checkFKSql,omitempty"` 8459 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8460 XXX_unrecognized []byte `json:"-"` 8461 XXX_sizecache int32 `json:"-"` 8462 } 8463 8464 func (m *DropDatabase) Reset() { *m = DropDatabase{} } 8465 func (m *DropDatabase) String() string { return proto.CompactTextString(m) } 8466 func (*DropDatabase) ProtoMessage() {} 8467 func (*DropDatabase) Descriptor() ([]byte, []int) { 8468 return fileDescriptor_2d655ab2f7683c23, []int{80} 8469 } 8470 func (m *DropDatabase) XXX_Unmarshal(b []byte) error { 8471 return m.Unmarshal(b) 8472 } 8473 func (m *DropDatabase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8474 if deterministic { 8475 return xxx_messageInfo_DropDatabase.Marshal(b, m, deterministic) 8476 } else { 8477 b = b[:cap(b)] 8478 n, err := m.MarshalToSizedBuffer(b) 8479 if err != nil { 8480 return nil, err 8481 } 8482 return b[:n], nil 8483 } 8484 } 8485 func (m *DropDatabase) XXX_Merge(src proto.Message) { 8486 xxx_messageInfo_DropDatabase.Merge(m, src) 8487 } 8488 func (m *DropDatabase) XXX_Size() int { 8489 return m.ProtoSize() 8490 } 8491 func (m *DropDatabase) XXX_DiscardUnknown() { 8492 xxx_messageInfo_DropDatabase.DiscardUnknown(m) 8493 } 8494 8495 var xxx_messageInfo_DropDatabase proto.InternalMessageInfo 8496 8497 func (m *DropDatabase) GetIfExists() bool { 8498 if m != nil { 8499 return m.IfExists 8500 } 8501 return false 8502 } 8503 8504 func (m *DropDatabase) GetDatabase() string { 8505 if m != nil { 8506 return m.Database 8507 } 8508 return "" 8509 } 8510 8511 func (m *DropDatabase) GetDatabaseId() uint64 { 8512 if m != nil { 8513 return m.DatabaseId 8514 } 8515 return 0 8516 } 8517 8518 func (m *DropDatabase) GetUpdateFkSql() string { 8519 if m != nil { 8520 return m.UpdateFkSql 8521 } 8522 return "" 8523 } 8524 8525 func (m *DropDatabase) GetCheckFKSql() string { 8526 if m != nil { 8527 return m.CheckFKSql 8528 } 8529 return "" 8530 } 8531 8532 type FkColName struct { 8533 Cols []string `protobuf:"bytes,1,rep,name=cols,proto3" json:"cols,omitempty"` 8534 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8535 XXX_unrecognized []byte `json:"-"` 8536 XXX_sizecache int32 `json:"-"` 8537 } 8538 8539 func (m *FkColName) Reset() { *m = FkColName{} } 8540 func (m *FkColName) String() string { return proto.CompactTextString(m) } 8541 func (*FkColName) ProtoMessage() {} 8542 func (*FkColName) Descriptor() ([]byte, []int) { 8543 return fileDescriptor_2d655ab2f7683c23, []int{81} 8544 } 8545 func (m *FkColName) XXX_Unmarshal(b []byte) error { 8546 return m.Unmarshal(b) 8547 } 8548 func (m *FkColName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8549 if deterministic { 8550 return xxx_messageInfo_FkColName.Marshal(b, m, deterministic) 8551 } else { 8552 b = b[:cap(b)] 8553 n, err := m.MarshalToSizedBuffer(b) 8554 if err != nil { 8555 return nil, err 8556 } 8557 return b[:n], nil 8558 } 8559 } 8560 func (m *FkColName) XXX_Merge(src proto.Message) { 8561 xxx_messageInfo_FkColName.Merge(m, src) 8562 } 8563 func (m *FkColName) XXX_Size() int { 8564 return m.ProtoSize() 8565 } 8566 func (m *FkColName) XXX_DiscardUnknown() { 8567 xxx_messageInfo_FkColName.DiscardUnknown(m) 8568 } 8569 8570 var xxx_messageInfo_FkColName proto.InternalMessageInfo 8571 8572 func (m *FkColName) GetCols() []string { 8573 if m != nil { 8574 return m.Cols 8575 } 8576 return nil 8577 } 8578 8579 // ForeignKeyInfo holds the fk forward reference. 8580 // 8581 // Example: t2(b) --fk--> t1(a) but t1 defined after t2 8582 // 8583 // set foreign_key_checks=0; 8584 // 8585 // create table t2(b int, constraint c1 foreign key (b) references t1(a)); 8586 // 8587 // create table t1(a int primary key); 8588 // 8589 // The reason we need ForeignKeyInfo instead of using ForeignKeyDef is that: 8590 // 8591 // ForeignKeyDef only has table id, column id that does not exist in handling fk forward reference. 8592 // ForeignKeyDef does not have database name, table name and column names, 8593 // ForeignKeyInfo also has the ForeignKeyDef internally that holds the child table fk definition. 8594 type ForeignKeyInfo struct { 8595 Db string `protobuf:"bytes,1,opt,name=db,proto3" json:"db,omitempty"` 8596 Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` 8597 Cols *FkColName `protobuf:"bytes,3,opt,name=cols,proto3" json:"cols,omitempty"` 8598 ColsReferred *FkColName `protobuf:"bytes,4,opt,name=colsReferred,proto3" json:"colsReferred,omitempty"` 8599 Def *ForeignKeyDef `protobuf:"bytes,5,opt,name=def,proto3" json:"def,omitempty"` 8600 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8601 XXX_unrecognized []byte `json:"-"` 8602 XXX_sizecache int32 `json:"-"` 8603 } 8604 8605 func (m *ForeignKeyInfo) Reset() { *m = ForeignKeyInfo{} } 8606 func (m *ForeignKeyInfo) String() string { return proto.CompactTextString(m) } 8607 func (*ForeignKeyInfo) ProtoMessage() {} 8608 func (*ForeignKeyInfo) Descriptor() ([]byte, []int) { 8609 return fileDescriptor_2d655ab2f7683c23, []int{82} 8610 } 8611 func (m *ForeignKeyInfo) XXX_Unmarshal(b []byte) error { 8612 return m.Unmarshal(b) 8613 } 8614 func (m *ForeignKeyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8615 if deterministic { 8616 return xxx_messageInfo_ForeignKeyInfo.Marshal(b, m, deterministic) 8617 } else { 8618 b = b[:cap(b)] 8619 n, err := m.MarshalToSizedBuffer(b) 8620 if err != nil { 8621 return nil, err 8622 } 8623 return b[:n], nil 8624 } 8625 } 8626 func (m *ForeignKeyInfo) XXX_Merge(src proto.Message) { 8627 xxx_messageInfo_ForeignKeyInfo.Merge(m, src) 8628 } 8629 func (m *ForeignKeyInfo) XXX_Size() int { 8630 return m.ProtoSize() 8631 } 8632 func (m *ForeignKeyInfo) XXX_DiscardUnknown() { 8633 xxx_messageInfo_ForeignKeyInfo.DiscardUnknown(m) 8634 } 8635 8636 var xxx_messageInfo_ForeignKeyInfo proto.InternalMessageInfo 8637 8638 func (m *ForeignKeyInfo) GetDb() string { 8639 if m != nil { 8640 return m.Db 8641 } 8642 return "" 8643 } 8644 8645 func (m *ForeignKeyInfo) GetTable() string { 8646 if m != nil { 8647 return m.Table 8648 } 8649 return "" 8650 } 8651 8652 func (m *ForeignKeyInfo) GetCols() *FkColName { 8653 if m != nil { 8654 return m.Cols 8655 } 8656 return nil 8657 } 8658 8659 func (m *ForeignKeyInfo) GetColsReferred() *FkColName { 8660 if m != nil { 8661 return m.ColsReferred 8662 } 8663 return nil 8664 } 8665 8666 func (m *ForeignKeyInfo) GetDef() *ForeignKeyDef { 8667 if m != nil { 8668 return m.Def 8669 } 8670 return nil 8671 } 8672 8673 type CreateTable struct { 8674 IfNotExists bool `protobuf:"varint,1,opt,name=if_not_exists,json=ifNotExists,proto3" json:"if_not_exists,omitempty"` 8675 Temporary bool `protobuf:"varint,2,opt,name=temporary,proto3" json:"temporary,omitempty"` 8676 Database string `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"` 8677 Replace bool `protobuf:"varint,4,opt,name=replace,proto3" json:"replace,omitempty"` 8678 TableDef *TableDef `protobuf:"bytes,5,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 8679 IndexTables []*TableDef `protobuf:"bytes,6,rep,name=index_tables,json=indexTables,proto3" json:"index_tables,omitempty"` 8680 // we need the db/table name of foreign key when create table. but we don't need it in ForeignKeyDef 8681 FkDbs []string `protobuf:"bytes,7,rep,name=fk_dbs,json=fkDbs,proto3" json:"fk_dbs,omitempty"` 8682 FkTables []string `protobuf:"bytes,8,rep,name=fk_tables,json=fkTables,proto3" json:"fk_tables,omitempty"` 8683 // we need column name when create table, but not in ForeignKeyDef 8684 FkCols []*FkColName `protobuf:"bytes,9,rep,name=fk_cols,json=fkCols,proto3" json:"fk_cols,omitempty"` 8685 PartitionTables []*TableDef `protobuf:"bytes,10,rep,name=partition_tables,json=partitionTables,proto3" json:"partition_tables,omitempty"` 8686 CreateAsSelectSql string `protobuf:"bytes,11,opt,name=create_as_select_sql,json=createAsSelectSql,proto3" json:"create_as_select_sql,omitempty"` 8687 // create table may insert fk records related to this table 8688 // into mo_foreign_keys 8689 UpdateFkSqls []string `protobuf:"bytes,12,rep,name=updateFkSqls,proto3" json:"updateFkSqls,omitempty"` 8690 // fks forward reference to me 8691 FksReferToMe []*ForeignKeyInfo `protobuf:"bytes,13,rep,name=fksReferToMe,proto3" json:"fksReferToMe,omitempty"` 8692 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8693 XXX_unrecognized []byte `json:"-"` 8694 XXX_sizecache int32 `json:"-"` 8695 } 8696 8697 func (m *CreateTable) Reset() { *m = CreateTable{} } 8698 func (m *CreateTable) String() string { return proto.CompactTextString(m) } 8699 func (*CreateTable) ProtoMessage() {} 8700 func (*CreateTable) Descriptor() ([]byte, []int) { 8701 return fileDescriptor_2d655ab2f7683c23, []int{83} 8702 } 8703 func (m *CreateTable) XXX_Unmarshal(b []byte) error { 8704 return m.Unmarshal(b) 8705 } 8706 func (m *CreateTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8707 if deterministic { 8708 return xxx_messageInfo_CreateTable.Marshal(b, m, deterministic) 8709 } else { 8710 b = b[:cap(b)] 8711 n, err := m.MarshalToSizedBuffer(b) 8712 if err != nil { 8713 return nil, err 8714 } 8715 return b[:n], nil 8716 } 8717 } 8718 func (m *CreateTable) XXX_Merge(src proto.Message) { 8719 xxx_messageInfo_CreateTable.Merge(m, src) 8720 } 8721 func (m *CreateTable) XXX_Size() int { 8722 return m.ProtoSize() 8723 } 8724 func (m *CreateTable) XXX_DiscardUnknown() { 8725 xxx_messageInfo_CreateTable.DiscardUnknown(m) 8726 } 8727 8728 var xxx_messageInfo_CreateTable proto.InternalMessageInfo 8729 8730 func (m *CreateTable) GetIfNotExists() bool { 8731 if m != nil { 8732 return m.IfNotExists 8733 } 8734 return false 8735 } 8736 8737 func (m *CreateTable) GetTemporary() bool { 8738 if m != nil { 8739 return m.Temporary 8740 } 8741 return false 8742 } 8743 8744 func (m *CreateTable) GetDatabase() string { 8745 if m != nil { 8746 return m.Database 8747 } 8748 return "" 8749 } 8750 8751 func (m *CreateTable) GetReplace() bool { 8752 if m != nil { 8753 return m.Replace 8754 } 8755 return false 8756 } 8757 8758 func (m *CreateTable) GetTableDef() *TableDef { 8759 if m != nil { 8760 return m.TableDef 8761 } 8762 return nil 8763 } 8764 8765 func (m *CreateTable) GetIndexTables() []*TableDef { 8766 if m != nil { 8767 return m.IndexTables 8768 } 8769 return nil 8770 } 8771 8772 func (m *CreateTable) GetFkDbs() []string { 8773 if m != nil { 8774 return m.FkDbs 8775 } 8776 return nil 8777 } 8778 8779 func (m *CreateTable) GetFkTables() []string { 8780 if m != nil { 8781 return m.FkTables 8782 } 8783 return nil 8784 } 8785 8786 func (m *CreateTable) GetFkCols() []*FkColName { 8787 if m != nil { 8788 return m.FkCols 8789 } 8790 return nil 8791 } 8792 8793 func (m *CreateTable) GetPartitionTables() []*TableDef { 8794 if m != nil { 8795 return m.PartitionTables 8796 } 8797 return nil 8798 } 8799 8800 func (m *CreateTable) GetCreateAsSelectSql() string { 8801 if m != nil { 8802 return m.CreateAsSelectSql 8803 } 8804 return "" 8805 } 8806 8807 func (m *CreateTable) GetUpdateFkSqls() []string { 8808 if m != nil { 8809 return m.UpdateFkSqls 8810 } 8811 return nil 8812 } 8813 8814 func (m *CreateTable) GetFksReferToMe() []*ForeignKeyInfo { 8815 if m != nil { 8816 return m.FksReferToMe 8817 } 8818 return nil 8819 } 8820 8821 type AlterTableDrop struct { 8822 Typ AlterTableDrop_Typ `protobuf:"varint,1,opt,name=typ,proto3,enum=plan.AlterTableDrop_Typ" json:"typ,omitempty"` 8823 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 8824 IndexTableName string `protobuf:"bytes,3,opt,name=index_table_name,json=indexTableName,proto3" json:"index_table_name,omitempty"` 8825 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8826 XXX_unrecognized []byte `json:"-"` 8827 XXX_sizecache int32 `json:"-"` 8828 } 8829 8830 func (m *AlterTableDrop) Reset() { *m = AlterTableDrop{} } 8831 func (m *AlterTableDrop) String() string { return proto.CompactTextString(m) } 8832 func (*AlterTableDrop) ProtoMessage() {} 8833 func (*AlterTableDrop) Descriptor() ([]byte, []int) { 8834 return fileDescriptor_2d655ab2f7683c23, []int{84} 8835 } 8836 func (m *AlterTableDrop) XXX_Unmarshal(b []byte) error { 8837 return m.Unmarshal(b) 8838 } 8839 func (m *AlterTableDrop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8840 if deterministic { 8841 return xxx_messageInfo_AlterTableDrop.Marshal(b, m, deterministic) 8842 } else { 8843 b = b[:cap(b)] 8844 n, err := m.MarshalToSizedBuffer(b) 8845 if err != nil { 8846 return nil, err 8847 } 8848 return b[:n], nil 8849 } 8850 } 8851 func (m *AlterTableDrop) XXX_Merge(src proto.Message) { 8852 xxx_messageInfo_AlterTableDrop.Merge(m, src) 8853 } 8854 func (m *AlterTableDrop) XXX_Size() int { 8855 return m.ProtoSize() 8856 } 8857 func (m *AlterTableDrop) XXX_DiscardUnknown() { 8858 xxx_messageInfo_AlterTableDrop.DiscardUnknown(m) 8859 } 8860 8861 var xxx_messageInfo_AlterTableDrop proto.InternalMessageInfo 8862 8863 func (m *AlterTableDrop) GetTyp() AlterTableDrop_Typ { 8864 if m != nil { 8865 return m.Typ 8866 } 8867 return AlterTableDrop_COLUMN 8868 } 8869 8870 func (m *AlterTableDrop) GetName() string { 8871 if m != nil { 8872 return m.Name 8873 } 8874 return "" 8875 } 8876 8877 func (m *AlterTableDrop) GetIndexTableName() string { 8878 if m != nil { 8879 return m.IndexTableName 8880 } 8881 return "" 8882 } 8883 8884 type AlterTableAddFk struct { 8885 DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` 8886 TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` 8887 Cols []string `protobuf:"bytes,3,rep,name=cols,proto3" json:"cols,omitempty"` 8888 Fkey *ForeignKeyDef `protobuf:"bytes,4,opt,name=fkey,proto3" json:"fkey,omitempty"` 8889 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8890 XXX_unrecognized []byte `json:"-"` 8891 XXX_sizecache int32 `json:"-"` 8892 } 8893 8894 func (m *AlterTableAddFk) Reset() { *m = AlterTableAddFk{} } 8895 func (m *AlterTableAddFk) String() string { return proto.CompactTextString(m) } 8896 func (*AlterTableAddFk) ProtoMessage() {} 8897 func (*AlterTableAddFk) Descriptor() ([]byte, []int) { 8898 return fileDescriptor_2d655ab2f7683c23, []int{85} 8899 } 8900 func (m *AlterTableAddFk) XXX_Unmarshal(b []byte) error { 8901 return m.Unmarshal(b) 8902 } 8903 func (m *AlterTableAddFk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8904 if deterministic { 8905 return xxx_messageInfo_AlterTableAddFk.Marshal(b, m, deterministic) 8906 } else { 8907 b = b[:cap(b)] 8908 n, err := m.MarshalToSizedBuffer(b) 8909 if err != nil { 8910 return nil, err 8911 } 8912 return b[:n], nil 8913 } 8914 } 8915 func (m *AlterTableAddFk) XXX_Merge(src proto.Message) { 8916 xxx_messageInfo_AlterTableAddFk.Merge(m, src) 8917 } 8918 func (m *AlterTableAddFk) XXX_Size() int { 8919 return m.ProtoSize() 8920 } 8921 func (m *AlterTableAddFk) XXX_DiscardUnknown() { 8922 xxx_messageInfo_AlterTableAddFk.DiscardUnknown(m) 8923 } 8924 8925 var xxx_messageInfo_AlterTableAddFk proto.InternalMessageInfo 8926 8927 func (m *AlterTableAddFk) GetDbName() string { 8928 if m != nil { 8929 return m.DbName 8930 } 8931 return "" 8932 } 8933 8934 func (m *AlterTableAddFk) GetTableName() string { 8935 if m != nil { 8936 return m.TableName 8937 } 8938 return "" 8939 } 8940 8941 func (m *AlterTableAddFk) GetCols() []string { 8942 if m != nil { 8943 return m.Cols 8944 } 8945 return nil 8946 } 8947 8948 func (m *AlterTableAddFk) GetFkey() *ForeignKeyDef { 8949 if m != nil { 8950 return m.Fkey 8951 } 8952 return nil 8953 } 8954 8955 type AlterTableAddIndex struct { 8956 DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` 8957 TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` 8958 OriginTablePrimaryKey string `protobuf:"bytes,3,opt,name=origin_table_primary_key,json=originTablePrimaryKey,proto3" json:"origin_table_primary_key,omitempty"` 8959 IndexInfo *CreateTable `protobuf:"bytes,4,opt,name=indexInfo,proto3" json:"indexInfo,omitempty"` 8960 IndexTableExist bool `protobuf:"varint,5,opt,name=index_table_exist,json=indexTableExist,proto3" json:"index_table_exist,omitempty"` 8961 XXX_NoUnkeyedLiteral struct{} `json:"-"` 8962 XXX_unrecognized []byte `json:"-"` 8963 XXX_sizecache int32 `json:"-"` 8964 } 8965 8966 func (m *AlterTableAddIndex) Reset() { *m = AlterTableAddIndex{} } 8967 func (m *AlterTableAddIndex) String() string { return proto.CompactTextString(m) } 8968 func (*AlterTableAddIndex) ProtoMessage() {} 8969 func (*AlterTableAddIndex) Descriptor() ([]byte, []int) { 8970 return fileDescriptor_2d655ab2f7683c23, []int{86} 8971 } 8972 func (m *AlterTableAddIndex) XXX_Unmarshal(b []byte) error { 8973 return m.Unmarshal(b) 8974 } 8975 func (m *AlterTableAddIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 8976 if deterministic { 8977 return xxx_messageInfo_AlterTableAddIndex.Marshal(b, m, deterministic) 8978 } else { 8979 b = b[:cap(b)] 8980 n, err := m.MarshalToSizedBuffer(b) 8981 if err != nil { 8982 return nil, err 8983 } 8984 return b[:n], nil 8985 } 8986 } 8987 func (m *AlterTableAddIndex) XXX_Merge(src proto.Message) { 8988 xxx_messageInfo_AlterTableAddIndex.Merge(m, src) 8989 } 8990 func (m *AlterTableAddIndex) XXX_Size() int { 8991 return m.ProtoSize() 8992 } 8993 func (m *AlterTableAddIndex) XXX_DiscardUnknown() { 8994 xxx_messageInfo_AlterTableAddIndex.DiscardUnknown(m) 8995 } 8996 8997 var xxx_messageInfo_AlterTableAddIndex proto.InternalMessageInfo 8998 8999 func (m *AlterTableAddIndex) GetDbName() string { 9000 if m != nil { 9001 return m.DbName 9002 } 9003 return "" 9004 } 9005 9006 func (m *AlterTableAddIndex) GetTableName() string { 9007 if m != nil { 9008 return m.TableName 9009 } 9010 return "" 9011 } 9012 9013 func (m *AlterTableAddIndex) GetOriginTablePrimaryKey() string { 9014 if m != nil { 9015 return m.OriginTablePrimaryKey 9016 } 9017 return "" 9018 } 9019 9020 func (m *AlterTableAddIndex) GetIndexInfo() *CreateTable { 9021 if m != nil { 9022 return m.IndexInfo 9023 } 9024 return nil 9025 } 9026 9027 func (m *AlterTableAddIndex) GetIndexTableExist() bool { 9028 if m != nil { 9029 return m.IndexTableExist 9030 } 9031 return false 9032 } 9033 9034 type AlterTableDropIndex struct { 9035 DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` 9036 TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` 9037 IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` 9038 IndexTableName string `protobuf:"bytes,4,opt,name=index_table_name,json=indexTableName,proto3" json:"index_table_name,omitempty"` 9039 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9040 XXX_unrecognized []byte `json:"-"` 9041 XXX_sizecache int32 `json:"-"` 9042 } 9043 9044 func (m *AlterTableDropIndex) Reset() { *m = AlterTableDropIndex{} } 9045 func (m *AlterTableDropIndex) String() string { return proto.CompactTextString(m) } 9046 func (*AlterTableDropIndex) ProtoMessage() {} 9047 func (*AlterTableDropIndex) Descriptor() ([]byte, []int) { 9048 return fileDescriptor_2d655ab2f7683c23, []int{87} 9049 } 9050 func (m *AlterTableDropIndex) XXX_Unmarshal(b []byte) error { 9051 return m.Unmarshal(b) 9052 } 9053 func (m *AlterTableDropIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9054 if deterministic { 9055 return xxx_messageInfo_AlterTableDropIndex.Marshal(b, m, deterministic) 9056 } else { 9057 b = b[:cap(b)] 9058 n, err := m.MarshalToSizedBuffer(b) 9059 if err != nil { 9060 return nil, err 9061 } 9062 return b[:n], nil 9063 } 9064 } 9065 func (m *AlterTableDropIndex) XXX_Merge(src proto.Message) { 9066 xxx_messageInfo_AlterTableDropIndex.Merge(m, src) 9067 } 9068 func (m *AlterTableDropIndex) XXX_Size() int { 9069 return m.ProtoSize() 9070 } 9071 func (m *AlterTableDropIndex) XXX_DiscardUnknown() { 9072 xxx_messageInfo_AlterTableDropIndex.DiscardUnknown(m) 9073 } 9074 9075 var xxx_messageInfo_AlterTableDropIndex proto.InternalMessageInfo 9076 9077 func (m *AlterTableDropIndex) GetDbName() string { 9078 if m != nil { 9079 return m.DbName 9080 } 9081 return "" 9082 } 9083 9084 func (m *AlterTableDropIndex) GetTableName() string { 9085 if m != nil { 9086 return m.TableName 9087 } 9088 return "" 9089 } 9090 9091 func (m *AlterTableDropIndex) GetIndexName() string { 9092 if m != nil { 9093 return m.IndexName 9094 } 9095 return "" 9096 } 9097 9098 func (m *AlterTableDropIndex) GetIndexTableName() string { 9099 if m != nil { 9100 return m.IndexTableName 9101 } 9102 return "" 9103 } 9104 9105 type AlterTableAlterIndex struct { 9106 DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` 9107 TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` 9108 IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` 9109 Visible bool `protobuf:"varint,4,opt,name=visible,proto3" json:"visible,omitempty"` 9110 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9111 XXX_unrecognized []byte `json:"-"` 9112 XXX_sizecache int32 `json:"-"` 9113 } 9114 9115 func (m *AlterTableAlterIndex) Reset() { *m = AlterTableAlterIndex{} } 9116 func (m *AlterTableAlterIndex) String() string { return proto.CompactTextString(m) } 9117 func (*AlterTableAlterIndex) ProtoMessage() {} 9118 func (*AlterTableAlterIndex) Descriptor() ([]byte, []int) { 9119 return fileDescriptor_2d655ab2f7683c23, []int{88} 9120 } 9121 func (m *AlterTableAlterIndex) XXX_Unmarshal(b []byte) error { 9122 return m.Unmarshal(b) 9123 } 9124 func (m *AlterTableAlterIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9125 if deterministic { 9126 return xxx_messageInfo_AlterTableAlterIndex.Marshal(b, m, deterministic) 9127 } else { 9128 b = b[:cap(b)] 9129 n, err := m.MarshalToSizedBuffer(b) 9130 if err != nil { 9131 return nil, err 9132 } 9133 return b[:n], nil 9134 } 9135 } 9136 func (m *AlterTableAlterIndex) XXX_Merge(src proto.Message) { 9137 xxx_messageInfo_AlterTableAlterIndex.Merge(m, src) 9138 } 9139 func (m *AlterTableAlterIndex) XXX_Size() int { 9140 return m.ProtoSize() 9141 } 9142 func (m *AlterTableAlterIndex) XXX_DiscardUnknown() { 9143 xxx_messageInfo_AlterTableAlterIndex.DiscardUnknown(m) 9144 } 9145 9146 var xxx_messageInfo_AlterTableAlterIndex proto.InternalMessageInfo 9147 9148 func (m *AlterTableAlterIndex) GetDbName() string { 9149 if m != nil { 9150 return m.DbName 9151 } 9152 return "" 9153 } 9154 9155 func (m *AlterTableAlterIndex) GetTableName() string { 9156 if m != nil { 9157 return m.TableName 9158 } 9159 return "" 9160 } 9161 9162 func (m *AlterTableAlterIndex) GetIndexName() string { 9163 if m != nil { 9164 return m.IndexName 9165 } 9166 return "" 9167 } 9168 9169 func (m *AlterTableAlterIndex) GetVisible() bool { 9170 if m != nil { 9171 return m.Visible 9172 } 9173 return false 9174 } 9175 9176 type AlterTableAlterReIndex struct { 9177 DbName string `protobuf:"bytes,1,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"` 9178 TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` 9179 IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` 9180 IndexAlgoParamList int64 `protobuf:"varint,4,opt,name=index_algo_param_list,json=indexAlgoParamList,proto3" json:"index_algo_param_list,omitempty"` 9181 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9182 XXX_unrecognized []byte `json:"-"` 9183 XXX_sizecache int32 `json:"-"` 9184 } 9185 9186 func (m *AlterTableAlterReIndex) Reset() { *m = AlterTableAlterReIndex{} } 9187 func (m *AlterTableAlterReIndex) String() string { return proto.CompactTextString(m) } 9188 func (*AlterTableAlterReIndex) ProtoMessage() {} 9189 func (*AlterTableAlterReIndex) Descriptor() ([]byte, []int) { 9190 return fileDescriptor_2d655ab2f7683c23, []int{89} 9191 } 9192 func (m *AlterTableAlterReIndex) XXX_Unmarshal(b []byte) error { 9193 return m.Unmarshal(b) 9194 } 9195 func (m *AlterTableAlterReIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9196 if deterministic { 9197 return xxx_messageInfo_AlterTableAlterReIndex.Marshal(b, m, deterministic) 9198 } else { 9199 b = b[:cap(b)] 9200 n, err := m.MarshalToSizedBuffer(b) 9201 if err != nil { 9202 return nil, err 9203 } 9204 return b[:n], nil 9205 } 9206 } 9207 func (m *AlterTableAlterReIndex) XXX_Merge(src proto.Message) { 9208 xxx_messageInfo_AlterTableAlterReIndex.Merge(m, src) 9209 } 9210 func (m *AlterTableAlterReIndex) XXX_Size() int { 9211 return m.ProtoSize() 9212 } 9213 func (m *AlterTableAlterReIndex) XXX_DiscardUnknown() { 9214 xxx_messageInfo_AlterTableAlterReIndex.DiscardUnknown(m) 9215 } 9216 9217 var xxx_messageInfo_AlterTableAlterReIndex proto.InternalMessageInfo 9218 9219 func (m *AlterTableAlterReIndex) GetDbName() string { 9220 if m != nil { 9221 return m.DbName 9222 } 9223 return "" 9224 } 9225 9226 func (m *AlterTableAlterReIndex) GetTableName() string { 9227 if m != nil { 9228 return m.TableName 9229 } 9230 return "" 9231 } 9232 9233 func (m *AlterTableAlterReIndex) GetIndexName() string { 9234 if m != nil { 9235 return m.IndexName 9236 } 9237 return "" 9238 } 9239 9240 func (m *AlterTableAlterReIndex) GetIndexAlgoParamList() int64 { 9241 if m != nil { 9242 return m.IndexAlgoParamList 9243 } 9244 return 0 9245 } 9246 9247 type AlterTableAddPartition struct { 9248 Definitions []*PartitionItem `protobuf:"bytes,1,rep,name=definitions,proto3" json:"definitions,omitempty"` 9249 PartitionTables []*TableDef `protobuf:"bytes,2,rep,name=partition_tables,json=partitionTables,proto3" json:"partition_tables,omitempty"` 9250 PartitionDef *PartitionByDef `protobuf:"bytes,3,opt,name=PartitionDef,proto3" json:"PartitionDef,omitempty"` 9251 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9252 XXX_unrecognized []byte `json:"-"` 9253 XXX_sizecache int32 `json:"-"` 9254 } 9255 9256 func (m *AlterTableAddPartition) Reset() { *m = AlterTableAddPartition{} } 9257 func (m *AlterTableAddPartition) String() string { return proto.CompactTextString(m) } 9258 func (*AlterTableAddPartition) ProtoMessage() {} 9259 func (*AlterTableAddPartition) Descriptor() ([]byte, []int) { 9260 return fileDescriptor_2d655ab2f7683c23, []int{90} 9261 } 9262 func (m *AlterTableAddPartition) XXX_Unmarshal(b []byte) error { 9263 return m.Unmarshal(b) 9264 } 9265 func (m *AlterTableAddPartition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9266 if deterministic { 9267 return xxx_messageInfo_AlterTableAddPartition.Marshal(b, m, deterministic) 9268 } else { 9269 b = b[:cap(b)] 9270 n, err := m.MarshalToSizedBuffer(b) 9271 if err != nil { 9272 return nil, err 9273 } 9274 return b[:n], nil 9275 } 9276 } 9277 func (m *AlterTableAddPartition) XXX_Merge(src proto.Message) { 9278 xxx_messageInfo_AlterTableAddPartition.Merge(m, src) 9279 } 9280 func (m *AlterTableAddPartition) XXX_Size() int { 9281 return m.ProtoSize() 9282 } 9283 func (m *AlterTableAddPartition) XXX_DiscardUnknown() { 9284 xxx_messageInfo_AlterTableAddPartition.DiscardUnknown(m) 9285 } 9286 9287 var xxx_messageInfo_AlterTableAddPartition proto.InternalMessageInfo 9288 9289 func (m *AlterTableAddPartition) GetDefinitions() []*PartitionItem { 9290 if m != nil { 9291 return m.Definitions 9292 } 9293 return nil 9294 } 9295 9296 func (m *AlterTableAddPartition) GetPartitionTables() []*TableDef { 9297 if m != nil { 9298 return m.PartitionTables 9299 } 9300 return nil 9301 } 9302 9303 func (m *AlterTableAddPartition) GetPartitionDef() *PartitionByDef { 9304 if m != nil { 9305 return m.PartitionDef 9306 } 9307 return nil 9308 } 9309 9310 type AlterTableComment struct { 9311 NewComment string `protobuf:"bytes,1,opt,name=new_comment,json=newComment,proto3" json:"new_comment,omitempty"` 9312 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9313 XXX_unrecognized []byte `json:"-"` 9314 XXX_sizecache int32 `json:"-"` 9315 } 9316 9317 func (m *AlterTableComment) Reset() { *m = AlterTableComment{} } 9318 func (m *AlterTableComment) String() string { return proto.CompactTextString(m) } 9319 func (*AlterTableComment) ProtoMessage() {} 9320 func (*AlterTableComment) Descriptor() ([]byte, []int) { 9321 return fileDescriptor_2d655ab2f7683c23, []int{91} 9322 } 9323 func (m *AlterTableComment) XXX_Unmarshal(b []byte) error { 9324 return m.Unmarshal(b) 9325 } 9326 func (m *AlterTableComment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9327 if deterministic { 9328 return xxx_messageInfo_AlterTableComment.Marshal(b, m, deterministic) 9329 } else { 9330 b = b[:cap(b)] 9331 n, err := m.MarshalToSizedBuffer(b) 9332 if err != nil { 9333 return nil, err 9334 } 9335 return b[:n], nil 9336 } 9337 } 9338 func (m *AlterTableComment) XXX_Merge(src proto.Message) { 9339 xxx_messageInfo_AlterTableComment.Merge(m, src) 9340 } 9341 func (m *AlterTableComment) XXX_Size() int { 9342 return m.ProtoSize() 9343 } 9344 func (m *AlterTableComment) XXX_DiscardUnknown() { 9345 xxx_messageInfo_AlterTableComment.DiscardUnknown(m) 9346 } 9347 9348 var xxx_messageInfo_AlterTableComment proto.InternalMessageInfo 9349 9350 func (m *AlterTableComment) GetNewComment() string { 9351 if m != nil { 9352 return m.NewComment 9353 } 9354 return "" 9355 } 9356 9357 type AlterTableName struct { 9358 OldName string `protobuf:"bytes,1,opt,name=old_name,json=oldName,proto3" json:"old_name,omitempty"` 9359 NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` 9360 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9361 XXX_unrecognized []byte `json:"-"` 9362 XXX_sizecache int32 `json:"-"` 9363 } 9364 9365 func (m *AlterTableName) Reset() { *m = AlterTableName{} } 9366 func (m *AlterTableName) String() string { return proto.CompactTextString(m) } 9367 func (*AlterTableName) ProtoMessage() {} 9368 func (*AlterTableName) Descriptor() ([]byte, []int) { 9369 return fileDescriptor_2d655ab2f7683c23, []int{92} 9370 } 9371 func (m *AlterTableName) XXX_Unmarshal(b []byte) error { 9372 return m.Unmarshal(b) 9373 } 9374 func (m *AlterTableName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9375 if deterministic { 9376 return xxx_messageInfo_AlterTableName.Marshal(b, m, deterministic) 9377 } else { 9378 b = b[:cap(b)] 9379 n, err := m.MarshalToSizedBuffer(b) 9380 if err != nil { 9381 return nil, err 9382 } 9383 return b[:n], nil 9384 } 9385 } 9386 func (m *AlterTableName) XXX_Merge(src proto.Message) { 9387 xxx_messageInfo_AlterTableName.Merge(m, src) 9388 } 9389 func (m *AlterTableName) XXX_Size() int { 9390 return m.ProtoSize() 9391 } 9392 func (m *AlterTableName) XXX_DiscardUnknown() { 9393 xxx_messageInfo_AlterTableName.DiscardUnknown(m) 9394 } 9395 9396 var xxx_messageInfo_AlterTableName proto.InternalMessageInfo 9397 9398 func (m *AlterTableName) GetOldName() string { 9399 if m != nil { 9400 return m.OldName 9401 } 9402 return "" 9403 } 9404 9405 func (m *AlterTableName) GetNewName() string { 9406 if m != nil { 9407 return m.NewName 9408 } 9409 return "" 9410 } 9411 9412 type AlterAddColumn struct { 9413 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 9414 PreName string `protobuf:"bytes,2,opt,name=pre_name,json=preName,proto3" json:"pre_name,omitempty"` 9415 Type Type `protobuf:"bytes,3,opt,name=type,proto3" json:"type"` 9416 Pos int32 `protobuf:"varint,4,opt,name=pos,proto3" json:"pos,omitempty"` 9417 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9418 XXX_unrecognized []byte `json:"-"` 9419 XXX_sizecache int32 `json:"-"` 9420 } 9421 9422 func (m *AlterAddColumn) Reset() { *m = AlterAddColumn{} } 9423 func (m *AlterAddColumn) String() string { return proto.CompactTextString(m) } 9424 func (*AlterAddColumn) ProtoMessage() {} 9425 func (*AlterAddColumn) Descriptor() ([]byte, []int) { 9426 return fileDescriptor_2d655ab2f7683c23, []int{93} 9427 } 9428 func (m *AlterAddColumn) XXX_Unmarshal(b []byte) error { 9429 return m.Unmarshal(b) 9430 } 9431 func (m *AlterAddColumn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9432 if deterministic { 9433 return xxx_messageInfo_AlterAddColumn.Marshal(b, m, deterministic) 9434 } else { 9435 b = b[:cap(b)] 9436 n, err := m.MarshalToSizedBuffer(b) 9437 if err != nil { 9438 return nil, err 9439 } 9440 return b[:n], nil 9441 } 9442 } 9443 func (m *AlterAddColumn) XXX_Merge(src proto.Message) { 9444 xxx_messageInfo_AlterAddColumn.Merge(m, src) 9445 } 9446 func (m *AlterAddColumn) XXX_Size() int { 9447 return m.ProtoSize() 9448 } 9449 func (m *AlterAddColumn) XXX_DiscardUnknown() { 9450 xxx_messageInfo_AlterAddColumn.DiscardUnknown(m) 9451 } 9452 9453 var xxx_messageInfo_AlterAddColumn proto.InternalMessageInfo 9454 9455 func (m *AlterAddColumn) GetName() string { 9456 if m != nil { 9457 return m.Name 9458 } 9459 return "" 9460 } 9461 9462 func (m *AlterAddColumn) GetPreName() string { 9463 if m != nil { 9464 return m.PreName 9465 } 9466 return "" 9467 } 9468 9469 func (m *AlterAddColumn) GetType() Type { 9470 if m != nil { 9471 return m.Type 9472 } 9473 return Type{} 9474 } 9475 9476 func (m *AlterAddColumn) GetPos() int32 { 9477 if m != nil { 9478 return m.Pos 9479 } 9480 return 0 9481 } 9482 9483 type AlterDropColumn struct { 9484 Idx uint32 `protobuf:"varint,1,opt,name=idx,proto3" json:"idx,omitempty"` 9485 Seq uint32 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` 9486 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9487 XXX_unrecognized []byte `json:"-"` 9488 XXX_sizecache int32 `json:"-"` 9489 } 9490 9491 func (m *AlterDropColumn) Reset() { *m = AlterDropColumn{} } 9492 func (m *AlterDropColumn) String() string { return proto.CompactTextString(m) } 9493 func (*AlterDropColumn) ProtoMessage() {} 9494 func (*AlterDropColumn) Descriptor() ([]byte, []int) { 9495 return fileDescriptor_2d655ab2f7683c23, []int{94} 9496 } 9497 func (m *AlterDropColumn) XXX_Unmarshal(b []byte) error { 9498 return m.Unmarshal(b) 9499 } 9500 func (m *AlterDropColumn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9501 if deterministic { 9502 return xxx_messageInfo_AlterDropColumn.Marshal(b, m, deterministic) 9503 } else { 9504 b = b[:cap(b)] 9505 n, err := m.MarshalToSizedBuffer(b) 9506 if err != nil { 9507 return nil, err 9508 } 9509 return b[:n], nil 9510 } 9511 } 9512 func (m *AlterDropColumn) XXX_Merge(src proto.Message) { 9513 xxx_messageInfo_AlterDropColumn.Merge(m, src) 9514 } 9515 func (m *AlterDropColumn) XXX_Size() int { 9516 return m.ProtoSize() 9517 } 9518 func (m *AlterDropColumn) XXX_DiscardUnknown() { 9519 xxx_messageInfo_AlterDropColumn.DiscardUnknown(m) 9520 } 9521 9522 var xxx_messageInfo_AlterDropColumn proto.InternalMessageInfo 9523 9524 func (m *AlterDropColumn) GetIdx() uint32 { 9525 if m != nil { 9526 return m.Idx 9527 } 9528 return 0 9529 } 9530 9531 func (m *AlterDropColumn) GetSeq() uint32 { 9532 if m != nil { 9533 return m.Seq 9534 } 9535 return 0 9536 } 9537 9538 type AlterTable struct { 9539 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` 9540 TableDef *TableDef `protobuf:"bytes,2,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 9541 CopyTableDef *TableDef `protobuf:"bytes,3,opt,name=copy_table_def,json=copyTableDef,proto3" json:"copy_table_def,omitempty"` 9542 IsClusterTable bool `protobuf:"varint,4,opt,name=is_cluster_table,json=isClusterTable,proto3" json:"is_cluster_table,omitempty"` 9543 Actions []*AlterTable_Action `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions,omitempty"` 9544 AlgorithmType AlterTable_AlgorithmType `protobuf:"varint,6,opt,name=algorithm_type,json=algorithmType,proto3,enum=plan.AlterTable_AlgorithmType" json:"algorithm_type,omitempty"` 9545 CreateTmpTableSql string `protobuf:"bytes,7,opt,name=create_tmp_table_sql,json=createTmpTableSql,proto3" json:"create_tmp_table_sql,omitempty"` 9546 InsertTmpDataSql string `protobuf:"bytes,8,opt,name=insert_tmp_data_sql,json=insertTmpDataSql,proto3" json:"insert_tmp_data_sql,omitempty"` 9547 CreateTableSql string `protobuf:"bytes,9,opt,name=create_table_sql,json=createTableSql,proto3" json:"create_table_sql,omitempty"` 9548 InsertDataSql string `protobuf:"bytes,10,opt,name=insert_data_sql,json=insertDataSql,proto3" json:"insert_data_sql,omitempty"` 9549 ChangeTblColIdMap map[uint64]*ColDef `protobuf:"bytes,11,rep,name=change_tbl_colId_map,json=changeTblColIdMap,proto3" json:"change_tbl_colId_map,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 9550 // detect fk self refer constraint 9551 DetectSqls []string `protobuf:"bytes,12,rep,name=detectSqls,proto3" json:"detectSqls,omitempty"` 9552 // alter table may insert fk records related to this table 9553 // into mo_foreign_keys 9554 UpdateFkSqls []string `protobuf:"bytes,13,rep,name=updateFkSqls,proto3" json:"updateFkSqls,omitempty"` 9555 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9556 XXX_unrecognized []byte `json:"-"` 9557 XXX_sizecache int32 `json:"-"` 9558 } 9559 9560 func (m *AlterTable) Reset() { *m = AlterTable{} } 9561 func (m *AlterTable) String() string { return proto.CompactTextString(m) } 9562 func (*AlterTable) ProtoMessage() {} 9563 func (*AlterTable) Descriptor() ([]byte, []int) { 9564 return fileDescriptor_2d655ab2f7683c23, []int{95} 9565 } 9566 func (m *AlterTable) XXX_Unmarshal(b []byte) error { 9567 return m.Unmarshal(b) 9568 } 9569 func (m *AlterTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9570 if deterministic { 9571 return xxx_messageInfo_AlterTable.Marshal(b, m, deterministic) 9572 } else { 9573 b = b[:cap(b)] 9574 n, err := m.MarshalToSizedBuffer(b) 9575 if err != nil { 9576 return nil, err 9577 } 9578 return b[:n], nil 9579 } 9580 } 9581 func (m *AlterTable) XXX_Merge(src proto.Message) { 9582 xxx_messageInfo_AlterTable.Merge(m, src) 9583 } 9584 func (m *AlterTable) XXX_Size() int { 9585 return m.ProtoSize() 9586 } 9587 func (m *AlterTable) XXX_DiscardUnknown() { 9588 xxx_messageInfo_AlterTable.DiscardUnknown(m) 9589 } 9590 9591 var xxx_messageInfo_AlterTable proto.InternalMessageInfo 9592 9593 func (m *AlterTable) GetDatabase() string { 9594 if m != nil { 9595 return m.Database 9596 } 9597 return "" 9598 } 9599 9600 func (m *AlterTable) GetTableDef() *TableDef { 9601 if m != nil { 9602 return m.TableDef 9603 } 9604 return nil 9605 } 9606 9607 func (m *AlterTable) GetCopyTableDef() *TableDef { 9608 if m != nil { 9609 return m.CopyTableDef 9610 } 9611 return nil 9612 } 9613 9614 func (m *AlterTable) GetIsClusterTable() bool { 9615 if m != nil { 9616 return m.IsClusterTable 9617 } 9618 return false 9619 } 9620 9621 func (m *AlterTable) GetActions() []*AlterTable_Action { 9622 if m != nil { 9623 return m.Actions 9624 } 9625 return nil 9626 } 9627 9628 func (m *AlterTable) GetAlgorithmType() AlterTable_AlgorithmType { 9629 if m != nil { 9630 return m.AlgorithmType 9631 } 9632 return AlterTable_DEFAULT 9633 } 9634 9635 func (m *AlterTable) GetCreateTmpTableSql() string { 9636 if m != nil { 9637 return m.CreateTmpTableSql 9638 } 9639 return "" 9640 } 9641 9642 func (m *AlterTable) GetInsertTmpDataSql() string { 9643 if m != nil { 9644 return m.InsertTmpDataSql 9645 } 9646 return "" 9647 } 9648 9649 func (m *AlterTable) GetCreateTableSql() string { 9650 if m != nil { 9651 return m.CreateTableSql 9652 } 9653 return "" 9654 } 9655 9656 func (m *AlterTable) GetInsertDataSql() string { 9657 if m != nil { 9658 return m.InsertDataSql 9659 } 9660 return "" 9661 } 9662 9663 func (m *AlterTable) GetChangeTblColIdMap() map[uint64]*ColDef { 9664 if m != nil { 9665 return m.ChangeTblColIdMap 9666 } 9667 return nil 9668 } 9669 9670 func (m *AlterTable) GetDetectSqls() []string { 9671 if m != nil { 9672 return m.DetectSqls 9673 } 9674 return nil 9675 } 9676 9677 func (m *AlterTable) GetUpdateFkSqls() []string { 9678 if m != nil { 9679 return m.UpdateFkSqls 9680 } 9681 return nil 9682 } 9683 9684 type AlterTable_Action struct { 9685 // Types that are valid to be assigned to Action: 9686 // 9687 // *AlterTable_Action_Drop 9688 // *AlterTable_Action_AddFk 9689 // *AlterTable_Action_AddIndex 9690 // *AlterTable_Action_AlterIndex 9691 // *AlterTable_Action_AlterComment 9692 // *AlterTable_Action_AlterName 9693 // *AlterTable_Action_AddColumn 9694 // *AlterTable_Action_DropColumn 9695 // *AlterTable_Action_AlterReindex 9696 // *AlterTable_Action_AddPartition 9697 Action isAlterTable_Action_Action `protobuf_oneof:"action"` 9698 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9699 XXX_unrecognized []byte `json:"-"` 9700 XXX_sizecache int32 `json:"-"` 9701 } 9702 9703 func (m *AlterTable_Action) Reset() { *m = AlterTable_Action{} } 9704 func (m *AlterTable_Action) String() string { return proto.CompactTextString(m) } 9705 func (*AlterTable_Action) ProtoMessage() {} 9706 func (*AlterTable_Action) Descriptor() ([]byte, []int) { 9707 return fileDescriptor_2d655ab2f7683c23, []int{95, 0} 9708 } 9709 func (m *AlterTable_Action) XXX_Unmarshal(b []byte) error { 9710 return m.Unmarshal(b) 9711 } 9712 func (m *AlterTable_Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9713 if deterministic { 9714 return xxx_messageInfo_AlterTable_Action.Marshal(b, m, deterministic) 9715 } else { 9716 b = b[:cap(b)] 9717 n, err := m.MarshalToSizedBuffer(b) 9718 if err != nil { 9719 return nil, err 9720 } 9721 return b[:n], nil 9722 } 9723 } 9724 func (m *AlterTable_Action) XXX_Merge(src proto.Message) { 9725 xxx_messageInfo_AlterTable_Action.Merge(m, src) 9726 } 9727 func (m *AlterTable_Action) XXX_Size() int { 9728 return m.ProtoSize() 9729 } 9730 func (m *AlterTable_Action) XXX_DiscardUnknown() { 9731 xxx_messageInfo_AlterTable_Action.DiscardUnknown(m) 9732 } 9733 9734 var xxx_messageInfo_AlterTable_Action proto.InternalMessageInfo 9735 9736 type isAlterTable_Action_Action interface { 9737 isAlterTable_Action_Action() 9738 MarshalTo([]byte) (int, error) 9739 ProtoSize() int 9740 } 9741 9742 type AlterTable_Action_Drop struct { 9743 Drop *AlterTableDrop `protobuf:"bytes,1,opt,name=drop,proto3,oneof" json:"drop,omitempty"` 9744 } 9745 type AlterTable_Action_AddFk struct { 9746 AddFk *AlterTableAddFk `protobuf:"bytes,2,opt,name=add_fk,json=addFk,proto3,oneof" json:"add_fk,omitempty"` 9747 } 9748 type AlterTable_Action_AddIndex struct { 9749 AddIndex *AlterTableAddIndex `protobuf:"bytes,3,opt,name=add_index,json=addIndex,proto3,oneof" json:"add_index,omitempty"` 9750 } 9751 type AlterTable_Action_AlterIndex struct { 9752 AlterIndex *AlterTableAlterIndex `protobuf:"bytes,4,opt,name=alter_index,json=alterIndex,proto3,oneof" json:"alter_index,omitempty"` 9753 } 9754 type AlterTable_Action_AlterComment struct { 9755 AlterComment *AlterTableComment `protobuf:"bytes,5,opt,name=alter_comment,json=alterComment,proto3,oneof" json:"alter_comment,omitempty"` 9756 } 9757 type AlterTable_Action_AlterName struct { 9758 AlterName *AlterTableName `protobuf:"bytes,6,opt,name=alter_name,json=alterName,proto3,oneof" json:"alter_name,omitempty"` 9759 } 9760 type AlterTable_Action_AddColumn struct { 9761 AddColumn *AlterAddColumn `protobuf:"bytes,7,opt,name=add_column,json=addColumn,proto3,oneof" json:"add_column,omitempty"` 9762 } 9763 type AlterTable_Action_DropColumn struct { 9764 DropColumn *AlterDropColumn `protobuf:"bytes,8,opt,name=drop_column,json=dropColumn,proto3,oneof" json:"drop_column,omitempty"` 9765 } 9766 type AlterTable_Action_AlterReindex struct { 9767 AlterReindex *AlterTableAlterReIndex `protobuf:"bytes,9,opt,name=alter_reindex,json=alterReindex,proto3,oneof" json:"alter_reindex,omitempty"` 9768 } 9769 type AlterTable_Action_AddPartition struct { 9770 AddPartition *AlterTableAddPartition `protobuf:"bytes,10,opt,name=addPartition,proto3,oneof" json:"addPartition,omitempty"` 9771 } 9772 9773 func (*AlterTable_Action_Drop) isAlterTable_Action_Action() {} 9774 func (*AlterTable_Action_AddFk) isAlterTable_Action_Action() {} 9775 func (*AlterTable_Action_AddIndex) isAlterTable_Action_Action() {} 9776 func (*AlterTable_Action_AlterIndex) isAlterTable_Action_Action() {} 9777 func (*AlterTable_Action_AlterComment) isAlterTable_Action_Action() {} 9778 func (*AlterTable_Action_AlterName) isAlterTable_Action_Action() {} 9779 func (*AlterTable_Action_AddColumn) isAlterTable_Action_Action() {} 9780 func (*AlterTable_Action_DropColumn) isAlterTable_Action_Action() {} 9781 func (*AlterTable_Action_AlterReindex) isAlterTable_Action_Action() {} 9782 func (*AlterTable_Action_AddPartition) isAlterTable_Action_Action() {} 9783 9784 func (m *AlterTable_Action) GetAction() isAlterTable_Action_Action { 9785 if m != nil { 9786 return m.Action 9787 } 9788 return nil 9789 } 9790 9791 func (m *AlterTable_Action) GetDrop() *AlterTableDrop { 9792 if x, ok := m.GetAction().(*AlterTable_Action_Drop); ok { 9793 return x.Drop 9794 } 9795 return nil 9796 } 9797 9798 func (m *AlterTable_Action) GetAddFk() *AlterTableAddFk { 9799 if x, ok := m.GetAction().(*AlterTable_Action_AddFk); ok { 9800 return x.AddFk 9801 } 9802 return nil 9803 } 9804 9805 func (m *AlterTable_Action) GetAddIndex() *AlterTableAddIndex { 9806 if x, ok := m.GetAction().(*AlterTable_Action_AddIndex); ok { 9807 return x.AddIndex 9808 } 9809 return nil 9810 } 9811 9812 func (m *AlterTable_Action) GetAlterIndex() *AlterTableAlterIndex { 9813 if x, ok := m.GetAction().(*AlterTable_Action_AlterIndex); ok { 9814 return x.AlterIndex 9815 } 9816 return nil 9817 } 9818 9819 func (m *AlterTable_Action) GetAlterComment() *AlterTableComment { 9820 if x, ok := m.GetAction().(*AlterTable_Action_AlterComment); ok { 9821 return x.AlterComment 9822 } 9823 return nil 9824 } 9825 9826 func (m *AlterTable_Action) GetAlterName() *AlterTableName { 9827 if x, ok := m.GetAction().(*AlterTable_Action_AlterName); ok { 9828 return x.AlterName 9829 } 9830 return nil 9831 } 9832 9833 func (m *AlterTable_Action) GetAddColumn() *AlterAddColumn { 9834 if x, ok := m.GetAction().(*AlterTable_Action_AddColumn); ok { 9835 return x.AddColumn 9836 } 9837 return nil 9838 } 9839 9840 func (m *AlterTable_Action) GetDropColumn() *AlterDropColumn { 9841 if x, ok := m.GetAction().(*AlterTable_Action_DropColumn); ok { 9842 return x.DropColumn 9843 } 9844 return nil 9845 } 9846 9847 func (m *AlterTable_Action) GetAlterReindex() *AlterTableAlterReIndex { 9848 if x, ok := m.GetAction().(*AlterTable_Action_AlterReindex); ok { 9849 return x.AlterReindex 9850 } 9851 return nil 9852 } 9853 9854 func (m *AlterTable_Action) GetAddPartition() *AlterTableAddPartition { 9855 if x, ok := m.GetAction().(*AlterTable_Action_AddPartition); ok { 9856 return x.AddPartition 9857 } 9858 return nil 9859 } 9860 9861 // XXX_OneofWrappers is for the internal use of the proto package. 9862 func (*AlterTable_Action) XXX_OneofWrappers() []interface{} { 9863 return []interface{}{ 9864 (*AlterTable_Action_Drop)(nil), 9865 (*AlterTable_Action_AddFk)(nil), 9866 (*AlterTable_Action_AddIndex)(nil), 9867 (*AlterTable_Action_AlterIndex)(nil), 9868 (*AlterTable_Action_AlterComment)(nil), 9869 (*AlterTable_Action_AlterName)(nil), 9870 (*AlterTable_Action_AddColumn)(nil), 9871 (*AlterTable_Action_DropColumn)(nil), 9872 (*AlterTable_Action_AlterReindex)(nil), 9873 (*AlterTable_Action_AddPartition)(nil), 9874 } 9875 } 9876 9877 type DropTable struct { 9878 IfExists bool `protobuf:"varint,1,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"` 9879 Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` 9880 Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` 9881 IndexTableNames []string `protobuf:"bytes,4,rep,name=index_table_names,json=indexTableNames,proto3" json:"index_table_names,omitempty"` 9882 ClusterTable *ClusterTable `protobuf:"bytes,5,opt,name=cluster_table,json=clusterTable,proto3" json:"cluster_table,omitempty"` 9883 TableId uint64 `protobuf:"varint,6,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` 9884 ForeignTbl []uint64 `protobuf:"varint,7,rep,packed,name=foreign_tbl,json=foreignTbl,proto3" json:"foreign_tbl,omitempty"` 9885 PartitionTableNames []string `protobuf:"bytes,8,rep,name=partition_table_names,json=partitionTableNames,proto3" json:"partition_table_names,omitempty"` 9886 IsView bool `protobuf:"varint,9,opt,name=isView,proto3" json:"isView,omitempty"` 9887 TableDef *TableDef `protobuf:"bytes,10,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 9888 // drop table may delete fk records related to this table 9889 // into mo_foreign_keys 9890 UpdateFkSqls []string `protobuf:"bytes,11,rep,name=updateFkSqls,proto3" json:"updateFkSqls,omitempty"` 9891 // fk child table id that refers to me 9892 FkChildTblsReferToMe []uint64 `protobuf:"varint,12,rep,packed,name=fkChildTblsReferToMe,proto3" json:"fkChildTblsReferToMe,omitempty"` 9893 XXX_NoUnkeyedLiteral struct{} `json:"-"` 9894 XXX_unrecognized []byte `json:"-"` 9895 XXX_sizecache int32 `json:"-"` 9896 } 9897 9898 func (m *DropTable) Reset() { *m = DropTable{} } 9899 func (m *DropTable) String() string { return proto.CompactTextString(m) } 9900 func (*DropTable) ProtoMessage() {} 9901 func (*DropTable) Descriptor() ([]byte, []int) { 9902 return fileDescriptor_2d655ab2f7683c23, []int{96} 9903 } 9904 func (m *DropTable) XXX_Unmarshal(b []byte) error { 9905 return m.Unmarshal(b) 9906 } 9907 func (m *DropTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 9908 if deterministic { 9909 return xxx_messageInfo_DropTable.Marshal(b, m, deterministic) 9910 } else { 9911 b = b[:cap(b)] 9912 n, err := m.MarshalToSizedBuffer(b) 9913 if err != nil { 9914 return nil, err 9915 } 9916 return b[:n], nil 9917 } 9918 } 9919 func (m *DropTable) XXX_Merge(src proto.Message) { 9920 xxx_messageInfo_DropTable.Merge(m, src) 9921 } 9922 func (m *DropTable) XXX_Size() int { 9923 return m.ProtoSize() 9924 } 9925 func (m *DropTable) XXX_DiscardUnknown() { 9926 xxx_messageInfo_DropTable.DiscardUnknown(m) 9927 } 9928 9929 var xxx_messageInfo_DropTable proto.InternalMessageInfo 9930 9931 func (m *DropTable) GetIfExists() bool { 9932 if m != nil { 9933 return m.IfExists 9934 } 9935 return false 9936 } 9937 9938 func (m *DropTable) GetDatabase() string { 9939 if m != nil { 9940 return m.Database 9941 } 9942 return "" 9943 } 9944 9945 func (m *DropTable) GetTable() string { 9946 if m != nil { 9947 return m.Table 9948 } 9949 return "" 9950 } 9951 9952 func (m *DropTable) GetIndexTableNames() []string { 9953 if m != nil { 9954 return m.IndexTableNames 9955 } 9956 return nil 9957 } 9958 9959 func (m *DropTable) GetClusterTable() *ClusterTable { 9960 if m != nil { 9961 return m.ClusterTable 9962 } 9963 return nil 9964 } 9965 9966 func (m *DropTable) GetTableId() uint64 { 9967 if m != nil { 9968 return m.TableId 9969 } 9970 return 0 9971 } 9972 9973 func (m *DropTable) GetForeignTbl() []uint64 { 9974 if m != nil { 9975 return m.ForeignTbl 9976 } 9977 return nil 9978 } 9979 9980 func (m *DropTable) GetPartitionTableNames() []string { 9981 if m != nil { 9982 return m.PartitionTableNames 9983 } 9984 return nil 9985 } 9986 9987 func (m *DropTable) GetIsView() bool { 9988 if m != nil { 9989 return m.IsView 9990 } 9991 return false 9992 } 9993 9994 func (m *DropTable) GetTableDef() *TableDef { 9995 if m != nil { 9996 return m.TableDef 9997 } 9998 return nil 9999 } 10000 10001 func (m *DropTable) GetUpdateFkSqls() []string { 10002 if m != nil { 10003 return m.UpdateFkSqls 10004 } 10005 return nil 10006 } 10007 10008 func (m *DropTable) GetFkChildTblsReferToMe() []uint64 { 10009 if m != nil { 10010 return m.FkChildTblsReferToMe 10011 } 10012 return nil 10013 } 10014 10015 type AlterView struct { 10016 IfExists bool `protobuf:"varint,1,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"` 10017 Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` 10018 TableDef *TableDef `protobuf:"bytes,4,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 10019 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10020 XXX_unrecognized []byte `json:"-"` 10021 XXX_sizecache int32 `json:"-"` 10022 } 10023 10024 func (m *AlterView) Reset() { *m = AlterView{} } 10025 func (m *AlterView) String() string { return proto.CompactTextString(m) } 10026 func (*AlterView) ProtoMessage() {} 10027 func (*AlterView) Descriptor() ([]byte, []int) { 10028 return fileDescriptor_2d655ab2f7683c23, []int{97} 10029 } 10030 func (m *AlterView) XXX_Unmarshal(b []byte) error { 10031 return m.Unmarshal(b) 10032 } 10033 func (m *AlterView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10034 if deterministic { 10035 return xxx_messageInfo_AlterView.Marshal(b, m, deterministic) 10036 } else { 10037 b = b[:cap(b)] 10038 n, err := m.MarshalToSizedBuffer(b) 10039 if err != nil { 10040 return nil, err 10041 } 10042 return b[:n], nil 10043 } 10044 } 10045 func (m *AlterView) XXX_Merge(src proto.Message) { 10046 xxx_messageInfo_AlterView.Merge(m, src) 10047 } 10048 func (m *AlterView) XXX_Size() int { 10049 return m.ProtoSize() 10050 } 10051 func (m *AlterView) XXX_DiscardUnknown() { 10052 xxx_messageInfo_AlterView.DiscardUnknown(m) 10053 } 10054 10055 var xxx_messageInfo_AlterView proto.InternalMessageInfo 10056 10057 func (m *AlterView) GetIfExists() bool { 10058 if m != nil { 10059 return m.IfExists 10060 } 10061 return false 10062 } 10063 10064 func (m *AlterView) GetDatabase() string { 10065 if m != nil { 10066 return m.Database 10067 } 10068 return "" 10069 } 10070 10071 func (m *AlterView) GetTableDef() *TableDef { 10072 if m != nil { 10073 return m.TableDef 10074 } 10075 return nil 10076 } 10077 10078 type CreateSequence struct { 10079 IfNotExists bool `protobuf:"varint,1,opt,name=if_not_exists,json=ifNotExists,proto3" json:"if_not_exists,omitempty"` 10080 Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` 10081 TableDef *TableDef `protobuf:"bytes,3,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 10082 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10083 XXX_unrecognized []byte `json:"-"` 10084 XXX_sizecache int32 `json:"-"` 10085 } 10086 10087 func (m *CreateSequence) Reset() { *m = CreateSequence{} } 10088 func (m *CreateSequence) String() string { return proto.CompactTextString(m) } 10089 func (*CreateSequence) ProtoMessage() {} 10090 func (*CreateSequence) Descriptor() ([]byte, []int) { 10091 return fileDescriptor_2d655ab2f7683c23, []int{98} 10092 } 10093 func (m *CreateSequence) XXX_Unmarshal(b []byte) error { 10094 return m.Unmarshal(b) 10095 } 10096 func (m *CreateSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10097 if deterministic { 10098 return xxx_messageInfo_CreateSequence.Marshal(b, m, deterministic) 10099 } else { 10100 b = b[:cap(b)] 10101 n, err := m.MarshalToSizedBuffer(b) 10102 if err != nil { 10103 return nil, err 10104 } 10105 return b[:n], nil 10106 } 10107 } 10108 func (m *CreateSequence) XXX_Merge(src proto.Message) { 10109 xxx_messageInfo_CreateSequence.Merge(m, src) 10110 } 10111 func (m *CreateSequence) XXX_Size() int { 10112 return m.ProtoSize() 10113 } 10114 func (m *CreateSequence) XXX_DiscardUnknown() { 10115 xxx_messageInfo_CreateSequence.DiscardUnknown(m) 10116 } 10117 10118 var xxx_messageInfo_CreateSequence proto.InternalMessageInfo 10119 10120 func (m *CreateSequence) GetIfNotExists() bool { 10121 if m != nil { 10122 return m.IfNotExists 10123 } 10124 return false 10125 } 10126 10127 func (m *CreateSequence) GetDatabase() string { 10128 if m != nil { 10129 return m.Database 10130 } 10131 return "" 10132 } 10133 10134 func (m *CreateSequence) GetTableDef() *TableDef { 10135 if m != nil { 10136 return m.TableDef 10137 } 10138 return nil 10139 } 10140 10141 type DropSequence struct { 10142 IfExists bool `protobuf:"varint,1,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"` 10143 Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` 10144 Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` 10145 TableId uint64 `protobuf:"varint,4,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` 10146 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10147 XXX_unrecognized []byte `json:"-"` 10148 XXX_sizecache int32 `json:"-"` 10149 } 10150 10151 func (m *DropSequence) Reset() { *m = DropSequence{} } 10152 func (m *DropSequence) String() string { return proto.CompactTextString(m) } 10153 func (*DropSequence) ProtoMessage() {} 10154 func (*DropSequence) Descriptor() ([]byte, []int) { 10155 return fileDescriptor_2d655ab2f7683c23, []int{99} 10156 } 10157 func (m *DropSequence) XXX_Unmarshal(b []byte) error { 10158 return m.Unmarshal(b) 10159 } 10160 func (m *DropSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10161 if deterministic { 10162 return xxx_messageInfo_DropSequence.Marshal(b, m, deterministic) 10163 } else { 10164 b = b[:cap(b)] 10165 n, err := m.MarshalToSizedBuffer(b) 10166 if err != nil { 10167 return nil, err 10168 } 10169 return b[:n], nil 10170 } 10171 } 10172 func (m *DropSequence) XXX_Merge(src proto.Message) { 10173 xxx_messageInfo_DropSequence.Merge(m, src) 10174 } 10175 func (m *DropSequence) XXX_Size() int { 10176 return m.ProtoSize() 10177 } 10178 func (m *DropSequence) XXX_DiscardUnknown() { 10179 xxx_messageInfo_DropSequence.DiscardUnknown(m) 10180 } 10181 10182 var xxx_messageInfo_DropSequence proto.InternalMessageInfo 10183 10184 func (m *DropSequence) GetIfExists() bool { 10185 if m != nil { 10186 return m.IfExists 10187 } 10188 return false 10189 } 10190 10191 func (m *DropSequence) GetDatabase() string { 10192 if m != nil { 10193 return m.Database 10194 } 10195 return "" 10196 } 10197 10198 func (m *DropSequence) GetTable() string { 10199 if m != nil { 10200 return m.Table 10201 } 10202 return "" 10203 } 10204 10205 func (m *DropSequence) GetTableId() uint64 { 10206 if m != nil { 10207 return m.TableId 10208 } 10209 return 0 10210 } 10211 10212 type AlterSequence struct { 10213 IfExists bool `protobuf:"varint,1,opt,name=if_exists,json=ifExists,proto3" json:"if_exists,omitempty"` 10214 Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` 10215 TableDef *TableDef `protobuf:"bytes,3,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 10216 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10217 XXX_unrecognized []byte `json:"-"` 10218 XXX_sizecache int32 `json:"-"` 10219 } 10220 10221 func (m *AlterSequence) Reset() { *m = AlterSequence{} } 10222 func (m *AlterSequence) String() string { return proto.CompactTextString(m) } 10223 func (*AlterSequence) ProtoMessage() {} 10224 func (*AlterSequence) Descriptor() ([]byte, []int) { 10225 return fileDescriptor_2d655ab2f7683c23, []int{100} 10226 } 10227 func (m *AlterSequence) XXX_Unmarshal(b []byte) error { 10228 return m.Unmarshal(b) 10229 } 10230 func (m *AlterSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10231 if deterministic { 10232 return xxx_messageInfo_AlterSequence.Marshal(b, m, deterministic) 10233 } else { 10234 b = b[:cap(b)] 10235 n, err := m.MarshalToSizedBuffer(b) 10236 if err != nil { 10237 return nil, err 10238 } 10239 return b[:n], nil 10240 } 10241 } 10242 func (m *AlterSequence) XXX_Merge(src proto.Message) { 10243 xxx_messageInfo_AlterSequence.Merge(m, src) 10244 } 10245 func (m *AlterSequence) XXX_Size() int { 10246 return m.ProtoSize() 10247 } 10248 func (m *AlterSequence) XXX_DiscardUnknown() { 10249 xxx_messageInfo_AlterSequence.DiscardUnknown(m) 10250 } 10251 10252 var xxx_messageInfo_AlterSequence proto.InternalMessageInfo 10253 10254 func (m *AlterSequence) GetIfExists() bool { 10255 if m != nil { 10256 return m.IfExists 10257 } 10258 return false 10259 } 10260 10261 func (m *AlterSequence) GetDatabase() string { 10262 if m != nil { 10263 return m.Database 10264 } 10265 return "" 10266 } 10267 10268 func (m *AlterSequence) GetTableDef() *TableDef { 10269 if m != nil { 10270 return m.TableDef 10271 } 10272 return nil 10273 } 10274 10275 type CreateIndex struct { 10276 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` 10277 Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` 10278 TableDef *TableDef `protobuf:"bytes,3,opt,name=table_def,json=tableDef,proto3" json:"table_def,omitempty"` 10279 OriginTablePrimaryKey string `protobuf:"bytes,4,opt,name=origin_table_primary_key,json=originTablePrimaryKey,proto3" json:"origin_table_primary_key,omitempty"` 10280 Index *CreateTable `protobuf:"bytes,5,opt,name=index,proto3" json:"index,omitempty"` 10281 TableExist bool `protobuf:"varint,6,opt,name=table_exist,json=tableExist,proto3" json:"table_exist,omitempty"` 10282 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10283 XXX_unrecognized []byte `json:"-"` 10284 XXX_sizecache int32 `json:"-"` 10285 } 10286 10287 func (m *CreateIndex) Reset() { *m = CreateIndex{} } 10288 func (m *CreateIndex) String() string { return proto.CompactTextString(m) } 10289 func (*CreateIndex) ProtoMessage() {} 10290 func (*CreateIndex) Descriptor() ([]byte, []int) { 10291 return fileDescriptor_2d655ab2f7683c23, []int{101} 10292 } 10293 func (m *CreateIndex) XXX_Unmarshal(b []byte) error { 10294 return m.Unmarshal(b) 10295 } 10296 func (m *CreateIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10297 if deterministic { 10298 return xxx_messageInfo_CreateIndex.Marshal(b, m, deterministic) 10299 } else { 10300 b = b[:cap(b)] 10301 n, err := m.MarshalToSizedBuffer(b) 10302 if err != nil { 10303 return nil, err 10304 } 10305 return b[:n], nil 10306 } 10307 } 10308 func (m *CreateIndex) XXX_Merge(src proto.Message) { 10309 xxx_messageInfo_CreateIndex.Merge(m, src) 10310 } 10311 func (m *CreateIndex) XXX_Size() int { 10312 return m.ProtoSize() 10313 } 10314 func (m *CreateIndex) XXX_DiscardUnknown() { 10315 xxx_messageInfo_CreateIndex.DiscardUnknown(m) 10316 } 10317 10318 var xxx_messageInfo_CreateIndex proto.InternalMessageInfo 10319 10320 func (m *CreateIndex) GetDatabase() string { 10321 if m != nil { 10322 return m.Database 10323 } 10324 return "" 10325 } 10326 10327 func (m *CreateIndex) GetTable() string { 10328 if m != nil { 10329 return m.Table 10330 } 10331 return "" 10332 } 10333 10334 func (m *CreateIndex) GetTableDef() *TableDef { 10335 if m != nil { 10336 return m.TableDef 10337 } 10338 return nil 10339 } 10340 10341 func (m *CreateIndex) GetOriginTablePrimaryKey() string { 10342 if m != nil { 10343 return m.OriginTablePrimaryKey 10344 } 10345 return "" 10346 } 10347 10348 func (m *CreateIndex) GetIndex() *CreateTable { 10349 if m != nil { 10350 return m.Index 10351 } 10352 return nil 10353 } 10354 10355 func (m *CreateIndex) GetTableExist() bool { 10356 if m != nil { 10357 return m.TableExist 10358 } 10359 return false 10360 } 10361 10362 type AlterIndex struct { 10363 Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` 10364 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10365 XXX_unrecognized []byte `json:"-"` 10366 XXX_sizecache int32 `json:"-"` 10367 } 10368 10369 func (m *AlterIndex) Reset() { *m = AlterIndex{} } 10370 func (m *AlterIndex) String() string { return proto.CompactTextString(m) } 10371 func (*AlterIndex) ProtoMessage() {} 10372 func (*AlterIndex) Descriptor() ([]byte, []int) { 10373 return fileDescriptor_2d655ab2f7683c23, []int{102} 10374 } 10375 func (m *AlterIndex) XXX_Unmarshal(b []byte) error { 10376 return m.Unmarshal(b) 10377 } 10378 func (m *AlterIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10379 if deterministic { 10380 return xxx_messageInfo_AlterIndex.Marshal(b, m, deterministic) 10381 } else { 10382 b = b[:cap(b)] 10383 n, err := m.MarshalToSizedBuffer(b) 10384 if err != nil { 10385 return nil, err 10386 } 10387 return b[:n], nil 10388 } 10389 } 10390 func (m *AlterIndex) XXX_Merge(src proto.Message) { 10391 xxx_messageInfo_AlterIndex.Merge(m, src) 10392 } 10393 func (m *AlterIndex) XXX_Size() int { 10394 return m.ProtoSize() 10395 } 10396 func (m *AlterIndex) XXX_DiscardUnknown() { 10397 xxx_messageInfo_AlterIndex.DiscardUnknown(m) 10398 } 10399 10400 var xxx_messageInfo_AlterIndex proto.InternalMessageInfo 10401 10402 func (m *AlterIndex) GetIndex() string { 10403 if m != nil { 10404 return m.Index 10405 } 10406 return "" 10407 } 10408 10409 type DropIndex struct { 10410 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` 10411 Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` 10412 IndexName string `protobuf:"bytes,3,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` 10413 IndexTableName string `protobuf:"bytes,4,opt,name=index_table_name,json=indexTableName,proto3" json:"index_table_name,omitempty"` 10414 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10415 XXX_unrecognized []byte `json:"-"` 10416 XXX_sizecache int32 `json:"-"` 10417 } 10418 10419 func (m *DropIndex) Reset() { *m = DropIndex{} } 10420 func (m *DropIndex) String() string { return proto.CompactTextString(m) } 10421 func (*DropIndex) ProtoMessage() {} 10422 func (*DropIndex) Descriptor() ([]byte, []int) { 10423 return fileDescriptor_2d655ab2f7683c23, []int{103} 10424 } 10425 func (m *DropIndex) XXX_Unmarshal(b []byte) error { 10426 return m.Unmarshal(b) 10427 } 10428 func (m *DropIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10429 if deterministic { 10430 return xxx_messageInfo_DropIndex.Marshal(b, m, deterministic) 10431 } else { 10432 b = b[:cap(b)] 10433 n, err := m.MarshalToSizedBuffer(b) 10434 if err != nil { 10435 return nil, err 10436 } 10437 return b[:n], nil 10438 } 10439 } 10440 func (m *DropIndex) XXX_Merge(src proto.Message) { 10441 xxx_messageInfo_DropIndex.Merge(m, src) 10442 } 10443 func (m *DropIndex) XXX_Size() int { 10444 return m.ProtoSize() 10445 } 10446 func (m *DropIndex) XXX_DiscardUnknown() { 10447 xxx_messageInfo_DropIndex.DiscardUnknown(m) 10448 } 10449 10450 var xxx_messageInfo_DropIndex proto.InternalMessageInfo 10451 10452 func (m *DropIndex) GetDatabase() string { 10453 if m != nil { 10454 return m.Database 10455 } 10456 return "" 10457 } 10458 10459 func (m *DropIndex) GetTable() string { 10460 if m != nil { 10461 return m.Table 10462 } 10463 return "" 10464 } 10465 10466 func (m *DropIndex) GetIndexName() string { 10467 if m != nil { 10468 return m.IndexName 10469 } 10470 return "" 10471 } 10472 10473 func (m *DropIndex) GetIndexTableName() string { 10474 if m != nil { 10475 return m.IndexTableName 10476 } 10477 return "" 10478 } 10479 10480 type TruncateTable struct { 10481 Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` 10482 Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` 10483 IndexTableNames []string `protobuf:"bytes,3,rep,name=index_table_names,json=indexTableNames,proto3" json:"index_table_names,omitempty"` 10484 PartitionTableNames []string `protobuf:"bytes,4,rep,name=partition_table_names,json=partitionTableNames,proto3" json:"partition_table_names,omitempty"` 10485 ClusterTable *ClusterTable `protobuf:"bytes,5,opt,name=cluster_table,json=clusterTable,proto3" json:"cluster_table,omitempty"` 10486 TableId uint64 `protobuf:"varint,6,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` 10487 ForeignTbl []uint64 `protobuf:"varint,7,rep,packed,name=foreign_tbl,json=foreignTbl,proto3" json:"foreign_tbl,omitempty"` 10488 IsDelete bool `protobuf:"varint,8,opt,name=is_delete,json=isDelete,proto3" json:"is_delete,omitempty"` 10489 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10490 XXX_unrecognized []byte `json:"-"` 10491 XXX_sizecache int32 `json:"-"` 10492 } 10493 10494 func (m *TruncateTable) Reset() { *m = TruncateTable{} } 10495 func (m *TruncateTable) String() string { return proto.CompactTextString(m) } 10496 func (*TruncateTable) ProtoMessage() {} 10497 func (*TruncateTable) Descriptor() ([]byte, []int) { 10498 return fileDescriptor_2d655ab2f7683c23, []int{104} 10499 } 10500 func (m *TruncateTable) XXX_Unmarshal(b []byte) error { 10501 return m.Unmarshal(b) 10502 } 10503 func (m *TruncateTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10504 if deterministic { 10505 return xxx_messageInfo_TruncateTable.Marshal(b, m, deterministic) 10506 } else { 10507 b = b[:cap(b)] 10508 n, err := m.MarshalToSizedBuffer(b) 10509 if err != nil { 10510 return nil, err 10511 } 10512 return b[:n], nil 10513 } 10514 } 10515 func (m *TruncateTable) XXX_Merge(src proto.Message) { 10516 xxx_messageInfo_TruncateTable.Merge(m, src) 10517 } 10518 func (m *TruncateTable) XXX_Size() int { 10519 return m.ProtoSize() 10520 } 10521 func (m *TruncateTable) XXX_DiscardUnknown() { 10522 xxx_messageInfo_TruncateTable.DiscardUnknown(m) 10523 } 10524 10525 var xxx_messageInfo_TruncateTable proto.InternalMessageInfo 10526 10527 func (m *TruncateTable) GetDatabase() string { 10528 if m != nil { 10529 return m.Database 10530 } 10531 return "" 10532 } 10533 10534 func (m *TruncateTable) GetTable() string { 10535 if m != nil { 10536 return m.Table 10537 } 10538 return "" 10539 } 10540 10541 func (m *TruncateTable) GetIndexTableNames() []string { 10542 if m != nil { 10543 return m.IndexTableNames 10544 } 10545 return nil 10546 } 10547 10548 func (m *TruncateTable) GetPartitionTableNames() []string { 10549 if m != nil { 10550 return m.PartitionTableNames 10551 } 10552 return nil 10553 } 10554 10555 func (m *TruncateTable) GetClusterTable() *ClusterTable { 10556 if m != nil { 10557 return m.ClusterTable 10558 } 10559 return nil 10560 } 10561 10562 func (m *TruncateTable) GetTableId() uint64 { 10563 if m != nil { 10564 return m.TableId 10565 } 10566 return 0 10567 } 10568 10569 func (m *TruncateTable) GetForeignTbl() []uint64 { 10570 if m != nil { 10571 return m.ForeignTbl 10572 } 10573 return nil 10574 } 10575 10576 func (m *TruncateTable) GetIsDelete() bool { 10577 if m != nil { 10578 return m.IsDelete 10579 } 10580 return false 10581 } 10582 10583 type ClusterTable struct { 10584 IsClusterTable bool `protobuf:"varint,1,opt,name=is_cluster_table,json=isClusterTable,proto3" json:"is_cluster_table,omitempty"` 10585 AccountIDs []uint32 `protobuf:"varint,2,rep,packed,name=accountIDs,proto3" json:"accountIDs,omitempty"` 10586 ColumnIndexOfAccountId int32 `protobuf:"varint,3,opt,name=column_index_of_accountId,json=columnIndexOfAccountId,proto3" json:"column_index_of_accountId,omitempty"` 10587 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10588 XXX_unrecognized []byte `json:"-"` 10589 XXX_sizecache int32 `json:"-"` 10590 } 10591 10592 func (m *ClusterTable) Reset() { *m = ClusterTable{} } 10593 func (m *ClusterTable) String() string { return proto.CompactTextString(m) } 10594 func (*ClusterTable) ProtoMessage() {} 10595 func (*ClusterTable) Descriptor() ([]byte, []int) { 10596 return fileDescriptor_2d655ab2f7683c23, []int{105} 10597 } 10598 func (m *ClusterTable) XXX_Unmarshal(b []byte) error { 10599 return m.Unmarshal(b) 10600 } 10601 func (m *ClusterTable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10602 if deterministic { 10603 return xxx_messageInfo_ClusterTable.Marshal(b, m, deterministic) 10604 } else { 10605 b = b[:cap(b)] 10606 n, err := m.MarshalToSizedBuffer(b) 10607 if err != nil { 10608 return nil, err 10609 } 10610 return b[:n], nil 10611 } 10612 } 10613 func (m *ClusterTable) XXX_Merge(src proto.Message) { 10614 xxx_messageInfo_ClusterTable.Merge(m, src) 10615 } 10616 func (m *ClusterTable) XXX_Size() int { 10617 return m.ProtoSize() 10618 } 10619 func (m *ClusterTable) XXX_DiscardUnknown() { 10620 xxx_messageInfo_ClusterTable.DiscardUnknown(m) 10621 } 10622 10623 var xxx_messageInfo_ClusterTable proto.InternalMessageInfo 10624 10625 func (m *ClusterTable) GetIsClusterTable() bool { 10626 if m != nil { 10627 return m.IsClusterTable 10628 } 10629 return false 10630 } 10631 10632 func (m *ClusterTable) GetAccountIDs() []uint32 { 10633 if m != nil { 10634 return m.AccountIDs 10635 } 10636 return nil 10637 } 10638 10639 func (m *ClusterTable) GetColumnIndexOfAccountId() int32 { 10640 if m != nil { 10641 return m.ColumnIndexOfAccountId 10642 } 10643 return 0 10644 } 10645 10646 type ShowVariables struct { 10647 Global bool `protobuf:"varint,1,opt,name=global,proto3" json:"global,omitempty"` 10648 Where []*Expr `protobuf:"bytes,2,rep,name=where,proto3" json:"where,omitempty"` 10649 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10650 XXX_unrecognized []byte `json:"-"` 10651 XXX_sizecache int32 `json:"-"` 10652 } 10653 10654 func (m *ShowVariables) Reset() { *m = ShowVariables{} } 10655 func (m *ShowVariables) String() string { return proto.CompactTextString(m) } 10656 func (*ShowVariables) ProtoMessage() {} 10657 func (*ShowVariables) Descriptor() ([]byte, []int) { 10658 return fileDescriptor_2d655ab2f7683c23, []int{106} 10659 } 10660 func (m *ShowVariables) XXX_Unmarshal(b []byte) error { 10661 return m.Unmarshal(b) 10662 } 10663 func (m *ShowVariables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10664 if deterministic { 10665 return xxx_messageInfo_ShowVariables.Marshal(b, m, deterministic) 10666 } else { 10667 b = b[:cap(b)] 10668 n, err := m.MarshalToSizedBuffer(b) 10669 if err != nil { 10670 return nil, err 10671 } 10672 return b[:n], nil 10673 } 10674 } 10675 func (m *ShowVariables) XXX_Merge(src proto.Message) { 10676 xxx_messageInfo_ShowVariables.Merge(m, src) 10677 } 10678 func (m *ShowVariables) XXX_Size() int { 10679 return m.ProtoSize() 10680 } 10681 func (m *ShowVariables) XXX_DiscardUnknown() { 10682 xxx_messageInfo_ShowVariables.DiscardUnknown(m) 10683 } 10684 10685 var xxx_messageInfo_ShowVariables proto.InternalMessageInfo 10686 10687 func (m *ShowVariables) GetGlobal() bool { 10688 if m != nil { 10689 return m.Global 10690 } 10691 return false 10692 } 10693 10694 func (m *ShowVariables) GetWhere() []*Expr { 10695 if m != nil { 10696 return m.Where 10697 } 10698 return nil 10699 } 10700 10701 type SetVariables struct { 10702 Items []*SetVariablesItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` 10703 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10704 XXX_unrecognized []byte `json:"-"` 10705 XXX_sizecache int32 `json:"-"` 10706 } 10707 10708 func (m *SetVariables) Reset() { *m = SetVariables{} } 10709 func (m *SetVariables) String() string { return proto.CompactTextString(m) } 10710 func (*SetVariables) ProtoMessage() {} 10711 func (*SetVariables) Descriptor() ([]byte, []int) { 10712 return fileDescriptor_2d655ab2f7683c23, []int{107} 10713 } 10714 func (m *SetVariables) XXX_Unmarshal(b []byte) error { 10715 return m.Unmarshal(b) 10716 } 10717 func (m *SetVariables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10718 if deterministic { 10719 return xxx_messageInfo_SetVariables.Marshal(b, m, deterministic) 10720 } else { 10721 b = b[:cap(b)] 10722 n, err := m.MarshalToSizedBuffer(b) 10723 if err != nil { 10724 return nil, err 10725 } 10726 return b[:n], nil 10727 } 10728 } 10729 func (m *SetVariables) XXX_Merge(src proto.Message) { 10730 xxx_messageInfo_SetVariables.Merge(m, src) 10731 } 10732 func (m *SetVariables) XXX_Size() int { 10733 return m.ProtoSize() 10734 } 10735 func (m *SetVariables) XXX_DiscardUnknown() { 10736 xxx_messageInfo_SetVariables.DiscardUnknown(m) 10737 } 10738 10739 var xxx_messageInfo_SetVariables proto.InternalMessageInfo 10740 10741 func (m *SetVariables) GetItems() []*SetVariablesItem { 10742 if m != nil { 10743 return m.Items 10744 } 10745 return nil 10746 } 10747 10748 type SetVariablesItem struct { 10749 System bool `protobuf:"varint,1,opt,name=system,proto3" json:"system,omitempty"` 10750 Global bool `protobuf:"varint,2,opt,name=global,proto3" json:"global,omitempty"` 10751 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 10752 Value *Expr `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` 10753 Reserved *Expr `protobuf:"bytes,5,opt,name=reserved,proto3" json:"reserved,omitempty"` 10754 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10755 XXX_unrecognized []byte `json:"-"` 10756 XXX_sizecache int32 `json:"-"` 10757 } 10758 10759 func (m *SetVariablesItem) Reset() { *m = SetVariablesItem{} } 10760 func (m *SetVariablesItem) String() string { return proto.CompactTextString(m) } 10761 func (*SetVariablesItem) ProtoMessage() {} 10762 func (*SetVariablesItem) Descriptor() ([]byte, []int) { 10763 return fileDescriptor_2d655ab2f7683c23, []int{108} 10764 } 10765 func (m *SetVariablesItem) XXX_Unmarshal(b []byte) error { 10766 return m.Unmarshal(b) 10767 } 10768 func (m *SetVariablesItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10769 if deterministic { 10770 return xxx_messageInfo_SetVariablesItem.Marshal(b, m, deterministic) 10771 } else { 10772 b = b[:cap(b)] 10773 n, err := m.MarshalToSizedBuffer(b) 10774 if err != nil { 10775 return nil, err 10776 } 10777 return b[:n], nil 10778 } 10779 } 10780 func (m *SetVariablesItem) XXX_Merge(src proto.Message) { 10781 xxx_messageInfo_SetVariablesItem.Merge(m, src) 10782 } 10783 func (m *SetVariablesItem) XXX_Size() int { 10784 return m.ProtoSize() 10785 } 10786 func (m *SetVariablesItem) XXX_DiscardUnknown() { 10787 xxx_messageInfo_SetVariablesItem.DiscardUnknown(m) 10788 } 10789 10790 var xxx_messageInfo_SetVariablesItem proto.InternalMessageInfo 10791 10792 func (m *SetVariablesItem) GetSystem() bool { 10793 if m != nil { 10794 return m.System 10795 } 10796 return false 10797 } 10798 10799 func (m *SetVariablesItem) GetGlobal() bool { 10800 if m != nil { 10801 return m.Global 10802 } 10803 return false 10804 } 10805 10806 func (m *SetVariablesItem) GetName() string { 10807 if m != nil { 10808 return m.Name 10809 } 10810 return "" 10811 } 10812 10813 func (m *SetVariablesItem) GetValue() *Expr { 10814 if m != nil { 10815 return m.Value 10816 } 10817 return nil 10818 } 10819 10820 func (m *SetVariablesItem) GetReserved() *Expr { 10821 if m != nil { 10822 return m.Reserved 10823 } 10824 return nil 10825 } 10826 10827 type Prepare struct { 10828 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 10829 Schemas []*ObjectRef `protobuf:"bytes,2,rep,name=schemas,proto3" json:"schemas,omitempty"` 10830 Plan *Plan `protobuf:"bytes,3,opt,name=plan,proto3" json:"plan,omitempty"` 10831 ParamTypes []int32 `protobuf:"varint,4,rep,packed,name=param_types,json=paramTypes,proto3" json:"param_types,omitempty"` 10832 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10833 XXX_unrecognized []byte `json:"-"` 10834 XXX_sizecache int32 `json:"-"` 10835 } 10836 10837 func (m *Prepare) Reset() { *m = Prepare{} } 10838 func (m *Prepare) String() string { return proto.CompactTextString(m) } 10839 func (*Prepare) ProtoMessage() {} 10840 func (*Prepare) Descriptor() ([]byte, []int) { 10841 return fileDescriptor_2d655ab2f7683c23, []int{109} 10842 } 10843 func (m *Prepare) XXX_Unmarshal(b []byte) error { 10844 return m.Unmarshal(b) 10845 } 10846 func (m *Prepare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10847 if deterministic { 10848 return xxx_messageInfo_Prepare.Marshal(b, m, deterministic) 10849 } else { 10850 b = b[:cap(b)] 10851 n, err := m.MarshalToSizedBuffer(b) 10852 if err != nil { 10853 return nil, err 10854 } 10855 return b[:n], nil 10856 } 10857 } 10858 func (m *Prepare) XXX_Merge(src proto.Message) { 10859 xxx_messageInfo_Prepare.Merge(m, src) 10860 } 10861 func (m *Prepare) XXX_Size() int { 10862 return m.ProtoSize() 10863 } 10864 func (m *Prepare) XXX_DiscardUnknown() { 10865 xxx_messageInfo_Prepare.DiscardUnknown(m) 10866 } 10867 10868 var xxx_messageInfo_Prepare proto.InternalMessageInfo 10869 10870 func (m *Prepare) GetName() string { 10871 if m != nil { 10872 return m.Name 10873 } 10874 return "" 10875 } 10876 10877 func (m *Prepare) GetSchemas() []*ObjectRef { 10878 if m != nil { 10879 return m.Schemas 10880 } 10881 return nil 10882 } 10883 10884 func (m *Prepare) GetPlan() *Plan { 10885 if m != nil { 10886 return m.Plan 10887 } 10888 return nil 10889 } 10890 10891 func (m *Prepare) GetParamTypes() []int32 { 10892 if m != nil { 10893 return m.ParamTypes 10894 } 10895 return nil 10896 } 10897 10898 type Execute struct { 10899 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 10900 Args []*Expr `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` 10901 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10902 XXX_unrecognized []byte `json:"-"` 10903 XXX_sizecache int32 `json:"-"` 10904 } 10905 10906 func (m *Execute) Reset() { *m = Execute{} } 10907 func (m *Execute) String() string { return proto.CompactTextString(m) } 10908 func (*Execute) ProtoMessage() {} 10909 func (*Execute) Descriptor() ([]byte, []int) { 10910 return fileDescriptor_2d655ab2f7683c23, []int{110} 10911 } 10912 func (m *Execute) XXX_Unmarshal(b []byte) error { 10913 return m.Unmarshal(b) 10914 } 10915 func (m *Execute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10916 if deterministic { 10917 return xxx_messageInfo_Execute.Marshal(b, m, deterministic) 10918 } else { 10919 b = b[:cap(b)] 10920 n, err := m.MarshalToSizedBuffer(b) 10921 if err != nil { 10922 return nil, err 10923 } 10924 return b[:n], nil 10925 } 10926 } 10927 func (m *Execute) XXX_Merge(src proto.Message) { 10928 xxx_messageInfo_Execute.Merge(m, src) 10929 } 10930 func (m *Execute) XXX_Size() int { 10931 return m.ProtoSize() 10932 } 10933 func (m *Execute) XXX_DiscardUnknown() { 10934 xxx_messageInfo_Execute.DiscardUnknown(m) 10935 } 10936 10937 var xxx_messageInfo_Execute proto.InternalMessageInfo 10938 10939 func (m *Execute) GetName() string { 10940 if m != nil { 10941 return m.Name 10942 } 10943 return "" 10944 } 10945 10946 func (m *Execute) GetArgs() []*Expr { 10947 if m != nil { 10948 return m.Args 10949 } 10950 return nil 10951 } 10952 10953 type Deallocate struct { 10954 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 10955 XXX_NoUnkeyedLiteral struct{} `json:"-"` 10956 XXX_unrecognized []byte `json:"-"` 10957 XXX_sizecache int32 `json:"-"` 10958 } 10959 10960 func (m *Deallocate) Reset() { *m = Deallocate{} } 10961 func (m *Deallocate) String() string { return proto.CompactTextString(m) } 10962 func (*Deallocate) ProtoMessage() {} 10963 func (*Deallocate) Descriptor() ([]byte, []int) { 10964 return fileDescriptor_2d655ab2f7683c23, []int{111} 10965 } 10966 func (m *Deallocate) XXX_Unmarshal(b []byte) error { 10967 return m.Unmarshal(b) 10968 } 10969 func (m *Deallocate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 10970 if deterministic { 10971 return xxx_messageInfo_Deallocate.Marshal(b, m, deterministic) 10972 } else { 10973 b = b[:cap(b)] 10974 n, err := m.MarshalToSizedBuffer(b) 10975 if err != nil { 10976 return nil, err 10977 } 10978 return b[:n], nil 10979 } 10980 } 10981 func (m *Deallocate) XXX_Merge(src proto.Message) { 10982 xxx_messageInfo_Deallocate.Merge(m, src) 10983 } 10984 func (m *Deallocate) XXX_Size() int { 10985 return m.ProtoSize() 10986 } 10987 func (m *Deallocate) XXX_DiscardUnknown() { 10988 xxx_messageInfo_Deallocate.DiscardUnknown(m) 10989 } 10990 10991 var xxx_messageInfo_Deallocate proto.InternalMessageInfo 10992 10993 func (m *Deallocate) GetName() string { 10994 if m != nil { 10995 return m.Name 10996 } 10997 return "" 10998 } 10999 11000 type OtherDCL struct { 11001 ParamTypes []int32 `protobuf:"varint,1,rep,packed,name=paramTypes,proto3" json:"paramTypes,omitempty"` 11002 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11003 XXX_unrecognized []byte `json:"-"` 11004 XXX_sizecache int32 `json:"-"` 11005 } 11006 11007 func (m *OtherDCL) Reset() { *m = OtherDCL{} } 11008 func (m *OtherDCL) String() string { return proto.CompactTextString(m) } 11009 func (*OtherDCL) ProtoMessage() {} 11010 func (*OtherDCL) Descriptor() ([]byte, []int) { 11011 return fileDescriptor_2d655ab2f7683c23, []int{112} 11012 } 11013 func (m *OtherDCL) XXX_Unmarshal(b []byte) error { 11014 return m.Unmarshal(b) 11015 } 11016 func (m *OtherDCL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11017 if deterministic { 11018 return xxx_messageInfo_OtherDCL.Marshal(b, m, deterministic) 11019 } else { 11020 b = b[:cap(b)] 11021 n, err := m.MarshalToSizedBuffer(b) 11022 if err != nil { 11023 return nil, err 11024 } 11025 return b[:n], nil 11026 } 11027 } 11028 func (m *OtherDCL) XXX_Merge(src proto.Message) { 11029 xxx_messageInfo_OtherDCL.Merge(m, src) 11030 } 11031 func (m *OtherDCL) XXX_Size() int { 11032 return m.ProtoSize() 11033 } 11034 func (m *OtherDCL) XXX_DiscardUnknown() { 11035 xxx_messageInfo_OtherDCL.DiscardUnknown(m) 11036 } 11037 11038 var xxx_messageInfo_OtherDCL proto.InternalMessageInfo 11039 11040 func (m *OtherDCL) GetParamTypes() []int32 { 11041 if m != nil { 11042 return m.ParamTypes 11043 } 11044 return nil 11045 } 11046 11047 type TableLockInfo struct { 11048 LockType TableLockType `protobuf:"varint,1,opt,name=lockType,proto3,enum=plan.TableLockType" json:"lockType,omitempty"` 11049 TableDef *TableDef `protobuf:"bytes,2,opt,name=tableDef,proto3" json:"tableDef,omitempty"` 11050 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11051 XXX_unrecognized []byte `json:"-"` 11052 XXX_sizecache int32 `json:"-"` 11053 } 11054 11055 func (m *TableLockInfo) Reset() { *m = TableLockInfo{} } 11056 func (m *TableLockInfo) String() string { return proto.CompactTextString(m) } 11057 func (*TableLockInfo) ProtoMessage() {} 11058 func (*TableLockInfo) Descriptor() ([]byte, []int) { 11059 return fileDescriptor_2d655ab2f7683c23, []int{113} 11060 } 11061 func (m *TableLockInfo) XXX_Unmarshal(b []byte) error { 11062 return m.Unmarshal(b) 11063 } 11064 func (m *TableLockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11065 if deterministic { 11066 return xxx_messageInfo_TableLockInfo.Marshal(b, m, deterministic) 11067 } else { 11068 b = b[:cap(b)] 11069 n, err := m.MarshalToSizedBuffer(b) 11070 if err != nil { 11071 return nil, err 11072 } 11073 return b[:n], nil 11074 } 11075 } 11076 func (m *TableLockInfo) XXX_Merge(src proto.Message) { 11077 xxx_messageInfo_TableLockInfo.Merge(m, src) 11078 } 11079 func (m *TableLockInfo) XXX_Size() int { 11080 return m.ProtoSize() 11081 } 11082 func (m *TableLockInfo) XXX_DiscardUnknown() { 11083 xxx_messageInfo_TableLockInfo.DiscardUnknown(m) 11084 } 11085 11086 var xxx_messageInfo_TableLockInfo proto.InternalMessageInfo 11087 11088 func (m *TableLockInfo) GetLockType() TableLockType { 11089 if m != nil { 11090 return m.LockType 11091 } 11092 return TableLockType_TableLockNone 11093 } 11094 11095 func (m *TableLockInfo) GetTableDef() *TableDef { 11096 if m != nil { 11097 return m.TableDef 11098 } 11099 return nil 11100 } 11101 11102 type LockTables struct { 11103 TableLocks []*TableLockInfo `protobuf:"bytes,1,rep,name=tableLocks,proto3" json:"tableLocks,omitempty"` 11104 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11105 XXX_unrecognized []byte `json:"-"` 11106 XXX_sizecache int32 `json:"-"` 11107 } 11108 11109 func (m *LockTables) Reset() { *m = LockTables{} } 11110 func (m *LockTables) String() string { return proto.CompactTextString(m) } 11111 func (*LockTables) ProtoMessage() {} 11112 func (*LockTables) Descriptor() ([]byte, []int) { 11113 return fileDescriptor_2d655ab2f7683c23, []int{114} 11114 } 11115 func (m *LockTables) XXX_Unmarshal(b []byte) error { 11116 return m.Unmarshal(b) 11117 } 11118 func (m *LockTables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11119 if deterministic { 11120 return xxx_messageInfo_LockTables.Marshal(b, m, deterministic) 11121 } else { 11122 b = b[:cap(b)] 11123 n, err := m.MarshalToSizedBuffer(b) 11124 if err != nil { 11125 return nil, err 11126 } 11127 return b[:n], nil 11128 } 11129 } 11130 func (m *LockTables) XXX_Merge(src proto.Message) { 11131 xxx_messageInfo_LockTables.Merge(m, src) 11132 } 11133 func (m *LockTables) XXX_Size() int { 11134 return m.ProtoSize() 11135 } 11136 func (m *LockTables) XXX_DiscardUnknown() { 11137 xxx_messageInfo_LockTables.DiscardUnknown(m) 11138 } 11139 11140 var xxx_messageInfo_LockTables proto.InternalMessageInfo 11141 11142 func (m *LockTables) GetTableLocks() []*TableLockInfo { 11143 if m != nil { 11144 return m.TableLocks 11145 } 11146 return nil 11147 } 11148 11149 type UnLockTables struct { 11150 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11151 XXX_unrecognized []byte `json:"-"` 11152 XXX_sizecache int32 `json:"-"` 11153 } 11154 11155 func (m *UnLockTables) Reset() { *m = UnLockTables{} } 11156 func (m *UnLockTables) String() string { return proto.CompactTextString(m) } 11157 func (*UnLockTables) ProtoMessage() {} 11158 func (*UnLockTables) Descriptor() ([]byte, []int) { 11159 return fileDescriptor_2d655ab2f7683c23, []int{115} 11160 } 11161 func (m *UnLockTables) XXX_Unmarshal(b []byte) error { 11162 return m.Unmarshal(b) 11163 } 11164 func (m *UnLockTables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11165 if deterministic { 11166 return xxx_messageInfo_UnLockTables.Marshal(b, m, deterministic) 11167 } else { 11168 b = b[:cap(b)] 11169 n, err := m.MarshalToSizedBuffer(b) 11170 if err != nil { 11171 return nil, err 11172 } 11173 return b[:n], nil 11174 } 11175 } 11176 func (m *UnLockTables) XXX_Merge(src proto.Message) { 11177 xxx_messageInfo_UnLockTables.Merge(m, src) 11178 } 11179 func (m *UnLockTables) XXX_Size() int { 11180 return m.ProtoSize() 11181 } 11182 func (m *UnLockTables) XXX_DiscardUnknown() { 11183 xxx_messageInfo_UnLockTables.DiscardUnknown(m) 11184 } 11185 11186 var xxx_messageInfo_UnLockTables proto.InternalMessageInfo 11187 11188 type MetadataScanInfo struct { 11189 ColName string `protobuf:"bytes,1,opt,name=col_name,json=colName,proto3" json:"col_name,omitempty"` 11190 ObjectName string `protobuf:"bytes,2,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` 11191 IsHidden bool `protobuf:"varint,3,opt,name=is_hidden,json=isHidden,proto3" json:"is_hidden,omitempty"` 11192 ObjLoc []byte `protobuf:"bytes,4,opt,name=obj_loc,json=objLoc,proto3" json:"obj_loc,omitempty"` 11193 CreateTs []byte `protobuf:"bytes,5,opt,name=create_ts,json=createTs,proto3" json:"create_ts,omitempty"` 11194 DeleteTs []byte `protobuf:"bytes,6,opt,name=delete_ts,json=deleteTs,proto3" json:"delete_ts,omitempty"` 11195 RowCnt int64 `protobuf:"varint,7,opt,name=row_cnt,json=rowCnt,proto3" json:"row_cnt,omitempty"` 11196 NullCnt int64 `protobuf:"varint,8,opt,name=null_cnt,json=nullCnt,proto3" json:"null_cnt,omitempty"` 11197 CompressSize int64 `protobuf:"varint,9,opt,name=compress_size,json=compressSize,proto3" json:"compress_size,omitempty"` 11198 OriginSize int64 `protobuf:"varint,10,opt,name=origin_size,json=originSize,proto3" json:"origin_size,omitempty"` 11199 ZoneMap []byte `protobuf:"bytes,11,opt,name=zone_map,json=zoneMap,proto3" json:"zone_map,omitempty"` 11200 XXX_NoUnkeyedLiteral struct{} `json:"-"` 11201 XXX_unrecognized []byte `json:"-"` 11202 XXX_sizecache int32 `json:"-"` 11203 } 11204 11205 func (m *MetadataScanInfo) Reset() { *m = MetadataScanInfo{} } 11206 func (m *MetadataScanInfo) String() string { return proto.CompactTextString(m) } 11207 func (*MetadataScanInfo) ProtoMessage() {} 11208 func (*MetadataScanInfo) Descriptor() ([]byte, []int) { 11209 return fileDescriptor_2d655ab2f7683c23, []int{116} 11210 } 11211 func (m *MetadataScanInfo) XXX_Unmarshal(b []byte) error { 11212 return m.Unmarshal(b) 11213 } 11214 func (m *MetadataScanInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 11215 if deterministic { 11216 return xxx_messageInfo_MetadataScanInfo.Marshal(b, m, deterministic) 11217 } else { 11218 b = b[:cap(b)] 11219 n, err := m.MarshalToSizedBuffer(b) 11220 if err != nil { 11221 return nil, err 11222 } 11223 return b[:n], nil 11224 } 11225 } 11226 func (m *MetadataScanInfo) XXX_Merge(src proto.Message) { 11227 xxx_messageInfo_MetadataScanInfo.Merge(m, src) 11228 } 11229 func (m *MetadataScanInfo) XXX_Size() int { 11230 return m.ProtoSize() 11231 } 11232 func (m *MetadataScanInfo) XXX_DiscardUnknown() { 11233 xxx_messageInfo_MetadataScanInfo.DiscardUnknown(m) 11234 } 11235 11236 var xxx_messageInfo_MetadataScanInfo proto.InternalMessageInfo 11237 11238 func (m *MetadataScanInfo) GetColName() string { 11239 if m != nil { 11240 return m.ColName 11241 } 11242 return "" 11243 } 11244 11245 func (m *MetadataScanInfo) GetObjectName() string { 11246 if m != nil { 11247 return m.ObjectName 11248 } 11249 return "" 11250 } 11251 11252 func (m *MetadataScanInfo) GetIsHidden() bool { 11253 if m != nil { 11254 return m.IsHidden 11255 } 11256 return false 11257 } 11258 11259 func (m *MetadataScanInfo) GetObjLoc() []byte { 11260 if m != nil { 11261 return m.ObjLoc 11262 } 11263 return nil 11264 } 11265 11266 func (m *MetadataScanInfo) GetCreateTs() []byte { 11267 if m != nil { 11268 return m.CreateTs 11269 } 11270 return nil 11271 } 11272 11273 func (m *MetadataScanInfo) GetDeleteTs() []byte { 11274 if m != nil { 11275 return m.DeleteTs 11276 } 11277 return nil 11278 } 11279 11280 func (m *MetadataScanInfo) GetRowCnt() int64 { 11281 if m != nil { 11282 return m.RowCnt 11283 } 11284 return 0 11285 } 11286 11287 func (m *MetadataScanInfo) GetNullCnt() int64 { 11288 if m != nil { 11289 return m.NullCnt 11290 } 11291 return 0 11292 } 11293 11294 func (m *MetadataScanInfo) GetCompressSize() int64 { 11295 if m != nil { 11296 return m.CompressSize 11297 } 11298 return 0 11299 } 11300 11301 func (m *MetadataScanInfo) GetOriginSize() int64 { 11302 if m != nil { 11303 return m.OriginSize 11304 } 11305 return 0 11306 } 11307 11308 func (m *MetadataScanInfo) GetZoneMap() []byte { 11309 if m != nil { 11310 return m.ZoneMap 11311 } 11312 return nil 11313 } 11314 11315 func init() { 11316 proto.RegisterEnum("plan.CompressType", CompressType_name, CompressType_value) 11317 proto.RegisterEnum("plan.PartitionType", PartitionType_name, PartitionType_value) 11318 proto.RegisterEnum("plan.ShuffleType", ShuffleType_name, ShuffleType_value) 11319 proto.RegisterEnum("plan.ShuffleMethod", ShuffleMethod_name, ShuffleMethod_value) 11320 proto.RegisterEnum("plan.ShuffleTypeForMultiCN", ShuffleTypeForMultiCN_name, ShuffleTypeForMultiCN_value) 11321 proto.RegisterEnum("plan.TransationCompletionType", TransationCompletionType_name, TransationCompletionType_value) 11322 proto.RegisterEnum("plan.TableLockType", TableLockType_name, TableLockType_value) 11323 proto.RegisterEnum("plan.SubqueryRef_Type", SubqueryRef_Type_name, SubqueryRef_Type_value) 11324 proto.RegisterEnum("plan.Function_FuncFlag", Function_FuncFlag_name, Function_FuncFlag_value) 11325 proto.RegisterEnum("plan.ForeignKeyDef_RefAction", ForeignKeyDef_RefAction_name, ForeignKeyDef_RefAction_value) 11326 proto.RegisterEnum("plan.OrderBySpec_OrderByFlag", OrderBySpec_OrderByFlag_name, OrderBySpec_OrderByFlag_value) 11327 proto.RegisterEnum("plan.FrameClause_FrameType", FrameClause_FrameType_name, FrameClause_FrameType_value) 11328 proto.RegisterEnum("plan.FrameBound_BoundType", FrameBound_BoundType_name, FrameBound_BoundType_value) 11329 proto.RegisterEnum("plan.Node_NodeType", Node_NodeType_name, Node_NodeType_value) 11330 proto.RegisterEnum("plan.Node_JoinType", Node_JoinType_name, Node_JoinType_value) 11331 proto.RegisterEnum("plan.Node_AggMode", Node_AggMode_name, Node_AggMode_value) 11332 proto.RegisterEnum("plan.Node_FillType", Node_FillType_name, Node_FillType_value) 11333 proto.RegisterEnum("plan.Query_StatementType", Query_StatementType_name, Query_StatementType_value) 11334 proto.RegisterEnum("plan.TransationControl_TclType", TransationControl_TclType_name, TransationControl_TclType_value) 11335 proto.RegisterEnum("plan.TransationBegin_TransationMode", TransationBegin_TransationMode_name, TransationBegin_TransationMode_value) 11336 proto.RegisterEnum("plan.DataControl_DclType", DataControl_DclType_name, DataControl_DclType_value) 11337 proto.RegisterEnum("plan.DataDefinition_DdlType", DataDefinition_DdlType_name, DataDefinition_DdlType_value) 11338 proto.RegisterEnum("plan.AlterTableDrop_Typ", AlterTableDrop_Typ_name, AlterTableDrop_Typ_value) 11339 proto.RegisterEnum("plan.AlterTable_AlgorithmType", AlterTable_AlgorithmType_name, AlterTable_AlgorithmType_value) 11340 proto.RegisterEnum("plan.MetadataScanInfo_MetadataScanInfoType", MetadataScanInfo_MetadataScanInfoType_name, MetadataScanInfo_MetadataScanInfoType_value) 11341 proto.RegisterType((*Type)(nil), "plan.Type") 11342 proto.RegisterType((*MsgHeader)(nil), "plan.msgHeader") 11343 proto.RegisterType((*Literal)(nil), "plan.Literal") 11344 proto.RegisterType((*ParamRef)(nil), "plan.ParamRef") 11345 proto.RegisterType((*VarRef)(nil), "plan.VarRef") 11346 proto.RegisterType((*ColRef)(nil), "plan.ColRef") 11347 proto.RegisterType((*RawColRef)(nil), "plan.RawColRef") 11348 proto.RegisterType((*CorrColRef)(nil), "plan.CorrColRef") 11349 proto.RegisterType((*ExprList)(nil), "plan.ExprList") 11350 proto.RegisterType((*MaxValue)(nil), "plan.MaxValue") 11351 proto.RegisterType((*TargetType)(nil), "plan.TargetType") 11352 proto.RegisterType((*SubqueryRef)(nil), "plan.SubqueryRef") 11353 proto.RegisterType((*ObjectRef)(nil), "plan.ObjectRef") 11354 proto.RegisterType((*PubInfo)(nil), "plan.PubInfo") 11355 proto.RegisterType((*SubscriptionMeta)(nil), "plan.SubscriptionMeta") 11356 proto.RegisterType((*Function)(nil), "plan.Function") 11357 proto.RegisterType((*Expr)(nil), "plan.Expr") 11358 proto.RegisterType((*LiteralVec)(nil), "plan.LiteralVec") 11359 proto.RegisterType((*Decimal64)(nil), "plan.decimal64") 11360 proto.RegisterType((*Decimal128)(nil), "plan.decimal128") 11361 proto.RegisterType((*ResultColDef)(nil), "plan.ResultColDef") 11362 proto.RegisterType((*ColDef)(nil), "plan.ColDef") 11363 proto.RegisterType((*Default)(nil), "plan.Default") 11364 proto.RegisterType((*OnUpdate)(nil), "plan.OnUpdate") 11365 proto.RegisterType((*IndexOption)(nil), "plan.IndexOption") 11366 proto.RegisterType((*PrimaryKeyDef)(nil), "plan.PrimaryKeyDef") 11367 proto.RegisterType((*IndexDef)(nil), "plan.IndexDef") 11368 proto.RegisterType((*ForeignKeyDef)(nil), "plan.ForeignKeyDef") 11369 proto.RegisterType((*CheckDef)(nil), "plan.CheckDef") 11370 proto.RegisterType((*ClusterByDef)(nil), "plan.ClusterByDef") 11371 proto.RegisterType((*PropertyDef)(nil), "plan.PropertyDef") 11372 proto.RegisterType((*Property)(nil), "plan.Property") 11373 proto.RegisterType((*PropertiesDef)(nil), "plan.PropertiesDef") 11374 proto.RegisterType((*PartitionByDef)(nil), "plan.PartitionByDef") 11375 proto.RegisterType((*PartitionExpr)(nil), "plan.PartitionExpr") 11376 proto.RegisterType((*PartitionColumns)(nil), "plan.PartitionColumns") 11377 proto.RegisterType((*PartitionItem)(nil), "plan.PartitionItem") 11378 proto.RegisterType((*ViewDef)(nil), "plan.ViewDef") 11379 proto.RegisterType((*TableDef)(nil), "plan.TableDef") 11380 proto.RegisterMapType((map[string]int32)(nil), "plan.TableDef.Name2colIndexEntry") 11381 proto.RegisterType((*TableDef_DefType)(nil), "plan.TableDef.DefType") 11382 proto.RegisterType((*TableFunction)(nil), "plan.TableFunction") 11383 proto.RegisterType((*HashMapStats)(nil), "plan.HashMapStats") 11384 proto.RegisterType((*Stats)(nil), "plan.Stats") 11385 proto.RegisterType((*RowsetExpr)(nil), "plan.RowsetExpr") 11386 proto.RegisterType((*ColData)(nil), "plan.ColData") 11387 proto.RegisterType((*RowsetData)(nil), "plan.RowsetData") 11388 proto.RegisterType((*OrderBySpec)(nil), "plan.OrderBySpec") 11389 proto.RegisterType((*WindowSpec)(nil), "plan.WindowSpec") 11390 proto.RegisterType((*SampleFuncSpec)(nil), "plan.SampleFuncSpec") 11391 proto.RegisterType((*FrameClause)(nil), "plan.FrameClause") 11392 proto.RegisterType((*FrameBound)(nil), "plan.FrameBound") 11393 proto.RegisterType((*OnDuplicateKeyCtx)(nil), "plan.OnDuplicateKeyCtx") 11394 proto.RegisterMapType((map[string]*Expr)(nil), "plan.OnDuplicateKeyCtx.OnDuplicateExprEntry") 11395 proto.RegisterType((*InsertCtx)(nil), "plan.InsertCtx") 11396 proto.RegisterType((*ReplaceCtx)(nil), "plan.ReplaceCtx") 11397 proto.RegisterType((*AnalyzeInfo)(nil), "plan.AnalyzeInfo") 11398 proto.RegisterType((*PartitionPrune)(nil), "plan.PartitionPrune") 11399 proto.RegisterType((*OriginTableMessageForFuzzy)(nil), "plan.OriginTableMessageForFuzzy") 11400 proto.RegisterType((*Node)(nil), "plan.Node") 11401 proto.RegisterType((*Snapshot)(nil), "plan.Snapshot") 11402 proto.RegisterType((*SnapshotTenant)(nil), "plan.SnapshotTenant") 11403 proto.RegisterType((*ExternScan)(nil), "plan.ExternScan") 11404 proto.RegisterType((*LockTarget)(nil), "plan.LockTarget") 11405 proto.RegisterType((*PreInsertUkCtx)(nil), "plan.PreInsertUkCtx") 11406 proto.RegisterType((*PreDeleteCtx)(nil), "plan.PreDeleteCtx") 11407 proto.RegisterType((*PreInsertCtx)(nil), "plan.PreInsertCtx") 11408 proto.RegisterType((*RuntimeFilterSpec)(nil), "plan.RuntimeFilterSpec") 11409 proto.RegisterType((*IdList)(nil), "plan.IdList") 11410 proto.RegisterType((*ColPosMap)(nil), "plan.ColPosMap") 11411 proto.RegisterMapType((map[string]int32)(nil), "plan.ColPosMap.MapEntry") 11412 proto.RegisterType((*DeleteCtx)(nil), "plan.DeleteCtx") 11413 proto.RegisterType((*Query)(nil), "plan.Query") 11414 proto.RegisterType((*TransationControl)(nil), "plan.TransationControl") 11415 proto.RegisterType((*TransationBegin)(nil), "plan.TransationBegin") 11416 proto.RegisterType((*TransationCommit)(nil), "plan.TransationCommit") 11417 proto.RegisterType((*TransationRollback)(nil), "plan.TransationRollback") 11418 proto.RegisterType((*Plan)(nil), "plan.Plan") 11419 proto.RegisterType((*Column)(nil), "plan.column") 11420 proto.RegisterType((*DataControl)(nil), "plan.DataControl") 11421 proto.RegisterType((*DataDefinition)(nil), "plan.DataDefinition") 11422 proto.RegisterType((*SubscriptionOption)(nil), "plan.SubscriptionOption") 11423 proto.RegisterType((*CreateDatabase)(nil), "plan.CreateDatabase") 11424 proto.RegisterType((*AlterDatabase)(nil), "plan.AlterDatabase") 11425 proto.RegisterType((*DropDatabase)(nil), "plan.DropDatabase") 11426 proto.RegisterType((*FkColName)(nil), "plan.FkColName") 11427 proto.RegisterType((*ForeignKeyInfo)(nil), "plan.ForeignKeyInfo") 11428 proto.RegisterType((*CreateTable)(nil), "plan.CreateTable") 11429 proto.RegisterType((*AlterTableDrop)(nil), "plan.AlterTableDrop") 11430 proto.RegisterType((*AlterTableAddFk)(nil), "plan.AlterTableAddFk") 11431 proto.RegisterType((*AlterTableAddIndex)(nil), "plan.AlterTableAddIndex") 11432 proto.RegisterType((*AlterTableDropIndex)(nil), "plan.AlterTableDropIndex") 11433 proto.RegisterType((*AlterTableAlterIndex)(nil), "plan.AlterTableAlterIndex") 11434 proto.RegisterType((*AlterTableAlterReIndex)(nil), "plan.AlterTableAlterReIndex") 11435 proto.RegisterType((*AlterTableAddPartition)(nil), "plan.AlterTableAddPartition") 11436 proto.RegisterType((*AlterTableComment)(nil), "plan.AlterTableComment") 11437 proto.RegisterType((*AlterTableName)(nil), "plan.AlterTableName") 11438 proto.RegisterType((*AlterAddColumn)(nil), "plan.AlterAddColumn") 11439 proto.RegisterType((*AlterDropColumn)(nil), "plan.AlterDropColumn") 11440 proto.RegisterType((*AlterTable)(nil), "plan.AlterTable") 11441 proto.RegisterMapType((map[uint64]*ColDef)(nil), "plan.AlterTable.ChangeTblColIdMapEntry") 11442 proto.RegisterType((*AlterTable_Action)(nil), "plan.AlterTable.Action") 11443 proto.RegisterType((*DropTable)(nil), "plan.DropTable") 11444 proto.RegisterType((*AlterView)(nil), "plan.AlterView") 11445 proto.RegisterType((*CreateSequence)(nil), "plan.CreateSequence") 11446 proto.RegisterType((*DropSequence)(nil), "plan.DropSequence") 11447 proto.RegisterType((*AlterSequence)(nil), "plan.AlterSequence") 11448 proto.RegisterType((*CreateIndex)(nil), "plan.CreateIndex") 11449 proto.RegisterType((*AlterIndex)(nil), "plan.AlterIndex") 11450 proto.RegisterType((*DropIndex)(nil), "plan.DropIndex") 11451 proto.RegisterType((*TruncateTable)(nil), "plan.TruncateTable") 11452 proto.RegisterType((*ClusterTable)(nil), "plan.ClusterTable") 11453 proto.RegisterType((*ShowVariables)(nil), "plan.ShowVariables") 11454 proto.RegisterType((*SetVariables)(nil), "plan.SetVariables") 11455 proto.RegisterType((*SetVariablesItem)(nil), "plan.SetVariablesItem") 11456 proto.RegisterType((*Prepare)(nil), "plan.Prepare") 11457 proto.RegisterType((*Execute)(nil), "plan.Execute") 11458 proto.RegisterType((*Deallocate)(nil), "plan.Deallocate") 11459 proto.RegisterType((*OtherDCL)(nil), "plan.OtherDCL") 11460 proto.RegisterType((*TableLockInfo)(nil), "plan.TableLockInfo") 11461 proto.RegisterType((*LockTables)(nil), "plan.LockTables") 11462 proto.RegisterType((*UnLockTables)(nil), "plan.UnLockTables") 11463 proto.RegisterType((*MetadataScanInfo)(nil), "plan.MetadataScanInfo") 11464 } 11465 11466 func init() { proto.RegisterFile("plan.proto", fileDescriptor_2d655ab2f7683c23) } 11467 11468 var fileDescriptor_2d655ab2f7683c23 = []byte{ 11469 // 10643 bytes of a gzipped FileDescriptorProto 11470 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0xbd, 0xdd, 0x8f, 0x1b, 0x57, 11471 0x96, 0x18, 0xde, 0xfc, 0x26, 0x0f, 0x3f, 0xba, 0xfa, 0xaa, 0x25, 0x51, 0xb2, 0x2c, 0xb5, 0xcb, 11472 0x1a, 0x5b, 0xd6, 0x78, 0x64, 0x5b, 0xf2, 0x87, 0xec, 0x9d, 0xd9, 0x19, 0x36, 0x9b, 0x52, 0xd3, 11473 0x62, 0x93, 0x3d, 0x45, 0xb6, 0x64, 0xcf, 0xe2, 0xf7, 0x2b, 0x14, 0x59, 0xc5, 0xee, 0x72, 0x17, 11474 0xab, 0xe8, 0xaa, 0xa2, 0xba, 0xdb, 0xc0, 0x02, 0x93, 0x04, 0xc8, 0x22, 0x01, 0xf2, 0x14, 0x60, 11475 0x5f, 0x92, 0x00, 0x93, 0xcd, 0xdb, 0x22, 0x01, 0x02, 0x24, 0xc0, 0x06, 0x79, 0x4d, 0x10, 0x6c, 11476 0x82, 0x20, 0x08, 0x90, 0x87, 0x45, 0x3e, 0xb0, 0x09, 0x26, 0x2f, 0x79, 0xca, 0x3e, 0x6c, 0xfe, 11477 0x80, 0xe0, 0x9c, 0x7b, 0xab, 0xea, 0x16, 0xc9, 0x1e, 0xd9, 0xb3, 0xb3, 0x48, 0xf2, 0xd2, 0x5d, 11478 0xf7, 0x9c, 0x73, 0xbf, 0xef, 0x3d, 0x5f, 0xf7, 0xdc, 0x4b, 0x80, 0xb9, 0x63, 0xb8, 0x0f, 0xe6, 11479 0xbe, 0x17, 0x7a, 0x2c, 0x8f, 0xdf, 0x37, 0x7f, 0x70, 0x6c, 0x87, 0x27, 0x8b, 0xf1, 0x83, 0x89, 11480 0x37, 0x7b, 0xef, 0xd8, 0x3b, 0xf6, 0xde, 0x23, 0xe4, 0x78, 0x31, 0xa5, 0x14, 0x25, 0xe8, 0x8b, 11481 0x67, 0xba, 0x09, 0x8e, 0x37, 0x39, 0x15, 0xdf, 0x9b, 0xa1, 0x3d, 0xb3, 0x82, 0xd0, 0x98, 0xcd, 11482 0x39, 0x40, 0xfd, 0xa3, 0x0c, 0xe4, 0x47, 0x17, 0x73, 0x8b, 0x35, 0x20, 0x6b, 0x9b, 0xcd, 0xcc, 11483 0x4e, 0xe6, 0x5e, 0x41, 0xcb, 0xda, 0x26, 0xdb, 0x81, 0xaa, 0xeb, 0x85, 0xfd, 0x85, 0xe3, 0x18, 11484 0x63, 0xc7, 0x6a, 0x66, 0x77, 0x32, 0xf7, 0xca, 0x9a, 0x0c, 0x62, 0xaf, 0x41, 0xc5, 0x58, 0x84, 11485 0x9e, 0x6e, 0xbb, 0x13, 0xbf, 0x99, 0x23, 0x7c, 0x19, 0x01, 0x5d, 0x77, 0xe2, 0xb3, 0x6d, 0x28, 11486 0x9c, 0xd9, 0x66, 0x78, 0xd2, 0xcc, 0x53, 0x89, 0x3c, 0x81, 0xd0, 0x60, 0x62, 0x38, 0x56, 0xb3, 11487 0xc0, 0xa1, 0x94, 0x40, 0x68, 0x48, 0x95, 0x14, 0x77, 0x32, 0xf7, 0x2a, 0x1a, 0x4f, 0xb0, 0xdb, 11488 0x00, 0x96, 0xbb, 0x98, 0xbd, 0x34, 0x9c, 0x85, 0x15, 0x34, 0x4b, 0x84, 0x92, 0x20, 0xea, 0x8f, 11489 0xa1, 0x32, 0x0b, 0x8e, 0xf7, 0x2d, 0xc3, 0xb4, 0x7c, 0x76, 0x1d, 0x4a, 0xb3, 0xe0, 0x58, 0x0f, 11490 0x8d, 0x63, 0xd1, 0x85, 0xe2, 0x2c, 0x38, 0x1e, 0x19, 0xc7, 0xec, 0x06, 0x94, 0x09, 0x71, 0x31, 11491 0xe7, 0x7d, 0x28, 0x68, 0x48, 0x88, 0x3d, 0x56, 0xff, 0xac, 0x00, 0xa5, 0x9e, 0x1d, 0x5a, 0xbe, 11492 0xe1, 0xb0, 0x6b, 0x50, 0xb4, 0x03, 0x77, 0xe1, 0x38, 0x94, 0xbd, 0xac, 0x89, 0x14, 0xbb, 0x06, 11493 0x05, 0xfb, 0xf1, 0x4b, 0xc3, 0xe1, 0x79, 0xf7, 0x37, 0x34, 0x9e, 0x64, 0x4d, 0x28, 0xda, 0x1f, 11494 0x7c, 0x8c, 0x88, 0x9c, 0x40, 0x88, 0x34, 0x61, 0x1e, 0x3d, 0x44, 0x4c, 0x3e, 0xc6, 0x50, 0x9a, 11495 0x30, 0x1f, 0x7f, 0x88, 0x18, 0xec, 0x7d, 0x8e, 0x30, 0x94, 0xc6, 0x5a, 0x16, 0x54, 0x0b, 0x0e, 11496 0x40, 0x1d, 0x6b, 0x59, 0x44, 0xb5, 0x2c, 0x78, 0x2d, 0x25, 0x81, 0x10, 0x69, 0xc2, 0xf0, 0x5a, 11497 0xca, 0x31, 0x26, 0xae, 0x65, 0xc1, 0x6b, 0xa9, 0xec, 0x64, 0xee, 0xe5, 0x09, 0xc3, 0x6b, 0xd9, 11498 0x86, 0xbc, 0x89, 0x70, 0xd8, 0xc9, 0xdc, 0xcb, 0xec, 0x6f, 0x68, 0x94, 0x42, 0x68, 0x80, 0xd0, 11499 0x2a, 0x0e, 0x30, 0x42, 0x03, 0x01, 0x1d, 0x23, 0xb4, 0x86, 0xa3, 0x81, 0xd0, 0xb1, 0x80, 0x4e, 11500 0x11, 0x5a, 0xdf, 0xc9, 0xdc, 0xcb, 0x22, 0x14, 0x53, 0xec, 0x26, 0x94, 0x4c, 0x23, 0xb4, 0x10, 11501 0xd1, 0x10, 0x5d, 0x8e, 0x00, 0x88, 0xc3, 0x15, 0x87, 0xb8, 0x4d, 0xd1, 0xe9, 0x08, 0xc0, 0x54, 11502 0xa8, 0x22, 0x59, 0x84, 0x57, 0x04, 0x5e, 0x06, 0xb2, 0x8f, 0xa0, 0x66, 0x5a, 0x13, 0x7b, 0x66, 11503 0x38, 0xbc, 0x4f, 0x5b, 0x3b, 0x99, 0x7b, 0xd5, 0x87, 0x9b, 0x0f, 0x68, 0x4f, 0xc4, 0x98, 0xfd, 11504 0x0d, 0x2d, 0x45, 0xc6, 0x1e, 0x43, 0x5d, 0xa4, 0x3f, 0x78, 0x48, 0x03, 0xcb, 0x28, 0x9f, 0x92, 11505 0xca, 0xf7, 0xc1, 0xc3, 0xc7, 0xfb, 0x1b, 0x5a, 0x9a, 0x90, 0xdd, 0x85, 0x5a, 0xbc, 0x45, 0x30, 11506 0xe3, 0x15, 0xd1, 0xaa, 0x14, 0x14, 0xbb, 0xf5, 0x55, 0xe0, 0xb9, 0x48, 0xb0, 0x2d, 0xc6, 0x2d, 11507 0x02, 0xb0, 0x1d, 0x00, 0xd3, 0x9a, 0x1a, 0x0b, 0x27, 0x44, 0xf4, 0x55, 0x31, 0x80, 0x12, 0x8c, 11508 0xdd, 0x86, 0xca, 0x62, 0x8e, 0xbd, 0x7c, 0x6e, 0x38, 0xcd, 0x6b, 0x82, 0x20, 0x01, 0x61, 0xe9, 11509 0xb8, 0xce, 0x11, 0x7b, 0x5d, 0xcc, 0x6e, 0x04, 0xc0, 0xbd, 0x62, 0x07, 0xbb, 0xb6, 0xdb, 0x6c, 11510 0xd2, 0x3a, 0xe5, 0x09, 0x76, 0x0b, 0x72, 0x81, 0x3f, 0x69, 0xde, 0xa0, 0x5e, 0x02, 0xef, 0x65, 11511 0xe7, 0x7c, 0xee, 0x6b, 0x08, 0xde, 0x2d, 0x41, 0x81, 0xf6, 0x8c, 0x7a, 0x0b, 0xca, 0x87, 0x86, 11512 0x6f, 0xcc, 0x34, 0x6b, 0xca, 0x14, 0xc8, 0xcd, 0xbd, 0x40, 0xec, 0x16, 0xfc, 0x54, 0x7b, 0x50, 11513 0x7c, 0x6e, 0xf8, 0x88, 0x63, 0x90, 0x77, 0x8d, 0x99, 0x45, 0xc8, 0x8a, 0x46, 0xdf, 0xb8, 0x43, 11514 0x82, 0x8b, 0x20, 0xb4, 0x66, 0x82, 0x15, 0x88, 0x14, 0xc2, 0x8f, 0x1d, 0x6f, 0x2c, 0x76, 0x42, 11515 0x59, 0x13, 0x29, 0xf5, 0xaf, 0x66, 0xa0, 0xd8, 0xf6, 0x1c, 0x2c, 0xee, 0x3a, 0x94, 0x7c, 0xcb, 11516 0xd1, 0x93, 0xea, 0x8a, 0xbe, 0xe5, 0x1c, 0x7a, 0x01, 0x22, 0x26, 0x1e, 0x47, 0xf0, 0xbd, 0x59, 11517 0x9c, 0x78, 0x84, 0x88, 0x1a, 0x90, 0x93, 0x1a, 0x70, 0x03, 0xca, 0xe1, 0xd8, 0xd1, 0x09, 0x9e, 11518 0x27, 0x78, 0x29, 0x1c, 0x3b, 0x7d, 0x44, 0x5d, 0x87, 0x92, 0x39, 0xe6, 0x98, 0x02, 0x61, 0x8a, 11519 0xe6, 0x18, 0x11, 0xea, 0xa7, 0x50, 0xd1, 0x8c, 0x33, 0xd1, 0x8c, 0xab, 0x50, 0xc4, 0x02, 0x04, 11520 0x97, 0xcb, 0x6b, 0x85, 0x70, 0xec, 0x74, 0x4d, 0x04, 0x63, 0x23, 0x6c, 0x93, 0xda, 0x90, 0xd7, 11521 0x0a, 0x13, 0xcf, 0xe9, 0x9a, 0xea, 0x08, 0xa0, 0xed, 0xf9, 0xfe, 0xaf, 0xdd, 0x85, 0x6d, 0x28, 11522 0x98, 0xd6, 0x3c, 0x3c, 0xe1, 0x0c, 0x42, 0xe3, 0x09, 0xf5, 0x3e, 0x94, 0x71, 0x5e, 0x7a, 0x76, 11523 0x10, 0xb2, 0xdb, 0x90, 0x77, 0xec, 0x20, 0x6c, 0x66, 0x76, 0x72, 0x4b, 0xb3, 0x46, 0x70, 0x75, 11524 0x07, 0xca, 0x07, 0xc6, 0xf9, 0x73, 0x9c, 0x39, 0x2c, 0x8d, 0xa6, 0x50, 0x4c, 0x89, 0x98, 0xcf, 11525 0x1a, 0xc0, 0xc8, 0xf0, 0x8f, 0xad, 0x90, 0xf8, 0xd9, 0x9f, 0x67, 0xa0, 0x3a, 0x5c, 0x8c, 0xbf, 11526 0x5e, 0x58, 0xfe, 0x05, 0xb6, 0xf9, 0x1e, 0xe4, 0xc2, 0x8b, 0x39, 0xe5, 0x68, 0x3c, 0xbc, 0xc6, 11527 0x8b, 0x97, 0xf0, 0x0f, 0x30, 0x93, 0x86, 0x24, 0xd8, 0x09, 0xd7, 0x33, 0xad, 0x68, 0x0c, 0x0a, 11528 0x5a, 0x11, 0x93, 0x5d, 0x13, 0x85, 0x82, 0x37, 0x17, 0xb3, 0x90, 0xf5, 0xe6, 0x6c, 0x07, 0x0a, 11529 0x93, 0x13, 0xdb, 0x31, 0x69, 0x02, 0xd2, 0x6d, 0xe6, 0x08, 0x9c, 0x25, 0xdf, 0x3b, 0xd3, 0x03, 11530 0xfb, 0x9b, 0x88, 0xc9, 0x97, 0x7c, 0xef, 0x6c, 0x68, 0x7f, 0x63, 0xa9, 0x23, 0x21, 0x69, 0x00, 11531 0x8a, 0xc3, 0x76, 0xab, 0xd7, 0xd2, 0x94, 0x0d, 0xfc, 0xee, 0x7c, 0xd1, 0x1d, 0x8e, 0x86, 0x4a, 11532 0x86, 0x35, 0x00, 0xfa, 0x83, 0x91, 0x2e, 0xd2, 0x59, 0x56, 0x84, 0x6c, 0xb7, 0xaf, 0xe4, 0x90, 11533 0x06, 0xe1, 0xdd, 0xbe, 0x92, 0x67, 0x25, 0xc8, 0xb5, 0xfa, 0x5f, 0x2a, 0x05, 0xfa, 0xe8, 0xf5, 11534 0x94, 0xa2, 0xfa, 0x87, 0x59, 0xa8, 0x0c, 0xc6, 0x5f, 0x59, 0x93, 0x10, 0xfb, 0x8c, 0xab, 0xd4, 11535 0xf2, 0x5f, 0x5a, 0x3e, 0x75, 0x3b, 0xa7, 0x89, 0x14, 0x76, 0xc4, 0x1c, 0x53, 0xe7, 0x72, 0x5a, 11536 0xd6, 0x1c, 0x13, 0xdd, 0xe4, 0xc4, 0x9a, 0x19, 0xd4, 0x39, 0xa4, 0xa3, 0x14, 0xee, 0x0a, 0x6f, 11537 0xfc, 0x15, 0x75, 0x2f, 0xa7, 0xe1, 0x27, 0xbb, 0x03, 0x55, 0x5e, 0x86, 0xbc, 0xbe, 0x80, 0x83, 11538 0x96, 0x17, 0x5f, 0x51, 0x5e, 0x7c, 0x94, 0x93, 0x4a, 0xe5, 0x48, 0x21, 0xc1, 0x38, 0xa8, 0x2f, 11539 0x56, 0xb4, 0x37, 0xfe, 0x8a, 0x63, 0xcb, 0x7c, 0x45, 0x7b, 0xe3, 0xaf, 0x08, 0xf5, 0x7d, 0xd8, 11540 0x0a, 0x16, 0xe3, 0x60, 0xe2, 0xdb, 0xf3, 0xd0, 0xf6, 0x5c, 0x4e, 0x53, 0x21, 0x1a, 0x45, 0x46, 11541 0x10, 0xf1, 0x3d, 0x28, 0xcf, 0x17, 0x63, 0xdd, 0x76, 0xa7, 0x1e, 0x31, 0xf7, 0xea, 0xc3, 0x3a, 11542 0x9f, 0x98, 0xc3, 0xc5, 0xb8, 0xeb, 0x4e, 0x3d, 0xad, 0x34, 0xe7, 0x1f, 0xea, 0x5b, 0x50, 0x12, 11543 0x30, 0x94, 0xde, 0xa1, 0xe5, 0x1a, 0x6e, 0xa8, 0xc7, 0x62, 0xbf, 0xcc, 0x01, 0x5d, 0x53, 0xfd, 11544 0xbb, 0x19, 0x50, 0x86, 0x52, 0x35, 0x07, 0x56, 0x68, 0xac, 0xe5, 0x0a, 0xaf, 0x03, 0x18, 0x93, 11545 0x89, 0xb7, 0xe0, 0xc5, 0xf0, 0xc5, 0x53, 0x11, 0x90, 0xae, 0x29, 0x8f, 0x4d, 0x2e, 0x35, 0x36, 11546 0x6f, 0x40, 0x2d, 0xca, 0x27, 0x6d, 0xe8, 0xaa, 0x80, 0x45, 0xa3, 0x13, 0x2c, 0x52, 0xbb, 0xba, 11547 0x14, 0x2c, 0xf8, 0xb6, 0xfe, 0x9b, 0x59, 0x28, 0x3f, 0x59, 0xb8, 0x13, 0x6c, 0x1a, 0x7b, 0x13, 11548 0xf2, 0xd3, 0x85, 0x3b, 0xa1, 0x66, 0xc5, 0xa2, 0x21, 0x5e, 0x11, 0x1a, 0x21, 0x71, 0xaf, 0x19, 11549 0xfe, 0x31, 0xee, 0xd1, 0x95, 0xbd, 0x86, 0x70, 0xf5, 0x9f, 0x65, 0x78, 0x89, 0x4f, 0x1c, 0xe3, 11550 0x98, 0x95, 0x21, 0xdf, 0x1f, 0xf4, 0x3b, 0xca, 0x06, 0xab, 0x41, 0xb9, 0xdb, 0x1f, 0x75, 0xb4, 11551 0x7e, 0xab, 0xa7, 0x64, 0x68, 0xe1, 0x8e, 0x5a, 0xbb, 0xbd, 0x8e, 0x92, 0x45, 0xcc, 0xf3, 0x41, 11552 0xaf, 0x35, 0xea, 0xf6, 0x3a, 0x4a, 0x9e, 0x63, 0xb4, 0x6e, 0x7b, 0xa4, 0x94, 0x99, 0x02, 0xb5, 11553 0x43, 0x6d, 0xb0, 0x77, 0xd4, 0xee, 0xe8, 0xfd, 0xa3, 0x5e, 0x4f, 0x51, 0xd8, 0x15, 0xd8, 0x8c, 11554 0x21, 0x03, 0x0e, 0xdc, 0xc1, 0x2c, 0xcf, 0x5b, 0x5a, 0x4b, 0x7b, 0xaa, 0xfc, 0x84, 0x95, 0x21, 11555 0xd7, 0x7a, 0xfa, 0x54, 0xf9, 0x39, 0xee, 0x81, 0xca, 0x8b, 0x6e, 0x5f, 0x7f, 0xde, 0xea, 0x1d, 11556 0x75, 0x94, 0x9f, 0x67, 0xa3, 0xf4, 0x40, 0xdb, 0xeb, 0x68, 0xca, 0xcf, 0xf3, 0x6c, 0x0b, 0x6a, 11557 0x3f, 0x1b, 0xf4, 0x3b, 0x07, 0xad, 0xc3, 0x43, 0x6a, 0xc8, 0xcf, 0xcb, 0xea, 0x1f, 0xe7, 0x21, 11558 0x8f, 0x3d, 0x61, 0x6a, 0xb2, 0xdf, 0xe3, 0x2e, 0xe2, 0x86, 0xdb, 0xcd, 0xff, 0xf1, 0x9f, 0xde, 11559 0xd9, 0xe0, 0x3b, 0xfd, 0x0d, 0xc8, 0x39, 0x76, 0x48, 0x13, 0x15, 0xaf, 0x12, 0xa1, 0x03, 0xed, 11560 0x6f, 0x68, 0x88, 0x63, 0xb7, 0x21, 0xc3, 0xb7, 0x7c, 0xf5, 0x61, 0x43, 0x2c, 0x23, 0x21, 0x33, 11561 0xf6, 0x37, 0xb4, 0xcc, 0x9c, 0xdd, 0x82, 0xcc, 0x4b, 0xb1, 0xff, 0x6b, 0x1c, 0xcf, 0xa5, 0x06, 11562 0x62, 0x5f, 0xb2, 0x1d, 0xc8, 0x4d, 0x3c, 0xae, 0xe1, 0xc4, 0x78, 0xce, 0x43, 0xb1, 0xfc, 0x89, 11563 0xe7, 0xb0, 0x37, 0x21, 0xe7, 0x1b, 0x67, 0xb4, 0x57, 0xe2, 0xe9, 0x8a, 0x99, 0x34, 0x12, 0xf9, 11564 0xc6, 0x19, 0x36, 0x62, 0x4a, 0x3b, 0x26, 0x6e, 0x44, 0x34, 0xdf, 0x58, 0xcd, 0x94, 0xed, 0x40, 11565 0xe6, 0x8c, 0xf6, 0x4c, 0x2c, 0xd4, 0x5f, 0xd8, 0xae, 0xe9, 0x9d, 0x0d, 0xe7, 0xd6, 0x04, 0x29, 11566 0xce, 0xd8, 0xf7, 0x20, 0x17, 0x2c, 0xc6, 0xb4, 0x67, 0xaa, 0x0f, 0xb7, 0x56, 0xb8, 0x1f, 0x56, 11567 0x14, 0x2c, 0xc6, 0xec, 0x2d, 0xc8, 0x4f, 0x3c, 0xdf, 0x17, 0xfb, 0x46, 0x89, 0x1a, 0x1c, 0x31, 11568 0x7e, 0x54, 0x72, 0x10, 0x8f, 0x15, 0x86, 0xa4, 0x23, 0xc5, 0x44, 0x09, 0xe7, 0xc5, 0x0a, 0x43, 11569 0x76, 0x57, 0xb0, 0xf3, 0x9a, 0xdc, 0xea, 0x88, 0xd9, 0x63, 0x39, 0x88, 0xc5, 0x49, 0x9a, 0x19, 11570 0xe7, 0xa4, 0x41, 0xc5, 0x44, 0x11, 0x97, 0xc7, 0x36, 0xcd, 0x8c, 0x73, 0x76, 0x17, 0x72, 0x2f, 11571 0xad, 0x09, 0x29, 0x53, 0x71, 0x6d, 0x62, 0x92, 0x9e, 0x53, 0xf7, 0x10, 0x8d, 0x72, 0xcb, 0x58, 11572 0x9c, 0xe3, 0xb6, 0xdb, 0xe4, 0x12, 0xc6, 0x58, 0x9c, 0x77, 0x4d, 0xe4, 0x60, 0xae, 0xf9, 0x92, 11573 0xb4, 0xa9, 0x8c, 0x86, 0x9f, 0xa8, 0xc9, 0x07, 0x96, 0x63, 0x4d, 0x42, 0xfb, 0xa5, 0x1d, 0x5e, 11574 0x90, 0x0a, 0x95, 0xd1, 0x64, 0xd0, 0x6e, 0x11, 0xf2, 0xd6, 0xf9, 0xdc, 0x57, 0x1f, 0x02, 0x24, 11575 0xf5, 0x60, 0x49, 0x8e, 0xe5, 0x46, 0x1a, 0x82, 0x63, 0xb9, 0xc8, 0x01, 0x4c, 0x23, 0x34, 0x68, 11576 0xf9, 0xd4, 0x34, 0xfa, 0x56, 0x6f, 0x40, 0x25, 0x56, 0xbd, 0x58, 0x0d, 0x32, 0x86, 0xe0, 0xbc, 11577 0x19, 0x43, 0xbd, 0x87, 0x9a, 0x50, 0xa4, 0x5c, 0xa5, 0x71, 0x98, 0x8a, 0xf8, 0x71, 0x66, 0xac, 11578 0xfe, 0x10, 0x6a, 0x9a, 0x15, 0x2c, 0x9c, 0xb0, 0xed, 0x39, 0x7b, 0xd6, 0x94, 0xbd, 0x0b, 0x10, 11579 0xa7, 0x03, 0x21, 0x20, 0x93, 0xc5, 0xb4, 0x67, 0x4d, 0x35, 0x09, 0xaf, 0xfe, 0x5e, 0x9e, 0x54, 11580 0x8d, 0x3d, 0x2e, 0xe3, 0x85, 0x30, 0xcf, 0x48, 0xc2, 0x3c, 0x66, 0x5d, 0xd9, 0xb4, 0x42, 0x73, 11581 0x62, 0x9b, 0xa6, 0xe5, 0x46, 0x8a, 0x0b, 0x4f, 0xe1, 0xe8, 0x1b, 0xce, 0x31, 0xad, 0xf0, 0xc6, 11582 0x43, 0x16, 0x55, 0x3a, 0x9b, 0xfb, 0x56, 0x10, 0x70, 0x91, 0x69, 0x38, 0xc7, 0xd1, 0x66, 0x2b, 11583 0xfc, 0xaa, 0xcd, 0x76, 0x03, 0xca, 0xae, 0x17, 0xea, 0x64, 0x56, 0x14, 0xa9, 0x8e, 0x92, 0xb0, 11584 0x9f, 0xd8, 0xdb, 0x50, 0x12, 0x0a, 0xa1, 0x58, 0xe5, 0x62, 0x2f, 0xee, 0x71, 0xa0, 0x16, 0x61, 11585 0x59, 0x13, 0xf5, 0x8b, 0xd9, 0xcc, 0x72, 0xc3, 0x48, 0x44, 0x88, 0x24, 0xfb, 0x3e, 0x54, 0x3c, 11586 0x57, 0xe7, 0x5a, 0xa3, 0x58, 0xe6, 0x62, 0x3d, 0x0d, 0xdc, 0x23, 0x82, 0x6a, 0x65, 0x4f, 0x7c, 11587 0x61, 0x53, 0x1c, 0xef, 0x4c, 0x9f, 0x18, 0xbe, 0x49, 0x4b, 0xbd, 0xac, 0x95, 0x1c, 0xef, 0xac, 11588 0x6d, 0xf8, 0x26, 0x17, 0x99, 0x5f, 0xbb, 0x8b, 0x19, 0x2d, 0xef, 0xba, 0x26, 0x52, 0xec, 0x16, 11589 0x54, 0x26, 0xce, 0x22, 0x08, 0x2d, 0x7f, 0xf7, 0x82, 0xdb, 0x01, 0x5a, 0x02, 0xc0, 0x76, 0xcd, 11590 0x7d, 0x7b, 0x66, 0xf8, 0x17, 0xb4, 0x96, 0xcb, 0x5a, 0x94, 0x44, 0x55, 0x65, 0x7e, 0x6a, 0x9b, 11591 0xe7, 0xdc, 0x18, 0xd0, 0x78, 0x02, 0xe9, 0x4f, 0xc8, 0x54, 0x0b, 0x68, 0xb9, 0x96, 0xb5, 0x28, 11592 0x49, 0xf3, 0x40, 0x9f, 0xb4, 0x66, 0x2b, 0x9a, 0x48, 0xa5, 0xf4, 0xbd, 0xad, 0x4b, 0xf5, 0x3d, 11593 0x96, 0xd2, 0xf7, 0xbe, 0x86, 0x92, 0x18, 0x41, 0xe4, 0xf8, 0xb8, 0xa6, 0xd3, 0xec, 0x90, 0x73, 11594 0x7c, 0x84, 0xb3, 0x37, 0xa1, 0xee, 0xf9, 0xf6, 0xb1, 0xed, 0xea, 0x41, 0xe8, 0xdb, 0xee, 0xb1, 11595 0x58, 0x1b, 0x35, 0x0e, 0x1c, 0x12, 0x0c, 0xc5, 0x14, 0xce, 0x9e, 0x6e, 0x8c, 0x6d, 0x07, 0xf7, 11596 0x4e, 0x4e, 0x58, 0xc1, 0x0b, 0xc7, 0x69, 0x71, 0x90, 0x3a, 0x80, 0x72, 0x34, 0xde, 0xbf, 0x91, 11597 0x3a, 0xd5, 0xdf, 0x82, 0x6a, 0xd7, 0x35, 0xad, 0xf3, 0x01, 0x49, 0x5e, 0xf6, 0x2e, 0xb0, 0x89, 11598 0x6f, 0x19, 0xa1, 0xa5, 0x5b, 0xe7, 0xa1, 0x6f, 0xe8, 0xdc, 0x52, 0xe6, 0x56, 0xaa, 0xc2, 0x31, 11599 0x1d, 0x44, 0x8c, 0x10, 0xae, 0xfe, 0xa7, 0x0c, 0xd4, 0x0f, 0xf9, 0x44, 0x3c, 0xb3, 0x2e, 0xf6, 11600 0xb8, 0x2e, 0x3f, 0x89, 0x36, 0x51, 0x5e, 0xa3, 0x6f, 0x76, 0x1b, 0xaa, 0xf3, 0x53, 0xeb, 0x42, 11601 0x4f, 0xe9, 0xbd, 0x15, 0x04, 0xb5, 0x69, 0xbb, 0xbc, 0x03, 0x45, 0x8f, 0x6a, 0x17, 0x72, 0x40, 11602 0xb0, 0x4f, 0xa9, 0x59, 0x9a, 0x20, 0x60, 0x2a, 0xd4, 0xe3, 0xa2, 0x64, 0x49, 0x2e, 0x0a, 0xa3, 11603 0xe9, 0xda, 0x86, 0x02, 0xa2, 0x82, 0x66, 0x61, 0x27, 0x87, 0xca, 0x2b, 0x25, 0xd8, 0xfb, 0x50, 11604 0x9f, 0x78, 0xb3, 0xb9, 0x1e, 0x65, 0x17, 0x12, 0x21, 0xbd, 0xcd, 0xab, 0x48, 0x72, 0xc8, 0xcb, 11605 0x52, 0x7f, 0x3f, 0x07, 0x65, 0x6a, 0x83, 0xd8, 0xe9, 0xb6, 0x79, 0x1e, 0xed, 0xf4, 0x8a, 0x56, 11606 0xb0, 0x4d, 0x64, 0x7f, 0xaf, 0x03, 0xd8, 0x48, 0xa2, 0x4b, 0xfb, 0xbd, 0x42, 0x90, 0xa8, 0x29, 11607 0x73, 0xc3, 0x0f, 0x83, 0x66, 0x8e, 0x37, 0x85, 0x12, 0xb8, 0x04, 0x17, 0xae, 0xfd, 0xf5, 0x82, 11608 0xb7, 0xbe, 0xac, 0x89, 0x14, 0xbb, 0x07, 0x0a, 0x2f, 0x8c, 0x06, 0x5d, 0x56, 0x45, 0x1a, 0x04, 11609 0xa7, 0x31, 0x8f, 0x74, 0x3d, 0x4e, 0x63, 0x9d, 0xa3, 0x0c, 0xe0, 0xbb, 0x1d, 0x08, 0xd4, 0x41, 11610 0x88, 0xbc, 0x8f, 0x4b, 0xe9, 0x7d, 0xdc, 0x84, 0xd2, 0x4b, 0x3b, 0xb0, 0x71, 0x56, 0xcb, 0x7c, 11611 0x67, 0x88, 0xa4, 0x34, 0x0d, 0x95, 0x57, 0x4d, 0x43, 0xdc, 0x6d, 0xc3, 0x39, 0xe6, 0x4a, 0x60, 11612 0xd4, 0xed, 0x96, 0x73, 0xec, 0xb1, 0x0f, 0xe0, 0x6a, 0x82, 0x16, 0xbd, 0x21, 0x97, 0x08, 0x59, 11613 0xfd, 0x1a, 0x8b, 0x29, 0xa9, 0x47, 0xa4, 0xa5, 0xdf, 0x87, 0x2d, 0x29, 0xcb, 0x1c, 0x55, 0x80, 11614 0x80, 0xd8, 0x40, 0x45, 0xdb, 0x8c, 0xc9, 0x49, 0x33, 0x08, 0xd4, 0x7f, 0x9d, 0x85, 0xfa, 0x13, 11615 0xcf, 0xb7, 0xec, 0x63, 0x37, 0x59, 0x75, 0x2b, 0xba, 0x62, 0xb4, 0x12, 0xb3, 0xd2, 0x4a, 0xbc, 11616 0x03, 0xd5, 0x29, 0xcf, 0xa8, 0x87, 0x63, 0x6e, 0x42, 0xe6, 0x35, 0x10, 0xa0, 0xd1, 0xd8, 0xc1, 11617 0x1d, 0x18, 0x11, 0x50, 0xe6, 0x3c, 0x65, 0x8e, 0x32, 0x21, 0xfb, 0x67, 0x9f, 0x11, 0x23, 0x34, 11618 0x2d, 0xc7, 0x0a, 0xf9, 0xf4, 0x34, 0x1e, 0xbe, 0x2e, 0x74, 0x06, 0xb9, 0x4d, 0x0f, 0x34, 0x6b, 11619 0xda, 0x22, 0x15, 0x02, 0xf9, 0xe2, 0x1e, 0x91, 0x8b, 0xbc, 0x82, 0x89, 0x16, 0xbf, 0x65, 0x5e, 11620 0xbe, 0xdb, 0xd5, 0x11, 0x54, 0x62, 0x30, 0xea, 0x83, 0x5a, 0x47, 0xe8, 0x80, 0x1b, 0xac, 0x0a, 11621 0xa5, 0x76, 0x6b, 0xd8, 0x6e, 0xed, 0x75, 0x94, 0x0c, 0xa2, 0x86, 0x9d, 0x11, 0xd7, 0xfb, 0xb2, 11622 0x6c, 0x13, 0xaa, 0x98, 0xda, 0xeb, 0x3c, 0x69, 0x1d, 0xf5, 0x46, 0x4a, 0x8e, 0xd5, 0xa1, 0xd2, 11623 0x1f, 0xe8, 0xad, 0xf6, 0xa8, 0x3b, 0xe8, 0x2b, 0x79, 0xf5, 0x27, 0x50, 0x6e, 0x9f, 0x58, 0x93, 11624 0xd3, 0xcb, 0x46, 0x91, 0x4c, 0x30, 0x6b, 0x72, 0x2a, 0x74, 0xb8, 0x25, 0x13, 0xcc, 0x9a, 0x9c, 11625 0xaa, 0xcf, 0xa1, 0xd6, 0x8e, 0xf8, 0xf4, 0x65, 0xa5, 0x3c, 0x84, 0x06, 0x6d, 0xbe, 0xc9, 0x38, 11626 0xda, 0x7d, 0xd9, 0x35, 0xbb, 0xaf, 0x86, 0x34, 0xed, 0xb1, 0xd8, 0x7e, 0x1f, 0x41, 0xf5, 0xd0, 11627 0xf7, 0xe6, 0x96, 0x1f, 0x52, 0xb1, 0x0a, 0xe4, 0x4e, 0xad, 0x0b, 0x51, 0x2a, 0x7e, 0x26, 0x46, 11628 0x6a, 0x56, 0x36, 0x52, 0x1f, 0x42, 0x39, 0xca, 0xf6, 0xad, 0xf3, 0xfc, 0x18, 0xb9, 0x18, 0xe5, 11629 0xb1, 0xad, 0x00, 0x2b, 0x7b, 0x00, 0x30, 0x8f, 0x01, 0x42, 0x21, 0x88, 0xb4, 0x53, 0x51, 0xb8, 11630 0x26, 0x51, 0xa8, 0x7f, 0x9e, 0x83, 0xc6, 0xa1, 0xe1, 0x87, 0x36, 0x4e, 0x0e, 0x1f, 0x86, 0xb7, 11631 0x21, 0x4f, 0x4b, 0x9e, 0xdb, 0xc3, 0x57, 0x62, 0xd5, 0x96, 0xd3, 0x90, 0x64, 0x27, 0x02, 0xf6, 11632 0x19, 0x34, 0xe6, 0x11, 0x58, 0x27, 0x7e, 0xce, 0xc7, 0x66, 0x39, 0x0b, 0x8d, 0x79, 0x7d, 0x2e, 11633 0x27, 0xd9, 0x8f, 0x60, 0x3b, 0x9d, 0xd7, 0x0a, 0x82, 0x84, 0x8f, 0xca, 0x93, 0x75, 0x25, 0x95, 11634 0x91, 0x93, 0xb1, 0x36, 0x6c, 0x25, 0xd9, 0x27, 0x9e, 0xb3, 0x98, 0xb9, 0x81, 0xd0, 0xb5, 0xaf, 11635 0x2d, 0xd5, 0xde, 0xe6, 0x58, 0x4d, 0x99, 0x2f, 0x41, 0x98, 0x0a, 0xb5, 0x18, 0xd6, 0x5f, 0xcc, 11636 0x68, 0x4b, 0xe4, 0xb5, 0x14, 0x8c, 0x3d, 0x02, 0x88, 0xd3, 0x41, 0xb3, 0x48, 0xe3, 0xb9, 0xdc, 11637 0xbf, 0x6e, 0x68, 0xcd, 0x34, 0x89, 0x0c, 0x35, 0x02, 0x64, 0x06, 0xbe, 0x1d, 0x9e, 0xcc, 0x88, 11638 0x8b, 0xe5, 0xb4, 0x04, 0x40, 0xcc, 0x32, 0xd0, 0xd1, 0x64, 0x8b, 0xb3, 0x08, 0x86, 0xd6, 0xb0, 11639 0x83, 0xe1, 0x62, 0x1c, 0x97, 0x8b, 0x62, 0x30, 0xe9, 0xe5, 0x2c, 0x38, 0x16, 0x86, 0x6d, 0xd2, 11640 0xc2, 0x83, 0xe0, 0x98, 0x3d, 0x84, 0xab, 0x09, 0x51, 0xc2, 0x7f, 0x83, 0x26, 0x10, 0xe7, 0x4e, 11641 0x86, 0x2f, 0x66, 0xc2, 0x81, 0xfa, 0x39, 0xd4, 0x53, 0xb3, 0xf3, 0x4a, 0x81, 0x7c, 0x03, 0xca, 11642 0xf8, 0x1f, 0xc5, 0xb1, 0x58, 0x80, 0x25, 0x4c, 0x0f, 0x43, 0x5f, 0xb5, 0x40, 0x59, 0x1e, 0x6b, 11643 0x76, 0x97, 0x9c, 0x3d, 0x34, 0x29, 0xab, 0x4e, 0x9b, 0x08, 0x85, 0xb6, 0xfb, 0xea, 0x24, 0x66, 11644 0xa9, 0xd5, 0x2b, 0x93, 0xa5, 0xfe, 0xfd, 0xac, 0xd4, 0x66, 0x1c, 0x71, 0xf6, 0x3d, 0x79, 0xf9, 11645 0x49, 0x1b, 0x37, 0x19, 0x33, 0x92, 0x38, 0xef, 0x80, 0xe2, 0xf9, 0xa6, 0xed, 0x1a, 0xe4, 0x7c, 11646 0xe2, 0xc3, 0x9d, 0x25, 0x05, 0x6e, 0x53, 0xc0, 0x0f, 0x05, 0x18, 0x0d, 0x00, 0xd3, 0x8a, 0x6d, 11647 0x79, 0x61, 0x89, 0xcb, 0x20, 0x59, 0x3a, 0xe5, 0xd3, 0xd2, 0xe9, 0x6d, 0xa8, 0x38, 0x56, 0x10, 11648 0xe8, 0xe1, 0x89, 0xe1, 0x92, 0xfc, 0x4e, 0x77, 0xba, 0x8c, 0xc8, 0xd1, 0x89, 0xe1, 0x22, 0xa1, 11649 0xed, 0xea, 0xc2, 0x5b, 0x5f, 0x5c, 0x25, 0xb4, 0x5d, 0xb2, 0x71, 0x50, 0xee, 0x6f, 0xaf, 0x9b, 11650 0x58, 0x21, 0x16, 0xd9, 0xea, 0xbc, 0xaa, 0xaf, 0x43, 0xe9, 0xb9, 0x6d, 0x9d, 0x09, 0x5e, 0xf6, 11651 0xd2, 0xb6, 0xce, 0x22, 0x5e, 0x86, 0xdf, 0xea, 0x7f, 0x2c, 0x43, 0x99, 0x88, 0xf7, 0x2e, 0x77, 11652 0xf2, 0x7d, 0x17, 0x03, 0x60, 0x47, 0xc8, 0xa9, 0xfc, 0x1a, 0xb3, 0x83, 0x4b, 0xad, 0xd7, 0x01, 11653 0x24, 0x19, 0xca, 0x35, 0x82, 0x4a, 0x18, 0x8b, 0x4e, 0xd4, 0x9c, 0x49, 0x31, 0x0b, 0xbe, 0x76, 11654 0x84, 0x4f, 0x28, 0x01, 0xb0, 0x07, 0x5c, 0xaf, 0x25, 0x9f, 0x45, 0x49, 0x66, 0x2c, 0xd4, 0x87, 11655 0xc8, 0xcc, 0x25, 0x65, 0x17, 0x13, 0xa4, 0x1f, 0x58, 0x7e, 0x10, 0x6d, 0xa7, 0xba, 0x16, 0x25, 11656 0x91, 0xa3, 0xa1, 0xf2, 0x24, 0xcc, 0xd2, 0x68, 0xfb, 0xca, 0xda, 0x9f, 0x46, 0x04, 0xec, 0x1e, 11657 0x94, 0x48, 0x64, 0x5b, 0x28, 0xc1, 0x25, 0xd6, 0x19, 0x29, 0x53, 0x5a, 0x84, 0x66, 0xef, 0x40, 11658 0x61, 0x7a, 0x6a, 0x5d, 0x04, 0xcd, 0xba, 0xcc, 0x12, 0x52, 0xb2, 0x50, 0xe3, 0x14, 0xec, 0x2e, 11659 0x34, 0x7c, 0x6b, 0xaa, 0x93, 0xdb, 0x0f, 0x85, 0x77, 0xd0, 0x6c, 0x90, 0x6c, 0xae, 0xf9, 0xd6, 11660 0xb4, 0x8d, 0xc0, 0xd1, 0xd8, 0x09, 0xd8, 0x5b, 0x50, 0x24, 0xa9, 0x84, 0x6a, 0xbf, 0x54, 0x73, 11661 0x24, 0xe2, 0x34, 0x81, 0x65, 0x0f, 0xa1, 0x92, 0xb0, 0x8d, 0xab, 0xd4, 0xa1, 0xed, 0x25, 0x7e, 11662 0x44, 0x6c, 0x5c, 0x4b, 0xc8, 0xd8, 0x07, 0x00, 0xc2, 0x20, 0xd1, 0xc7, 0x17, 0xe4, 0x48, 0xaf, 11663 0xc6, 0x06, 0x9b, 0x24, 0x00, 0x65, 0xb3, 0xe5, 0x6d, 0x28, 0xa0, 0x94, 0x08, 0x9a, 0xd7, 0xa9, 11664 0x35, 0x5b, 0x69, 0x11, 0x42, 0xbd, 0x23, 0x3c, 0xbb, 0x07, 0x65, 0x5c, 0x5c, 0x3a, 0x4e, 0x61, 11665 0x53, 0xb6, 0xd0, 0xc4, 0x4a, 0x44, 0x2d, 0xcd, 0x3a, 0x1b, 0x7e, 0xed, 0xb0, 0xfb, 0x90, 0x37, 11666 0xad, 0x69, 0xd0, 0xbc, 0x41, 0x25, 0x5e, 0x93, 0xe6, 0x12, 0x15, 0x87, 0x3d, 0x6b, 0xca, 0x45, 11667 0x0b, 0xd2, 0xb0, 0x7d, 0x68, 0xe0, 0xd2, 0x7b, 0x48, 0x8a, 0x37, 0x0e, 0x79, 0xf3, 0x26, 0xe5, 11668 0x7a, 0x63, 0x29, 0x57, 0x5f, 0x10, 0xd1, 0x04, 0x75, 0xdc, 0xd0, 0xbf, 0xd0, 0xea, 0xae, 0x0c, 11669 0x63, 0x37, 0xa1, 0x6c, 0x07, 0x3d, 0x6f, 0x72, 0x6a, 0x99, 0xcd, 0xd7, 0xf8, 0xd9, 0x5b, 0x94, 11670 0x66, 0x9f, 0x42, 0x9d, 0x16, 0x23, 0x26, 0xb1, 0xf2, 0xe6, 0x2d, 0x59, 0xe4, 0x8d, 0x64, 0x94, 11671 0x96, 0xa6, 0x44, 0x75, 0xcb, 0x0e, 0xf4, 0xd0, 0x9a, 0xcd, 0x3d, 0x1f, 0x6d, 0xbb, 0xd7, 0xb9, 11672 0xc1, 0x63, 0x07, 0xa3, 0x08, 0x84, 0x7c, 0x3e, 0x3e, 0xf6, 0xd3, 0xbd, 0xe9, 0x34, 0xb0, 0xc2, 11673 0xe6, 0x6d, 0xda, 0x6b, 0x8d, 0xe8, 0xf4, 0x6f, 0x40, 0x50, 0x52, 0x4a, 0x03, 0xdd, 0xbc, 0x70, 11674 0x8d, 0x99, 0x3d, 0x69, 0xde, 0xe1, 0x26, 0xa4, 0x1d, 0xec, 0x71, 0x80, 0x6c, 0xc5, 0xed, 0xc8, 11675 0x56, 0xdc, 0xcd, 0xa7, 0x64, 0xc5, 0x51, 0x7b, 0x3e, 0x5a, 0x92, 0xfb, 0xa9, 0x85, 0x2e, 0x29, 11676 0x08, 0xfb, 0x1b, 0xb2, 0xf8, 0xdf, 0x2d, 0x40, 0xce, 0xb4, 0xa6, 0x37, 0x7f, 0x02, 0x6c, 0x75, 11677 0x24, 0x5f, 0xa5, 0x84, 0x14, 0x84, 0x12, 0xf2, 0x59, 0xf6, 0x71, 0x46, 0xfd, 0x14, 0xea, 0xa9, 11678 0x6d, 0xb9, 0x56, 0x99, 0xe2, 0x46, 0x85, 0x31, 0x13, 0x7e, 0x11, 0x9e, 0x50, 0xff, 0x5d, 0x0e, 11679 0x6a, 0xfb, 0x46, 0x70, 0x72, 0x60, 0xcc, 0x87, 0xa1, 0x11, 0x06, 0x38, 0xb6, 0x27, 0x46, 0x70, 11680 0x32, 0x33, 0xe6, 0xdc, 0x3d, 0x9e, 0xe1, 0x8e, 0x18, 0x01, 0x1b, 0xda, 0xdf, 0x58, 0x38, 0xab, 11681 0x98, 0x1c, 0xb8, 0x87, 0xcf, 0xc4, 0x31, 0x4b, 0x9c, 0x46, 0x3e, 0x10, 0x9c, 0x2c, 0xa6, 0x53, 11682 0xc7, 0x12, 0xfc, 0x2a, 0x4a, 0xb2, 0xbb, 0x50, 0x17, 0x9f, 0x64, 0xbe, 0x9d, 0x8b, 0x33, 0xd7, 11683 0x34, 0x90, 0x3d, 0x82, 0xaa, 0x00, 0x8c, 0x22, 0xae, 0xd5, 0x88, 0x1d, 0x63, 0x09, 0x42, 0x93, 11684 0xa9, 0xd8, 0x4f, 0xe1, 0xaa, 0x94, 0x7c, 0xe2, 0xf9, 0x07, 0x0b, 0x27, 0xb4, 0xdb, 0x7d, 0xa1, 11685 0x2b, 0xbf, 0xb6, 0x92, 0x3d, 0x21, 0xd1, 0xd6, 0xe7, 0x4c, 0xb7, 0xf6, 0xc0, 0x76, 0x85, 0x26, 11686 0x91, 0x06, 0x2e, 0x51, 0x19, 0xe7, 0xc4, 0xfb, 0xd2, 0x54, 0xc6, 0x39, 0xae, 0x74, 0x01, 0x38, 11687 0xb0, 0xc2, 0x13, 0xcf, 0x24, 0x4d, 0x22, 0x5e, 0xe9, 0x43, 0x19, 0xa5, 0xa5, 0x29, 0x71, 0x38, 11688 0xd1, 0x8c, 0x9f, 0xb8, 0x21, 0x99, 0x4b, 0x39, 0x2d, 0x4a, 0xa2, 0x5c, 0xf0, 0x0d, 0xf7, 0xd8, 11689 0x0a, 0x9a, 0xd5, 0x9d, 0xdc, 0xbd, 0x8c, 0x26, 0x52, 0xea, 0x5f, 0xc9, 0x42, 0x81, 0xcf, 0xe4, 11690 0x6b, 0x50, 0x19, 0x3b, 0xde, 0xe4, 0x54, 0x77, 0x17, 0xb3, 0xc8, 0x77, 0x4e, 0x00, 0x54, 0xad, 11691 0xc8, 0xcc, 0x09, 0xb8, 0x8f, 0x35, 0xa3, 0xd1, 0x37, 0x16, 0xe9, 0x2d, 0x42, 0xac, 0x2b, 0x47, 11692 0x50, 0x91, 0xc2, 0x46, 0xf8, 0xde, 0x19, 0xad, 0x86, 0x3c, 0x21, 0xa2, 0x24, 0xb9, 0xe7, 0x49, 11693 0xc4, 0x60, 0xa6, 0x02, 0xe1, 0xca, 0x04, 0x68, 0xbb, 0xe1, 0xb2, 0x47, 0xaf, 0xb8, 0xe2, 0xd1, 11694 0x63, 0xb7, 0x01, 0x8d, 0xa8, 0x89, 0x35, 0x70, 0xad, 0x76, 0x9f, 0x46, 0xb8, 0xac, 0x49, 0x10, 11695 0xf6, 0x71, 0xbc, 0x16, 0xa9, 0x47, 0xc2, 0x95, 0x2a, 0x98, 0xa7, 0xbc, 0x6a, 0xb5, 0x14, 0x9d, 11696 0xfa, 0x02, 0x40, 0xf3, 0xce, 0x02, 0x2b, 0x24, 0xf5, 0xea, 0x3a, 0x35, 0x3f, 0x75, 0x2a, 0xe6, 11697 0x9d, 0x1d, 0x7a, 0x41, 0x74, 0xb8, 0x98, 0x8d, 0x0f, 0x17, 0x63, 0x4d, 0x2c, 0xb7, 0x5e, 0x13, 11698 0x53, 0xdf, 0x83, 0x12, 0x8a, 0x58, 0x23, 0x34, 0xd8, 0x5d, 0xe1, 0x65, 0xe4, 0x2a, 0x96, 0xf0, 11699 0x7f, 0x26, 0xb5, 0x0a, 0xbf, 0x63, 0x2f, 0x6a, 0x09, 0xe5, 0x79, 0x43, 0xf2, 0x72, 0xc4, 0xac, 11700 0x5a, 0x14, 0x28, 0x84, 0xf6, 0x6b, 0x50, 0xc1, 0xc6, 0xd2, 0x01, 0x83, 0x68, 0x59, 0xd9, 0xf7, 11701 0xce, 0xda, 0x98, 0x56, 0xff, 0x73, 0x06, 0xaa, 0x03, 0xdf, 0x44, 0x19, 0x31, 0x9c, 0x5b, 0x93, 11702 0x57, 0x2a, 0x8e, 0x28, 0xe2, 0x3d, 0xc7, 0x31, 0x62, 0xb5, 0x0b, 0x45, 0x7c, 0x04, 0x60, 0x1f, 11703 0x40, 0x7e, 0xea, 0x18, 0xc7, 0xd4, 0xd9, 0xd8, 0xa0, 0x94, 0x8a, 0x8f, 0xbe, 0x9f, 0x38, 0xc6, 11704 0xb1, 0x46, 0xa4, 0xea, 0xef, 0xc4, 0xf5, 0xd3, 0x11, 0x84, 0x7c, 0xf0, 0xb0, 0x41, 0x87, 0x5d, 11705 0xc3, 0xb6, 0x92, 0x61, 0x65, 0xc8, 0xef, 0x75, 0x86, 0x6d, 0x6e, 0x46, 0xa2, 0x41, 0x39, 0xd4, 11706 0x9f, 0x74, 0xb5, 0xe1, 0x48, 0xc9, 0xd3, 0xe9, 0x19, 0x01, 0x7a, 0xad, 0xe1, 0x48, 0x29, 0x33, 11707 0x80, 0xe2, 0x51, 0xbf, 0xfb, 0xd3, 0xa3, 0x8e, 0xa2, 0xa8, 0xff, 0x21, 0x03, 0x90, 0xf8, 0xc7, 11708 0xd9, 0xf7, 0xa1, 0x7a, 0x46, 0x29, 0x5d, 0x3a, 0x38, 0x91, 0xfb, 0x08, 0x1c, 0x4d, 0xea, 0xc7, 11709 0x0f, 0x24, 0x6b, 0x02, 0xc5, 0xec, 0xea, 0x09, 0x4a, 0x75, 0x9e, 0x48, 0x68, 0xf6, 0x2e, 0x94, 11710 0x3d, 0xec, 0x07, 0x92, 0xe6, 0x64, 0x19, 0x2b, 0x75, 0x5f, 0x2b, 0x79, 0x3c, 0x81, 0xe2, 0x78, 11711 0xea, 0x47, 0x5e, 0xa3, 0x98, 0xf4, 0x09, 0x82, 0xda, 0x8e, 0xb1, 0x08, 0x2c, 0x8d, 0xe3, 0x63, 11712 0xb6, 0x5b, 0x48, 0xd8, 0xae, 0xfa, 0x33, 0x68, 0x0c, 0x8d, 0xd9, 0x9c, 0x33, 0x67, 0xea, 0x18, 11713 0x83, 0x3c, 0xae, 0x09, 0xb1, 0x18, 0xe9, 0x1b, 0xb7, 0xd8, 0xa1, 0xe5, 0x4f, 0x2c, 0x37, 0xda, 11714 0x91, 0x51, 0x12, 0x99, 0xed, 0x51, 0x60, 0xbb, 0xc7, 0x9a, 0x77, 0x16, 0x85, 0xaf, 0x44, 0x69, 11715 0xf5, 0x1f, 0x66, 0xa0, 0x2a, 0x35, 0x83, 0xbd, 0x97, 0x32, 0x1e, 0x5f, 0x5b, 0x69, 0x27, 0xff, 11716 0x96, 0x8c, 0xc8, 0xb7, 0xa0, 0x10, 0x84, 0x86, 0x1f, 0x1d, 0xb5, 0x28, 0x52, 0x8e, 0x5d, 0x6f, 11717 0xe1, 0x9a, 0x1a, 0x47, 0x33, 0x15, 0x72, 0x96, 0x6b, 0x8a, 0x6d, 0xb1, 0x4a, 0x85, 0x48, 0x75, 11718 0x07, 0x2a, 0x71, 0xf1, 0xb8, 0x04, 0xb4, 0xc1, 0x8b, 0xa1, 0xb2, 0xc1, 0x2a, 0x50, 0xd0, 0x5a, 11719 0xfd, 0xa7, 0x1d, 0x25, 0xa3, 0xfe, 0xd3, 0x0c, 0x40, 0x92, 0x8b, 0x3d, 0x48, 0xb5, 0xf6, 0xe6, 11720 0x72, 0xa9, 0x0f, 0xe8, 0xaf, 0xd4, 0xd8, 0x5b, 0x50, 0x59, 0xb8, 0x04, 0xb4, 0x4c, 0x21, 0x77, 11721 0x12, 0x00, 0xbb, 0x05, 0xb9, 0x28, 0xd0, 0x65, 0x29, 0xb8, 0xe0, 0xa5, 0xe1, 0xa8, 0x9f, 0x41, 11722 0x25, 0x2e, 0x8e, 0xd5, 0xa1, 0xf2, 0x64, 0xd0, 0xeb, 0x0d, 0x5e, 0x74, 0xfb, 0x4f, 0x95, 0x0d, 11723 0x4c, 0x1e, 0x6a, 0x9d, 0x76, 0x67, 0x0f, 0x93, 0x19, 0x5c, 0xb3, 0xed, 0x23, 0x4d, 0xeb, 0xf4, 11724 0x47, 0xba, 0x36, 0x78, 0xa1, 0x64, 0xd5, 0xbf, 0x96, 0x87, 0xad, 0x81, 0xbb, 0xb7, 0x98, 0x3b, 11725 0xf6, 0xc4, 0x08, 0xad, 0x67, 0xd6, 0x45, 0x3b, 0x3c, 0x47, 0x71, 0x6a, 0x84, 0xa1, 0xcf, 0x37, 11726 0x73, 0x45, 0xe3, 0x09, 0xee, 0x8b, 0x0b, 0x2c, 0x3f, 0x24, 0x57, 0xa3, 0xbc, 0x8b, 0x1b, 0x1c, 11727 0xde, 0xf6, 0x1c, 0xda, 0xcb, 0xec, 0x47, 0x70, 0x95, 0xfb, 0xef, 0x38, 0x25, 0xea, 0x97, 0xba, 11728 0xe0, 0x3d, 0xcb, 0x4b, 0x97, 0x71, 0x42, 0xcc, 0x8a, 0x64, 0xc4, 0xd4, 0xee, 0x40, 0x35, 0xc9, 11729 0xce, 0xad, 0x80, 0x8a, 0x06, 0x31, 0x21, 0xb5, 0xc4, 0x73, 0x75, 0x33, 0x6a, 0xb5, 0x6e, 0x9b, 11730 0xe7, 0x64, 0x19, 0x15, 0xb4, 0x86, 0x97, 0x74, 0x06, 0x45, 0xee, 0x17, 0xb0, 0x95, 0xa2, 0xa4, 11731 0x56, 0x70, 0xdb, 0xe8, 0xdd, 0xc8, 0x55, 0xbf, 0xd4, 0x7b, 0x19, 0x82, 0xcd, 0xe1, 0xca, 0xdf, 11732 0xa6, 0x97, 0x86, 0x22, 0x33, 0xb3, 0x03, 0xdd, 0x3e, 0x76, 0x3d, 0xdf, 0x12, 0xec, 0xbd, 0x6c, 11733 0x07, 0x5d, 0x4a, 0x27, 0xe6, 0x89, 0x74, 0xb2, 0xcc, 0xa5, 0x49, 0x74, 0xb0, 0xca, 0xd1, 0x36, 11734 0x97, 0x97, 0x79, 0xad, 0x44, 0xe9, 0xae, 0x89, 0x96, 0x39, 0x47, 0x45, 0x16, 0x07, 0x90, 0xc5, 11735 0x51, 0x23, 0xe0, 0x73, 0x0e, 0xbb, 0xd9, 0x87, 0xed, 0x75, 0x8d, 0x5c, 0xa3, 0x57, 0xed, 0xc8, 11736 0x7a, 0xd5, 0x92, 0xaf, 0x2a, 0xd1, 0xb1, 0xfe, 0x79, 0x16, 0x2a, 0x5d, 0x3e, 0x85, 0xe1, 0x39, 11737 0x7b, 0x03, 0x72, 0xbe, 0x35, 0xbd, 0xec, 0x34, 0x17, 0x71, 0xec, 0x3e, 0x6c, 0x19, 0xa6, 0xa9, 11738 0x1b, 0xd3, 0xa9, 0x35, 0x09, 0x2d, 0x53, 0x47, 0x99, 0x29, 0x96, 0xed, 0xa6, 0x61, 0x9a, 0x2d, 11739 0x01, 0xa7, 0xed, 0xcf, 0xbd, 0x12, 0x91, 0x99, 0xc0, 0x9d, 0xe7, 0xb9, 0xc8, 0x2b, 0x21, 0xac, 11740 0x04, 0xd2, 0xf0, 0xd8, 0xf7, 0x23, 0x89, 0x6b, 0x5a, 0x53, 0xc1, 0x8f, 0x1a, 0x69, 0xb5, 0x5c, 11741 0x48, 0x60, 0xee, 0x8f, 0xba, 0xb2, 0x6c, 0xc4, 0xda, 0x26, 0x77, 0x70, 0xe7, 0xb5, 0xad, 0xb4, 11742 0x0d, 0xdb, 0x35, 0x83, 0xcb, 0xbd, 0x19, 0xc5, 0x4b, 0xbd, 0x19, 0x69, 0x37, 0x09, 0x2e, 0xb2, 11743 0x12, 0x2d, 0xf7, 0x84, 0x1d, 0x77, 0xcd, 0x73, 0xf5, 0xbf, 0x64, 0x01, 0x34, 0x6b, 0xee, 0x18, 11744 0x13, 0xeb, 0xff, 0x9d, 0xd1, 0xbb, 0x03, 0x55, 0xee, 0xae, 0xd5, 0x27, 0x9e, 0x6b, 0x46, 0x31, 11745 0x15, 0x1c, 0xd4, 0xf6, 0x88, 0x81, 0xad, 0x1d, 0xde, 0xe2, 0x77, 0x1e, 0xde, 0xd2, 0x77, 0x18, 11746 0xde, 0xf2, 0xba, 0xe1, 0xcd, 0x43, 0xb5, 0xe5, 0x1a, 0xce, 0xc5, 0x37, 0x16, 0x45, 0x4d, 0x90, 11747 0x9f, 0x7d, 0xbe, 0x08, 0xf9, 0xa8, 0xf1, 0xd3, 0xcc, 0x0a, 0x41, 0x68, 0xbc, 0xee, 0x40, 0xd5, 11748 0x5b, 0x84, 0x31, 0x9e, 0x9f, 0x6f, 0x02, 0x07, 0x11, 0x41, 0x9c, 0x9f, 0x74, 0xbe, 0x9c, 0x94, 11749 0x9f, 0xf4, 0xff, 0x24, 0x7f, 0xac, 0x13, 0xc6, 0xf9, 0x89, 0x00, 0x37, 0xa8, 0x3d, 0xa3, 0x71, 11750 0x0b, 0x16, 0x33, 0x8b, 0x8f, 0x5d, 0x8e, 0x47, 0xa7, 0xb5, 0x05, 0x0c, 0x4b, 0x99, 0x59, 0x33, 11751 0xcf, 0xbf, 0xe0, 0xa5, 0x14, 0x79, 0x29, 0x1c, 0x44, 0xa5, 0xbc, 0x0b, 0xec, 0xcc, 0xb0, 0x43, 11752 0x3d, 0x5d, 0x14, 0xd7, 0xc3, 0x15, 0xc4, 0x8c, 0xe4, 0xe2, 0xae, 0x41, 0xd1, 0xb4, 0x83, 0xd3, 11753 0xee, 0x40, 0xe8, 0xe0, 0x22, 0x85, 0x3c, 0x28, 0x78, 0xd4, 0x1d, 0xe8, 0xe3, 0x0b, 0x71, 0x00, 11754 0x99, 0xd3, 0xca, 0x08, 0xd8, 0xbd, 0x08, 0xe9, 0xe8, 0x84, 0x90, 0xbc, 0xb7, 0x9c, 0x5d, 0x73, 11755 0x3d, 0xbb, 0x81, 0xf0, 0x2e, 0x82, 0x39, 0xbb, 0xbe, 0x0f, 0x5b, 0x44, 0x29, 0x3a, 0xce, 0x49, 11756 0xab, 0x44, 0xba, 0x89, 0x88, 0x01, 0xc1, 0x39, 0xed, 0x2d, 0xa8, 0xb8, 0x56, 0x78, 0xe6, 0xf9, 11757 0xd8, 0x9a, 0x1a, 0x1f, 0xbd, 0x18, 0x80, 0x02, 0x3d, 0x98, 0x18, 0x2e, 0x36, 0x9e, 0x0e, 0x25, 11758 0xb1, 0x3d, 0x22, 0x8d, 0x0a, 0x31, 0x17, 0x13, 0x84, 0x6d, 0xf0, 0x21, 0x49, 0x20, 0xec, 0x53, 11759 0xb8, 0x91, 0x1a, 0x0d, 0xdd, 0xf0, 0x7d, 0xe3, 0x42, 0x9f, 0x19, 0x5f, 0x79, 0x3e, 0xb9, 0x2e, 11760 0x72, 0xda, 0x35, 0x79, 0x90, 0x5b, 0x88, 0x3e, 0x40, 0xec, 0xa5, 0x59, 0x6d, 0xd7, 0xf3, 0x9b, 11761 0xca, 0x65, 0x59, 0x11, 0xab, 0xfa, 0x92, 0x97, 0xfa, 0xd0, 0x5f, 0xb8, 0x16, 0xb7, 0xeb, 0xe9, 11762 0xd3, 0x14, 0x87, 0x7c, 0x71, 0x9a, 0xed, 0xc1, 0x15, 0xae, 0xe3, 0x5b, 0xa6, 0x2e, 0x79, 0x6f, 11763 0xb3, 0x97, 0x7b, 0x6f, 0x59, 0x44, 0x1f, 0x83, 0x03, 0xf5, 0xe7, 0x19, 0xb8, 0x39, 0xa0, 0x03, 11764 0x47, 0xda, 0x0c, 0x07, 0x56, 0x10, 0x18, 0xc7, 0x68, 0xa0, 0x3d, 0x59, 0x7c, 0xf3, 0x0d, 0x9a, 11765 0xf7, 0x9b, 0x87, 0x86, 0x6f, 0xb9, 0x61, 0xbc, 0x55, 0x04, 0x47, 0x5f, 0x06, 0xb3, 0xc7, 0xe4, 11766 0x21, 0xb5, 0xdc, 0xf0, 0x28, 0x96, 0x8d, 0xa2, 0x2d, 0x69, 0x9f, 0xd9, 0x0a, 0x95, 0xfa, 0xaf, 11767 0x5e, 0x83, 0x7c, 0xdf, 0x33, 0x2d, 0xf6, 0x3e, 0x54, 0x28, 0xf0, 0x6c, 0xd5, 0x31, 0x8f, 0x68, 11768 0xfa, 0x43, 0x6a, 0x4a, 0xd9, 0x15, 0x5f, 0x97, 0x87, 0xaa, 0xbd, 0x41, 0x0a, 0x17, 0x9d, 0xec, 11769 0x21, 0xf3, 0xa9, 0x0a, 0x13, 0x90, 0x6c, 0x18, 0x8e, 0xc1, 0xb1, 0x25, 0x6f, 0x95, 0x6f, 0xb9, 11770 0x24, 0xd6, 0x0b, 0x5a, 0x9c, 0x26, 0x35, 0xd7, 0xf7, 0x90, 0x51, 0xea, 0x14, 0xc5, 0x51, 0x58, 11771 0xa3, 0xe6, 0x72, 0x3c, 0xc5, 0xee, 0xbd, 0x0f, 0x95, 0xaf, 0x3c, 0xdb, 0xe5, 0x0d, 0x2f, 0xae, 11772 0x34, 0xfc, 0x73, 0xcf, 0xe6, 0x27, 0x0a, 0xe5, 0xaf, 0xc4, 0x17, 0x7b, 0x13, 0x4a, 0x9e, 0xcb, 11773 0xcb, 0x2e, 0xad, 0x94, 0x5d, 0xf4, 0xdc, 0x1e, 0x8f, 0x0e, 0xa9, 0x8f, 0x17, 0xb6, 0x63, 0xea, 11774 0x48, 0x6a, 0x4d, 0x43, 0xe1, 0x40, 0xaf, 0x12, 0x70, 0xe0, 0xf6, 0xac, 0x69, 0x88, 0xda, 0xfb, 11775 0xd4, 0x76, 0x90, 0x1f, 0x53, 0x61, 0x95, 0x95, 0xc2, 0x80, 0xa3, 0xa9, 0xc0, 0xef, 0x41, 0xf9, 11776 0xd8, 0xf7, 0x16, 0x73, 0x54, 0xc7, 0x61, 0xd5, 0x65, 0x4d, 0xb8, 0xdd, 0x0b, 0xec, 0x3d, 0x7d, 11777 0xda, 0xee, 0xb1, 0x1e, 0x58, 0x21, 0x19, 0xbe, 0x4b, 0xbd, 0x8f, 0xf0, 0x43, 0x8b, 0x4a, 0x35, 11778 0x8e, 0x8f, 0x75, 0x11, 0xee, 0xb2, 0x52, 0xaa, 0x71, 0x7c, 0x4c, 0x95, 0x3f, 0x80, 0xfa, 0x99, 11779 0xed, 0xea, 0xc1, 0xdc, 0x9a, 0x70, 0xda, 0xfa, 0x6a, 0xb1, 0x67, 0xb6, 0x8b, 0xaa, 0x3b, 0xd1, 11780 0xcb, 0xb6, 0x43, 0xe3, 0x95, 0xb6, 0xc3, 0x0e, 0x14, 0x1c, 0x7b, 0x66, 0x87, 0x14, 0x4f, 0xb0, 11781 0xa4, 0x5c, 0x10, 0x82, 0xa9, 0x50, 0x14, 0xfe, 0x29, 0x65, 0x85, 0x44, 0x60, 0xd2, 0x72, 0x6b, 11782 0xeb, 0x15, 0x72, 0xeb, 0x1e, 0x94, 0xbc, 0xf1, 0x57, 0x3a, 0x4a, 0x58, 0xb6, 0x5e, 0xc2, 0x16, 11783 0xbd, 0xf1, 0x57, 0x9a, 0x35, 0x65, 0x1f, 0x91, 0x13, 0xdf, 0x72, 0x43, 0x3d, 0xca, 0x70, 0x65, 11784 0x7d, 0x86, 0x1a, 0x27, 0x1b, 0xf0, 0x6c, 0x1f, 0x40, 0xd5, 0x27, 0xa3, 0x56, 0x27, 0x0b, 0x78, 11785 0x5b, 0xb6, 0x0a, 0x12, 0x6b, 0x57, 0x03, 0x3f, 0xb1, 0x7c, 0xdf, 0x84, 0x3a, 0x0f, 0x0c, 0xe0, 11786 0x27, 0xc1, 0x01, 0xf9, 0x41, 0x2b, 0x5a, 0x8d, 0x80, 0xfc, 0x94, 0x38, 0x60, 0x0f, 0x00, 0x22, 11787 0x81, 0x1b, 0x9e, 0x53, 0x50, 0x71, 0xdc, 0x14, 0x7e, 0x10, 0xda, 0x0e, 0xcf, 0xb5, 0x8a, 0x19, 11788 0x7d, 0xb2, 0x37, 0xa0, 0x36, 0xb6, 0x5d, 0x13, 0x97, 0x43, 0x68, 0x1c, 0x07, 0xcd, 0x26, 0xed, 11789 0x96, 0xaa, 0x80, 0x8d, 0x8c, 0xe3, 0x80, 0x7d, 0x08, 0x35, 0x83, 0x0b, 0x46, 0x1e, 0x78, 0x78, 11790 0x43, 0xb6, 0xe0, 0x24, 0x91, 0xa9, 0x55, 0x0d, 0x49, 0x7e, 0x7e, 0x02, 0x2c, 0x72, 0x7e, 0x93, 11791 0x36, 0xcc, 0xd7, 0xc5, 0xcd, 0x95, 0x75, 0xb1, 0x29, 0xbc, 0xdf, 0x71, 0xb0, 0xec, 0x27, 0x50, 11792 0x4f, 0xab, 0x21, 0xb7, 0xd6, 0xb8, 0x7b, 0x69, 0xca, 0xb4, 0xda, 0x44, 0x56, 0x4c, 0xde, 0x84, 11793 0xba, 0xeb, 0x85, 0xfa, 0xc4, 0x98, 0x9c, 0x58, 0x94, 0x91, 0xbb, 0x34, 0x6b, 0xae, 0x17, 0xb6, 11794 0x23, 0x18, 0x8e, 0x4f, 0x64, 0x5c, 0x84, 0xe7, 0xe4, 0xcd, 0x8c, 0xc7, 0x27, 0xd6, 0x4c, 0x51, 11795 0x4e, 0x47, 0x4a, 0x2a, 0xce, 0x13, 0x57, 0xba, 0x28, 0xc3, 0x9d, 0xd4, 0x3c, 0xc5, 0xda, 0x98, 11796 0x06, 0x7e, 0xa2, 0x99, 0xdd, 0x81, 0x6a, 0xe0, 0x2d, 0xfc, 0x89, 0xa5, 0x07, 0xa1, 0x35, 0x6f, 11797 0xee, 0xd0, 0x88, 0x02, 0x07, 0x0d, 0x43, 0x6b, 0xce, 0x1e, 0x43, 0x63, 0xee, 0x5b, 0xba, 0x34, 11798 0x4f, 0x6f, 0xc8, 0x5d, 0x3c, 0xf4, 0xad, 0x64, 0xaa, 0x6a, 0x73, 0x29, 0x15, 0xe5, 0x94, 0x7a, 11799 0xa0, 0x2e, 0xe5, 0x4c, 0x3a, 0x81, 0x39, 0x13, 0x65, 0xfb, 0xc7, 0xb0, 0x25, 0xe5, 0x5c, 0x9c, 11800 0x52, 0xe6, 0x37, 0x53, 0xde, 0xf7, 0x88, 0xfc, 0xe8, 0x14, 0xb3, 0x37, 0xe6, 0xa9, 0x34, 0x6b, 11801 0x2d, 0xd9, 0x42, 0x68, 0x00, 0xdc, 0xa5, 0xfc, 0xd7, 0x2f, 0x31, 0x70, 0x52, 0x46, 0xd2, 0x33, 11802 0xee, 0x7c, 0xed, 0x06, 0x1d, 0xd7, 0x6c, 0x7e, 0x8f, 0x47, 0xb4, 0x53, 0x82, 0x3d, 0x82, 0x1a, 11803 0x79, 0xd8, 0x42, 0x8a, 0xb2, 0x0b, 0x9a, 0x6f, 0xc9, 0xce, 0x20, 0x72, 0x57, 0x13, 0x42, 0xab, 11804 0x3a, 0xf1, 0x77, 0xc0, 0x3e, 0x86, 0x2d, 0xee, 0x97, 0x93, 0x19, 0xe4, 0xdb, 0xab, 0x8b, 0x8b, 11805 0x88, 0x9e, 0x24, 0x5c, 0x52, 0x83, 0x1b, 0xfe, 0xc2, 0x25, 0x21, 0x2e, 0x72, 0xce, 0x7d, 0x6f, 11806 0x6c, 0xf1, 0xfc, 0xf7, 0x28, 0xbf, 0xe8, 0x8e, 0xc6, 0xc9, 0x78, 0x5e, 0xe2, 0x47, 0xd7, 0x7c, 11807 0x19, 0x74, 0x88, 0xf9, 0x2e, 0x29, 0x93, 0x73, 0x76, 0x2a, 0xf3, 0x9d, 0xef, 0x52, 0xe6, 0x2e, 11808 0xe6, 0xa3, 0x32, 0x19, 0xe4, 0x17, 0x0b, 0xdb, 0x6c, 0xde, 0xe7, 0xf1, 0x77, 0xf8, 0xcd, 0xbe, 11809 0x07, 0x0d, 0xdf, 0x9a, 0x2c, 0xfc, 0xc0, 0x7e, 0x69, 0xe9, 0x81, 0xed, 0x9e, 0x36, 0xbf, 0x4f, 11810 0xe3, 0x58, 0x8f, 0xa1, 0x43, 0xdb, 0x3d, 0xc5, 0x15, 0x6b, 0x9d, 0x87, 0x96, 0xef, 0xea, 0xa8, 11811 0x12, 0x35, 0xdf, 0x95, 0x57, 0x6c, 0x87, 0x10, 0xc3, 0x89, 0xe1, 0x6a, 0x60, 0xc5, 0xdf, 0xec, 11812 0x47, 0xb0, 0x99, 0x28, 0xc8, 0x73, 0x54, 0x41, 0x9a, 0x3f, 0x58, 0x7b, 0x30, 0x43, 0xea, 0x89, 11813 0x96, 0x9c, 0x5a, 0x72, 0x4d, 0x26, 0xbd, 0xb6, 0x02, 0xbe, 0xb6, 0x1e, 0x7c, 0xab, 0xb5, 0x35, 11814 0xa4, 0xb5, 0xf5, 0x16, 0x94, 0x6d, 0x37, 0xb4, 0xfc, 0x97, 0x86, 0xd3, 0x7c, 0x6f, 0x85, 0x81, 11815 0xc7, 0x38, 0x76, 0x17, 0x4a, 0x81, 0x63, 0x23, 0x63, 0x6a, 0xbe, 0xbf, 0x42, 0x16, 0xa1, 0x50, 11816 0x62, 0x4f, 0x6d, 0xc7, 0xe1, 0x12, 0xfb, 0x83, 0x15, 0x89, 0xfd, 0xc4, 0x76, 0x1c, 0x2e, 0xb1, 11817 0xa7, 0xe2, 0x0b, 0xa5, 0x1c, 0xe5, 0xc0, 0xfa, 0x1f, 0xae, 0x4a, 0x39, 0xc4, 0x3d, 0xa7, 0x2b, 11818 0x2a, 0xd5, 0x80, 0xdc, 0x50, 0xdc, 0x9b, 0xf6, 0x48, 0xee, 0x61, 0xda, 0x3f, 0xa5, 0x41, 0x10, 11819 0xa7, 0xd1, 0x12, 0x10, 0x4e, 0x38, 0xb4, 0x3d, 0x3e, 0xe4, 0x91, 0xd3, 0x1c, 0xd2, 0x35, 0xcf, 11820 0xd9, 0xfb, 0x50, 0x8f, 0x02, 0x4d, 0xb0, 0xba, 0xa0, 0xf9, 0xd1, 0x4a, 0x0b, 0xd2, 0x04, 0x6c, 11821 0x0f, 0x6a, 0x53, 0xd4, 0xe0, 0x66, 0x5c, 0xa1, 0x6b, 0x7e, 0x4c, 0x0d, 0xd9, 0x89, 0x24, 0xe8, 11822 0x65, 0x0a, 0x9f, 0x96, 0xca, 0xc5, 0x1e, 0x41, 0x3d, 0xb0, 0x5c, 0x53, 0x9f, 0x05, 0x42, 0xbe, 11823 0x7f, 0x42, 0xf5, 0x0a, 0x66, 0x18, 0x5f, 0xb8, 0xd2, 0xaa, 0x48, 0x75, 0x10, 0x70, 0x41, 0xff, 11824 0x08, 0x70, 0xb5, 0xbd, 0x4c, 0x32, 0x3d, 0xbe, 0x24, 0x13, 0x52, 0x49, 0x99, 0x70, 0x29, 0xea, 11825 0x81, 0x6b, 0xcc, 0x83, 0x13, 0x2f, 0x6c, 0x7e, 0x2a, 0x4b, 0xdf, 0xa1, 0x80, 0x6a, 0x35, 0x24, 11826 0x8a, 0x52, 0xea, 0x2f, 0x0a, 0x50, 0x8e, 0xb4, 0x42, 0x56, 0x85, 0xd2, 0x51, 0xff, 0x59, 0x7f, 11827 0xf0, 0xa2, 0xaf, 0x6c, 0xb0, 0x06, 0x00, 0x45, 0x4d, 0xeb, 0xc3, 0x76, 0xab, 0xcf, 0x6f, 0x13, 11828 0x50, 0xac, 0x36, 0x4f, 0x67, 0xd9, 0x16, 0xd4, 0x9f, 0x1c, 0xf5, 0x29, 0xca, 0x86, 0x83, 0x72, 11829 0x08, 0xea, 0x7c, 0xc1, 0x9d, 0xac, 0x1c, 0x94, 0x47, 0xd0, 0x41, 0x6b, 0xd4, 0xd1, 0xba, 0x11, 11830 0xa8, 0x40, 0x01, 0x3b, 0x83, 0x23, 0xad, 0x2d, 0x4a, 0x2a, 0x62, 0xb5, 0x87, 0xda, 0xe0, 0xf3, 11831 0x4e, 0x7b, 0xa4, 0x00, 0xbb, 0x0a, 0x5b, 0x71, 0x19, 0x51, 0xf9, 0x4a, 0x95, 0xd5, 0xa0, 0x1c, 11832 0x95, 0xa3, 0x6c, 0x63, 0xa9, 0x5a, 0xa7, 0x7d, 0xa4, 0x0d, 0xbb, 0xcf, 0x3b, 0x7a, 0x7b, 0xd4, 11833 0x51, 0xae, 0xb2, 0x32, 0xe4, 0x87, 0xdd, 0xfe, 0x33, 0xe5, 0x1a, 0xab, 0x43, 0x05, 0xbf, 0x78, 11834 0xe9, 0xd7, 0x19, 0x83, 0x46, 0x42, 0x4b, 0xb0, 0x26, 0xf9, 0x7f, 0x9f, 0x3e, 0x55, 0x6e, 0x63, 11835 0xb1, 0x7b, 0xdd, 0xe1, 0xa8, 0xdb, 0x6f, 0x8f, 0x94, 0x3b, 0x0c, 0xa0, 0xf8, 0xa4, 0xdb, 0x1b, 11836 0x75, 0x34, 0x65, 0x07, 0xcb, 0xfb, 0x7c, 0xd0, 0xed, 0x2b, 0x6f, 0x50, 0x2c, 0x7a, 0xeb, 0xe0, 11837 0xb0, 0xd7, 0x51, 0x54, 0xaa, 0x65, 0xa0, 0x8d, 0x94, 0x37, 0x59, 0x05, 0x0a, 0x47, 0x7d, 0x6c, 11838 0xdb, 0x5d, 0xac, 0x90, 0x3e, 0xf5, 0x56, 0xaf, 0xa7, 0x7c, 0x4f, 0x72, 0x14, 0xbf, 0x85, 0xdf, 11839 0x2f, 0xba, 0xfd, 0xbd, 0xc1, 0x0b, 0xe5, 0x6d, 0x24, 0xdb, 0xd5, 0x06, 0xad, 0xbd, 0x76, 0x6b, 11840 0x38, 0x52, 0xee, 0x61, 0x01, 0xc3, 0xc3, 0x5e, 0x77, 0xa4, 0xbc, 0x83, 0x54, 0x4f, 0x5b, 0xa3, 11841 0xfd, 0x8e, 0xa6, 0xdc, 0xc7, 0xef, 0xd6, 0x70, 0xd8, 0xd1, 0x46, 0xca, 0x43, 0xfc, 0xee, 0xf6, 11842 0xe9, 0xfb, 0x11, 0x7e, 0xef, 0x75, 0x7a, 0x9d, 0x51, 0x47, 0xf9, 0x10, 0x07, 0x4c, 0xeb, 0x1c, 11843 0xf6, 0x5a, 0xed, 0x8e, 0xf2, 0x11, 0x26, 0x7a, 0x83, 0xf6, 0x33, 0x7d, 0x70, 0xa8, 0x7c, 0x8c, 11844 0x75, 0x90, 0x9b, 0x7b, 0x88, 0x83, 0xf9, 0x09, 0x8e, 0x53, 0x9c, 0xa4, 0xd6, 0x3d, 0xc6, 0x6a, 11845 0x0f, 0xba, 0xfd, 0xa3, 0xa1, 0xf2, 0x29, 0x12, 0xd3, 0x27, 0x61, 0x3e, 0x63, 0xdb, 0xa0, 0x0c, 11846 0xfa, 0xfa, 0xde, 0xd1, 0x61, 0xaf, 0xdb, 0x6e, 0x8d, 0x3a, 0xfa, 0xb3, 0xce, 0x97, 0xca, 0x6f, 11847 0xe1, 0xb4, 0x1f, 0x6a, 0x1d, 0x5d, 0xb4, 0xe3, 0x87, 0x51, 0x5a, 0xb4, 0xe5, 0x47, 0x58, 0x45, 11848 0x82, 0xd7, 0x8f, 0x9e, 0x29, 0xbf, 0xbd, 0x04, 0x1a, 0x3e, 0x53, 0x7e, 0x8c, 0x73, 0x3e, 0xea, 11849 0x1e, 0x74, 0x74, 0x31, 0x18, 0x3f, 0xc1, 0x81, 0x7c, 0xd2, 0xed, 0xf5, 0x94, 0x16, 0xf9, 0x34, 11850 0x5b, 0xda, 0xa8, 0x4b, 0x13, 0xbd, 0xcb, 0x14, 0xa8, 0x3d, 0x39, 0xfa, 0xd9, 0xcf, 0xbe, 0xd4, 11851 0xc5, 0x4c, 0xb4, 0xd5, 0x05, 0x94, 0x23, 0xf5, 0x1f, 0x5b, 0xdf, 0xed, 0xf7, 0x3b, 0x9a, 0xb2, 11852 0x81, 0x25, 0xf4, 0x3a, 0x4f, 0x46, 0x4a, 0x86, 0xfc, 0xb6, 0xdd, 0xa7, 0xfb, 0x23, 0x25, 0x8b, 11853 0x9f, 0x83, 0x23, 0xcc, 0x96, 0xa3, 0xa9, 0xea, 0x1c, 0x74, 0x95, 0x3c, 0x7e, 0xb5, 0xfa, 0xa3, 11854 0xae, 0x52, 0xa0, 0xa9, 0xec, 0xf6, 0x9f, 0xf6, 0x3a, 0x4a, 0x11, 0xa1, 0x07, 0x2d, 0xed, 0x99, 11855 0x52, 0xc2, 0x4c, 0xad, 0xc3, 0xc3, 0xde, 0x97, 0x4a, 0x99, 0x97, 0xbf, 0xd7, 0xf9, 0x42, 0xa9, 11856 0xa8, 0xf7, 0xa0, 0xd4, 0x3a, 0x3e, 0x3e, 0x40, 0xab, 0x0a, 0x1b, 0x7b, 0xd4, 0xeb, 0xf1, 0xeb, 11857 0x35, 0xbb, 0x83, 0xd1, 0x68, 0x70, 0xa0, 0x64, 0x70, 0x11, 0x8d, 0x06, 0x87, 0x4a, 0x56, 0xed, 11858 0x42, 0x39, 0xe2, 0x76, 0xd2, 0x55, 0x87, 0x32, 0xe4, 0x0f, 0xb5, 0xce, 0x73, 0x7e, 0xc8, 0xd0, 11859 0xef, 0x7c, 0x81, 0xcd, 0xc3, 0x2f, 0x2c, 0x28, 0x87, 0x15, 0xf1, 0x3b, 0x09, 0x74, 0xd7, 0xa1, 11860 0xd7, 0xed, 0x77, 0x5a, 0x9a, 0x52, 0x50, 0xff, 0x7f, 0x28, 0x47, 0x5b, 0x93, 0xdd, 0x85, 0xec, 11861 0x68, 0x28, 0x3c, 0x4f, 0xdb, 0x0f, 0x92, 0x7b, 0xa6, 0xa3, 0xe8, 0x4b, 0xcb, 0x8e, 0x86, 0xec, 11862 0x5d, 0x28, 0xf2, 0x5b, 0x26, 0xc2, 0x27, 0xb8, 0x9d, 0xde, 0xee, 0x23, 0xc2, 0x69, 0x82, 0x46, 11863 0xed, 0x41, 0x23, 0x8d, 0x41, 0x3b, 0x9e, 0xe3, 0x24, 0xcb, 0x54, 0x82, 0xa0, 0x8d, 0x27, 0x6e, 11864 0xb1, 0xec, 0x89, 0x70, 0x98, 0x38, 0xad, 0xfe, 0xcf, 0x0c, 0x40, 0x22, 0xeb, 0x50, 0x9a, 0xc6, 11865 0x76, 0x67, 0x41, 0x78, 0xc2, 0xe5, 0x08, 0xf7, 0x0a, 0x3f, 0x69, 0x62, 0xd7, 0xa0, 0x38, 0xf5, 11866 0xfc, 0x99, 0x11, 0x46, 0x77, 0x58, 0x78, 0x0a, 0x35, 0x4b, 0xee, 0x80, 0x45, 0xa1, 0xee, 0x5a, 11867 0x3c, 0x50, 0x2b, 0xaf, 0xd5, 0x04, 0xb0, 0x87, 0x30, 0x54, 0xfb, 0x2c, 0x77, 0xe2, 0x78, 0x81, 11868 0x65, 0xa2, 0x59, 0x53, 0x20, 0xc9, 0x0d, 0x11, 0x68, 0xf7, 0x82, 0x77, 0xc8, 0x9f, 0xd9, 0xae, 11869 0x11, 0x5a, 0xa6, 0x88, 0x16, 0x91, 0x20, 0xec, 0x35, 0xa8, 0x7c, 0x15, 0x78, 0xc2, 0xd2, 0xe4, 11870 0x31, 0x32, 0x65, 0x04, 0xd0, 0xf4, 0xbd, 0x0e, 0x60, 0x05, 0x13, 0x63, 0xce, 0x0b, 0x2f, 0x53, 11871 0xe1, 0x15, 0x01, 0xd9, 0xbd, 0x50, 0xff, 0x71, 0x0e, 0x20, 0xd1, 0x95, 0x52, 0x8e, 0xdf, 0x4c, 11872 0xda, 0xf1, 0xfb, 0x10, 0xae, 0x89, 0xf8, 0x6d, 0x11, 0x14, 0x7c, 0xae, 0xdb, 0xae, 0x3e, 0x36, 11873 0x22, 0x1f, 0x3b, 0x13, 0x58, 0x7e, 0x96, 0xdc, 0x75, 0x77, 0x8d, 0x90, 0x3d, 0x86, 0x4d, 0x39, 11874 0x4f, 0x78, 0x31, 0x4f, 0x9f, 0x11, 0x48, 0xe1, 0xf0, 0xf5, 0x24, 0xfb, 0xe8, 0x62, 0xce, 0xde, 11875 0x87, 0xab, 0xbe, 0x35, 0xf5, 0xad, 0xe0, 0x44, 0x0f, 0x03, 0xb9, 0x32, 0x7e, 0x70, 0xbd, 0x25, 11876 0x90, 0xa3, 0x20, 0xae, 0xeb, 0x7d, 0xb8, 0x2a, 0xb4, 0xa8, 0xa5, 0xe6, 0xf1, 0x3b, 0x66, 0x5b, 11877 0x1c, 0x29, 0xb7, 0xee, 0x75, 0x00, 0xa1, 0x40, 0x46, 0x37, 0x8b, 0xcb, 0x5a, 0x85, 0x2b, 0x8b, 11878 0xa8, 0xf1, 0xbf, 0x0b, 0xcc, 0x0e, 0xf4, 0x25, 0xa7, 0xa1, 0xf0, 0xa4, 0x2b, 0x76, 0x70, 0x98, 11879 0x72, 0x18, 0x5e, 0xe6, 0x8f, 0x2c, 0x5f, 0xe6, 0x8f, 0xdc, 0x86, 0x02, 0xe9, 0x98, 0xe4, 0x16, 11880 0x2b, 0x6b, 0x3c, 0xc1, 0x54, 0xc8, 0xe3, 0xfe, 0x24, 0x3f, 0x58, 0xe3, 0x61, 0xe3, 0x01, 0xdd, 11881 0xcb, 0xc6, 0xf9, 0x41, 0xa8, 0x46, 0x38, 0xf5, 0xef, 0x65, 0xa0, 0x91, 0xd6, 0x8b, 0x78, 0x70, 11882 0x56, 0x12, 0x75, 0x56, 0x48, 0x22, 0xcd, 0x5e, 0x83, 0xca, 0xfc, 0x54, 0x84, 0x98, 0x45, 0x47, 11883 0x9a, 0xf3, 0x53, 0x1e, 0x5a, 0xc6, 0xde, 0x81, 0xd2, 0xfc, 0x94, 0x2f, 0x9b, 0xcb, 0xa6, 0xa5, 11884 0x38, 0xe7, 0x51, 0x1f, 0xef, 0x40, 0x69, 0x21, 0x48, 0xf3, 0x97, 0x91, 0x2e, 0x88, 0x54, 0xdd, 11885 0x81, 0x9a, 0x6c, 0x89, 0x30, 0x05, 0x72, 0xa8, 0xbf, 0xf0, 0x86, 0xe1, 0x27, 0xf6, 0xa0, 0x26, 11886 0x9b, 0x1c, 0xdf, 0xc6, 0x27, 0x9d, 0xb2, 0xc2, 0xb3, 0xaf, 0xb0, 0xc2, 0x77, 0xe8, 0xec, 0x5a, 11887 0xa7, 0x20, 0x94, 0x89, 0x17, 0xdd, 0x3b, 0x85, 0x13, 0x23, 0x68, 0x2d, 0x42, 0xaf, 0xed, 0x39, 11888 0xe2, 0x74, 0x44, 0x44, 0xf5, 0xe6, 0x23, 0x2f, 0x9a, 0x08, 0xdb, 0xfd, 0x07, 0x19, 0xd8, 0x5a, 11889 0x51, 0xb9, 0xb1, 0x1f, 0xc9, 0xe5, 0x71, 0xfc, 0x44, 0x1b, 0x78, 0x66, 0x84, 0x93, 0x13, 0x7d, 11890 0xee, 0x5b, 0x53, 0xfb, 0x3c, 0xba, 0x01, 0x4f, 0xb0, 0x43, 0x02, 0xd1, 0x51, 0xd1, 0x7c, 0x4e, 11891 0x86, 0xc6, 0xcc, 0x0e, 0xc5, 0x4d, 0x4f, 0x20, 0x50, 0x8f, 0x3c, 0x10, 0xd1, 0x31, 0x72, 0xfe, 11892 0x92, 0x63, 0xe4, 0x26, 0x94, 0x4e, 0x0c, 0xd7, 0x74, 0x84, 0x23, 0xb7, 0xac, 0x45, 0x49, 0xf5, 11893 0x16, 0x14, 0xbb, 0xb1, 0xd2, 0x1f, 0x5f, 0x13, 0xcd, 0x89, 0xab, 0xa1, 0x1e, 0x54, 0xda, 0x74, 11894 0xcd, 0xf4, 0xc0, 0x98, 0xb3, 0xfb, 0x90, 0x9b, 0x19, 0x73, 0x71, 0xf4, 0xdd, 0x8c, 0x5d, 0x6f, 11895 0x1c, 0xfb, 0xe0, 0xc0, 0x98, 0xf3, 0x33, 0x24, 0x24, 0xba, 0xf9, 0x31, 0x94, 0x23, 0xc0, 0x77, 11896 0x8a, 0x83, 0xf9, 0xaf, 0x39, 0xa8, 0xec, 0xc9, 0xee, 0x01, 0xd4, 0xdc, 0x42, 0x7f, 0xe1, 0xa2, 11897 0x15, 0x27, 0x1c, 0x95, 0xd5, 0x89, 0xe1, 0x8e, 0x04, 0x28, 0x9a, 0xf4, 0xec, 0xaf, 0x98, 0xf4, 11898 0x5b, 0x00, 0x3e, 0xa9, 0xbf, 0xa4, 0x01, 0xe7, 0xe2, 0x13, 0xf9, 0xae, 0x89, 0x0a, 0xf0, 0xda, 11899 0x63, 0x8a, 0xfc, 0xb7, 0x3f, 0xa6, 0x28, 0xac, 0x3d, 0xa6, 0xf8, 0xbf, 0xe5, 0x60, 0x81, 0xbd, 11900 0x95, 0x30, 0xcf, 0x53, 0xeb, 0x82, 0xc8, 0x2a, 0x3c, 0x6a, 0x67, 0x1e, 0x07, 0xf0, 0x21, 0xdd, 11901 0x67, 0xd0, 0x88, 0x86, 0x59, 0x74, 0x0c, 0x52, 0x31, 0x83, 0x02, 0xc7, 0x3d, 0x1f, 0xf5, 0x50, 11902 0x4e, 0xa6, 0x77, 0x55, 0xf5, 0x57, 0xef, 0x2a, 0xf5, 0x4f, 0xb2, 0x50, 0xf8, 0xe9, 0xc2, 0xf2, 11903 0x2f, 0xd8, 0xc7, 0x50, 0x09, 0xc2, 0x59, 0x28, 0x3b, 0x65, 0x6f, 0xf0, 0x6c, 0x84, 0x27, 0x9f, 11904 0xaa, 0x35, 0xb3, 0xdc, 0x90, 0xdb, 0x4b, 0x48, 0x4b, 0x5c, 0x64, 0x1b, 0x0a, 0x41, 0x68, 0xcd, 11905 0xb9, 0x13, 0xb8, 0xa0, 0xf1, 0x04, 0xdb, 0x81, 0x82, 0xeb, 0x99, 0x56, 0x90, 0x3e, 0x7d, 0x45, 11906 0x1d, 0x5e, 0xe3, 0x08, 0xa6, 0x42, 0x51, 0x5c, 0x2f, 0xc8, 0xaf, 0x3a, 0x46, 0x39, 0x86, 0x02, 11907 0xa3, 0x2c, 0x03, 0x0d, 0xb9, 0xe8, 0x16, 0x49, 0x9c, 0xc6, 0x4d, 0xe4, 0x78, 0x86, 0x39, 0x32, 11908 0x8e, 0xa3, 0x5b, 0x56, 0x22, 0x89, 0xb2, 0xd5, 0xb4, 0x42, 0x6b, 0x12, 0x0e, 0xbf, 0x76, 0xa2, 11909 0x29, 0x93, 0x20, 0xaa, 0x09, 0xf5, 0x54, 0x67, 0xd2, 0x16, 0x05, 0x6a, 0x5f, 0x9d, 0x1e, 0x6a, 11910 0xa6, 0x19, 0x49, 0xb5, 0xcd, 0xca, 0xea, 0x6c, 0x4e, 0xd2, 0x73, 0x49, 0x33, 0x3a, 0x3a, 0xdc, 11911 0x6b, 0x8d, 0x3a, 0x4a, 0x81, 0xf4, 0xd6, 0x8e, 0xf6, 0xb4, 0xa3, 0x14, 0xd5, 0x3f, 0xc8, 0xc2, 11912 0xd6, 0xc8, 0x37, 0xdc, 0xc0, 0xe0, 0x81, 0xbf, 0x6e, 0xe8, 0x7b, 0x0e, 0xfb, 0x0c, 0xca, 0xe1, 11913 0xc4, 0x91, 0x07, 0xf9, 0x4e, 0x34, 0xa5, 0x4b, 0xa4, 0x0f, 0x46, 0x13, 0x6e, 0x9a, 0x96, 0x42, 11914 0xfe, 0xc1, 0x7e, 0x00, 0x85, 0xb1, 0x75, 0x6c, 0xbb, 0x62, 0x7b, 0x5d, 0x5d, 0xce, 0xb8, 0x8b, 11915 0xc8, 0xfd, 0x0d, 0x8d, 0x53, 0xb1, 0xf7, 0xa1, 0x38, 0xf1, 0x66, 0x11, 0x87, 0x4a, 0x62, 0x14, 11916 0xa5, 0x8a, 0x10, 0xbb, 0xbf, 0xa1, 0x09, 0x3a, 0xf6, 0x31, 0x94, 0x7d, 0xcf, 0x71, 0xc6, 0xc6, 11917 0xe4, 0x54, 0xf0, 0xae, 0xe6, 0x72, 0x1e, 0x4d, 0xe0, 0xf7, 0x37, 0xb4, 0x98, 0x56, 0x7d, 0x00, 11918 0x25, 0xd1, 0x58, 0x1c, 0x80, 0xdd, 0xce, 0xd3, 0xae, 0x18, 0xc8, 0xf6, 0xe0, 0xe0, 0xa0, 0x3b, 11919 0xe2, 0x97, 0x21, 0xb4, 0x41, 0xaf, 0xb7, 0xdb, 0x6a, 0x3f, 0x53, 0xb2, 0xbb, 0x65, 0x28, 0x1a, 11920 0x14, 0x57, 0xa7, 0xfe, 0xf5, 0x0c, 0x6c, 0x2e, 0x75, 0x80, 0x3d, 0x86, 0xfc, 0x0c, 0xe5, 0x25, 11921 0x1f, 0x9e, 0xbb, 0x6b, 0x7b, 0x29, 0xa5, 0xb9, 0x14, 0xc5, 0x1c, 0xea, 0xa7, 0xd0, 0x48, 0xc3, 11922 0x25, 0x45, 0xb7, 0x0e, 0x15, 0xad, 0xd3, 0xda, 0xd3, 0x07, 0xfd, 0xde, 0x97, 0xdc, 0x4e, 0xa4, 11923 0xe4, 0x0b, 0xad, 0x3b, 0xea, 0x28, 0x59, 0xf5, 0x77, 0x40, 0x59, 0x1e, 0x18, 0xf6, 0x14, 0x36, 11924 0x27, 0x1e, 0x5a, 0xee, 0x9c, 0x0d, 0x24, 0x53, 0x76, 0x7b, 0xcd, 0x48, 0x0a, 0x32, 0x9a, 0xb1, 11925 0xc6, 0x24, 0x95, 0x56, 0xff, 0x3f, 0x60, 0xab, 0x23, 0xf8, 0x9b, 0x2b, 0xfe, 0x7f, 0x65, 0x20, 11926 0x7f, 0xe8, 0x18, 0x2e, 0x7b, 0x13, 0x0a, 0x74, 0xd1, 0x55, 0x08, 0xdd, 0xaa, 0xb4, 0x7d, 0x71, 11927 0x59, 0x10, 0x8e, 0x7d, 0x1f, 0x72, 0xe1, 0x24, 0xba, 0xf8, 0x71, 0xfd, 0x92, 0xc5, 0xb7, 0xbf, 11928 0xa1, 0x21, 0x15, 0xbb, 0x07, 0x39, 0xd3, 0x8c, 0x82, 0x40, 0x84, 0xd2, 0xbe, 0x67, 0x84, 0xc6, 11929 0x9e, 0x35, 0xb5, 0x5d, 0x5b, 0x5c, 0xcc, 0x45, 0x12, 0xf6, 0x3d, 0xc8, 0x99, 0x13, 0x27, 0x1d, 11930 0xd1, 0x83, 0x94, 0x52, 0x81, 0xe6, 0xc4, 0x61, 0x2a, 0xd4, 0x43, 0xff, 0x42, 0xf7, 0x17, 0x2e, 11931 0x1d, 0x43, 0x06, 0x42, 0x93, 0xab, 0xa2, 0xa8, 0x5a, 0xd0, 0x99, 0x5d, 0x20, 0x02, 0x48, 0xe7, 11932 0xbe, 0x35, 0x37, 0xfc, 0x58, 0x87, 0xb3, 0x83, 0x43, 0x0e, 0xd8, 0x2d, 0x02, 0xbd, 0x87, 0xa3, 11933 0xbe, 0x4b, 0x97, 0x3e, 0x51, 0xe7, 0x51, 0xa3, 0xaf, 0x35, 0xf1, 0xf9, 0x02, 0xa3, 0xfe, 0x69, 11934 0x0e, 0xaa, 0x52, 0x7b, 0xd8, 0x87, 0x50, 0x36, 0xd3, 0x1b, 0xf1, 0xc6, 0x4a, 0xa3, 0x1f, 0xec, 11935 0x45, 0x5b, 0xd0, 0x14, 0xcb, 0xfb, 0x53, 0xa8, 0x07, 0x56, 0xa8, 0xbf, 0x34, 0x7c, 0x1b, 0x39, 11936 0x68, 0x20, 0x86, 0x51, 0xb8, 0x5c, 0x87, 0x56, 0xf8, 0x3c, 0xc2, 0xec, 0x6f, 0x68, 0xb5, 0x40, 11937 0x4a, 0x93, 0x62, 0x26, 0xba, 0x94, 0x4b, 0xdd, 0xd6, 0xe7, 0xc0, 0xfd, 0x0d, 0x2d, 0xc2, 0x23, 11938 0xa9, 0x75, 0x6e, 0x4d, 0x16, 0x61, 0xa4, 0x98, 0xd5, 0xa3, 0x0e, 0x11, 0x90, 0x1e, 0x06, 0xe1, 11939 0x9f, 0xec, 0x21, 0xf2, 0x3a, 0xc3, 0x71, 0x3c, 0x92, 0xc8, 0x05, 0xd9, 0xbf, 0xb7, 0x17, 0xc3, 11940 0xf9, 0x43, 0x24, 0x51, 0x8a, 0xbd, 0x05, 0x05, 0x2f, 0x3c, 0xb1, 0x7c, 0x71, 0xf5, 0x2e, 0xba, 11941 0x3e, 0x8a, 0xa0, 0xbd, 0x76, 0x0f, 0x57, 0x0a, 0xa1, 0xd5, 0x5f, 0x64, 0xa0, 0x24, 0x46, 0x00, 11942 0xad, 0xe5, 0x61, 0x67, 0xa4, 0x3f, 0x6f, 0x69, 0xdd, 0xd6, 0x6e, 0xaf, 0x23, 0x02, 0x91, 0x9e, 11943 0x6a, 0xad, 0xbe, 0xe0, 0x93, 0x5a, 0xe7, 0xf9, 0xe0, 0x59, 0x87, 0x5b, 0x8f, 0x7b, 0x9d, 0xfe, 11944 0x97, 0x4a, 0x8e, 0x7b, 0x4c, 0x3a, 0x87, 0x2d, 0x0d, 0xb9, 0x64, 0x15, 0x4a, 0x9d, 0x2f, 0x3a, 11945 0xed, 0x23, 0x62, 0x93, 0x0d, 0x80, 0xbd, 0x4e, 0xab, 0xd7, 0x1b, 0xa0, 0x09, 0xaf, 0x14, 0x19, 11946 0x83, 0x46, 0x5b, 0xeb, 0xa0, 0x39, 0xdf, 0x6a, 0xb7, 0x07, 0x47, 0xfd, 0x91, 0x52, 0xc2, 0x1a, 11947 0x5b, 0x68, 0x5b, 0xc7, 0x20, 0xba, 0x63, 0xbf, 0xa7, 0x0d, 0x0e, 0x63, 0x48, 0x65, 0xb7, 0x82, 11948 0x4a, 0x32, 0xcd, 0x95, 0xfa, 0x3f, 0xea, 0xd0, 0x48, 0x2f, 0x4d, 0xf6, 0x09, 0x94, 0x4d, 0x33, 11949 0x35, 0xc7, 0xb7, 0xd6, 0x2d, 0xe1, 0x07, 0x7b, 0x66, 0x34, 0xcd, 0xfc, 0x83, 0xbd, 0x11, 0x6d, 11950 0xa4, 0xec, 0xca, 0x46, 0x8a, 0xb6, 0xd1, 0x8f, 0x61, 0x53, 0x5c, 0xd0, 0x44, 0x6b, 0x71, 0x6c, 11951 0x04, 0x56, 0x7a, 0x97, 0xb4, 0x09, 0xb9, 0x27, 0x70, 0xfb, 0x1b, 0x5a, 0x63, 0x92, 0x82, 0xb0, 11952 0x1f, 0x42, 0xc3, 0x20, 0xd3, 0x26, 0xce, 0x9f, 0x97, 0x45, 0x7c, 0x0b, 0x71, 0x52, 0xf6, 0xba, 11953 0x21, 0x03, 0x70, 0x21, 0x9a, 0xbe, 0x37, 0x4f, 0x32, 0x17, 0xe4, 0x85, 0xb8, 0xe7, 0x7b, 0x73, 11954 0x29, 0x6f, 0xcd, 0x94, 0xd2, 0xec, 0x63, 0xa8, 0x89, 0x96, 0x27, 0x46, 0x52, 0xbc, 0x65, 0x79, 11955 0xb3, 0x49, 0x51, 0xd8, 0xdf, 0xd0, 0xaa, 0x93, 0x24, 0xc9, 0x1e, 0x41, 0x95, 0x37, 0x38, 0x31, 11956 0x9a, 0xe2, 0xb5, 0x46, 0xad, 0x8d, 0x72, 0x81, 0x11, 0xa7, 0xd8, 0xfb, 0x00, 0xd4, 0x4e, 0x9e, 11957 0xa7, 0x9c, 0x3a, 0x82, 0xf2, 0xbd, 0x79, 0x94, 0xa5, 0x62, 0x46, 0x09, 0xa9, 0x79, 0x3c, 0x54, 11958 0xbe, 0xb2, 0xda, 0x3c, 0x8a, 0xea, 0x4e, 0x9a, 0xc7, 0x43, 0xe3, 0xe3, 0xe6, 0xf1, 0x6c, 0xb0, 11959 0xd2, 0xbc, 0x28, 0x17, 0x6f, 0x1e, 0xcf, 0x14, 0x35, 0x8f, 0xe7, 0xa9, 0x2e, 0x37, 0x2f, 0xca, 11960 0x42, 0xcd, 0xe3, 0x39, 0x7e, 0xb8, 0xa2, 0x99, 0xd5, 0x2e, 0xd5, 0xcc, 0x70, 0xda, 0xd2, 0xba, 11961 0xd9, 0x0f, 0xa1, 0x11, 0x9c, 0x78, 0x67, 0x12, 0x03, 0xa9, 0xcb, 0xb9, 0x87, 0x27, 0xde, 0x99, 11962 0xcc, 0x41, 0xea, 0x81, 0x0c, 0xc0, 0xd6, 0xf2, 0x2e, 0xd2, 0x65, 0x98, 0x86, 0xdc, 0x5a, 0xea, 11963 0xe1, 0x73, 0xdb, 0x3a, 0xc3, 0xd6, 0x1a, 0x51, 0x02, 0x07, 0x25, 0x31, 0x87, 0x03, 0x71, 0x66, 11964 0x9a, 0x3a, 0x4e, 0x11, 0x35, 0x41, 0x6c, 0x23, 0x07, 0xb8, 0xb6, 0x16, 0xae, 0x9c, 0x4d, 0x91, 11965 0xd7, 0xd6, 0x91, 0x9b, 0xca, 0x58, 0xe3, 0xa4, 0x22, 0x6b, 0xb2, 0x2b, 0x02, 0xeb, 0xeb, 0x85, 11966 0xe5, 0x4e, 0x2c, 0x71, 0xba, 0x9a, 0xda, 0x15, 0x43, 0x81, 0x4b, 0x76, 0x45, 0x04, 0x89, 0xd7, 11967 0x75, 0x9c, 0x9d, 0x2d, 0xaf, 0x6b, 0x29, 0x33, 0xad, 0xeb, 0x38, 0x6b, 0xbc, 0xa1, 0xe2, 0xbc, 11968 0x57, 0x56, 0x36, 0x94, 0x94, 0x99, 0x6f, 0xa8, 0x08, 0xa0, 0xfe, 0x9d, 0x02, 0x94, 0x04, 0x1f, 11969 0x60, 0x57, 0x60, 0x53, 0xb0, 0xa3, 0xbd, 0xd6, 0xa8, 0xb5, 0xdb, 0x1a, 0xa2, 0x02, 0xc1, 0xa0, 11970 0xc1, 0xf9, 0x51, 0x0c, 0xcb, 0x20, 0x8f, 0x22, 0x86, 0x14, 0x83, 0xb2, 0xc8, 0xa3, 0x44, 0x5e, 11971 0xfe, 0x66, 0x48, 0x8e, 0x6d, 0x42, 0x95, 0x67, 0xe4, 0x00, 0x8a, 0xd9, 0xa5, 0x5c, 0x3c, 0x5d, 11972 0x90, 0xb2, 0x70, 0xaf, 0x5e, 0x31, 0xc9, 0xc2, 0x01, 0xa5, 0x38, 0x0b, 0x4f, 0x97, 0xb1, 0x31, 11973 0x23, 0xed, 0xa8, 0xdf, 0x4e, 0xea, 0xa9, 0x50, 0x9c, 0x25, 0x2f, 0xe6, 0x79, 0xb7, 0xf3, 0x42, 11974 0x01, 0xcc, 0xc4, 0x4b, 0xa1, 0x74, 0x15, 0x55, 0x20, 0x2a, 0x84, 0x92, 0x35, 0x76, 0x1d, 0xae, 11975 0x0c, 0xf7, 0x07, 0x2f, 0x74, 0x9e, 0x29, 0xee, 0x42, 0x9d, 0x6d, 0x83, 0x22, 0x21, 0x78, 0xf1, 11976 0x0d, 0xac, 0x92, 0xa0, 0x11, 0xe1, 0x50, 0xd9, 0x24, 0x27, 0x39, 0xc2, 0x46, 0x5c, 0x26, 0x28, 11977 0xd8, 0x15, 0x9e, 0x75, 0xd0, 0x3b, 0x3a, 0xe8, 0x0f, 0x95, 0x2d, 0x6c, 0x04, 0x41, 0x78, 0xcb, 11978 0x59, 0x5c, 0x4c, 0x22, 0x49, 0xae, 0x90, 0x70, 0x41, 0xd8, 0x8b, 0x96, 0xd6, 0xef, 0xf6, 0x9f, 11979 0x0e, 0x95, 0xed, 0xb8, 0xe4, 0x8e, 0xa6, 0x0d, 0xb4, 0xa1, 0x72, 0x35, 0x06, 0x0c, 0x47, 0xad, 11980 0xd1, 0xd1, 0x50, 0xb9, 0x16, 0xb7, 0xf2, 0x50, 0x1b, 0xb4, 0x3b, 0xc3, 0x61, 0xaf, 0x3b, 0x1c, 11981 0x29, 0xd7, 0xd9, 0x55, 0xd8, 0x4a, 0x5a, 0x14, 0x11, 0x37, 0xa5, 0x86, 0x6a, 0x4f, 0x3b, 0x23, 11982 0xe5, 0x46, 0xdc, 0x8c, 0xf6, 0xa0, 0xd7, 0x6b, 0x91, 0x53, 0xf7, 0x26, 0x12, 0x91, 0x8f, 0x5a, 11983 0xf4, 0xe6, 0x35, 0x6c, 0xd7, 0x51, 0x5f, 0x06, 0xdd, 0x92, 0x96, 0xc6, 0xb0, 0xf3, 0xd3, 0xa3, 11984 0x4e, 0xbf, 0xdd, 0x51, 0x5e, 0x4f, 0x96, 0x46, 0x0c, 0xbb, 0x1d, 0x2f, 0x8d, 0x18, 0x74, 0x27, 11985 0xae, 0x33, 0x02, 0x0d, 0x95, 0x1d, 0x2c, 0x4f, 0xb4, 0xa3, 0xdf, 0xef, 0xb4, 0x47, 0xd8, 0xd7, 11986 0x37, 0xe2, 0x51, 0x3c, 0x3a, 0x7c, 0xaa, 0xb5, 0xf6, 0x3a, 0x8a, 0xba, 0x5b, 0xa3, 0xd7, 0xc5, 11987 0x84, 0xbc, 0x52, 0x3f, 0x07, 0x26, 0x3f, 0xd3, 0x23, 0x9e, 0x0c, 0x60, 0x90, 0x9f, 0xfa, 0xde, 11988 0x2c, 0xba, 0xa3, 0x82, 0xdf, 0x6c, 0x07, 0xaa, 0xf3, 0xc5, 0x98, 0x4e, 0x5d, 0x93, 0x90, 0x75, 11989 0x19, 0xa4, 0xfe, 0xa3, 0x0c, 0x34, 0xd2, 0xb2, 0x0a, 0x75, 0x34, 0x7b, 0xaa, 0xbb, 0x5e, 0xc8, 11990 0xaf, 0xb5, 0x07, 0x91, 0xa1, 0x6f, 0x4f, 0xfb, 0x5e, 0x48, 0xf7, 0xda, 0xc9, 0x32, 0x8b, 0x45, 11991 0x0f, 0x2f, 0x35, 0x4e, 0xb3, 0x2e, 0x5c, 0x49, 0xbd, 0x62, 0x94, 0x7a, 0x54, 0xa0, 0x19, 0xbf, 11992 0xc9, 0xb2, 0xd4, 0x7e, 0x8d, 0x05, 0xab, 0x7d, 0x52, 0x20, 0x17, 0x7c, 0xed, 0x88, 0xdb, 0x89, 11993 0xf8, 0xa9, 0xee, 0x43, 0x3d, 0x25, 0x1a, 0xc9, 0xeb, 0x33, 0x4d, 0xb7, 0xb4, 0x6c, 0x4f, 0x5f, 11994 0xdd, 0x4c, 0xf5, 0x0f, 0x33, 0x50, 0x93, 0x05, 0xe5, 0xaf, 0x5d, 0x12, 0x05, 0x36, 0x8a, 0x6f, 11995 0xdd, 0x36, 0xa3, 0xeb, 0xec, 0x11, 0xa8, 0x4b, 0xaf, 0x2a, 0x72, 0xb7, 0xd4, 0x93, 0xd3, 0x61, 11996 0xdc, 0x1d, 0x19, 0x84, 0x36, 0x2b, 0x85, 0x2c, 0x3f, 0x79, 0x86, 0x04, 0x22, 0x34, 0x32, 0x81, 11997 0xa8, 0x77, 0xa0, 0xf2, 0xe4, 0x34, 0x7a, 0x59, 0x41, 0x7e, 0xdc, 0xa1, 0xc2, 0xef, 0x39, 0xa8, 11998 0x7f, 0x94, 0x81, 0x46, 0x72, 0x61, 0x8f, 0xa2, 0x2e, 0xf8, 0xeb, 0x57, 0x7c, 0x39, 0x64, 0xcd, 11999 0x71, 0xf2, 0xe0, 0x62, 0x56, 0x7e, 0x70, 0xf1, 0x4d, 0x51, 0x58, 0x4e, 0x16, 0x27, 0x71, 0x5d, 12000 0xe2, 0x16, 0xc5, 0x23, 0xa8, 0xe1, 0x7f, 0xcd, 0x9a, 0x5a, 0xbe, 0x6f, 0x45, 0x0f, 0x81, 0xad, 12001 0x10, 0xa7, 0x88, 0xc8, 0x24, 0xb0, 0xa6, 0x42, 0x33, 0x59, 0x7b, 0xa7, 0x10, 0xf1, 0xea, 0xdf, 12002 0xca, 0x43, 0x55, 0x52, 0x3b, 0xbe, 0xd5, 0xf2, 0xbb, 0x05, 0x95, 0xe4, 0xb6, 0x9a, 0x08, 0x5d, 12003 0x8f, 0x01, 0xa9, 0xb9, 0xca, 0x2d, 0xcd, 0x55, 0x13, 0x4a, 0x22, 0x3c, 0x43, 0xb8, 0x95, 0xa2, 12004 0x64, 0xda, 0x6f, 0x52, 0x78, 0x85, 0x37, 0xf2, 0x03, 0xa8, 0x49, 0x6f, 0x44, 0x44, 0x57, 0x5f, 12005 0x97, 0xe9, 0xab, 0xc9, 0x7b, 0x11, 0x01, 0xbb, 0x0a, 0xc5, 0xe9, 0xa9, 0x6e, 0x8e, 0x23, 0x97, 12006 0x44, 0x61, 0x7a, 0xba, 0x37, 0x26, 0x6f, 0xee, 0x34, 0x96, 0xb4, 0x65, 0xee, 0xe4, 0x98, 0x46, 12007 0xf2, 0xf4, 0x1e, 0x94, 0xa6, 0xa7, 0x3c, 0x22, 0xbd, 0x22, 0x1f, 0xae, 0x26, 0x43, 0x5e, 0x9c, 12008 0x9e, 0x52, 0x78, 0xfa, 0xa7, 0xa0, 0x2c, 0xb9, 0xac, 0x02, 0x11, 0xfa, 0xb5, 0xdc, 0xa8, 0xcd, 12009 0xb4, 0xf7, 0x2a, 0x60, 0xef, 0xc1, 0xb6, 0x10, 0xda, 0x46, 0xa0, 0xf3, 0xd0, 0x41, 0xba, 0x00, 12010 0xc9, 0x5f, 0x89, 0xd8, 0xe2, 0xb8, 0x56, 0x30, 0x24, 0x0c, 0x2e, 0x56, 0x15, 0x6a, 0xd2, 0xda, 12011 0xe5, 0xb7, 0x4b, 0x2b, 0x5a, 0x0a, 0xc6, 0x1e, 0x43, 0x6d, 0x7a, 0xca, 0xd7, 0xc2, 0xc8, 0x3b, 12012 0xb0, 0x44, 0x10, 0xd8, 0xf6, 0xf2, 0x2a, 0xa0, 0x58, 0xa1, 0x14, 0xa5, 0xfa, 0x2f, 0x32, 0xd0, 12013 0x48, 0xf4, 0x49, 0xdc, 0xa1, 0xec, 0xbe, 0xfc, 0xa6, 0x5d, 0x73, 0x59, 0xe5, 0x44, 0x92, 0x07, 12014 0xa3, 0x8b, 0x39, 0x7f, 0x7e, 0x67, 0xdd, 0x9d, 0xdf, 0x75, 0x2f, 0x7a, 0xe4, 0xd6, 0xbd, 0xe8, 12015 0xa1, 0x3e, 0x85, 0xdc, 0xe8, 0x62, 0xce, 0x7d, 0x17, 0x28, 0xc2, 0xb8, 0x9d, 0xc3, 0x85, 0x17, 12016 0x1d, 0xa6, 0x3d, 0xeb, 0x7c, 0xc9, 0xef, 0xe1, 0x1c, 0x6a, 0xdd, 0x83, 0x96, 0xf6, 0x25, 0x1d, 12017 0x40, 0x92, 0x90, 0x7f, 0x32, 0xd0, 0x3a, 0xdd, 0xa7, 0x7d, 0x02, 0xe4, 0xc9, 0xb3, 0x91, 0x34, 12018 0xb1, 0x65, 0x9a, 0x4f, 0x4e, 0xe5, 0xab, 0x8f, 0x99, 0xd4, 0xbb, 0x68, 0xe9, 0xd0, 0xfd, 0xec, 12019 0x72, 0xe8, 0x3e, 0x8b, 0xb7, 0x68, 0xbc, 0xdf, 0xd9, 0xdb, 0x90, 0x9f, 0x9e, 0x5a, 0x17, 0x69, 12020 0xa3, 0x21, 0xbd, 0xbb, 0x88, 0x40, 0xfd, 0x65, 0x06, 0x58, 0xaa, 0x21, 0x5c, 0x8f, 0xfd, 0x75, 12021 0xdb, 0xf2, 0x09, 0x34, 0xc5, 0x63, 0x36, 0x9c, 0x4a, 0x72, 0x67, 0x8a, 0x21, 0xbd, 0xea, 0x25, 12022 0x51, 0x07, 0xc9, 0xb5, 0x64, 0xf6, 0x1e, 0xf0, 0x97, 0x49, 0x70, 0xc6, 0xd3, 0x6e, 0x02, 0x69, 12023 0xf3, 0x6b, 0x09, 0x4d, 0xf2, 0x14, 0x89, 0xfc, 0xc4, 0x0a, 0xf7, 0xef, 0x6e, 0x26, 0xb3, 0x46, 12024 0x0c, 0x41, 0xfd, 0xfd, 0x0c, 0x5c, 0x49, 0x2f, 0x88, 0xbf, 0x58, 0x2f, 0xd3, 0xef, 0xc9, 0xe4, 12025 0x96, 0xdf, 0x93, 0x59, 0xb7, 0x9e, 0xf2, 0x6b, 0xd7, 0xd3, 0xef, 0x65, 0x60, 0x5b, 0x1a, 0xfd, 12026 0xc4, 0xf2, 0xf8, 0x4b, 0x6a, 0x99, 0xf4, 0xac, 0x4c, 0x3e, 0xf5, 0xac, 0x8c, 0xfa, 0x07, 0x19, 12027 0xb8, 0xb6, 0xd4, 0x12, 0xcd, 0xfa, 0x4b, 0x6d, 0x4b, 0xfa, 0xf9, 0x19, 0x72, 0xe9, 0xf2, 0x38, 12028 0x11, 0x1e, 0xe0, 0xce, 0xd2, 0xef, 0xc9, 0xf4, 0x70, 0x1e, 0xff, 0x65, 0xba, 0x91, 0x66, 0x12, 12029 0xc1, 0xcc, 0x3e, 0x82, 0x6a, 0xa2, 0x02, 0x45, 0x57, 0xfe, 0xd6, 0x86, 0x3f, 0xcb, 0x74, 0x6b, 12030 0xf9, 0x62, 0xf6, 0xdb, 0xf1, 0xc5, 0xc7, 0x50, 0x8b, 0x0b, 0xde, 0xb3, 0xa6, 0x69, 0xfb, 0x7e, 12031 0xe9, 0x7e, 0x7a, 0x8a, 0x52, 0xfd, 0x10, 0xb6, 0x92, 0x5e, 0xb4, 0xc5, 0x9b, 0x0a, 0x77, 0xa0, 12032 0xea, 0x5a, 0x67, 0x7a, 0xf4, 0xe2, 0x82, 0x38, 0xc4, 0x76, 0xad, 0x33, 0x41, 0xa0, 0x3e, 0x91, 12033 0xf9, 0x5e, 0xfc, 0x54, 0xa4, 0x63, 0xca, 0x33, 0x53, 0xf2, 0x1c, 0x33, 0x42, 0x61, 0x69, 0xd2, 12034 0xc4, 0x94, 0x5c, 0xeb, 0x8c, 0xd6, 0xdc, 0x99, 0x28, 0xa7, 0x65, 0x9a, 0xe2, 0x50, 0x70, 0xdd, 12035 0xf5, 0xe5, 0x1b, 0x50, 0x9e, 0xfb, 0xa9, 0x99, 0x2d, 0xcd, 0x7d, 0x5e, 0xed, 0x5d, 0x71, 0x44, 12036 0x7e, 0xd9, 0x01, 0x22, 0x3f, 0x34, 0x17, 0xb7, 0x3d, 0xf3, 0xc9, 0x53, 0xb2, 0x1f, 0x09, 0x96, 12037 0x87, 0xfb, 0x4f, 0xd4, 0x1c, 0x1f, 0x14, 0x66, 0xee, 0xd5, 0xe9, 0xa0, 0x90, 0x54, 0x3a, 0xeb, 12038 0x6b, 0x71, 0x4a, 0x8f, 0x9f, 0xea, 0x9f, 0x01, 0x40, 0xd2, 0xf1, 0x94, 0xf4, 0xce, 0x2c, 0x49, 12039 0xef, 0xef, 0x74, 0x62, 0xf8, 0x21, 0x34, 0x26, 0xde, 0xfc, 0x42, 0x4f, 0x72, 0xe4, 0xd6, 0xe6, 12040 0xa8, 0x21, 0xd5, 0x28, 0x89, 0xf6, 0x5d, 0x3d, 0x55, 0xca, 0xaf, 0x3d, 0x55, 0xfa, 0x00, 0x4a, 12041 0xdc, 0x8d, 0x1d, 0x88, 0xb8, 0xf1, 0xeb, 0xcb, 0x92, 0xe9, 0x81, 0x78, 0x3d, 0x28, 0xa2, 0x63, 12042 0x1d, 0xb4, 0x51, 0xc5, 0xd3, 0x29, 0x72, 0x14, 0xf9, 0xed, 0xd5, 0x9c, 0x11, 0x19, 0xbf, 0xaf, 12043 0x6f, 0xc8, 0x49, 0x49, 0x62, 0x87, 0x33, 0xe1, 0x5b, 0x21, 0x89, 0x5d, 0x92, 0x25, 0xf6, 0x68, 12044 0xc6, 0x3d, 0x2a, 0x28, 0xb1, 0x7f, 0x00, 0x57, 0x44, 0x44, 0x1e, 0x66, 0xc0, 0xe1, 0x24, 0x7a, 12045 0x7e, 0x49, 0x4c, 0xdc, 0xb0, 0x1b, 0xcd, 0x48, 0x15, 0x46, 0xf2, 0x7b, 0xa0, 0xc8, 0x2e, 0x22, 12046 0xa2, 0xe5, 0xaf, 0xb5, 0x34, 0x24, 0x8f, 0x10, 0x52, 0xbe, 0x05, 0x9b, 0xa2, 0xe0, 0xb8, 0x50, 12047 0xfe, 0x0c, 0x55, 0x9d, 0x83, 0xa3, 0x12, 0xbf, 0x80, 0xed, 0xc9, 0x89, 0xe1, 0x1e, 0x5b, 0x7a, 12048 0x38, 0x76, 0x74, 0x7a, 0x9e, 0x4f, 0x9f, 0x19, 0x73, 0x11, 0x72, 0xfe, 0xf6, 0x4a, 0xf7, 0xdb, 12049 0x44, 0x3c, 0x1a, 0x3b, 0x74, 0xb8, 0x1f, 0x9f, 0x66, 0x6e, 0x4d, 0x96, 0xe1, 0x4b, 0xa7, 0x3d, 12050 0xb5, 0xe5, 0xd3, 0x9e, 0x15, 0x65, 0xa5, 0xbe, 0xaa, 0xac, 0xdc, 0xfc, 0x93, 0x3c, 0x14, 0xc5, 12051 0x8b, 0x4e, 0xf7, 0x21, 0x6f, 0xfa, 0xde, 0x3c, 0x8e, 0x68, 0x59, 0xa3, 0x6b, 0xd0, 0x23, 0xda, 12052 0xa8, 0x96, 0x3c, 0x80, 0xa2, 0x61, 0x9a, 0xfa, 0xf4, 0x34, 0x7d, 0x22, 0xb3, 0x24, 0xf6, 0xf7, 12053 0x37, 0xb4, 0x82, 0x41, 0xf2, 0xff, 0x13, 0xa8, 0x20, 0x3d, 0x77, 0x36, 0xa5, 0xcc, 0xa1, 0x55, 12054 0x01, 0xbd, 0xbf, 0xa1, 0x95, 0x8d, 0x48, 0x58, 0xff, 0x28, 0xed, 0xdb, 0xe2, 0xd2, 0xf3, 0xe6, 12055 0x4a, 0xd6, 0xcb, 0xbc, 0x5c, 0xbf, 0x0d, 0xdc, 0xd9, 0x11, 0xf3, 0x9e, 0x82, 0xec, 0xfc, 0x5f, 12056 0xe1, 0x54, 0xfb, 0x1b, 0x5a, 0xcd, 0xe0, 0x81, 0x15, 0x9c, 0x73, 0x7d, 0x14, 0xf9, 0x9d, 0xe2, 12057 0xe7, 0x6e, 0xd7, 0x8c, 0x0c, 0x72, 0x8e, 0xd8, 0xf9, 0x44, 0x6c, 0x04, 0xb3, 0x99, 0x66, 0x14, 12058 0xa8, 0x50, 0x5a, 0xc9, 0x16, 0xf3, 0x27, 0xca, 0x16, 0x33, 0xab, 0xc7, 0x50, 0x25, 0x17, 0x90, 12059 0xc8, 0x57, 0x5e, 0x19, 0xda, 0x84, 0xbd, 0x90, 0x63, 0x3b, 0x61, 0x36, 0xed, 0xa8, 0x9f, 0xbe, 12060 0x25, 0xfb, 0x0e, 0x6f, 0xad, 0x1d, 0x28, 0x2d, 0x76, 0x23, 0xf2, 0xce, 0x6a, 0x3c, 0x0f, 0xdb, 12061 0x85, 0x9a, 0x21, 0xc9, 0x1d, 0xe1, 0x48, 0xbc, 0xb5, 0x66, 0x9e, 0x62, 0x1a, 0x2a, 0x43, 0x4a, 12062 0x27, 0x07, 0x5c, 0x37, 0x35, 0xb8, 0xb6, 0x7e, 0x29, 0xcb, 0xe7, 0xf0, 0x79, 0x7e, 0x0e, 0xaf, 12063 0xa6, 0xef, 0x4d, 0xa6, 0xaf, 0xd3, 0x48, 0xa7, 0xf2, 0x3f, 0x41, 0x13, 0x58, 0x66, 0x07, 0x55, 12064 0x28, 0x45, 0x0f, 0x8b, 0x51, 0x44, 0x57, 0x7b, 0x70, 0xf8, 0xa5, 0x92, 0x41, 0x70, 0xb7, 0x3f, 12065 0x1c, 0xb5, 0xfa, 0xe2, 0xf8, 0xb2, 0xdb, 0x17, 0xc7, 0x97, 0xea, 0xbf, 0xcd, 0x41, 0x25, 0x76, 12066 0xbf, 0xfe, 0xfa, 0x76, 0x6f, 0x6c, 0x50, 0xe6, 0x64, 0x83, 0x72, 0x49, 0x6f, 0xe3, 0x07, 0xe7, 12067 0xfc, 0x3e, 0xed, 0x66, 0x5a, 0x3b, 0x0a, 0x56, 0xe3, 0xfb, 0x0b, 0xdf, 0x32, 0xbe, 0x5f, 0x0e, 12068 0x6a, 0x2a, 0xa6, 0x83, 0x9a, 0x96, 0x1e, 0x97, 0x2b, 0xd1, 0x21, 0xbf, 0xfc, 0xb8, 0xdc, 0xa5, 12069 0xa7, 0xfb, 0xe5, 0xcb, 0x4f, 0xf7, 0xe9, 0x97, 0x02, 0x9e, 0xdb, 0xd6, 0x99, 0x88, 0xed, 0x11, 12070 0xa9, 0xb4, 0x40, 0x82, 0x57, 0x08, 0xa4, 0x65, 0x56, 0x54, 0x5d, 0x63, 0x37, 0x3d, 0x84, 0xed, 12071 0xe9, 0x69, 0xfc, 0x90, 0x4e, 0x62, 0x3f, 0xd5, 0xa8, 0x1b, 0x6b, 0x71, 0xea, 0xd7, 0x50, 0x89, 12072 0xfd, 0xbf, 0xbf, 0xfe, 0x6c, 0x7e, 0x97, 0xbb, 0x9c, 0xea, 0xef, 0x46, 0x5e, 0xa3, 0xd8, 0xfd, 12073 0xfa, 0x17, 0xf5, 0x1a, 0xa5, 0xaa, 0xcf, 0xbd, 0xa2, 0xfa, 0x73, 0xee, 0xba, 0x89, 0x2b, 0xff, 12074 0x0d, 0x2f, 0x61, 0x79, 0x75, 0xe5, 0x53, 0xab, 0x4b, 0x5d, 0x08, 0xff, 0xd3, 0x5f, 0xbc, 0xea, 12075 0xef, 0xd4, 0xe1, 0x3f, 0xcb, 0x44, 0x4e, 0x92, 0xf8, 0x21, 0xa0, 0x4b, 0x95, 0xa4, 0xf5, 0x7e, 12076 0x9e, 0xef, 0x52, 0xdd, 0xaf, 0xb4, 0xf2, 0xf2, 0xbf, 0xca, 0xca, 0x7b, 0x1b, 0x0a, 0x9c, 0xf5, 12077 0x16, 0x2e, 0xb3, 0xf0, 0x38, 0xfe, 0x95, 0x4f, 0x67, 0xaa, 0xaa, 0x50, 0x0a, 0x79, 0x7f, 0xb7, 12078 0xa3, 0x72, 0xa3, 0x67, 0x3f, 0x31, 0x81, 0x46, 0x76, 0x25, 0x31, 0xf6, 0xbe, 0xfb, 0x98, 0xfc, 12079 0xc6, 0xcc, 0xbc, 0x7f, 0x92, 0x85, 0x7a, 0xea, 0xe8, 0xe7, 0xd7, 0x68, 0xcc, 0x5a, 0xbe, 0x99, 12080 0x5b, 0xcf, 0x37, 0x2f, 0x65, 0x61, 0xf9, 0xcb, 0x59, 0xd8, 0xff, 0x11, 0x5e, 0xcb, 0x63, 0xf2, 12081 0xc4, 0x2b, 0x9d, 0xe5, 0x28, 0x26, 0x8f, 0xc7, 0x94, 0xa9, 0x7f, 0x3b, 0x13, 0xbf, 0x59, 0xc9, 12082 0x6b, 0x5a, 0xa7, 0x7b, 0x67, 0xd6, 0xea, 0xde, 0xb7, 0xe3, 0x17, 0xe8, 0xbb, 0x7b, 0xdc, 0xa0, 12083 0xab, 0x6b, 0x12, 0x84, 0x7d, 0x0a, 0x37, 0xb8, 0xfe, 0xc0, 0x55, 0x26, 0xdd, 0x9b, 0xea, 0xf1, 12084 0xfb, 0xf4, 0x22, 0xe8, 0xec, 0x1a, 0x27, 0xe0, 0xef, 0xaa, 0x4e, 0x5b, 0x11, 0x56, 0xed, 0x42, 12085 0x3d, 0x75, 0x0e, 0x27, 0xfd, 0xd6, 0x45, 0x46, 0xfe, 0xad, 0x0b, 0xb6, 0x03, 0x85, 0xb3, 0x13, 12086 0xcb, 0xb7, 0xd6, 0x3c, 0x8e, 0xc2, 0x11, 0xea, 0x0f, 0xa1, 0x26, 0xc7, 0x04, 0xb0, 0x77, 0xa1, 12087 0x60, 0x87, 0xd6, 0x2c, 0xb2, 0x5e, 0xaf, 0xad, 0x86, 0x0d, 0x90, 0x01, 0xcb, 0x89, 0xd4, 0x5f, 12088 0x64, 0x40, 0x59, 0xc6, 0x49, 0x3f, 0xc8, 0x91, 0xb9, 0xe4, 0x07, 0x39, 0xb2, 0xa9, 0x46, 0xae, 12089 0xfb, 0x4d, 0x8d, 0xf8, 0x81, 0x86, 0xfc, 0x25, 0x0f, 0x34, 0xb0, 0xb7, 0xa0, 0xec, 0x5b, 0xf4, 12090 0x6b, 0x07, 0x66, 0xfa, 0xb1, 0x6b, 0x7e, 0x09, 0x27, 0xc2, 0xa9, 0x7f, 0x23, 0x03, 0x25, 0x11, 12091 0xc0, 0xb0, 0xd6, 0xc8, 0x7c, 0x07, 0x4a, 0xfc, 0x97, 0x0f, 0x22, 0xa3, 0x7b, 0x25, 0x26, 0x30, 12092 0xc2, 0xb3, 0xdb, 0x3c, 0xac, 0x23, 0x6d, 0x74, 0x1e, 0x3a, 0x86, 0xab, 0x11, 0x1c, 0x97, 0x1a, 12093 0x77, 0x21, 0xa0, 0xd9, 0x14, 0x88, 0x9b, 0xbc, 0x40, 0x20, 0x54, 0x82, 0x02, 0xf5, 0x47, 0x50, 12094 0x12, 0x01, 0x12, 0x6b, 0x9b, 0xf2, 0xaa, 0xdf, 0x02, 0xd8, 0x01, 0x48, 0x22, 0x26, 0xd6, 0x95, 12095 0xa0, 0xde, 0x87, 0x72, 0x14, 0x24, 0x81, 0xeb, 0x2f, 0xa9, 0x5a, 0xc4, 0xc1, 0xca, 0x8d, 0x71, 12096 0xc4, 0x0b, 0x62, 0x3d, 0x6f, 0x72, 0x4a, 0xde, 0xac, 0xf7, 0xa0, 0xec, 0x44, 0x0f, 0xb3, 0x65, 12097 0x2e, 0x7f, 0x98, 0x2d, 0x26, 0x62, 0xf7, 0x21, 0x66, 0xc7, 0xaf, 0xb2, 0x74, 0xd5, 0x56, 0x14, 12098 0xf0, 0x4d, 0xab, 0xec, 0x91, 0xf0, 0xda, 0x20, 0x68, 0xc9, 0x51, 0x92, 0x6a, 0x93, 0x26, 0x91, 12099 0xa9, 0x0d, 0xa8, 0xc9, 0x27, 0xbb, 0xea, 0x2f, 0xf2, 0xa0, 0x1c, 0x58, 0xa1, 0x81, 0x4c, 0x6b, 12100 0x38, 0x31, 0x5c, 0xea, 0xc4, 0x0d, 0x28, 0xc7, 0x2f, 0x3e, 0x67, 0xa2, 0x17, 0x23, 0x9d, 0xe8, 12101 0x29, 0x64, 0x8f, 0x26, 0x55, 0xf6, 0x28, 0x00, 0x07, 0x11, 0x01, 0xe7, 0x04, 0xa9, 0xa7, 0x17, 12102 0xcb, 0x76, 0xb0, 0xcf, 0x1f, 0x5f, 0xbc, 0xce, 0xaf, 0xd8, 0x3a, 0xde, 0x84, 0xd6, 0x64, 0x8d, 12103 0x6e, 0xd4, 0xf6, 0xbc, 0x09, 0xe6, 0x8a, 0x2c, 0xd1, 0x40, 0x84, 0xd1, 0x97, 0x85, 0x09, 0x4a, 12104 0xae, 0x73, 0x71, 0x6f, 0x32, 0x0c, 0x88, 0x33, 0xd5, 0xb4, 0x32, 0x07, 0x8c, 0x82, 0xe8, 0x95, 12105 0xaa, 0x89, 0x78, 0x7a, 0x39, 0x47, 0xaf, 0x54, 0xb5, 0x5d, 0x8a, 0x87, 0xa7, 0xd7, 0xbd, 0x27, 12106 0xe2, 0x71, 0x75, 0xf1, 0x06, 0x18, 0xa2, 0xde, 0xe4, 0x8f, 0x53, 0xfb, 0x56, 0x10, 0xf0, 0x47, 12107 0x14, 0xf8, 0xfb, 0x06, 0xb5, 0x08, 0x18, 0xbf, 0xd6, 0x20, 0x9e, 0xf3, 0x46, 0x12, 0x10, 0xaf, 12108 0x35, 0xf0, 0xc7, 0xbc, 0x91, 0xe0, 0x06, 0x94, 0xbf, 0xf1, 0x5c, 0x4b, 0xd8, 0xb7, 0xd8, 0xaa, 12109 0x12, 0xa6, 0x0f, 0x8c, 0xb9, 0xfa, 0x6f, 0x32, 0xb0, 0xbd, 0x3c, 0xaa, 0x34, 0xdb, 0x35, 0x28, 12110 0xb7, 0x07, 0x3d, 0xbd, 0xdf, 0x3a, 0xe8, 0x28, 0x1b, 0x6c, 0x13, 0xaa, 0x83, 0xdd, 0xcf, 0x3b, 12111 0xed, 0x11, 0x07, 0x64, 0xe8, 0xc6, 0xcc, 0x50, 0xdf, 0xef, 0xee, 0xed, 0x75, 0xfa, 0x5c, 0x99, 12112 0x1f, 0xec, 0x7e, 0xae, 0xf7, 0x06, 0x6d, 0xfe, 0x92, 0x70, 0x74, 0xe2, 0x3c, 0x54, 0xf2, 0x74, 12113 0xca, 0x4b, 0xa1, 0x89, 0x98, 0x2c, 0xf0, 0xc8, 0xbb, 0x17, 0x43, 0xbd, 0xdd, 0x1f, 0x29, 0x45, 12114 0x4c, 0xf5, 0x8f, 0x7a, 0x3d, 0x4a, 0x51, 0x88, 0x4d, 0x7b, 0x70, 0x70, 0xa8, 0x75, 0x86, 0x43, 12115 0x7d, 0xd8, 0xfd, 0x59, 0x47, 0x29, 0x53, 0xcd, 0x5a, 0xf7, 0x69, 0xb7, 0xcf, 0x01, 0x15, 0x56, 12116 0x82, 0xdc, 0x41, 0xb7, 0xaf, 0x00, 0x7d, 0xb4, 0xbe, 0x50, 0xaa, 0xf8, 0x31, 0x3c, 0x3a, 0x50, 12117 0x6a, 0xf7, 0xdf, 0x80, 0x9a, 0xfc, 0x42, 0x3e, 0x05, 0xdb, 0x79, 0xae, 0xc5, 0x5f, 0xae, 0xea, 12118 0x7d, 0xf3, 0xa1, 0x92, 0xb9, 0xff, 0xbb, 0xd2, 0x33, 0xa7, 0x44, 0x23, 0x3c, 0xe8, 0x74, 0x71, 12119 0x8b, 0xdf, 0x27, 0x21, 0x7f, 0x39, 0x5d, 0x3f, 0xd9, 0x6f, 0x0d, 0xf7, 0xb9, 0x6f, 0x5d, 0x60, 12120 0x08, 0x90, 0x4b, 0x5e, 0x3c, 0xa2, 0x8b, 0x5a, 0xf4, 0x19, 0x1f, 0x30, 0x17, 0xe8, 0x86, 0x4d, 12121 0x77, 0x88, 0x9d, 0x53, 0xa0, 0x86, 0x5f, 0x31, 0xae, 0x74, 0x5f, 0x85, 0xaa, 0xf4, 0x48, 0x1d, 12122 0xd5, 0x61, 0x04, 0x27, 0xe2, 0x11, 0x25, 0xb4, 0xca, 0x94, 0xcc, 0xfd, 0x8f, 0x90, 0xdd, 0xcb, 12123 0x4f, 0xc4, 0x01, 0x14, 0xfb, 0x9e, 0x3f, 0x33, 0x1c, 0x41, 0x67, 0x2d, 0x02, 0x8b, 0x4f, 0x81, 12124 0x66, 0x89, 0xc7, 0xe4, 0x94, 0xec, 0xfd, 0xf7, 0xe0, 0xea, 0xda, 0xf7, 0xef, 0x28, 0x7e, 0xd4, 12125 0x9e, 0xcd, 0x1d, 0x8b, 0x87, 0x40, 0xee, 0x5f, 0x8c, 0x7d, 0xdb, 0x54, 0x32, 0xf7, 0x7f, 0x02, 12126 0xcd, 0xcb, 0x22, 0xfa, 0xb0, 0x9a, 0xf6, 0x7e, 0x8b, 0xa2, 0x26, 0x71, 0x86, 0x06, 0x3a, 0x4f, 12127 0x65, 0x78, 0xd0, 0x69, 0xaf, 0x43, 0xa1, 0x05, 0xf7, 0x7f, 0x9e, 0x91, 0x98, 0x4a, 0x14, 0x95, 12128 0x15, 0x03, 0xc4, 0xd0, 0xcb, 0x20, 0xcd, 0x32, 0x4c, 0x25, 0xc3, 0xae, 0x01, 0x4b, 0x81, 0x7a, 12129 0xde, 0xc4, 0x70, 0x94, 0x2c, 0x05, 0x11, 0x44, 0xf0, 0x17, 0xbe, 0x1d, 0x5a, 0x4a, 0x8e, 0xbd, 12130 0x0e, 0x37, 0x62, 0x58, 0xcf, 0x3b, 0x3b, 0xf4, 0x6d, 0xb4, 0x33, 0x2f, 0x38, 0x3a, 0xbf, 0xfb, 12131 0xe3, 0x3f, 0xfe, 0xe5, 0xed, 0xcc, 0xbf, 0xff, 0xe5, 0xed, 0xcc, 0x7f, 0xfb, 0xe5, 0xed, 0x8d, 12132 0x5f, 0xfc, 0xf7, 0xdb, 0x99, 0x9f, 0xc9, 0xbf, 0x4a, 0x37, 0x33, 0x42, 0xdf, 0x3e, 0xe7, 0x3b, 12133 0x21, 0x4a, 0xb8, 0xd6, 0x7b, 0xf3, 0xd3, 0xe3, 0xf7, 0xe6, 0xe3, 0xf7, 0x90, 0x01, 0x8d, 0x8b, 12134 0xf4, 0xfb, 0x73, 0x8f, 0xfe, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3b, 0x51, 0xb2, 0xd0, 0xdf, 12135 0x6e, 0x00, 0x00, 12136 } 12137 12138 func (m *Type) Marshal() (dAtA []byte, err error) { 12139 size := m.ProtoSize() 12140 dAtA = make([]byte, size) 12141 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12142 if err != nil { 12143 return nil, err 12144 } 12145 return dAtA[:n], nil 12146 } 12147 12148 func (m *Type) MarshalTo(dAtA []byte) (int, error) { 12149 size := m.ProtoSize() 12150 return m.MarshalToSizedBuffer(dAtA[:size]) 12151 } 12152 12153 func (m *Type) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12154 i := len(dAtA) 12155 _ = i 12156 var l int 12157 _ = l 12158 if m.XXX_unrecognized != nil { 12159 i -= len(m.XXX_unrecognized) 12160 copy(dAtA[i:], m.XXX_unrecognized) 12161 } 12162 if len(m.Enumvalues) > 0 { 12163 i -= len(m.Enumvalues) 12164 copy(dAtA[i:], m.Enumvalues) 12165 i = encodeVarintPlan(dAtA, i, uint64(len(m.Enumvalues))) 12166 i-- 12167 dAtA[i] = 0x3a 12168 } 12169 if len(m.Table) > 0 { 12170 i -= len(m.Table) 12171 copy(dAtA[i:], m.Table) 12172 i = encodeVarintPlan(dAtA, i, uint64(len(m.Table))) 12173 i-- 12174 dAtA[i] = 0x32 12175 } 12176 if m.Scale != 0 { 12177 i = encodeVarintPlan(dAtA, i, uint64(m.Scale)) 12178 i-- 12179 dAtA[i] = 0x28 12180 } 12181 if m.Width != 0 { 12182 i = encodeVarintPlan(dAtA, i, uint64(m.Width)) 12183 i-- 12184 dAtA[i] = 0x20 12185 } 12186 if m.AutoIncr { 12187 i-- 12188 if m.AutoIncr { 12189 dAtA[i] = 1 12190 } else { 12191 dAtA[i] = 0 12192 } 12193 i-- 12194 dAtA[i] = 0x18 12195 } 12196 if m.NotNullable { 12197 i-- 12198 if m.NotNullable { 12199 dAtA[i] = 1 12200 } else { 12201 dAtA[i] = 0 12202 } 12203 i-- 12204 dAtA[i] = 0x10 12205 } 12206 if m.Id != 0 { 12207 i = encodeVarintPlan(dAtA, i, uint64(m.Id)) 12208 i-- 12209 dAtA[i] = 0x8 12210 } 12211 return len(dAtA) - i, nil 12212 } 12213 12214 func (m *MsgHeader) Marshal() (dAtA []byte, err error) { 12215 size := m.ProtoSize() 12216 dAtA = make([]byte, size) 12217 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12218 if err != nil { 12219 return nil, err 12220 } 12221 return dAtA[:n], nil 12222 } 12223 12224 func (m *MsgHeader) MarshalTo(dAtA []byte) (int, error) { 12225 size := m.ProtoSize() 12226 return m.MarshalToSizedBuffer(dAtA[:size]) 12227 } 12228 12229 func (m *MsgHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12230 i := len(dAtA) 12231 _ = i 12232 var l int 12233 _ = l 12234 if m.XXX_unrecognized != nil { 12235 i -= len(m.XXX_unrecognized) 12236 copy(dAtA[i:], m.XXX_unrecognized) 12237 } 12238 if m.MsgType != 0 { 12239 i = encodeVarintPlan(dAtA, i, uint64(m.MsgType)) 12240 i-- 12241 dAtA[i] = 0x10 12242 } 12243 if m.MsgTag != 0 { 12244 i = encodeVarintPlan(dAtA, i, uint64(m.MsgTag)) 12245 i-- 12246 dAtA[i] = 0x8 12247 } 12248 return len(dAtA) - i, nil 12249 } 12250 12251 func (m *Literal) Marshal() (dAtA []byte, err error) { 12252 size := m.ProtoSize() 12253 dAtA = make([]byte, size) 12254 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12255 if err != nil { 12256 return nil, err 12257 } 12258 return dAtA[:n], nil 12259 } 12260 12261 func (m *Literal) MarshalTo(dAtA []byte) (int, error) { 12262 size := m.ProtoSize() 12263 return m.MarshalToSizedBuffer(dAtA[:size]) 12264 } 12265 12266 func (m *Literal) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12267 i := len(dAtA) 12268 _ = i 12269 var l int 12270 _ = l 12271 if m.XXX_unrecognized != nil { 12272 i -= len(m.XXX_unrecognized) 12273 copy(dAtA[i:], m.XXX_unrecognized) 12274 } 12275 if m.Src != nil { 12276 { 12277 size, err := m.Src.MarshalToSizedBuffer(dAtA[:i]) 12278 if err != nil { 12279 return 0, err 12280 } 12281 i -= size 12282 i = encodeVarintPlan(dAtA, i, uint64(size)) 12283 } 12284 i-- 12285 dAtA[i] = 0x1 12286 i-- 12287 dAtA[i] = 0xca 12288 } 12289 if m.IsBin { 12290 i-- 12291 if m.IsBin { 12292 dAtA[i] = 1 12293 } else { 12294 dAtA[i] = 0 12295 } 12296 i-- 12297 dAtA[i] = 0x1 12298 i-- 12299 dAtA[i] = 0xc0 12300 } 12301 if m.Value != nil { 12302 { 12303 size := m.Value.ProtoSize() 12304 i -= size 12305 if _, err := m.Value.MarshalTo(dAtA[i:]); err != nil { 12306 return 0, err 12307 } 12308 } 12309 } 12310 if m.Isnull { 12311 i-- 12312 if m.Isnull { 12313 dAtA[i] = 1 12314 } else { 12315 dAtA[i] = 0 12316 } 12317 i-- 12318 dAtA[i] = 0x8 12319 } 12320 return len(dAtA) - i, nil 12321 } 12322 12323 func (m *Literal_I8Val) MarshalTo(dAtA []byte) (int, error) { 12324 size := m.ProtoSize() 12325 return m.MarshalToSizedBuffer(dAtA[:size]) 12326 } 12327 12328 func (m *Literal_I8Val) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12329 i := len(dAtA) 12330 i = encodeVarintPlan(dAtA, i, uint64(m.I8Val)) 12331 i-- 12332 dAtA[i] = 0x10 12333 return len(dAtA) - i, nil 12334 } 12335 func (m *Literal_I16Val) MarshalTo(dAtA []byte) (int, error) { 12336 size := m.ProtoSize() 12337 return m.MarshalToSizedBuffer(dAtA[:size]) 12338 } 12339 12340 func (m *Literal_I16Val) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12341 i := len(dAtA) 12342 i = encodeVarintPlan(dAtA, i, uint64(m.I16Val)) 12343 i-- 12344 dAtA[i] = 0x18 12345 return len(dAtA) - i, nil 12346 } 12347 func (m *Literal_I32Val) MarshalTo(dAtA []byte) (int, error) { 12348 size := m.ProtoSize() 12349 return m.MarshalToSizedBuffer(dAtA[:size]) 12350 } 12351 12352 func (m *Literal_I32Val) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12353 i := len(dAtA) 12354 i = encodeVarintPlan(dAtA, i, uint64(m.I32Val)) 12355 i-- 12356 dAtA[i] = 0x20 12357 return len(dAtA) - i, nil 12358 } 12359 func (m *Literal_I64Val) MarshalTo(dAtA []byte) (int, error) { 12360 size := m.ProtoSize() 12361 return m.MarshalToSizedBuffer(dAtA[:size]) 12362 } 12363 12364 func (m *Literal_I64Val) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12365 i := len(dAtA) 12366 i = encodeVarintPlan(dAtA, i, uint64(m.I64Val)) 12367 i-- 12368 dAtA[i] = 0x28 12369 return len(dAtA) - i, nil 12370 } 12371 func (m *Literal_U8Val) MarshalTo(dAtA []byte) (int, error) { 12372 size := m.ProtoSize() 12373 return m.MarshalToSizedBuffer(dAtA[:size]) 12374 } 12375 12376 func (m *Literal_U8Val) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12377 i := len(dAtA) 12378 i = encodeVarintPlan(dAtA, i, uint64(m.U8Val)) 12379 i-- 12380 dAtA[i] = 0x30 12381 return len(dAtA) - i, nil 12382 } 12383 func (m *Literal_U16Val) MarshalTo(dAtA []byte) (int, error) { 12384 size := m.ProtoSize() 12385 return m.MarshalToSizedBuffer(dAtA[:size]) 12386 } 12387 12388 func (m *Literal_U16Val) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12389 i := len(dAtA) 12390 i = encodeVarintPlan(dAtA, i, uint64(m.U16Val)) 12391 i-- 12392 dAtA[i] = 0x38 12393 return len(dAtA) - i, nil 12394 } 12395 func (m *Literal_U32Val) MarshalTo(dAtA []byte) (int, error) { 12396 size := m.ProtoSize() 12397 return m.MarshalToSizedBuffer(dAtA[:size]) 12398 } 12399 12400 func (m *Literal_U32Val) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12401 i := len(dAtA) 12402 i = encodeVarintPlan(dAtA, i, uint64(m.U32Val)) 12403 i-- 12404 dAtA[i] = 0x40 12405 return len(dAtA) - i, nil 12406 } 12407 func (m *Literal_U64Val) MarshalTo(dAtA []byte) (int, error) { 12408 size := m.ProtoSize() 12409 return m.MarshalToSizedBuffer(dAtA[:size]) 12410 } 12411 12412 func (m *Literal_U64Val) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12413 i := len(dAtA) 12414 i = encodeVarintPlan(dAtA, i, uint64(m.U64Val)) 12415 i-- 12416 dAtA[i] = 0x48 12417 return len(dAtA) - i, nil 12418 } 12419 func (m *Literal_Dval) MarshalTo(dAtA []byte) (int, error) { 12420 size := m.ProtoSize() 12421 return m.MarshalToSizedBuffer(dAtA[:size]) 12422 } 12423 12424 func (m *Literal_Dval) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12425 i := len(dAtA) 12426 i -= 8 12427 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Dval)))) 12428 i-- 12429 dAtA[i] = 0x51 12430 return len(dAtA) - i, nil 12431 } 12432 func (m *Literal_Sval) MarshalTo(dAtA []byte) (int, error) { 12433 size := m.ProtoSize() 12434 return m.MarshalToSizedBuffer(dAtA[:size]) 12435 } 12436 12437 func (m *Literal_Sval) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12438 i := len(dAtA) 12439 i -= len(m.Sval) 12440 copy(dAtA[i:], m.Sval) 12441 i = encodeVarintPlan(dAtA, i, uint64(len(m.Sval))) 12442 i-- 12443 dAtA[i] = 0x5a 12444 return len(dAtA) - i, nil 12445 } 12446 func (m *Literal_Bval) MarshalTo(dAtA []byte) (int, error) { 12447 size := m.ProtoSize() 12448 return m.MarshalToSizedBuffer(dAtA[:size]) 12449 } 12450 12451 func (m *Literal_Bval) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12452 i := len(dAtA) 12453 i-- 12454 if m.Bval { 12455 dAtA[i] = 1 12456 } else { 12457 dAtA[i] = 0 12458 } 12459 i-- 12460 dAtA[i] = 0x60 12461 return len(dAtA) - i, nil 12462 } 12463 func (m *Literal_Fval) MarshalTo(dAtA []byte) (int, error) { 12464 size := m.ProtoSize() 12465 return m.MarshalToSizedBuffer(dAtA[:size]) 12466 } 12467 12468 func (m *Literal_Fval) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12469 i := len(dAtA) 12470 i -= 4 12471 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Fval)))) 12472 i-- 12473 dAtA[i] = 0x6d 12474 return len(dAtA) - i, nil 12475 } 12476 func (m *Literal_Dateval) MarshalTo(dAtA []byte) (int, error) { 12477 size := m.ProtoSize() 12478 return m.MarshalToSizedBuffer(dAtA[:size]) 12479 } 12480 12481 func (m *Literal_Dateval) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12482 i := len(dAtA) 12483 i = encodeVarintPlan(dAtA, i, uint64(m.Dateval)) 12484 i-- 12485 dAtA[i] = 0x70 12486 return len(dAtA) - i, nil 12487 } 12488 func (m *Literal_Timeval) MarshalTo(dAtA []byte) (int, error) { 12489 size := m.ProtoSize() 12490 return m.MarshalToSizedBuffer(dAtA[:size]) 12491 } 12492 12493 func (m *Literal_Timeval) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12494 i := len(dAtA) 12495 i = encodeVarintPlan(dAtA, i, uint64(m.Timeval)) 12496 i-- 12497 dAtA[i] = 0x78 12498 return len(dAtA) - i, nil 12499 } 12500 func (m *Literal_Datetimeval) MarshalTo(dAtA []byte) (int, error) { 12501 size := m.ProtoSize() 12502 return m.MarshalToSizedBuffer(dAtA[:size]) 12503 } 12504 12505 func (m *Literal_Datetimeval) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12506 i := len(dAtA) 12507 i = encodeVarintPlan(dAtA, i, uint64(m.Datetimeval)) 12508 i-- 12509 dAtA[i] = 0x1 12510 i-- 12511 dAtA[i] = 0x80 12512 return len(dAtA) - i, nil 12513 } 12514 func (m *Literal_Decimal64Val) MarshalTo(dAtA []byte) (int, error) { 12515 size := m.ProtoSize() 12516 return m.MarshalToSizedBuffer(dAtA[:size]) 12517 } 12518 12519 func (m *Literal_Decimal64Val) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12520 i := len(dAtA) 12521 if m.Decimal64Val != nil { 12522 { 12523 size, err := m.Decimal64Val.MarshalToSizedBuffer(dAtA[:i]) 12524 if err != nil { 12525 return 0, err 12526 } 12527 i -= size 12528 i = encodeVarintPlan(dAtA, i, uint64(size)) 12529 } 12530 i-- 12531 dAtA[i] = 0x1 12532 i-- 12533 dAtA[i] = 0x8a 12534 } 12535 return len(dAtA) - i, nil 12536 } 12537 func (m *Literal_Decimal128Val) MarshalTo(dAtA []byte) (int, error) { 12538 size := m.ProtoSize() 12539 return m.MarshalToSizedBuffer(dAtA[:size]) 12540 } 12541 12542 func (m *Literal_Decimal128Val) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12543 i := len(dAtA) 12544 if m.Decimal128Val != nil { 12545 { 12546 size, err := m.Decimal128Val.MarshalToSizedBuffer(dAtA[:i]) 12547 if err != nil { 12548 return 0, err 12549 } 12550 i -= size 12551 i = encodeVarintPlan(dAtA, i, uint64(size)) 12552 } 12553 i-- 12554 dAtA[i] = 0x1 12555 i-- 12556 dAtA[i] = 0x92 12557 } 12558 return len(dAtA) - i, nil 12559 } 12560 func (m *Literal_Timestampval) MarshalTo(dAtA []byte) (int, error) { 12561 size := m.ProtoSize() 12562 return m.MarshalToSizedBuffer(dAtA[:size]) 12563 } 12564 12565 func (m *Literal_Timestampval) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12566 i := len(dAtA) 12567 i = encodeVarintPlan(dAtA, i, uint64(m.Timestampval)) 12568 i-- 12569 dAtA[i] = 0x1 12570 i-- 12571 dAtA[i] = 0x98 12572 return len(dAtA) - i, nil 12573 } 12574 func (m *Literal_Jsonval) MarshalTo(dAtA []byte) (int, error) { 12575 size := m.ProtoSize() 12576 return m.MarshalToSizedBuffer(dAtA[:size]) 12577 } 12578 12579 func (m *Literal_Jsonval) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12580 i := len(dAtA) 12581 i -= len(m.Jsonval) 12582 copy(dAtA[i:], m.Jsonval) 12583 i = encodeVarintPlan(dAtA, i, uint64(len(m.Jsonval))) 12584 i-- 12585 dAtA[i] = 0x1 12586 i-- 12587 dAtA[i] = 0xa2 12588 return len(dAtA) - i, nil 12589 } 12590 func (m *Literal_Defaultval) MarshalTo(dAtA []byte) (int, error) { 12591 size := m.ProtoSize() 12592 return m.MarshalToSizedBuffer(dAtA[:size]) 12593 } 12594 12595 func (m *Literal_Defaultval) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12596 i := len(dAtA) 12597 i-- 12598 if m.Defaultval { 12599 dAtA[i] = 1 12600 } else { 12601 dAtA[i] = 0 12602 } 12603 i-- 12604 dAtA[i] = 0x1 12605 i-- 12606 dAtA[i] = 0xa8 12607 return len(dAtA) - i, nil 12608 } 12609 func (m *Literal_UpdateVal) MarshalTo(dAtA []byte) (int, error) { 12610 size := m.ProtoSize() 12611 return m.MarshalToSizedBuffer(dAtA[:size]) 12612 } 12613 12614 func (m *Literal_UpdateVal) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12615 i := len(dAtA) 12616 i-- 12617 if m.UpdateVal { 12618 dAtA[i] = 1 12619 } else { 12620 dAtA[i] = 0 12621 } 12622 i-- 12623 dAtA[i] = 0x1 12624 i-- 12625 dAtA[i] = 0xb0 12626 return len(dAtA) - i, nil 12627 } 12628 func (m *Literal_EnumVal) MarshalTo(dAtA []byte) (int, error) { 12629 size := m.ProtoSize() 12630 return m.MarshalToSizedBuffer(dAtA[:size]) 12631 } 12632 12633 func (m *Literal_EnumVal) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12634 i := len(dAtA) 12635 i = encodeVarintPlan(dAtA, i, uint64(m.EnumVal)) 12636 i-- 12637 dAtA[i] = 0x1 12638 i-- 12639 dAtA[i] = 0xb8 12640 return len(dAtA) - i, nil 12641 } 12642 func (m *ParamRef) Marshal() (dAtA []byte, err error) { 12643 size := m.ProtoSize() 12644 dAtA = make([]byte, size) 12645 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12646 if err != nil { 12647 return nil, err 12648 } 12649 return dAtA[:n], nil 12650 } 12651 12652 func (m *ParamRef) MarshalTo(dAtA []byte) (int, error) { 12653 size := m.ProtoSize() 12654 return m.MarshalToSizedBuffer(dAtA[:size]) 12655 } 12656 12657 func (m *ParamRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12658 i := len(dAtA) 12659 _ = i 12660 var l int 12661 _ = l 12662 if m.XXX_unrecognized != nil { 12663 i -= len(m.XXX_unrecognized) 12664 copy(dAtA[i:], m.XXX_unrecognized) 12665 } 12666 if m.Pos != 0 { 12667 i = encodeVarintPlan(dAtA, i, uint64(m.Pos)) 12668 i-- 12669 dAtA[i] = 0x8 12670 } 12671 return len(dAtA) - i, nil 12672 } 12673 12674 func (m *VarRef) Marshal() (dAtA []byte, err error) { 12675 size := m.ProtoSize() 12676 dAtA = make([]byte, size) 12677 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12678 if err != nil { 12679 return nil, err 12680 } 12681 return dAtA[:n], nil 12682 } 12683 12684 func (m *VarRef) MarshalTo(dAtA []byte) (int, error) { 12685 size := m.ProtoSize() 12686 return m.MarshalToSizedBuffer(dAtA[:size]) 12687 } 12688 12689 func (m *VarRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12690 i := len(dAtA) 12691 _ = i 12692 var l int 12693 _ = l 12694 if m.XXX_unrecognized != nil { 12695 i -= len(m.XXX_unrecognized) 12696 copy(dAtA[i:], m.XXX_unrecognized) 12697 } 12698 if m.Global { 12699 i-- 12700 if m.Global { 12701 dAtA[i] = 1 12702 } else { 12703 dAtA[i] = 0 12704 } 12705 i-- 12706 dAtA[i] = 0x18 12707 } 12708 if m.System { 12709 i-- 12710 if m.System { 12711 dAtA[i] = 1 12712 } else { 12713 dAtA[i] = 0 12714 } 12715 i-- 12716 dAtA[i] = 0x10 12717 } 12718 if len(m.Name) > 0 { 12719 i -= len(m.Name) 12720 copy(dAtA[i:], m.Name) 12721 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 12722 i-- 12723 dAtA[i] = 0xa 12724 } 12725 return len(dAtA) - i, nil 12726 } 12727 12728 func (m *ColRef) Marshal() (dAtA []byte, err error) { 12729 size := m.ProtoSize() 12730 dAtA = make([]byte, size) 12731 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12732 if err != nil { 12733 return nil, err 12734 } 12735 return dAtA[:n], nil 12736 } 12737 12738 func (m *ColRef) MarshalTo(dAtA []byte) (int, error) { 12739 size := m.ProtoSize() 12740 return m.MarshalToSizedBuffer(dAtA[:size]) 12741 } 12742 12743 func (m *ColRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12744 i := len(dAtA) 12745 _ = i 12746 var l int 12747 _ = l 12748 if m.XXX_unrecognized != nil { 12749 i -= len(m.XXX_unrecognized) 12750 copy(dAtA[i:], m.XXX_unrecognized) 12751 } 12752 if len(m.DbName) > 0 { 12753 i -= len(m.DbName) 12754 copy(dAtA[i:], m.DbName) 12755 i = encodeVarintPlan(dAtA, i, uint64(len(m.DbName))) 12756 i-- 12757 dAtA[i] = 0x2a 12758 } 12759 if len(m.TblName) > 0 { 12760 i -= len(m.TblName) 12761 copy(dAtA[i:], m.TblName) 12762 i = encodeVarintPlan(dAtA, i, uint64(len(m.TblName))) 12763 i-- 12764 dAtA[i] = 0x22 12765 } 12766 if len(m.Name) > 0 { 12767 i -= len(m.Name) 12768 copy(dAtA[i:], m.Name) 12769 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 12770 i-- 12771 dAtA[i] = 0x1a 12772 } 12773 if m.ColPos != 0 { 12774 i = encodeVarintPlan(dAtA, i, uint64(m.ColPos)) 12775 i-- 12776 dAtA[i] = 0x10 12777 } 12778 if m.RelPos != 0 { 12779 i = encodeVarintPlan(dAtA, i, uint64(m.RelPos)) 12780 i-- 12781 dAtA[i] = 0x8 12782 } 12783 return len(dAtA) - i, nil 12784 } 12785 12786 func (m *RawColRef) Marshal() (dAtA []byte, err error) { 12787 size := m.ProtoSize() 12788 dAtA = make([]byte, size) 12789 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12790 if err != nil { 12791 return nil, err 12792 } 12793 return dAtA[:n], nil 12794 } 12795 12796 func (m *RawColRef) MarshalTo(dAtA []byte) (int, error) { 12797 size := m.ProtoSize() 12798 return m.MarshalToSizedBuffer(dAtA[:size]) 12799 } 12800 12801 func (m *RawColRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12802 i := len(dAtA) 12803 _ = i 12804 var l int 12805 _ = l 12806 if m.XXX_unrecognized != nil { 12807 i -= len(m.XXX_unrecognized) 12808 copy(dAtA[i:], m.XXX_unrecognized) 12809 } 12810 if m.ColId != 0 { 12811 i = encodeVarintPlan(dAtA, i, uint64(m.ColId)) 12812 i-- 12813 dAtA[i] = 0x10 12814 } 12815 if m.TblId != 0 { 12816 i = encodeVarintPlan(dAtA, i, uint64(m.TblId)) 12817 i-- 12818 dAtA[i] = 0x8 12819 } 12820 return len(dAtA) - i, nil 12821 } 12822 12823 func (m *CorrColRef) Marshal() (dAtA []byte, err error) { 12824 size := m.ProtoSize() 12825 dAtA = make([]byte, size) 12826 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12827 if err != nil { 12828 return nil, err 12829 } 12830 return dAtA[:n], nil 12831 } 12832 12833 func (m *CorrColRef) MarshalTo(dAtA []byte) (int, error) { 12834 size := m.ProtoSize() 12835 return m.MarshalToSizedBuffer(dAtA[:size]) 12836 } 12837 12838 func (m *CorrColRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12839 i := len(dAtA) 12840 _ = i 12841 var l int 12842 _ = l 12843 if m.XXX_unrecognized != nil { 12844 i -= len(m.XXX_unrecognized) 12845 copy(dAtA[i:], m.XXX_unrecognized) 12846 } 12847 if m.Depth != 0 { 12848 i = encodeVarintPlan(dAtA, i, uint64(m.Depth)) 12849 i-- 12850 dAtA[i] = 0x18 12851 } 12852 if m.ColPos != 0 { 12853 i = encodeVarintPlan(dAtA, i, uint64(m.ColPos)) 12854 i-- 12855 dAtA[i] = 0x10 12856 } 12857 if m.RelPos != 0 { 12858 i = encodeVarintPlan(dAtA, i, uint64(m.RelPos)) 12859 i-- 12860 dAtA[i] = 0x8 12861 } 12862 return len(dAtA) - i, nil 12863 } 12864 12865 func (m *ExprList) Marshal() (dAtA []byte, err error) { 12866 size := m.ProtoSize() 12867 dAtA = make([]byte, size) 12868 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12869 if err != nil { 12870 return nil, err 12871 } 12872 return dAtA[:n], nil 12873 } 12874 12875 func (m *ExprList) MarshalTo(dAtA []byte) (int, error) { 12876 size := m.ProtoSize() 12877 return m.MarshalToSizedBuffer(dAtA[:size]) 12878 } 12879 12880 func (m *ExprList) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12881 i := len(dAtA) 12882 _ = i 12883 var l int 12884 _ = l 12885 if m.XXX_unrecognized != nil { 12886 i -= len(m.XXX_unrecognized) 12887 copy(dAtA[i:], m.XXX_unrecognized) 12888 } 12889 if len(m.List) > 0 { 12890 for iNdEx := len(m.List) - 1; iNdEx >= 0; iNdEx-- { 12891 { 12892 size, err := m.List[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 12893 if err != nil { 12894 return 0, err 12895 } 12896 i -= size 12897 i = encodeVarintPlan(dAtA, i, uint64(size)) 12898 } 12899 i-- 12900 dAtA[i] = 0xa 12901 } 12902 } 12903 return len(dAtA) - i, nil 12904 } 12905 12906 func (m *MaxValue) Marshal() (dAtA []byte, err error) { 12907 size := m.ProtoSize() 12908 dAtA = make([]byte, size) 12909 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12910 if err != nil { 12911 return nil, err 12912 } 12913 return dAtA[:n], nil 12914 } 12915 12916 func (m *MaxValue) MarshalTo(dAtA []byte) (int, error) { 12917 size := m.ProtoSize() 12918 return m.MarshalToSizedBuffer(dAtA[:size]) 12919 } 12920 12921 func (m *MaxValue) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12922 i := len(dAtA) 12923 _ = i 12924 var l int 12925 _ = l 12926 if m.XXX_unrecognized != nil { 12927 i -= len(m.XXX_unrecognized) 12928 copy(dAtA[i:], m.XXX_unrecognized) 12929 } 12930 if len(m.Value) > 0 { 12931 i -= len(m.Value) 12932 copy(dAtA[i:], m.Value) 12933 i = encodeVarintPlan(dAtA, i, uint64(len(m.Value))) 12934 i-- 12935 dAtA[i] = 0xa 12936 } 12937 return len(dAtA) - i, nil 12938 } 12939 12940 func (m *TargetType) Marshal() (dAtA []byte, err error) { 12941 size := m.ProtoSize() 12942 dAtA = make([]byte, size) 12943 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12944 if err != nil { 12945 return nil, err 12946 } 12947 return dAtA[:n], nil 12948 } 12949 12950 func (m *TargetType) MarshalTo(dAtA []byte) (int, error) { 12951 size := m.ProtoSize() 12952 return m.MarshalToSizedBuffer(dAtA[:size]) 12953 } 12954 12955 func (m *TargetType) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12956 i := len(dAtA) 12957 _ = i 12958 var l int 12959 _ = l 12960 if m.XXX_unrecognized != nil { 12961 i -= len(m.XXX_unrecognized) 12962 copy(dAtA[i:], m.XXX_unrecognized) 12963 } 12964 return len(dAtA) - i, nil 12965 } 12966 12967 func (m *SubqueryRef) Marshal() (dAtA []byte, err error) { 12968 size := m.ProtoSize() 12969 dAtA = make([]byte, size) 12970 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 12971 if err != nil { 12972 return nil, err 12973 } 12974 return dAtA[:n], nil 12975 } 12976 12977 func (m *SubqueryRef) MarshalTo(dAtA []byte) (int, error) { 12978 size := m.ProtoSize() 12979 return m.MarshalToSizedBuffer(dAtA[:size]) 12980 } 12981 12982 func (m *SubqueryRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 12983 i := len(dAtA) 12984 _ = i 12985 var l int 12986 _ = l 12987 if m.XXX_unrecognized != nil { 12988 i -= len(m.XXX_unrecognized) 12989 copy(dAtA[i:], m.XXX_unrecognized) 12990 } 12991 if m.RowSize != 0 { 12992 i = encodeVarintPlan(dAtA, i, uint64(m.RowSize)) 12993 i-- 12994 dAtA[i] = 0x28 12995 } 12996 if m.Child != nil { 12997 { 12998 size, err := m.Child.MarshalToSizedBuffer(dAtA[:i]) 12999 if err != nil { 13000 return 0, err 13001 } 13002 i -= size 13003 i = encodeVarintPlan(dAtA, i, uint64(size)) 13004 } 13005 i-- 13006 dAtA[i] = 0x22 13007 } 13008 if len(m.Op) > 0 { 13009 i -= len(m.Op) 13010 copy(dAtA[i:], m.Op) 13011 i = encodeVarintPlan(dAtA, i, uint64(len(m.Op))) 13012 i-- 13013 dAtA[i] = 0x1a 13014 } 13015 if m.NodeId != 0 { 13016 i = encodeVarintPlan(dAtA, i, uint64(m.NodeId)) 13017 i-- 13018 dAtA[i] = 0x10 13019 } 13020 if m.Typ != 0 { 13021 i = encodeVarintPlan(dAtA, i, uint64(m.Typ)) 13022 i-- 13023 dAtA[i] = 0x8 13024 } 13025 return len(dAtA) - i, nil 13026 } 13027 13028 func (m *ObjectRef) Marshal() (dAtA []byte, err error) { 13029 size := m.ProtoSize() 13030 dAtA = make([]byte, size) 13031 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13032 if err != nil { 13033 return nil, err 13034 } 13035 return dAtA[:n], nil 13036 } 13037 13038 func (m *ObjectRef) MarshalTo(dAtA []byte) (int, error) { 13039 size := m.ProtoSize() 13040 return m.MarshalToSizedBuffer(dAtA[:size]) 13041 } 13042 13043 func (m *ObjectRef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13044 i := len(dAtA) 13045 _ = i 13046 var l int 13047 _ = l 13048 if m.XXX_unrecognized != nil { 13049 i -= len(m.XXX_unrecognized) 13050 copy(dAtA[i:], m.XXX_unrecognized) 13051 } 13052 if m.PubInfo != nil { 13053 { 13054 size, err := m.PubInfo.MarshalToSizedBuffer(dAtA[:i]) 13055 if err != nil { 13056 return 0, err 13057 } 13058 i -= size 13059 i = encodeVarintPlan(dAtA, i, uint64(size)) 13060 } 13061 i-- 13062 dAtA[i] = 0x52 13063 } 13064 if len(m.SubscriptionName) > 0 { 13065 i -= len(m.SubscriptionName) 13066 copy(dAtA[i:], m.SubscriptionName) 13067 i = encodeVarintPlan(dAtA, i, uint64(len(m.SubscriptionName))) 13068 i-- 13069 dAtA[i] = 0x4a 13070 } 13071 if len(m.ObjName) > 0 { 13072 i -= len(m.ObjName) 13073 copy(dAtA[i:], m.ObjName) 13074 i = encodeVarintPlan(dAtA, i, uint64(len(m.ObjName))) 13075 i-- 13076 dAtA[i] = 0x42 13077 } 13078 if len(m.SchemaName) > 0 { 13079 i -= len(m.SchemaName) 13080 copy(dAtA[i:], m.SchemaName) 13081 i = encodeVarintPlan(dAtA, i, uint64(len(m.SchemaName))) 13082 i-- 13083 dAtA[i] = 0x3a 13084 } 13085 if len(m.DbName) > 0 { 13086 i -= len(m.DbName) 13087 copy(dAtA[i:], m.DbName) 13088 i = encodeVarintPlan(dAtA, i, uint64(len(m.DbName))) 13089 i-- 13090 dAtA[i] = 0x32 13091 } 13092 if len(m.ServerName) > 0 { 13093 i -= len(m.ServerName) 13094 copy(dAtA[i:], m.ServerName) 13095 i = encodeVarintPlan(dAtA, i, uint64(len(m.ServerName))) 13096 i-- 13097 dAtA[i] = 0x2a 13098 } 13099 if m.Obj != 0 { 13100 i = encodeVarintPlan(dAtA, i, uint64(m.Obj)) 13101 i-- 13102 dAtA[i] = 0x20 13103 } 13104 if m.Schema != 0 { 13105 i = encodeVarintPlan(dAtA, i, uint64(m.Schema)) 13106 i-- 13107 dAtA[i] = 0x18 13108 } 13109 if m.Db != 0 { 13110 i = encodeVarintPlan(dAtA, i, uint64(m.Db)) 13111 i-- 13112 dAtA[i] = 0x10 13113 } 13114 if m.Server != 0 { 13115 i = encodeVarintPlan(dAtA, i, uint64(m.Server)) 13116 i-- 13117 dAtA[i] = 0x8 13118 } 13119 return len(dAtA) - i, nil 13120 } 13121 13122 func (m *PubInfo) Marshal() (dAtA []byte, err error) { 13123 size := m.ProtoSize() 13124 dAtA = make([]byte, size) 13125 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13126 if err != nil { 13127 return nil, err 13128 } 13129 return dAtA[:n], nil 13130 } 13131 13132 func (m *PubInfo) MarshalTo(dAtA []byte) (int, error) { 13133 size := m.ProtoSize() 13134 return m.MarshalToSizedBuffer(dAtA[:size]) 13135 } 13136 13137 func (m *PubInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13138 i := len(dAtA) 13139 _ = i 13140 var l int 13141 _ = l 13142 if m.XXX_unrecognized != nil { 13143 i -= len(m.XXX_unrecognized) 13144 copy(dAtA[i:], m.XXX_unrecognized) 13145 } 13146 if m.TenantId != 0 { 13147 i = encodeVarintPlan(dAtA, i, uint64(m.TenantId)) 13148 i-- 13149 dAtA[i] = 0x8 13150 } 13151 return len(dAtA) - i, nil 13152 } 13153 13154 func (m *SubscriptionMeta) Marshal() (dAtA []byte, err error) { 13155 size := m.ProtoSize() 13156 dAtA = make([]byte, size) 13157 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13158 if err != nil { 13159 return nil, err 13160 } 13161 return dAtA[:n], nil 13162 } 13163 13164 func (m *SubscriptionMeta) MarshalTo(dAtA []byte) (int, error) { 13165 size := m.ProtoSize() 13166 return m.MarshalToSizedBuffer(dAtA[:size]) 13167 } 13168 13169 func (m *SubscriptionMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13170 i := len(dAtA) 13171 _ = i 13172 var l int 13173 _ = l 13174 if m.XXX_unrecognized != nil { 13175 i -= len(m.XXX_unrecognized) 13176 copy(dAtA[i:], m.XXX_unrecognized) 13177 } 13178 if len(m.SubName) > 0 { 13179 i -= len(m.SubName) 13180 copy(dAtA[i:], m.SubName) 13181 i = encodeVarintPlan(dAtA, i, uint64(len(m.SubName))) 13182 i-- 13183 dAtA[i] = 0x2a 13184 } 13185 if len(m.AccountName) > 0 { 13186 i -= len(m.AccountName) 13187 copy(dAtA[i:], m.AccountName) 13188 i = encodeVarintPlan(dAtA, i, uint64(len(m.AccountName))) 13189 i-- 13190 dAtA[i] = 0x22 13191 } 13192 if len(m.DbName) > 0 { 13193 i -= len(m.DbName) 13194 copy(dAtA[i:], m.DbName) 13195 i = encodeVarintPlan(dAtA, i, uint64(len(m.DbName))) 13196 i-- 13197 dAtA[i] = 0x1a 13198 } 13199 if m.AccountId != 0 { 13200 i = encodeVarintPlan(dAtA, i, uint64(m.AccountId)) 13201 i-- 13202 dAtA[i] = 0x10 13203 } 13204 if len(m.Name) > 0 { 13205 i -= len(m.Name) 13206 copy(dAtA[i:], m.Name) 13207 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 13208 i-- 13209 dAtA[i] = 0xa 13210 } 13211 return len(dAtA) - i, nil 13212 } 13213 13214 func (m *Function) Marshal() (dAtA []byte, err error) { 13215 size := m.ProtoSize() 13216 dAtA = make([]byte, size) 13217 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13218 if err != nil { 13219 return nil, err 13220 } 13221 return dAtA[:n], nil 13222 } 13223 13224 func (m *Function) MarshalTo(dAtA []byte) (int, error) { 13225 size := m.ProtoSize() 13226 return m.MarshalToSizedBuffer(dAtA[:size]) 13227 } 13228 13229 func (m *Function) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13230 i := len(dAtA) 13231 _ = i 13232 var l int 13233 _ = l 13234 if m.XXX_unrecognized != nil { 13235 i -= len(m.XXX_unrecognized) 13236 copy(dAtA[i:], m.XXX_unrecognized) 13237 } 13238 if len(m.Args) > 0 { 13239 for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- { 13240 { 13241 size, err := m.Args[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 13242 if err != nil { 13243 return 0, err 13244 } 13245 i -= size 13246 i = encodeVarintPlan(dAtA, i, uint64(size)) 13247 } 13248 i-- 13249 dAtA[i] = 0x12 13250 } 13251 } 13252 if m.Func != nil { 13253 { 13254 size, err := m.Func.MarshalToSizedBuffer(dAtA[:i]) 13255 if err != nil { 13256 return 0, err 13257 } 13258 i -= size 13259 i = encodeVarintPlan(dAtA, i, uint64(size)) 13260 } 13261 i-- 13262 dAtA[i] = 0xa 13263 } 13264 return len(dAtA) - i, nil 13265 } 13266 13267 func (m *Expr) Marshal() (dAtA []byte, err error) { 13268 size := m.ProtoSize() 13269 dAtA = make([]byte, size) 13270 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13271 if err != nil { 13272 return nil, err 13273 } 13274 return dAtA[:n], nil 13275 } 13276 13277 func (m *Expr) MarshalTo(dAtA []byte) (int, error) { 13278 size := m.ProtoSize() 13279 return m.MarshalToSizedBuffer(dAtA[:size]) 13280 } 13281 13282 func (m *Expr) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13283 i := len(dAtA) 13284 _ = i 13285 var l int 13286 _ = l 13287 if m.XXX_unrecognized != nil { 13288 i -= len(m.XXX_unrecognized) 13289 copy(dAtA[i:], m.XXX_unrecognized) 13290 } 13291 if m.Selectivity != 0 { 13292 i -= 8 13293 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Selectivity)))) 13294 i-- 13295 dAtA[i] = 0x1 13296 i-- 13297 dAtA[i] = 0x89 13298 } 13299 if m.Ndv != 0 { 13300 i -= 8 13301 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Ndv)))) 13302 i-- 13303 dAtA[i] = 0x1 13304 i-- 13305 dAtA[i] = 0x81 13306 } 13307 if m.AuxId != 0 { 13308 i = encodeVarintPlan(dAtA, i, uint64(m.AuxId)) 13309 i-- 13310 dAtA[i] = 0x78 13311 } 13312 if m.Expr != nil { 13313 { 13314 size := m.Expr.ProtoSize() 13315 i -= size 13316 if _, err := m.Expr.MarshalTo(dAtA[i:]); err != nil { 13317 return 0, err 13318 } 13319 } 13320 } 13321 { 13322 size, err := m.Typ.MarshalToSizedBuffer(dAtA[:i]) 13323 if err != nil { 13324 return 0, err 13325 } 13326 i -= size 13327 i = encodeVarintPlan(dAtA, i, uint64(size)) 13328 } 13329 i-- 13330 dAtA[i] = 0xa 13331 return len(dAtA) - i, nil 13332 } 13333 13334 func (m *Expr_Lit) MarshalTo(dAtA []byte) (int, error) { 13335 size := m.ProtoSize() 13336 return m.MarshalToSizedBuffer(dAtA[:size]) 13337 } 13338 13339 func (m *Expr_Lit) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13340 i := len(dAtA) 13341 if m.Lit != nil { 13342 { 13343 size, err := m.Lit.MarshalToSizedBuffer(dAtA[:i]) 13344 if err != nil { 13345 return 0, err 13346 } 13347 i -= size 13348 i = encodeVarintPlan(dAtA, i, uint64(size)) 13349 } 13350 i-- 13351 dAtA[i] = 0x12 13352 } 13353 return len(dAtA) - i, nil 13354 } 13355 func (m *Expr_P) MarshalTo(dAtA []byte) (int, error) { 13356 size := m.ProtoSize() 13357 return m.MarshalToSizedBuffer(dAtA[:size]) 13358 } 13359 13360 func (m *Expr_P) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13361 i := len(dAtA) 13362 if m.P != nil { 13363 { 13364 size, err := m.P.MarshalToSizedBuffer(dAtA[:i]) 13365 if err != nil { 13366 return 0, err 13367 } 13368 i -= size 13369 i = encodeVarintPlan(dAtA, i, uint64(size)) 13370 } 13371 i-- 13372 dAtA[i] = 0x1a 13373 } 13374 return len(dAtA) - i, nil 13375 } 13376 func (m *Expr_V) MarshalTo(dAtA []byte) (int, error) { 13377 size := m.ProtoSize() 13378 return m.MarshalToSizedBuffer(dAtA[:size]) 13379 } 13380 13381 func (m *Expr_V) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13382 i := len(dAtA) 13383 if m.V != nil { 13384 { 13385 size, err := m.V.MarshalToSizedBuffer(dAtA[:i]) 13386 if err != nil { 13387 return 0, err 13388 } 13389 i -= size 13390 i = encodeVarintPlan(dAtA, i, uint64(size)) 13391 } 13392 i-- 13393 dAtA[i] = 0x22 13394 } 13395 return len(dAtA) - i, nil 13396 } 13397 func (m *Expr_Col) MarshalTo(dAtA []byte) (int, error) { 13398 size := m.ProtoSize() 13399 return m.MarshalToSizedBuffer(dAtA[:size]) 13400 } 13401 13402 func (m *Expr_Col) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13403 i := len(dAtA) 13404 if m.Col != nil { 13405 { 13406 size, err := m.Col.MarshalToSizedBuffer(dAtA[:i]) 13407 if err != nil { 13408 return 0, err 13409 } 13410 i -= size 13411 i = encodeVarintPlan(dAtA, i, uint64(size)) 13412 } 13413 i-- 13414 dAtA[i] = 0x2a 13415 } 13416 return len(dAtA) - i, nil 13417 } 13418 func (m *Expr_Raw) MarshalTo(dAtA []byte) (int, error) { 13419 size := m.ProtoSize() 13420 return m.MarshalToSizedBuffer(dAtA[:size]) 13421 } 13422 13423 func (m *Expr_Raw) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13424 i := len(dAtA) 13425 if m.Raw != nil { 13426 { 13427 size, err := m.Raw.MarshalToSizedBuffer(dAtA[:i]) 13428 if err != nil { 13429 return 0, err 13430 } 13431 i -= size 13432 i = encodeVarintPlan(dAtA, i, uint64(size)) 13433 } 13434 i-- 13435 dAtA[i] = 0x32 13436 } 13437 return len(dAtA) - i, nil 13438 } 13439 func (m *Expr_F) MarshalTo(dAtA []byte) (int, error) { 13440 size := m.ProtoSize() 13441 return m.MarshalToSizedBuffer(dAtA[:size]) 13442 } 13443 13444 func (m *Expr_F) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13445 i := len(dAtA) 13446 if m.F != nil { 13447 { 13448 size, err := m.F.MarshalToSizedBuffer(dAtA[:i]) 13449 if err != nil { 13450 return 0, err 13451 } 13452 i -= size 13453 i = encodeVarintPlan(dAtA, i, uint64(size)) 13454 } 13455 i-- 13456 dAtA[i] = 0x3a 13457 } 13458 return len(dAtA) - i, nil 13459 } 13460 func (m *Expr_W) MarshalTo(dAtA []byte) (int, error) { 13461 size := m.ProtoSize() 13462 return m.MarshalToSizedBuffer(dAtA[:size]) 13463 } 13464 13465 func (m *Expr_W) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13466 i := len(dAtA) 13467 if m.W != nil { 13468 { 13469 size, err := m.W.MarshalToSizedBuffer(dAtA[:i]) 13470 if err != nil { 13471 return 0, err 13472 } 13473 i -= size 13474 i = encodeVarintPlan(dAtA, i, uint64(size)) 13475 } 13476 i-- 13477 dAtA[i] = 0x42 13478 } 13479 return len(dAtA) - i, nil 13480 } 13481 func (m *Expr_Sub) MarshalTo(dAtA []byte) (int, error) { 13482 size := m.ProtoSize() 13483 return m.MarshalToSizedBuffer(dAtA[:size]) 13484 } 13485 13486 func (m *Expr_Sub) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13487 i := len(dAtA) 13488 if m.Sub != nil { 13489 { 13490 size, err := m.Sub.MarshalToSizedBuffer(dAtA[:i]) 13491 if err != nil { 13492 return 0, err 13493 } 13494 i -= size 13495 i = encodeVarintPlan(dAtA, i, uint64(size)) 13496 } 13497 i-- 13498 dAtA[i] = 0x4a 13499 } 13500 return len(dAtA) - i, nil 13501 } 13502 func (m *Expr_Corr) MarshalTo(dAtA []byte) (int, error) { 13503 size := m.ProtoSize() 13504 return m.MarshalToSizedBuffer(dAtA[:size]) 13505 } 13506 13507 func (m *Expr_Corr) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13508 i := len(dAtA) 13509 if m.Corr != nil { 13510 { 13511 size, err := m.Corr.MarshalToSizedBuffer(dAtA[:i]) 13512 if err != nil { 13513 return 0, err 13514 } 13515 i -= size 13516 i = encodeVarintPlan(dAtA, i, uint64(size)) 13517 } 13518 i-- 13519 dAtA[i] = 0x52 13520 } 13521 return len(dAtA) - i, nil 13522 } 13523 func (m *Expr_T) MarshalTo(dAtA []byte) (int, error) { 13524 size := m.ProtoSize() 13525 return m.MarshalToSizedBuffer(dAtA[:size]) 13526 } 13527 13528 func (m *Expr_T) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13529 i := len(dAtA) 13530 if m.T != nil { 13531 { 13532 size, err := m.T.MarshalToSizedBuffer(dAtA[:i]) 13533 if err != nil { 13534 return 0, err 13535 } 13536 i -= size 13537 i = encodeVarintPlan(dAtA, i, uint64(size)) 13538 } 13539 i-- 13540 dAtA[i] = 0x5a 13541 } 13542 return len(dAtA) - i, nil 13543 } 13544 func (m *Expr_List) MarshalTo(dAtA []byte) (int, error) { 13545 size := m.ProtoSize() 13546 return m.MarshalToSizedBuffer(dAtA[:size]) 13547 } 13548 13549 func (m *Expr_List) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13550 i := len(dAtA) 13551 if m.List != nil { 13552 { 13553 size, err := m.List.MarshalToSizedBuffer(dAtA[:i]) 13554 if err != nil { 13555 return 0, err 13556 } 13557 i -= size 13558 i = encodeVarintPlan(dAtA, i, uint64(size)) 13559 } 13560 i-- 13561 dAtA[i] = 0x62 13562 } 13563 return len(dAtA) - i, nil 13564 } 13565 func (m *Expr_Max) MarshalTo(dAtA []byte) (int, error) { 13566 size := m.ProtoSize() 13567 return m.MarshalToSizedBuffer(dAtA[:size]) 13568 } 13569 13570 func (m *Expr_Max) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13571 i := len(dAtA) 13572 if m.Max != nil { 13573 { 13574 size, err := m.Max.MarshalToSizedBuffer(dAtA[:i]) 13575 if err != nil { 13576 return 0, err 13577 } 13578 i -= size 13579 i = encodeVarintPlan(dAtA, i, uint64(size)) 13580 } 13581 i-- 13582 dAtA[i] = 0x6a 13583 } 13584 return len(dAtA) - i, nil 13585 } 13586 func (m *Expr_Vec) MarshalTo(dAtA []byte) (int, error) { 13587 size := m.ProtoSize() 13588 return m.MarshalToSizedBuffer(dAtA[:size]) 13589 } 13590 13591 func (m *Expr_Vec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13592 i := len(dAtA) 13593 if m.Vec != nil { 13594 { 13595 size, err := m.Vec.MarshalToSizedBuffer(dAtA[:i]) 13596 if err != nil { 13597 return 0, err 13598 } 13599 i -= size 13600 i = encodeVarintPlan(dAtA, i, uint64(size)) 13601 } 13602 i-- 13603 dAtA[i] = 0x72 13604 } 13605 return len(dAtA) - i, nil 13606 } 13607 func (m *LiteralVec) Marshal() (dAtA []byte, err error) { 13608 size := m.ProtoSize() 13609 dAtA = make([]byte, size) 13610 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13611 if err != nil { 13612 return nil, err 13613 } 13614 return dAtA[:n], nil 13615 } 13616 13617 func (m *LiteralVec) MarshalTo(dAtA []byte) (int, error) { 13618 size := m.ProtoSize() 13619 return m.MarshalToSizedBuffer(dAtA[:size]) 13620 } 13621 13622 func (m *LiteralVec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13623 i := len(dAtA) 13624 _ = i 13625 var l int 13626 _ = l 13627 if m.XXX_unrecognized != nil { 13628 i -= len(m.XXX_unrecognized) 13629 copy(dAtA[i:], m.XXX_unrecognized) 13630 } 13631 if len(m.Data) > 0 { 13632 i -= len(m.Data) 13633 copy(dAtA[i:], m.Data) 13634 i = encodeVarintPlan(dAtA, i, uint64(len(m.Data))) 13635 i-- 13636 dAtA[i] = 0x12 13637 } 13638 if m.Len != 0 { 13639 i = encodeVarintPlan(dAtA, i, uint64(m.Len)) 13640 i-- 13641 dAtA[i] = 0x8 13642 } 13643 return len(dAtA) - i, nil 13644 } 13645 13646 func (m *Decimal64) Marshal() (dAtA []byte, err error) { 13647 size := m.ProtoSize() 13648 dAtA = make([]byte, size) 13649 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13650 if err != nil { 13651 return nil, err 13652 } 13653 return dAtA[:n], nil 13654 } 13655 13656 func (m *Decimal64) MarshalTo(dAtA []byte) (int, error) { 13657 size := m.ProtoSize() 13658 return m.MarshalToSizedBuffer(dAtA[:size]) 13659 } 13660 13661 func (m *Decimal64) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13662 i := len(dAtA) 13663 _ = i 13664 var l int 13665 _ = l 13666 if m.XXX_unrecognized != nil { 13667 i -= len(m.XXX_unrecognized) 13668 copy(dAtA[i:], m.XXX_unrecognized) 13669 } 13670 if m.A != 0 { 13671 i = encodeVarintPlan(dAtA, i, uint64(m.A)) 13672 i-- 13673 dAtA[i] = 0x8 13674 } 13675 return len(dAtA) - i, nil 13676 } 13677 13678 func (m *Decimal128) Marshal() (dAtA []byte, err error) { 13679 size := m.ProtoSize() 13680 dAtA = make([]byte, size) 13681 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13682 if err != nil { 13683 return nil, err 13684 } 13685 return dAtA[:n], nil 13686 } 13687 13688 func (m *Decimal128) MarshalTo(dAtA []byte) (int, error) { 13689 size := m.ProtoSize() 13690 return m.MarshalToSizedBuffer(dAtA[:size]) 13691 } 13692 13693 func (m *Decimal128) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13694 i := len(dAtA) 13695 _ = i 13696 var l int 13697 _ = l 13698 if m.XXX_unrecognized != nil { 13699 i -= len(m.XXX_unrecognized) 13700 copy(dAtA[i:], m.XXX_unrecognized) 13701 } 13702 if m.B != 0 { 13703 i = encodeVarintPlan(dAtA, i, uint64(m.B)) 13704 i-- 13705 dAtA[i] = 0x10 13706 } 13707 if m.A != 0 { 13708 i = encodeVarintPlan(dAtA, i, uint64(m.A)) 13709 i-- 13710 dAtA[i] = 0x8 13711 } 13712 return len(dAtA) - i, nil 13713 } 13714 13715 func (m *ResultColDef) Marshal() (dAtA []byte, err error) { 13716 size := m.ProtoSize() 13717 dAtA = make([]byte, size) 13718 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13719 if err != nil { 13720 return nil, err 13721 } 13722 return dAtA[:n], nil 13723 } 13724 13725 func (m *ResultColDef) MarshalTo(dAtA []byte) (int, error) { 13726 size := m.ProtoSize() 13727 return m.MarshalToSizedBuffer(dAtA[:size]) 13728 } 13729 13730 func (m *ResultColDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13731 i := len(dAtA) 13732 _ = i 13733 var l int 13734 _ = l 13735 if m.XXX_unrecognized != nil { 13736 i -= len(m.XXX_unrecognized) 13737 copy(dAtA[i:], m.XXX_unrecognized) 13738 } 13739 if len(m.ResultCols) > 0 { 13740 for iNdEx := len(m.ResultCols) - 1; iNdEx >= 0; iNdEx-- { 13741 { 13742 size, err := m.ResultCols[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 13743 if err != nil { 13744 return 0, err 13745 } 13746 i -= size 13747 i = encodeVarintPlan(dAtA, i, uint64(size)) 13748 } 13749 i-- 13750 dAtA[i] = 0xa 13751 } 13752 } 13753 return len(dAtA) - i, nil 13754 } 13755 13756 func (m *ColDef) Marshal() (dAtA []byte, err error) { 13757 size := m.ProtoSize() 13758 dAtA = make([]byte, size) 13759 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13760 if err != nil { 13761 return nil, err 13762 } 13763 return dAtA[:n], nil 13764 } 13765 13766 func (m *ColDef) MarshalTo(dAtA []byte) (int, error) { 13767 size := m.ProtoSize() 13768 return m.MarshalToSizedBuffer(dAtA[:size]) 13769 } 13770 13771 func (m *ColDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13772 i := len(dAtA) 13773 _ = i 13774 var l int 13775 _ = l 13776 if m.XXX_unrecognized != nil { 13777 i -= len(m.XXX_unrecognized) 13778 copy(dAtA[i:], m.XXX_unrecognized) 13779 } 13780 if len(m.DbName) > 0 { 13781 i -= len(m.DbName) 13782 copy(dAtA[i:], m.DbName) 13783 i = encodeVarintPlan(dAtA, i, uint64(len(m.DbName))) 13784 i-- 13785 dAtA[i] = 0x1 13786 i-- 13787 dAtA[i] = 0x92 13788 } 13789 if len(m.TblName) > 0 { 13790 i -= len(m.TblName) 13791 copy(dAtA[i:], m.TblName) 13792 i = encodeVarintPlan(dAtA, i, uint64(len(m.TblName))) 13793 i-- 13794 dAtA[i] = 0x1 13795 i-- 13796 dAtA[i] = 0x8a 13797 } 13798 if len(m.Header) > 0 { 13799 i -= len(m.Header) 13800 copy(dAtA[i:], m.Header) 13801 i = encodeVarintPlan(dAtA, i, uint64(len(m.Header))) 13802 i-- 13803 dAtA[i] = 0x1 13804 i-- 13805 dAtA[i] = 0x82 13806 } 13807 if m.Headers { 13808 i-- 13809 if m.Headers { 13810 dAtA[i] = 1 13811 } else { 13812 dAtA[i] = 0 13813 } 13814 i-- 13815 dAtA[i] = 0x78 13816 } 13817 if m.Pkidx != 0 { 13818 i = encodeVarintPlan(dAtA, i, uint64(m.Pkidx)) 13819 i-- 13820 dAtA[i] = 0x70 13821 } 13822 if m.Primary { 13823 i-- 13824 if m.Primary { 13825 dAtA[i] = 1 13826 } else { 13827 dAtA[i] = 0 13828 } 13829 i-- 13830 dAtA[i] = 0x68 13831 } 13832 if m.ClusterBy { 13833 i-- 13834 if m.ClusterBy { 13835 dAtA[i] = 1 13836 } else { 13837 dAtA[i] = 0 13838 } 13839 i-- 13840 dAtA[i] = 0x60 13841 } 13842 if m.Seqnum != 0 { 13843 i = encodeVarintPlan(dAtA, i, uint64(m.Seqnum)) 13844 i-- 13845 dAtA[i] = 0x58 13846 } 13847 if m.LowCard { 13848 i-- 13849 if m.LowCard { 13850 dAtA[i] = 1 13851 } else { 13852 dAtA[i] = 0 13853 } 13854 i-- 13855 dAtA[i] = 0x50 13856 } 13857 if m.OnUpdate != nil { 13858 { 13859 size, err := m.OnUpdate.MarshalToSizedBuffer(dAtA[:i]) 13860 if err != nil { 13861 return 0, err 13862 } 13863 i -= size 13864 i = encodeVarintPlan(dAtA, i, uint64(size)) 13865 } 13866 i-- 13867 dAtA[i] = 0x4a 13868 } 13869 if len(m.Comment) > 0 { 13870 i -= len(m.Comment) 13871 copy(dAtA[i:], m.Comment) 13872 i = encodeVarintPlan(dAtA, i, uint64(len(m.Comment))) 13873 i-- 13874 dAtA[i] = 0x42 13875 } 13876 if m.Default != nil { 13877 { 13878 size, err := m.Default.MarshalToSizedBuffer(dAtA[:i]) 13879 if err != nil { 13880 return 0, err 13881 } 13882 i -= size 13883 i = encodeVarintPlan(dAtA, i, uint64(size)) 13884 } 13885 i-- 13886 dAtA[i] = 0x3a 13887 } 13888 if m.NotNull { 13889 i-- 13890 if m.NotNull { 13891 dAtA[i] = 1 13892 } else { 13893 dAtA[i] = 0 13894 } 13895 i-- 13896 dAtA[i] = 0x30 13897 } 13898 { 13899 size, err := m.Typ.MarshalToSizedBuffer(dAtA[:i]) 13900 if err != nil { 13901 return 0, err 13902 } 13903 i -= size 13904 i = encodeVarintPlan(dAtA, i, uint64(size)) 13905 } 13906 i-- 13907 dAtA[i] = 0x2a 13908 if m.Alg != 0 { 13909 i = encodeVarintPlan(dAtA, i, uint64(m.Alg)) 13910 i-- 13911 dAtA[i] = 0x20 13912 } 13913 if m.Hidden { 13914 i-- 13915 if m.Hidden { 13916 dAtA[i] = 1 13917 } else { 13918 dAtA[i] = 0 13919 } 13920 i-- 13921 dAtA[i] = 0x18 13922 } 13923 if len(m.Name) > 0 { 13924 i -= len(m.Name) 13925 copy(dAtA[i:], m.Name) 13926 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 13927 i-- 13928 dAtA[i] = 0x12 13929 } 13930 if m.ColId != 0 { 13931 i = encodeVarintPlan(dAtA, i, uint64(m.ColId)) 13932 i-- 13933 dAtA[i] = 0x8 13934 } 13935 return len(dAtA) - i, nil 13936 } 13937 13938 func (m *Default) Marshal() (dAtA []byte, err error) { 13939 size := m.ProtoSize() 13940 dAtA = make([]byte, size) 13941 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13942 if err != nil { 13943 return nil, err 13944 } 13945 return dAtA[:n], nil 13946 } 13947 13948 func (m *Default) MarshalTo(dAtA []byte) (int, error) { 13949 size := m.ProtoSize() 13950 return m.MarshalToSizedBuffer(dAtA[:size]) 13951 } 13952 13953 func (m *Default) MarshalToSizedBuffer(dAtA []byte) (int, error) { 13954 i := len(dAtA) 13955 _ = i 13956 var l int 13957 _ = l 13958 if m.XXX_unrecognized != nil { 13959 i -= len(m.XXX_unrecognized) 13960 copy(dAtA[i:], m.XXX_unrecognized) 13961 } 13962 if m.NullAbility { 13963 i-- 13964 if m.NullAbility { 13965 dAtA[i] = 1 13966 } else { 13967 dAtA[i] = 0 13968 } 13969 i-- 13970 dAtA[i] = 0x18 13971 } 13972 if len(m.OriginString) > 0 { 13973 i -= len(m.OriginString) 13974 copy(dAtA[i:], m.OriginString) 13975 i = encodeVarintPlan(dAtA, i, uint64(len(m.OriginString))) 13976 i-- 13977 dAtA[i] = 0x12 13978 } 13979 if m.Expr != nil { 13980 { 13981 size, err := m.Expr.MarshalToSizedBuffer(dAtA[:i]) 13982 if err != nil { 13983 return 0, err 13984 } 13985 i -= size 13986 i = encodeVarintPlan(dAtA, i, uint64(size)) 13987 } 13988 i-- 13989 dAtA[i] = 0xa 13990 } 13991 return len(dAtA) - i, nil 13992 } 13993 13994 func (m *OnUpdate) Marshal() (dAtA []byte, err error) { 13995 size := m.ProtoSize() 13996 dAtA = make([]byte, size) 13997 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 13998 if err != nil { 13999 return nil, err 14000 } 14001 return dAtA[:n], nil 14002 } 14003 14004 func (m *OnUpdate) MarshalTo(dAtA []byte) (int, error) { 14005 size := m.ProtoSize() 14006 return m.MarshalToSizedBuffer(dAtA[:size]) 14007 } 14008 14009 func (m *OnUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14010 i := len(dAtA) 14011 _ = i 14012 var l int 14013 _ = l 14014 if m.XXX_unrecognized != nil { 14015 i -= len(m.XXX_unrecognized) 14016 copy(dAtA[i:], m.XXX_unrecognized) 14017 } 14018 if len(m.OriginString) > 0 { 14019 i -= len(m.OriginString) 14020 copy(dAtA[i:], m.OriginString) 14021 i = encodeVarintPlan(dAtA, i, uint64(len(m.OriginString))) 14022 i-- 14023 dAtA[i] = 0x12 14024 } 14025 if m.Expr != nil { 14026 { 14027 size, err := m.Expr.MarshalToSizedBuffer(dAtA[:i]) 14028 if err != nil { 14029 return 0, err 14030 } 14031 i -= size 14032 i = encodeVarintPlan(dAtA, i, uint64(size)) 14033 } 14034 i-- 14035 dAtA[i] = 0xa 14036 } 14037 return len(dAtA) - i, nil 14038 } 14039 14040 func (m *IndexOption) Marshal() (dAtA []byte, err error) { 14041 size := m.ProtoSize() 14042 dAtA = make([]byte, size) 14043 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14044 if err != nil { 14045 return nil, err 14046 } 14047 return dAtA[:n], nil 14048 } 14049 14050 func (m *IndexOption) MarshalTo(dAtA []byte) (int, error) { 14051 size := m.ProtoSize() 14052 return m.MarshalToSizedBuffer(dAtA[:size]) 14053 } 14054 14055 func (m *IndexOption) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14056 i := len(dAtA) 14057 _ = i 14058 var l int 14059 _ = l 14060 if m.XXX_unrecognized != nil { 14061 i -= len(m.XXX_unrecognized) 14062 copy(dAtA[i:], m.XXX_unrecognized) 14063 } 14064 if m.CreateExtraTable { 14065 i-- 14066 if m.CreateExtraTable { 14067 dAtA[i] = 1 14068 } else { 14069 dAtA[i] = 0 14070 } 14071 i-- 14072 dAtA[i] = 0x8 14073 } 14074 return len(dAtA) - i, nil 14075 } 14076 14077 func (m *PrimaryKeyDef) Marshal() (dAtA []byte, err error) { 14078 size := m.ProtoSize() 14079 dAtA = make([]byte, size) 14080 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14081 if err != nil { 14082 return nil, err 14083 } 14084 return dAtA[:n], nil 14085 } 14086 14087 func (m *PrimaryKeyDef) MarshalTo(dAtA []byte) (int, error) { 14088 size := m.ProtoSize() 14089 return m.MarshalToSizedBuffer(dAtA[:size]) 14090 } 14091 14092 func (m *PrimaryKeyDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14093 i := len(dAtA) 14094 _ = i 14095 var l int 14096 _ = l 14097 if m.XXX_unrecognized != nil { 14098 i -= len(m.XXX_unrecognized) 14099 copy(dAtA[i:], m.XXX_unrecognized) 14100 } 14101 if m.CompPkeyCol != nil { 14102 { 14103 size, err := m.CompPkeyCol.MarshalToSizedBuffer(dAtA[:i]) 14104 if err != nil { 14105 return 0, err 14106 } 14107 i -= size 14108 i = encodeVarintPlan(dAtA, i, uint64(size)) 14109 } 14110 i-- 14111 dAtA[i] = 0x32 14112 } 14113 if len(m.Names) > 0 { 14114 for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { 14115 i -= len(m.Names[iNdEx]) 14116 copy(dAtA[i:], m.Names[iNdEx]) 14117 i = encodeVarintPlan(dAtA, i, uint64(len(m.Names[iNdEx]))) 14118 i-- 14119 dAtA[i] = 0x2a 14120 } 14121 } 14122 if len(m.PkeyColName) > 0 { 14123 i -= len(m.PkeyColName) 14124 copy(dAtA[i:], m.PkeyColName) 14125 i = encodeVarintPlan(dAtA, i, uint64(len(m.PkeyColName))) 14126 i-- 14127 dAtA[i] = 0x22 14128 } 14129 if m.Option != nil { 14130 { 14131 size, err := m.Option.MarshalToSizedBuffer(dAtA[:i]) 14132 if err != nil { 14133 return 0, err 14134 } 14135 i -= size 14136 i = encodeVarintPlan(dAtA, i, uint64(size)) 14137 } 14138 i-- 14139 dAtA[i] = 0x1a 14140 } 14141 if m.PkeyColId != 0 { 14142 i = encodeVarintPlan(dAtA, i, uint64(m.PkeyColId)) 14143 i-- 14144 dAtA[i] = 0x10 14145 } 14146 if len(m.Cols) > 0 { 14147 dAtA29 := make([]byte, len(m.Cols)*10) 14148 var j28 int 14149 for _, num := range m.Cols { 14150 for num >= 1<<7 { 14151 dAtA29[j28] = uint8(uint64(num)&0x7f | 0x80) 14152 num >>= 7 14153 j28++ 14154 } 14155 dAtA29[j28] = uint8(num) 14156 j28++ 14157 } 14158 i -= j28 14159 copy(dAtA[i:], dAtA29[:j28]) 14160 i = encodeVarintPlan(dAtA, i, uint64(j28)) 14161 i-- 14162 dAtA[i] = 0xa 14163 } 14164 return len(dAtA) - i, nil 14165 } 14166 14167 func (m *IndexDef) Marshal() (dAtA []byte, err error) { 14168 size := m.ProtoSize() 14169 dAtA = make([]byte, size) 14170 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14171 if err != nil { 14172 return nil, err 14173 } 14174 return dAtA[:n], nil 14175 } 14176 14177 func (m *IndexDef) MarshalTo(dAtA []byte) (int, error) { 14178 size := m.ProtoSize() 14179 return m.MarshalToSizedBuffer(dAtA[:size]) 14180 } 14181 14182 func (m *IndexDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14183 i := len(dAtA) 14184 _ = i 14185 var l int 14186 _ = l 14187 if m.XXX_unrecognized != nil { 14188 i -= len(m.XXX_unrecognized) 14189 copy(dAtA[i:], m.XXX_unrecognized) 14190 } 14191 if len(m.IndexAlgoParams) > 0 { 14192 i -= len(m.IndexAlgoParams) 14193 copy(dAtA[i:], m.IndexAlgoParams) 14194 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexAlgoParams))) 14195 i-- 14196 dAtA[i] = 0x62 14197 } 14198 if len(m.IndexAlgoTableType) > 0 { 14199 i -= len(m.IndexAlgoTableType) 14200 copy(dAtA[i:], m.IndexAlgoTableType) 14201 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexAlgoTableType))) 14202 i-- 14203 dAtA[i] = 0x5a 14204 } 14205 if len(m.IndexAlgo) > 0 { 14206 i -= len(m.IndexAlgo) 14207 copy(dAtA[i:], m.IndexAlgo) 14208 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexAlgo))) 14209 i-- 14210 dAtA[i] = 0x52 14211 } 14212 if m.Option != nil { 14213 { 14214 size, err := m.Option.MarshalToSizedBuffer(dAtA[:i]) 14215 if err != nil { 14216 return 0, err 14217 } 14218 i -= size 14219 i = encodeVarintPlan(dAtA, i, uint64(size)) 14220 } 14221 i-- 14222 dAtA[i] = 0x4a 14223 } 14224 if m.Visible { 14225 i-- 14226 if m.Visible { 14227 dAtA[i] = 1 14228 } else { 14229 dAtA[i] = 0 14230 } 14231 i-- 14232 dAtA[i] = 0x40 14233 } 14234 if len(m.Comment) > 0 { 14235 i -= len(m.Comment) 14236 copy(dAtA[i:], m.Comment) 14237 i = encodeVarintPlan(dAtA, i, uint64(len(m.Comment))) 14238 i-- 14239 dAtA[i] = 0x3a 14240 } 14241 if m.TableExist { 14242 i-- 14243 if m.TableExist { 14244 dAtA[i] = 1 14245 } else { 14246 dAtA[i] = 0 14247 } 14248 i-- 14249 dAtA[i] = 0x30 14250 } 14251 if len(m.IndexTableName) > 0 { 14252 i -= len(m.IndexTableName) 14253 copy(dAtA[i:], m.IndexTableName) 14254 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexTableName))) 14255 i-- 14256 dAtA[i] = 0x2a 14257 } 14258 if m.Unique { 14259 i-- 14260 if m.Unique { 14261 dAtA[i] = 1 14262 } else { 14263 dAtA[i] = 0 14264 } 14265 i-- 14266 dAtA[i] = 0x20 14267 } 14268 if len(m.Parts) > 0 { 14269 for iNdEx := len(m.Parts) - 1; iNdEx >= 0; iNdEx-- { 14270 i -= len(m.Parts[iNdEx]) 14271 copy(dAtA[i:], m.Parts[iNdEx]) 14272 i = encodeVarintPlan(dAtA, i, uint64(len(m.Parts[iNdEx]))) 14273 i-- 14274 dAtA[i] = 0x1a 14275 } 14276 } 14277 if len(m.IndexName) > 0 { 14278 i -= len(m.IndexName) 14279 copy(dAtA[i:], m.IndexName) 14280 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexName))) 14281 i-- 14282 dAtA[i] = 0x12 14283 } 14284 if len(m.IdxId) > 0 { 14285 i -= len(m.IdxId) 14286 copy(dAtA[i:], m.IdxId) 14287 i = encodeVarintPlan(dAtA, i, uint64(len(m.IdxId))) 14288 i-- 14289 dAtA[i] = 0xa 14290 } 14291 return len(dAtA) - i, nil 14292 } 14293 14294 func (m *ForeignKeyDef) Marshal() (dAtA []byte, err error) { 14295 size := m.ProtoSize() 14296 dAtA = make([]byte, size) 14297 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14298 if err != nil { 14299 return nil, err 14300 } 14301 return dAtA[:n], nil 14302 } 14303 14304 func (m *ForeignKeyDef) MarshalTo(dAtA []byte) (int, error) { 14305 size := m.ProtoSize() 14306 return m.MarshalToSizedBuffer(dAtA[:size]) 14307 } 14308 14309 func (m *ForeignKeyDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14310 i := len(dAtA) 14311 _ = i 14312 var l int 14313 _ = l 14314 if m.XXX_unrecognized != nil { 14315 i -= len(m.XXX_unrecognized) 14316 copy(dAtA[i:], m.XXX_unrecognized) 14317 } 14318 if m.OnUpdate != 0 { 14319 i = encodeVarintPlan(dAtA, i, uint64(m.OnUpdate)) 14320 i-- 14321 dAtA[i] = 0x30 14322 } 14323 if m.OnDelete != 0 { 14324 i = encodeVarintPlan(dAtA, i, uint64(m.OnDelete)) 14325 i-- 14326 dAtA[i] = 0x28 14327 } 14328 if len(m.ForeignCols) > 0 { 14329 dAtA32 := make([]byte, len(m.ForeignCols)*10) 14330 var j31 int 14331 for _, num := range m.ForeignCols { 14332 for num >= 1<<7 { 14333 dAtA32[j31] = uint8(uint64(num)&0x7f | 0x80) 14334 num >>= 7 14335 j31++ 14336 } 14337 dAtA32[j31] = uint8(num) 14338 j31++ 14339 } 14340 i -= j31 14341 copy(dAtA[i:], dAtA32[:j31]) 14342 i = encodeVarintPlan(dAtA, i, uint64(j31)) 14343 i-- 14344 dAtA[i] = 0x22 14345 } 14346 if m.ForeignTbl != 0 { 14347 i = encodeVarintPlan(dAtA, i, uint64(m.ForeignTbl)) 14348 i-- 14349 dAtA[i] = 0x18 14350 } 14351 if len(m.Cols) > 0 { 14352 dAtA34 := make([]byte, len(m.Cols)*10) 14353 var j33 int 14354 for _, num := range m.Cols { 14355 for num >= 1<<7 { 14356 dAtA34[j33] = uint8(uint64(num)&0x7f | 0x80) 14357 num >>= 7 14358 j33++ 14359 } 14360 dAtA34[j33] = uint8(num) 14361 j33++ 14362 } 14363 i -= j33 14364 copy(dAtA[i:], dAtA34[:j33]) 14365 i = encodeVarintPlan(dAtA, i, uint64(j33)) 14366 i-- 14367 dAtA[i] = 0x12 14368 } 14369 if len(m.Name) > 0 { 14370 i -= len(m.Name) 14371 copy(dAtA[i:], m.Name) 14372 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 14373 i-- 14374 dAtA[i] = 0xa 14375 } 14376 return len(dAtA) - i, nil 14377 } 14378 14379 func (m *CheckDef) Marshal() (dAtA []byte, err error) { 14380 size := m.ProtoSize() 14381 dAtA = make([]byte, size) 14382 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14383 if err != nil { 14384 return nil, err 14385 } 14386 return dAtA[:n], nil 14387 } 14388 14389 func (m *CheckDef) MarshalTo(dAtA []byte) (int, error) { 14390 size := m.ProtoSize() 14391 return m.MarshalToSizedBuffer(dAtA[:size]) 14392 } 14393 14394 func (m *CheckDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14395 i := len(dAtA) 14396 _ = i 14397 var l int 14398 _ = l 14399 if m.XXX_unrecognized != nil { 14400 i -= len(m.XXX_unrecognized) 14401 copy(dAtA[i:], m.XXX_unrecognized) 14402 } 14403 if m.Check != nil { 14404 { 14405 size, err := m.Check.MarshalToSizedBuffer(dAtA[:i]) 14406 if err != nil { 14407 return 0, err 14408 } 14409 i -= size 14410 i = encodeVarintPlan(dAtA, i, uint64(size)) 14411 } 14412 i-- 14413 dAtA[i] = 0x12 14414 } 14415 if len(m.Name) > 0 { 14416 i -= len(m.Name) 14417 copy(dAtA[i:], m.Name) 14418 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 14419 i-- 14420 dAtA[i] = 0xa 14421 } 14422 return len(dAtA) - i, nil 14423 } 14424 14425 func (m *ClusterByDef) Marshal() (dAtA []byte, err error) { 14426 size := m.ProtoSize() 14427 dAtA = make([]byte, size) 14428 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14429 if err != nil { 14430 return nil, err 14431 } 14432 return dAtA[:n], nil 14433 } 14434 14435 func (m *ClusterByDef) MarshalTo(dAtA []byte) (int, error) { 14436 size := m.ProtoSize() 14437 return m.MarshalToSizedBuffer(dAtA[:size]) 14438 } 14439 14440 func (m *ClusterByDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14441 i := len(dAtA) 14442 _ = i 14443 var l int 14444 _ = l 14445 if m.XXX_unrecognized != nil { 14446 i -= len(m.XXX_unrecognized) 14447 copy(dAtA[i:], m.XXX_unrecognized) 14448 } 14449 if m.CompCbkeyCol != nil { 14450 { 14451 size, err := m.CompCbkeyCol.MarshalToSizedBuffer(dAtA[:i]) 14452 if err != nil { 14453 return 0, err 14454 } 14455 i -= size 14456 i = encodeVarintPlan(dAtA, i, uint64(size)) 14457 } 14458 i-- 14459 dAtA[i] = 0x12 14460 } 14461 if len(m.Name) > 0 { 14462 i -= len(m.Name) 14463 copy(dAtA[i:], m.Name) 14464 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 14465 i-- 14466 dAtA[i] = 0xa 14467 } 14468 return len(dAtA) - i, nil 14469 } 14470 14471 func (m *PropertyDef) Marshal() (dAtA []byte, err error) { 14472 size := m.ProtoSize() 14473 dAtA = make([]byte, size) 14474 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14475 if err != nil { 14476 return nil, err 14477 } 14478 return dAtA[:n], nil 14479 } 14480 14481 func (m *PropertyDef) MarshalTo(dAtA []byte) (int, error) { 14482 size := m.ProtoSize() 14483 return m.MarshalToSizedBuffer(dAtA[:size]) 14484 } 14485 14486 func (m *PropertyDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14487 i := len(dAtA) 14488 _ = i 14489 var l int 14490 _ = l 14491 if m.XXX_unrecognized != nil { 14492 i -= len(m.XXX_unrecognized) 14493 copy(dAtA[i:], m.XXX_unrecognized) 14494 } 14495 if len(m.Value) > 0 { 14496 i -= len(m.Value) 14497 copy(dAtA[i:], m.Value) 14498 i = encodeVarintPlan(dAtA, i, uint64(len(m.Value))) 14499 i-- 14500 dAtA[i] = 0x12 14501 } 14502 if len(m.Key) > 0 { 14503 i -= len(m.Key) 14504 copy(dAtA[i:], m.Key) 14505 i = encodeVarintPlan(dAtA, i, uint64(len(m.Key))) 14506 i-- 14507 dAtA[i] = 0xa 14508 } 14509 return len(dAtA) - i, nil 14510 } 14511 14512 func (m *Property) Marshal() (dAtA []byte, err error) { 14513 size := m.ProtoSize() 14514 dAtA = make([]byte, size) 14515 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14516 if err != nil { 14517 return nil, err 14518 } 14519 return dAtA[:n], nil 14520 } 14521 14522 func (m *Property) MarshalTo(dAtA []byte) (int, error) { 14523 size := m.ProtoSize() 14524 return m.MarshalToSizedBuffer(dAtA[:size]) 14525 } 14526 14527 func (m *Property) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14528 i := len(dAtA) 14529 _ = i 14530 var l int 14531 _ = l 14532 if m.XXX_unrecognized != nil { 14533 i -= len(m.XXX_unrecognized) 14534 copy(dAtA[i:], m.XXX_unrecognized) 14535 } 14536 if len(m.Value) > 0 { 14537 i -= len(m.Value) 14538 copy(dAtA[i:], m.Value) 14539 i = encodeVarintPlan(dAtA, i, uint64(len(m.Value))) 14540 i-- 14541 dAtA[i] = 0x12 14542 } 14543 if len(m.Key) > 0 { 14544 i -= len(m.Key) 14545 copy(dAtA[i:], m.Key) 14546 i = encodeVarintPlan(dAtA, i, uint64(len(m.Key))) 14547 i-- 14548 dAtA[i] = 0xa 14549 } 14550 return len(dAtA) - i, nil 14551 } 14552 14553 func (m *PropertiesDef) Marshal() (dAtA []byte, err error) { 14554 size := m.ProtoSize() 14555 dAtA = make([]byte, size) 14556 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14557 if err != nil { 14558 return nil, err 14559 } 14560 return dAtA[:n], nil 14561 } 14562 14563 func (m *PropertiesDef) MarshalTo(dAtA []byte) (int, error) { 14564 size := m.ProtoSize() 14565 return m.MarshalToSizedBuffer(dAtA[:size]) 14566 } 14567 14568 func (m *PropertiesDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14569 i := len(dAtA) 14570 _ = i 14571 var l int 14572 _ = l 14573 if m.XXX_unrecognized != nil { 14574 i -= len(m.XXX_unrecognized) 14575 copy(dAtA[i:], m.XXX_unrecognized) 14576 } 14577 if len(m.Properties) > 0 { 14578 for iNdEx := len(m.Properties) - 1; iNdEx >= 0; iNdEx-- { 14579 { 14580 size, err := m.Properties[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 14581 if err != nil { 14582 return 0, err 14583 } 14584 i -= size 14585 i = encodeVarintPlan(dAtA, i, uint64(size)) 14586 } 14587 i-- 14588 dAtA[i] = 0xa 14589 } 14590 } 14591 return len(dAtA) - i, nil 14592 } 14593 14594 func (m *PartitionByDef) Marshal() (dAtA []byte, err error) { 14595 size := m.ProtoSize() 14596 dAtA = make([]byte, size) 14597 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14598 if err != nil { 14599 return nil, err 14600 } 14601 return dAtA[:n], nil 14602 } 14603 14604 func (m *PartitionByDef) MarshalTo(dAtA []byte) (int, error) { 14605 size := m.ProtoSize() 14606 return m.MarshalToSizedBuffer(dAtA[:size]) 14607 } 14608 14609 func (m *PartitionByDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14610 i := len(dAtA) 14611 _ = i 14612 var l int 14613 _ = l 14614 if m.XXX_unrecognized != nil { 14615 i -= len(m.XXX_unrecognized) 14616 copy(dAtA[i:], m.XXX_unrecognized) 14617 } 14618 if len(m.PartitionTableNames) > 0 { 14619 for iNdEx := len(m.PartitionTableNames) - 1; iNdEx >= 0; iNdEx-- { 14620 i -= len(m.PartitionTableNames[iNdEx]) 14621 copy(dAtA[i:], m.PartitionTableNames[iNdEx]) 14622 i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionTableNames[iNdEx]))) 14623 i-- 14624 dAtA[i] = 0x52 14625 } 14626 } 14627 if len(m.PartitionMsg) > 0 { 14628 i -= len(m.PartitionMsg) 14629 copy(dAtA[i:], m.PartitionMsg) 14630 i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionMsg))) 14631 i-- 14632 dAtA[i] = 0x4a 14633 } 14634 if m.IsSubPartition { 14635 i-- 14636 if m.IsSubPartition { 14637 dAtA[i] = 1 14638 } else { 14639 dAtA[i] = 0 14640 } 14641 i-- 14642 dAtA[i] = 0x40 14643 } 14644 if m.Algorithm != 0 { 14645 i = encodeVarintPlan(dAtA, i, uint64(m.Algorithm)) 14646 i-- 14647 dAtA[i] = 0x38 14648 } 14649 if len(m.Partitions) > 0 { 14650 for iNdEx := len(m.Partitions) - 1; iNdEx >= 0; iNdEx-- { 14651 { 14652 size, err := m.Partitions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 14653 if err != nil { 14654 return 0, err 14655 } 14656 i -= size 14657 i = encodeVarintPlan(dAtA, i, uint64(size)) 14658 } 14659 i-- 14660 dAtA[i] = 0x32 14661 } 14662 } 14663 if m.PartitionNum != 0 { 14664 i = encodeVarintPlan(dAtA, i, uint64(m.PartitionNum)) 14665 i-- 14666 dAtA[i] = 0x28 14667 } 14668 if m.PartitionColumns != nil { 14669 { 14670 size, err := m.PartitionColumns.MarshalToSizedBuffer(dAtA[:i]) 14671 if err != nil { 14672 return 0, err 14673 } 14674 i -= size 14675 i = encodeVarintPlan(dAtA, i, uint64(size)) 14676 } 14677 i-- 14678 dAtA[i] = 0x22 14679 } 14680 if m.PartitionExpression != nil { 14681 { 14682 size, err := m.PartitionExpression.MarshalToSizedBuffer(dAtA[:i]) 14683 if err != nil { 14684 return 0, err 14685 } 14686 i -= size 14687 i = encodeVarintPlan(dAtA, i, uint64(size)) 14688 } 14689 i-- 14690 dAtA[i] = 0x1a 14691 } 14692 if m.PartitionExpr != nil { 14693 { 14694 size, err := m.PartitionExpr.MarshalToSizedBuffer(dAtA[:i]) 14695 if err != nil { 14696 return 0, err 14697 } 14698 i -= size 14699 i = encodeVarintPlan(dAtA, i, uint64(size)) 14700 } 14701 i-- 14702 dAtA[i] = 0x12 14703 } 14704 if m.Type != 0 { 14705 i = encodeVarintPlan(dAtA, i, uint64(m.Type)) 14706 i-- 14707 dAtA[i] = 0x8 14708 } 14709 return len(dAtA) - i, nil 14710 } 14711 14712 func (m *PartitionExpr) Marshal() (dAtA []byte, err error) { 14713 size := m.ProtoSize() 14714 dAtA = make([]byte, size) 14715 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14716 if err != nil { 14717 return nil, err 14718 } 14719 return dAtA[:n], nil 14720 } 14721 14722 func (m *PartitionExpr) MarshalTo(dAtA []byte) (int, error) { 14723 size := m.ProtoSize() 14724 return m.MarshalToSizedBuffer(dAtA[:size]) 14725 } 14726 14727 func (m *PartitionExpr) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14728 i := len(dAtA) 14729 _ = i 14730 var l int 14731 _ = l 14732 if m.XXX_unrecognized != nil { 14733 i -= len(m.XXX_unrecognized) 14734 copy(dAtA[i:], m.XXX_unrecognized) 14735 } 14736 if len(m.ExprStr) > 0 { 14737 i -= len(m.ExprStr) 14738 copy(dAtA[i:], m.ExprStr) 14739 i = encodeVarintPlan(dAtA, i, uint64(len(m.ExprStr))) 14740 i-- 14741 dAtA[i] = 0x12 14742 } 14743 if m.Expr != nil { 14744 { 14745 size, err := m.Expr.MarshalToSizedBuffer(dAtA[:i]) 14746 if err != nil { 14747 return 0, err 14748 } 14749 i -= size 14750 i = encodeVarintPlan(dAtA, i, uint64(size)) 14751 } 14752 i-- 14753 dAtA[i] = 0xa 14754 } 14755 return len(dAtA) - i, nil 14756 } 14757 14758 func (m *PartitionColumns) Marshal() (dAtA []byte, err error) { 14759 size := m.ProtoSize() 14760 dAtA = make([]byte, size) 14761 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14762 if err != nil { 14763 return nil, err 14764 } 14765 return dAtA[:n], nil 14766 } 14767 14768 func (m *PartitionColumns) MarshalTo(dAtA []byte) (int, error) { 14769 size := m.ProtoSize() 14770 return m.MarshalToSizedBuffer(dAtA[:size]) 14771 } 14772 14773 func (m *PartitionColumns) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14774 i := len(dAtA) 14775 _ = i 14776 var l int 14777 _ = l 14778 if m.XXX_unrecognized != nil { 14779 i -= len(m.XXX_unrecognized) 14780 copy(dAtA[i:], m.XXX_unrecognized) 14781 } 14782 if len(m.PartitionColumns) > 0 { 14783 for iNdEx := len(m.PartitionColumns) - 1; iNdEx >= 0; iNdEx-- { 14784 i -= len(m.PartitionColumns[iNdEx]) 14785 copy(dAtA[i:], m.PartitionColumns[iNdEx]) 14786 i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionColumns[iNdEx]))) 14787 i-- 14788 dAtA[i] = 0x12 14789 } 14790 } 14791 if len(m.Columns) > 0 { 14792 for iNdEx := len(m.Columns) - 1; iNdEx >= 0; iNdEx-- { 14793 { 14794 size, err := m.Columns[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 14795 if err != nil { 14796 return 0, err 14797 } 14798 i -= size 14799 i = encodeVarintPlan(dAtA, i, uint64(size)) 14800 } 14801 i-- 14802 dAtA[i] = 0xa 14803 } 14804 } 14805 return len(dAtA) - i, nil 14806 } 14807 14808 func (m *PartitionItem) Marshal() (dAtA []byte, err error) { 14809 size := m.ProtoSize() 14810 dAtA = make([]byte, size) 14811 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14812 if err != nil { 14813 return nil, err 14814 } 14815 return dAtA[:n], nil 14816 } 14817 14818 func (m *PartitionItem) MarshalTo(dAtA []byte) (int, error) { 14819 size := m.ProtoSize() 14820 return m.MarshalToSizedBuffer(dAtA[:size]) 14821 } 14822 14823 func (m *PartitionItem) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14824 i := len(dAtA) 14825 _ = i 14826 var l int 14827 _ = l 14828 if m.XXX_unrecognized != nil { 14829 i -= len(m.XXX_unrecognized) 14830 copy(dAtA[i:], m.XXX_unrecognized) 14831 } 14832 if len(m.PartitionTableName) > 0 { 14833 i -= len(m.PartitionTableName) 14834 copy(dAtA[i:], m.PartitionTableName) 14835 i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionTableName))) 14836 i-- 14837 dAtA[i] = 0x3a 14838 } 14839 if len(m.InValues) > 0 { 14840 for iNdEx := len(m.InValues) - 1; iNdEx >= 0; iNdEx-- { 14841 { 14842 size, err := m.InValues[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 14843 if err != nil { 14844 return 0, err 14845 } 14846 i -= size 14847 i = encodeVarintPlan(dAtA, i, uint64(size)) 14848 } 14849 i-- 14850 dAtA[i] = 0x32 14851 } 14852 } 14853 if len(m.LessThan) > 0 { 14854 for iNdEx := len(m.LessThan) - 1; iNdEx >= 0; iNdEx-- { 14855 { 14856 size, err := m.LessThan[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 14857 if err != nil { 14858 return 0, err 14859 } 14860 i -= size 14861 i = encodeVarintPlan(dAtA, i, uint64(size)) 14862 } 14863 i-- 14864 dAtA[i] = 0x2a 14865 } 14866 } 14867 if len(m.Comment) > 0 { 14868 i -= len(m.Comment) 14869 copy(dAtA[i:], m.Comment) 14870 i = encodeVarintPlan(dAtA, i, uint64(len(m.Comment))) 14871 i-- 14872 dAtA[i] = 0x22 14873 } 14874 if len(m.Description) > 0 { 14875 i -= len(m.Description) 14876 copy(dAtA[i:], m.Description) 14877 i = encodeVarintPlan(dAtA, i, uint64(len(m.Description))) 14878 i-- 14879 dAtA[i] = 0x1a 14880 } 14881 if m.OrdinalPosition != 0 { 14882 i = encodeVarintPlan(dAtA, i, uint64(m.OrdinalPosition)) 14883 i-- 14884 dAtA[i] = 0x10 14885 } 14886 if len(m.PartitionName) > 0 { 14887 i -= len(m.PartitionName) 14888 copy(dAtA[i:], m.PartitionName) 14889 i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionName))) 14890 i-- 14891 dAtA[i] = 0xa 14892 } 14893 return len(dAtA) - i, nil 14894 } 14895 14896 func (m *ViewDef) Marshal() (dAtA []byte, err error) { 14897 size := m.ProtoSize() 14898 dAtA = make([]byte, size) 14899 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14900 if err != nil { 14901 return nil, err 14902 } 14903 return dAtA[:n], nil 14904 } 14905 14906 func (m *ViewDef) MarshalTo(dAtA []byte) (int, error) { 14907 size := m.ProtoSize() 14908 return m.MarshalToSizedBuffer(dAtA[:size]) 14909 } 14910 14911 func (m *ViewDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14912 i := len(dAtA) 14913 _ = i 14914 var l int 14915 _ = l 14916 if m.XXX_unrecognized != nil { 14917 i -= len(m.XXX_unrecognized) 14918 copy(dAtA[i:], m.XXX_unrecognized) 14919 } 14920 if len(m.View) > 0 { 14921 i -= len(m.View) 14922 copy(dAtA[i:], m.View) 14923 i = encodeVarintPlan(dAtA, i, uint64(len(m.View))) 14924 i-- 14925 dAtA[i] = 0xa 14926 } 14927 return len(dAtA) - i, nil 14928 } 14929 14930 func (m *TableDef) Marshal() (dAtA []byte, err error) { 14931 size := m.ProtoSize() 14932 dAtA = make([]byte, size) 14933 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 14934 if err != nil { 14935 return nil, err 14936 } 14937 return dAtA[:n], nil 14938 } 14939 14940 func (m *TableDef) MarshalTo(dAtA []byte) (int, error) { 14941 size := m.ProtoSize() 14942 return m.MarshalToSizedBuffer(dAtA[:size]) 14943 } 14944 14945 func (m *TableDef) MarshalToSizedBuffer(dAtA []byte) (int, error) { 14946 i := len(dAtA) 14947 _ = i 14948 var l int 14949 _ = l 14950 if m.XXX_unrecognized != nil { 14951 i -= len(m.XXX_unrecognized) 14952 copy(dAtA[i:], m.XXX_unrecognized) 14953 } 14954 if len(m.DbName) > 0 { 14955 i -= len(m.DbName) 14956 copy(dAtA[i:], m.DbName) 14957 i = encodeVarintPlan(dAtA, i, uint64(len(m.DbName))) 14958 i-- 14959 dAtA[i] = 0x2 14960 i-- 14961 dAtA[i] = 0x82 14962 } 14963 if m.IsDynamic { 14964 i-- 14965 if m.IsDynamic { 14966 dAtA[i] = 1 14967 } else { 14968 dAtA[i] = 0 14969 } 14970 i-- 14971 dAtA[i] = 0x1 14972 i-- 14973 dAtA[i] = 0xf8 14974 } 14975 if m.AutoIncrOffset != 0 { 14976 i = encodeVarintPlan(dAtA, i, uint64(m.AutoIncrOffset)) 14977 i-- 14978 dAtA[i] = 0x1 14979 i-- 14980 dAtA[i] = 0xf0 14981 } 14982 if m.IsTemporary { 14983 i-- 14984 if m.IsTemporary { 14985 dAtA[i] = 1 14986 } else { 14987 dAtA[i] = 0 14988 } 14989 i-- 14990 dAtA[i] = 0x1 14991 i-- 14992 dAtA[i] = 0xe8 14993 } 14994 if m.TableLockType != 0 { 14995 i = encodeVarintPlan(dAtA, i, uint64(m.TableLockType)) 14996 i-- 14997 dAtA[i] = 0x1 14998 i-- 14999 dAtA[i] = 0xe0 15000 } 15001 if m.IsLocked { 15002 i-- 15003 if m.IsLocked { 15004 dAtA[i] = 1 15005 } else { 15006 dAtA[i] = 0 15007 } 15008 i-- 15009 dAtA[i] = 0x1 15010 i-- 15011 dAtA[i] = 0xd8 15012 } 15013 if len(m.Name2ColIndex) > 0 { 15014 for k := range m.Name2ColIndex { 15015 v := m.Name2ColIndex[k] 15016 baseI := i 15017 i = encodeVarintPlan(dAtA, i, uint64(v)) 15018 i-- 15019 dAtA[i] = 0x10 15020 i -= len(k) 15021 copy(dAtA[i:], k) 15022 i = encodeVarintPlan(dAtA, i, uint64(len(k))) 15023 i-- 15024 dAtA[i] = 0xa 15025 i = encodeVarintPlan(dAtA, i, uint64(baseI-i)) 15026 i-- 15027 dAtA[i] = 0x1 15028 i-- 15029 dAtA[i] = 0xd2 15030 } 15031 } 15032 if len(m.Defs) > 0 { 15033 for iNdEx := len(m.Defs) - 1; iNdEx >= 0; iNdEx-- { 15034 { 15035 size, err := m.Defs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 15036 if err != nil { 15037 return 0, err 15038 } 15039 i -= size 15040 i = encodeVarintPlan(dAtA, i, uint64(size)) 15041 } 15042 i-- 15043 dAtA[i] = 0x1 15044 i-- 15045 dAtA[i] = 0xca 15046 } 15047 } 15048 if m.ViewSql != nil { 15049 { 15050 size, err := m.ViewSql.MarshalToSizedBuffer(dAtA[:i]) 15051 if err != nil { 15052 return 0, err 15053 } 15054 i -= size 15055 i = encodeVarintPlan(dAtA, i, uint64(size)) 15056 } 15057 i-- 15058 dAtA[i] = 0x1 15059 i-- 15060 dAtA[i] = 0xc2 15061 } 15062 if len(m.Props) > 0 { 15063 for iNdEx := len(m.Props) - 1; iNdEx >= 0; iNdEx-- { 15064 { 15065 size, err := m.Props[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 15066 if err != nil { 15067 return 0, err 15068 } 15069 i -= size 15070 i = encodeVarintPlan(dAtA, i, uint64(size)) 15071 } 15072 i-- 15073 dAtA[i] = 0x1 15074 i-- 15075 dAtA[i] = 0xba 15076 } 15077 } 15078 if m.ClusterBy != nil { 15079 { 15080 size, err := m.ClusterBy.MarshalToSizedBuffer(dAtA[:i]) 15081 if err != nil { 15082 return 0, err 15083 } 15084 i -= size 15085 i = encodeVarintPlan(dAtA, i, uint64(size)) 15086 } 15087 i-- 15088 dAtA[i] = 0x1 15089 i-- 15090 dAtA[i] = 0xb2 15091 } 15092 if m.Partition != nil { 15093 { 15094 size, err := m.Partition.MarshalToSizedBuffer(dAtA[:i]) 15095 if err != nil { 15096 return 0, err 15097 } 15098 i -= size 15099 i = encodeVarintPlan(dAtA, i, uint64(size)) 15100 } 15101 i-- 15102 dAtA[i] = 0x1 15103 i-- 15104 dAtA[i] = 0xaa 15105 } 15106 if len(m.Checks) > 0 { 15107 for iNdEx := len(m.Checks) - 1; iNdEx >= 0; iNdEx-- { 15108 { 15109 size, err := m.Checks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 15110 if err != nil { 15111 return 0, err 15112 } 15113 i -= size 15114 i = encodeVarintPlan(dAtA, i, uint64(size)) 15115 } 15116 i-- 15117 dAtA[i] = 0x7a 15118 } 15119 } 15120 if len(m.RefChildTbls) > 0 { 15121 dAtA45 := make([]byte, len(m.RefChildTbls)*10) 15122 var j44 int 15123 for _, num := range m.RefChildTbls { 15124 for num >= 1<<7 { 15125 dAtA45[j44] = uint8(uint64(num)&0x7f | 0x80) 15126 num >>= 7 15127 j44++ 15128 } 15129 dAtA45[j44] = uint8(num) 15130 j44++ 15131 } 15132 i -= j44 15133 copy(dAtA[i:], dAtA45[:j44]) 15134 i = encodeVarintPlan(dAtA, i, uint64(j44)) 15135 i-- 15136 dAtA[i] = 0x72 15137 } 15138 if len(m.Fkeys) > 0 { 15139 for iNdEx := len(m.Fkeys) - 1; iNdEx >= 0; iNdEx-- { 15140 { 15141 size, err := m.Fkeys[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 15142 if err != nil { 15143 return 0, err 15144 } 15145 i -= size 15146 i = encodeVarintPlan(dAtA, i, uint64(size)) 15147 } 15148 i-- 15149 dAtA[i] = 0x6a 15150 } 15151 } 15152 if len(m.Indexes) > 0 { 15153 for iNdEx := len(m.Indexes) - 1; iNdEx >= 0; iNdEx-- { 15154 { 15155 size, err := m.Indexes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 15156 if err != nil { 15157 return 0, err 15158 } 15159 i -= size 15160 i = encodeVarintPlan(dAtA, i, uint64(size)) 15161 } 15162 i-- 15163 dAtA[i] = 0x62 15164 } 15165 } 15166 if m.Pkey != nil { 15167 { 15168 size, err := m.Pkey.MarshalToSizedBuffer(dAtA[:i]) 15169 if err != nil { 15170 return 0, err 15171 } 15172 i -= size 15173 i = encodeVarintPlan(dAtA, i, uint64(size)) 15174 } 15175 i-- 15176 dAtA[i] = 0x5a 15177 } 15178 if m.Version != 0 { 15179 i = encodeVarintPlan(dAtA, i, uint64(m.Version)) 15180 i-- 15181 dAtA[i] = 0x40 15182 } 15183 if m.TblFunc != nil { 15184 { 15185 size, err := m.TblFunc.MarshalToSizedBuffer(dAtA[:i]) 15186 if err != nil { 15187 return 0, err 15188 } 15189 i -= size 15190 i = encodeVarintPlan(dAtA, i, uint64(size)) 15191 } 15192 i-- 15193 dAtA[i] = 0x3a 15194 } 15195 if len(m.Createsql) > 0 { 15196 i -= len(m.Createsql) 15197 copy(dAtA[i:], m.Createsql) 15198 i = encodeVarintPlan(dAtA, i, uint64(len(m.Createsql))) 15199 i-- 15200 dAtA[i] = 0x32 15201 } 15202 if len(m.TableType) > 0 { 15203 i -= len(m.TableType) 15204 copy(dAtA[i:], m.TableType) 15205 i = encodeVarintPlan(dAtA, i, uint64(len(m.TableType))) 15206 i-- 15207 dAtA[i] = 0x2a 15208 } 15209 if len(m.Cols) > 0 { 15210 for iNdEx := len(m.Cols) - 1; iNdEx >= 0; iNdEx-- { 15211 { 15212 size, err := m.Cols[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 15213 if err != nil { 15214 return 0, err 15215 } 15216 i -= size 15217 i = encodeVarintPlan(dAtA, i, uint64(size)) 15218 } 15219 i-- 15220 dAtA[i] = 0x22 15221 } 15222 } 15223 if m.Hidden { 15224 i-- 15225 if m.Hidden { 15226 dAtA[i] = 1 15227 } else { 15228 dAtA[i] = 0 15229 } 15230 i-- 15231 dAtA[i] = 0x18 15232 } 15233 if len(m.Name) > 0 { 15234 i -= len(m.Name) 15235 copy(dAtA[i:], m.Name) 15236 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 15237 i-- 15238 dAtA[i] = 0x12 15239 } 15240 if m.TblId != 0 { 15241 i = encodeVarintPlan(dAtA, i, uint64(m.TblId)) 15242 i-- 15243 dAtA[i] = 0x8 15244 } 15245 return len(dAtA) - i, nil 15246 } 15247 15248 func (m *TableDef_DefType) Marshal() (dAtA []byte, err error) { 15249 size := m.ProtoSize() 15250 dAtA = make([]byte, size) 15251 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15252 if err != nil { 15253 return nil, err 15254 } 15255 return dAtA[:n], nil 15256 } 15257 15258 func (m *TableDef_DefType) MarshalTo(dAtA []byte) (int, error) { 15259 size := m.ProtoSize() 15260 return m.MarshalToSizedBuffer(dAtA[:size]) 15261 } 15262 15263 func (m *TableDef_DefType) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15264 i := len(dAtA) 15265 _ = i 15266 var l int 15267 _ = l 15268 if m.XXX_unrecognized != nil { 15269 i -= len(m.XXX_unrecognized) 15270 copy(dAtA[i:], m.XXX_unrecognized) 15271 } 15272 if m.Def != nil { 15273 { 15274 size := m.Def.ProtoSize() 15275 i -= size 15276 if _, err := m.Def.MarshalTo(dAtA[i:]); err != nil { 15277 return 0, err 15278 } 15279 } 15280 } 15281 return len(dAtA) - i, nil 15282 } 15283 15284 func (m *TableDef_DefType_Properties) MarshalTo(dAtA []byte) (int, error) { 15285 size := m.ProtoSize() 15286 return m.MarshalToSizedBuffer(dAtA[:size]) 15287 } 15288 15289 func (m *TableDef_DefType_Properties) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15290 i := len(dAtA) 15291 if m.Properties != nil { 15292 { 15293 size, err := m.Properties.MarshalToSizedBuffer(dAtA[:i]) 15294 if err != nil { 15295 return 0, err 15296 } 15297 i -= size 15298 i = encodeVarintPlan(dAtA, i, uint64(size)) 15299 } 15300 i-- 15301 dAtA[i] = 0xa 15302 } 15303 return len(dAtA) - i, nil 15304 } 15305 func (m *TableFunction) Marshal() (dAtA []byte, err error) { 15306 size := m.ProtoSize() 15307 dAtA = make([]byte, size) 15308 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15309 if err != nil { 15310 return nil, err 15311 } 15312 return dAtA[:n], nil 15313 } 15314 15315 func (m *TableFunction) MarshalTo(dAtA []byte) (int, error) { 15316 size := m.ProtoSize() 15317 return m.MarshalToSizedBuffer(dAtA[:size]) 15318 } 15319 15320 func (m *TableFunction) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15321 i := len(dAtA) 15322 _ = i 15323 var l int 15324 _ = l 15325 if m.XXX_unrecognized != nil { 15326 i -= len(m.XXX_unrecognized) 15327 copy(dAtA[i:], m.XXX_unrecognized) 15328 } 15329 if len(m.Param) > 0 { 15330 i -= len(m.Param) 15331 copy(dAtA[i:], m.Param) 15332 i = encodeVarintPlan(dAtA, i, uint64(len(m.Param))) 15333 i-- 15334 dAtA[i] = 0x12 15335 } 15336 if len(m.Name) > 0 { 15337 i -= len(m.Name) 15338 copy(dAtA[i:], m.Name) 15339 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 15340 i-- 15341 dAtA[i] = 0xa 15342 } 15343 return len(dAtA) - i, nil 15344 } 15345 15346 func (m *HashMapStats) Marshal() (dAtA []byte, err error) { 15347 size := m.ProtoSize() 15348 dAtA = make([]byte, size) 15349 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15350 if err != nil { 15351 return nil, err 15352 } 15353 return dAtA[:n], nil 15354 } 15355 15356 func (m *HashMapStats) MarshalTo(dAtA []byte) (int, error) { 15357 size := m.ProtoSize() 15358 return m.MarshalToSizedBuffer(dAtA[:size]) 15359 } 15360 15361 func (m *HashMapStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15362 i := len(dAtA) 15363 _ = i 15364 var l int 15365 _ = l 15366 if m.XXX_unrecognized != nil { 15367 i -= len(m.XXX_unrecognized) 15368 copy(dAtA[i:], m.XXX_unrecognized) 15369 } 15370 if len(m.Ranges) > 0 { 15371 for iNdEx := len(m.Ranges) - 1; iNdEx >= 0; iNdEx-- { 15372 f49 := math.Float64bits(float64(m.Ranges[iNdEx])) 15373 i -= 8 15374 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(f49)) 15375 } 15376 i = encodeVarintPlan(dAtA, i, uint64(len(m.Ranges)*8)) 15377 i-- 15378 dAtA[i] = 0x5a 15379 } 15380 if m.Nullcnt != 0 { 15381 i = encodeVarintPlan(dAtA, i, uint64(m.Nullcnt)) 15382 i-- 15383 dAtA[i] = 0x50 15384 } 15385 if m.ShuffleMethod != 0 { 15386 i = encodeVarintPlan(dAtA, i, uint64(m.ShuffleMethod)) 15387 i-- 15388 dAtA[i] = 0x48 15389 } 15390 if m.ShuffleColMax != 0 { 15391 i = encodeVarintPlan(dAtA, i, uint64(m.ShuffleColMax)) 15392 i-- 15393 dAtA[i] = 0x40 15394 } 15395 if m.ShuffleColMin != 0 { 15396 i = encodeVarintPlan(dAtA, i, uint64(m.ShuffleColMin)) 15397 i-- 15398 dAtA[i] = 0x38 15399 } 15400 if m.ShuffleTypeForMultiCN != 0 { 15401 i = encodeVarintPlan(dAtA, i, uint64(m.ShuffleTypeForMultiCN)) 15402 i-- 15403 dAtA[i] = 0x30 15404 } 15405 if m.ShuffleType != 0 { 15406 i = encodeVarintPlan(dAtA, i, uint64(m.ShuffleType)) 15407 i-- 15408 dAtA[i] = 0x28 15409 } 15410 if m.ShuffleColIdx != 0 { 15411 i = encodeVarintPlan(dAtA, i, uint64(m.ShuffleColIdx)) 15412 i-- 15413 dAtA[i] = 0x20 15414 } 15415 if m.Shuffle { 15416 i-- 15417 if m.Shuffle { 15418 dAtA[i] = 1 15419 } else { 15420 dAtA[i] = 0 15421 } 15422 i-- 15423 dAtA[i] = 0x18 15424 } 15425 if m.HashOnPK { 15426 i-- 15427 if m.HashOnPK { 15428 dAtA[i] = 1 15429 } else { 15430 dAtA[i] = 0 15431 } 15432 i-- 15433 dAtA[i] = 0x10 15434 } 15435 if m.HashmapSize != 0 { 15436 i -= 8 15437 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.HashmapSize)))) 15438 i-- 15439 dAtA[i] = 0x9 15440 } 15441 return len(dAtA) - i, nil 15442 } 15443 15444 func (m *Stats) Marshal() (dAtA []byte, err error) { 15445 size := m.ProtoSize() 15446 dAtA = make([]byte, size) 15447 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15448 if err != nil { 15449 return nil, err 15450 } 15451 return dAtA[:n], nil 15452 } 15453 15454 func (m *Stats) MarshalTo(dAtA []byte) (int, error) { 15455 size := m.ProtoSize() 15456 return m.MarshalToSizedBuffer(dAtA[:size]) 15457 } 15458 15459 func (m *Stats) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15460 i := len(dAtA) 15461 _ = i 15462 var l int 15463 _ = l 15464 if m.XXX_unrecognized != nil { 15465 i -= len(m.XXX_unrecognized) 15466 copy(dAtA[i:], m.XXX_unrecognized) 15467 } 15468 if m.HashmapStats != nil { 15469 { 15470 size, err := m.HashmapStats.MarshalToSizedBuffer(dAtA[:i]) 15471 if err != nil { 15472 return 0, err 15473 } 15474 i -= size 15475 i = encodeVarintPlan(dAtA, i, uint64(size)) 15476 } 15477 i-- 15478 dAtA[i] = 0x42 15479 } 15480 if m.ForceOneCN { 15481 i-- 15482 if m.ForceOneCN { 15483 dAtA[i] = 1 15484 } else { 15485 dAtA[i] = 0 15486 } 15487 i-- 15488 dAtA[i] = 0x38 15489 } 15490 if m.Selectivity != 0 { 15491 i -= 8 15492 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Selectivity)))) 15493 i-- 15494 dAtA[i] = 0x31 15495 } 15496 if m.TableCnt != 0 { 15497 i -= 8 15498 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.TableCnt)))) 15499 i-- 15500 dAtA[i] = 0x29 15501 } 15502 if m.Rowsize != 0 { 15503 i -= 8 15504 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Rowsize)))) 15505 i-- 15506 dAtA[i] = 0x21 15507 } 15508 if m.Outcnt != 0 { 15509 i -= 8 15510 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Outcnt)))) 15511 i-- 15512 dAtA[i] = 0x19 15513 } 15514 if m.Cost != 0 { 15515 i -= 8 15516 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Cost)))) 15517 i-- 15518 dAtA[i] = 0x11 15519 } 15520 if m.BlockNum != 0 { 15521 i = encodeVarintPlan(dAtA, i, uint64(m.BlockNum)) 15522 i-- 15523 dAtA[i] = 0x8 15524 } 15525 return len(dAtA) - i, nil 15526 } 15527 15528 func (m *RowsetExpr) Marshal() (dAtA []byte, err error) { 15529 size := m.ProtoSize() 15530 dAtA = make([]byte, size) 15531 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15532 if err != nil { 15533 return nil, err 15534 } 15535 return dAtA[:n], nil 15536 } 15537 15538 func (m *RowsetExpr) MarshalTo(dAtA []byte) (int, error) { 15539 size := m.ProtoSize() 15540 return m.MarshalToSizedBuffer(dAtA[:size]) 15541 } 15542 15543 func (m *RowsetExpr) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15544 i := len(dAtA) 15545 _ = i 15546 var l int 15547 _ = l 15548 if m.XXX_unrecognized != nil { 15549 i -= len(m.XXX_unrecognized) 15550 copy(dAtA[i:], m.XXX_unrecognized) 15551 } 15552 if m.Expr != nil { 15553 { 15554 size, err := m.Expr.MarshalToSizedBuffer(dAtA[:i]) 15555 if err != nil { 15556 return 0, err 15557 } 15558 i -= size 15559 i = encodeVarintPlan(dAtA, i, uint64(size)) 15560 } 15561 i-- 15562 dAtA[i] = 0x1a 15563 } 15564 if m.Pos != 0 { 15565 i = encodeVarintPlan(dAtA, i, uint64(m.Pos)) 15566 i-- 15567 dAtA[i] = 0x10 15568 } 15569 if m.RowPos != 0 { 15570 i = encodeVarintPlan(dAtA, i, uint64(m.RowPos)) 15571 i-- 15572 dAtA[i] = 0x8 15573 } 15574 return len(dAtA) - i, nil 15575 } 15576 15577 func (m *ColData) Marshal() (dAtA []byte, err error) { 15578 size := m.ProtoSize() 15579 dAtA = make([]byte, size) 15580 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15581 if err != nil { 15582 return nil, err 15583 } 15584 return dAtA[:n], nil 15585 } 15586 15587 func (m *ColData) MarshalTo(dAtA []byte) (int, error) { 15588 size := m.ProtoSize() 15589 return m.MarshalToSizedBuffer(dAtA[:size]) 15590 } 15591 15592 func (m *ColData) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15593 i := len(dAtA) 15594 _ = i 15595 var l int 15596 _ = l 15597 if m.XXX_unrecognized != nil { 15598 i -= len(m.XXX_unrecognized) 15599 copy(dAtA[i:], m.XXX_unrecognized) 15600 } 15601 if len(m.Data) > 0 { 15602 for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { 15603 { 15604 size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 15605 if err != nil { 15606 return 0, err 15607 } 15608 i -= size 15609 i = encodeVarintPlan(dAtA, i, uint64(size)) 15610 } 15611 i-- 15612 dAtA[i] = 0xa 15613 } 15614 } 15615 return len(dAtA) - i, nil 15616 } 15617 15618 func (m *RowsetData) Marshal() (dAtA []byte, err error) { 15619 size := m.ProtoSize() 15620 dAtA = make([]byte, size) 15621 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15622 if err != nil { 15623 return nil, err 15624 } 15625 return dAtA[:n], nil 15626 } 15627 15628 func (m *RowsetData) MarshalTo(dAtA []byte) (int, error) { 15629 size := m.ProtoSize() 15630 return m.MarshalToSizedBuffer(dAtA[:size]) 15631 } 15632 15633 func (m *RowsetData) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15634 i := len(dAtA) 15635 _ = i 15636 var l int 15637 _ = l 15638 if m.XXX_unrecognized != nil { 15639 i -= len(m.XXX_unrecognized) 15640 copy(dAtA[i:], m.XXX_unrecognized) 15641 } 15642 if m.RowCount != 0 { 15643 i = encodeVarintPlan(dAtA, i, uint64(m.RowCount)) 15644 i-- 15645 dAtA[i] = 0x10 15646 } 15647 if len(m.Cols) > 0 { 15648 for iNdEx := len(m.Cols) - 1; iNdEx >= 0; iNdEx-- { 15649 { 15650 size, err := m.Cols[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 15651 if err != nil { 15652 return 0, err 15653 } 15654 i -= size 15655 i = encodeVarintPlan(dAtA, i, uint64(size)) 15656 } 15657 i-- 15658 dAtA[i] = 0xa 15659 } 15660 } 15661 return len(dAtA) - i, nil 15662 } 15663 15664 func (m *OrderBySpec) Marshal() (dAtA []byte, err error) { 15665 size := m.ProtoSize() 15666 dAtA = make([]byte, size) 15667 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15668 if err != nil { 15669 return nil, err 15670 } 15671 return dAtA[:n], nil 15672 } 15673 15674 func (m *OrderBySpec) MarshalTo(dAtA []byte) (int, error) { 15675 size := m.ProtoSize() 15676 return m.MarshalToSizedBuffer(dAtA[:size]) 15677 } 15678 15679 func (m *OrderBySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15680 i := len(dAtA) 15681 _ = i 15682 var l int 15683 _ = l 15684 if m.XXX_unrecognized != nil { 15685 i -= len(m.XXX_unrecognized) 15686 copy(dAtA[i:], m.XXX_unrecognized) 15687 } 15688 if m.Flag != 0 { 15689 i = encodeVarintPlan(dAtA, i, uint64(m.Flag)) 15690 i-- 15691 dAtA[i] = 0x18 15692 } 15693 if len(m.Collation) > 0 { 15694 i -= len(m.Collation) 15695 copy(dAtA[i:], m.Collation) 15696 i = encodeVarintPlan(dAtA, i, uint64(len(m.Collation))) 15697 i-- 15698 dAtA[i] = 0x12 15699 } 15700 if m.Expr != nil { 15701 { 15702 size, err := m.Expr.MarshalToSizedBuffer(dAtA[:i]) 15703 if err != nil { 15704 return 0, err 15705 } 15706 i -= size 15707 i = encodeVarintPlan(dAtA, i, uint64(size)) 15708 } 15709 i-- 15710 dAtA[i] = 0xa 15711 } 15712 return len(dAtA) - i, nil 15713 } 15714 15715 func (m *WindowSpec) Marshal() (dAtA []byte, err error) { 15716 size := m.ProtoSize() 15717 dAtA = make([]byte, size) 15718 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15719 if err != nil { 15720 return nil, err 15721 } 15722 return dAtA[:n], nil 15723 } 15724 15725 func (m *WindowSpec) MarshalTo(dAtA []byte) (int, error) { 15726 size := m.ProtoSize() 15727 return m.MarshalToSizedBuffer(dAtA[:size]) 15728 } 15729 15730 func (m *WindowSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15731 i := len(dAtA) 15732 _ = i 15733 var l int 15734 _ = l 15735 if m.XXX_unrecognized != nil { 15736 i -= len(m.XXX_unrecognized) 15737 copy(dAtA[i:], m.XXX_unrecognized) 15738 } 15739 if len(m.Name) > 0 { 15740 i -= len(m.Name) 15741 copy(dAtA[i:], m.Name) 15742 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 15743 i-- 15744 dAtA[i] = 0x2a 15745 } 15746 if m.Frame != nil { 15747 { 15748 size, err := m.Frame.MarshalToSizedBuffer(dAtA[:i]) 15749 if err != nil { 15750 return 0, err 15751 } 15752 i -= size 15753 i = encodeVarintPlan(dAtA, i, uint64(size)) 15754 } 15755 i-- 15756 dAtA[i] = 0x22 15757 } 15758 if len(m.OrderBy) > 0 { 15759 for iNdEx := len(m.OrderBy) - 1; iNdEx >= 0; iNdEx-- { 15760 { 15761 size, err := m.OrderBy[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 15762 if err != nil { 15763 return 0, err 15764 } 15765 i -= size 15766 i = encodeVarintPlan(dAtA, i, uint64(size)) 15767 } 15768 i-- 15769 dAtA[i] = 0x1a 15770 } 15771 } 15772 if len(m.PartitionBy) > 0 { 15773 for iNdEx := len(m.PartitionBy) - 1; iNdEx >= 0; iNdEx-- { 15774 { 15775 size, err := m.PartitionBy[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 15776 if err != nil { 15777 return 0, err 15778 } 15779 i -= size 15780 i = encodeVarintPlan(dAtA, i, uint64(size)) 15781 } 15782 i-- 15783 dAtA[i] = 0x12 15784 } 15785 } 15786 if m.WindowFunc != nil { 15787 { 15788 size, err := m.WindowFunc.MarshalToSizedBuffer(dAtA[:i]) 15789 if err != nil { 15790 return 0, err 15791 } 15792 i -= size 15793 i = encodeVarintPlan(dAtA, i, uint64(size)) 15794 } 15795 i-- 15796 dAtA[i] = 0xa 15797 } 15798 return len(dAtA) - i, nil 15799 } 15800 15801 func (m *SampleFuncSpec) Marshal() (dAtA []byte, err error) { 15802 size := m.ProtoSize() 15803 dAtA = make([]byte, size) 15804 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15805 if err != nil { 15806 return nil, err 15807 } 15808 return dAtA[:n], nil 15809 } 15810 15811 func (m *SampleFuncSpec) MarshalTo(dAtA []byte) (int, error) { 15812 size := m.ProtoSize() 15813 return m.MarshalToSizedBuffer(dAtA[:size]) 15814 } 15815 15816 func (m *SampleFuncSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15817 i := len(dAtA) 15818 _ = i 15819 var l int 15820 _ = l 15821 if m.XXX_unrecognized != nil { 15822 i -= len(m.XXX_unrecognized) 15823 copy(dAtA[i:], m.XXX_unrecognized) 15824 } 15825 if m.UsingRow { 15826 i-- 15827 if m.UsingRow { 15828 dAtA[i] = 1 15829 } else { 15830 dAtA[i] = 0 15831 } 15832 i-- 15833 dAtA[i] = 0x18 15834 } 15835 if m.Percent != 0 { 15836 i -= 8 15837 encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Percent)))) 15838 i-- 15839 dAtA[i] = 0x11 15840 } 15841 if m.Rows != 0 { 15842 i = encodeVarintPlan(dAtA, i, uint64(m.Rows)) 15843 i-- 15844 dAtA[i] = 0x8 15845 } 15846 return len(dAtA) - i, nil 15847 } 15848 15849 func (m *FrameClause) Marshal() (dAtA []byte, err error) { 15850 size := m.ProtoSize() 15851 dAtA = make([]byte, size) 15852 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15853 if err != nil { 15854 return nil, err 15855 } 15856 return dAtA[:n], nil 15857 } 15858 15859 func (m *FrameClause) MarshalTo(dAtA []byte) (int, error) { 15860 size := m.ProtoSize() 15861 return m.MarshalToSizedBuffer(dAtA[:size]) 15862 } 15863 15864 func (m *FrameClause) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15865 i := len(dAtA) 15866 _ = i 15867 var l int 15868 _ = l 15869 if m.XXX_unrecognized != nil { 15870 i -= len(m.XXX_unrecognized) 15871 copy(dAtA[i:], m.XXX_unrecognized) 15872 } 15873 if m.End != nil { 15874 { 15875 size, err := m.End.MarshalToSizedBuffer(dAtA[:i]) 15876 if err != nil { 15877 return 0, err 15878 } 15879 i -= size 15880 i = encodeVarintPlan(dAtA, i, uint64(size)) 15881 } 15882 i-- 15883 dAtA[i] = 0x1a 15884 } 15885 if m.Start != nil { 15886 { 15887 size, err := m.Start.MarshalToSizedBuffer(dAtA[:i]) 15888 if err != nil { 15889 return 0, err 15890 } 15891 i -= size 15892 i = encodeVarintPlan(dAtA, i, uint64(size)) 15893 } 15894 i-- 15895 dAtA[i] = 0x12 15896 } 15897 if m.Type != 0 { 15898 i = encodeVarintPlan(dAtA, i, uint64(m.Type)) 15899 i-- 15900 dAtA[i] = 0x8 15901 } 15902 return len(dAtA) - i, nil 15903 } 15904 15905 func (m *FrameBound) Marshal() (dAtA []byte, err error) { 15906 size := m.ProtoSize() 15907 dAtA = make([]byte, size) 15908 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15909 if err != nil { 15910 return nil, err 15911 } 15912 return dAtA[:n], nil 15913 } 15914 15915 func (m *FrameBound) MarshalTo(dAtA []byte) (int, error) { 15916 size := m.ProtoSize() 15917 return m.MarshalToSizedBuffer(dAtA[:size]) 15918 } 15919 15920 func (m *FrameBound) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15921 i := len(dAtA) 15922 _ = i 15923 var l int 15924 _ = l 15925 if m.XXX_unrecognized != nil { 15926 i -= len(m.XXX_unrecognized) 15927 copy(dAtA[i:], m.XXX_unrecognized) 15928 } 15929 if m.Val != nil { 15930 { 15931 size, err := m.Val.MarshalToSizedBuffer(dAtA[:i]) 15932 if err != nil { 15933 return 0, err 15934 } 15935 i -= size 15936 i = encodeVarintPlan(dAtA, i, uint64(size)) 15937 } 15938 i-- 15939 dAtA[i] = 0x1a 15940 } 15941 if m.UnBounded { 15942 i-- 15943 if m.UnBounded { 15944 dAtA[i] = 1 15945 } else { 15946 dAtA[i] = 0 15947 } 15948 i-- 15949 dAtA[i] = 0x10 15950 } 15951 if m.Type != 0 { 15952 i = encodeVarintPlan(dAtA, i, uint64(m.Type)) 15953 i-- 15954 dAtA[i] = 0x8 15955 } 15956 return len(dAtA) - i, nil 15957 } 15958 15959 func (m *OnDuplicateKeyCtx) Marshal() (dAtA []byte, err error) { 15960 size := m.ProtoSize() 15961 dAtA = make([]byte, size) 15962 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 15963 if err != nil { 15964 return nil, err 15965 } 15966 return dAtA[:n], nil 15967 } 15968 15969 func (m *OnDuplicateKeyCtx) MarshalTo(dAtA []byte) (int, error) { 15970 size := m.ProtoSize() 15971 return m.MarshalToSizedBuffer(dAtA[:size]) 15972 } 15973 15974 func (m *OnDuplicateKeyCtx) MarshalToSizedBuffer(dAtA []byte) (int, error) { 15975 i := len(dAtA) 15976 _ = i 15977 var l int 15978 _ = l 15979 if m.XXX_unrecognized != nil { 15980 i -= len(m.XXX_unrecognized) 15981 copy(dAtA[i:], m.XXX_unrecognized) 15982 } 15983 if m.TableVersion != 0 { 15984 i = encodeVarintPlan(dAtA, i, uint64(m.TableVersion)) 15985 i-- 15986 dAtA[i] = 0x50 15987 } 15988 if m.TableId != 0 { 15989 i = encodeVarintPlan(dAtA, i, uint64(m.TableId)) 15990 i-- 15991 dAtA[i] = 0x48 15992 } 15993 if len(m.TableName) > 0 { 15994 i -= len(m.TableName) 15995 copy(dAtA[i:], m.TableName) 15996 i = encodeVarintPlan(dAtA, i, uint64(len(m.TableName))) 15997 i-- 15998 dAtA[i] = 0x42 15999 } 16000 if m.IsIgnore { 16001 i-- 16002 if m.IsIgnore { 16003 dAtA[i] = 1 16004 } else { 16005 dAtA[i] = 0 16006 } 16007 i-- 16008 dAtA[i] = 0x38 16009 } 16010 if len(m.OnDuplicateExpr) > 0 { 16011 for k := range m.OnDuplicateExpr { 16012 v := m.OnDuplicateExpr[k] 16013 baseI := i 16014 if v != nil { 16015 { 16016 size, err := v.MarshalToSizedBuffer(dAtA[:i]) 16017 if err != nil { 16018 return 0, err 16019 } 16020 i -= size 16021 i = encodeVarintPlan(dAtA, i, uint64(size)) 16022 } 16023 i-- 16024 dAtA[i] = 0x12 16025 } 16026 i -= len(k) 16027 copy(dAtA[i:], k) 16028 i = encodeVarintPlan(dAtA, i, uint64(len(k))) 16029 i-- 16030 dAtA[i] = 0xa 16031 i = encodeVarintPlan(dAtA, i, uint64(baseI-i)) 16032 i-- 16033 dAtA[i] = 0x32 16034 } 16035 } 16036 if len(m.OnDuplicateIdx) > 0 { 16037 dAtA60 := make([]byte, len(m.OnDuplicateIdx)*10) 16038 var j59 int 16039 for _, num1 := range m.OnDuplicateIdx { 16040 num := uint64(num1) 16041 for num >= 1<<7 { 16042 dAtA60[j59] = uint8(uint64(num)&0x7f | 0x80) 16043 num >>= 7 16044 j59++ 16045 } 16046 dAtA60[j59] = uint8(num) 16047 j59++ 16048 } 16049 i -= j59 16050 copy(dAtA[i:], dAtA60[:j59]) 16051 i = encodeVarintPlan(dAtA, i, uint64(j59)) 16052 i-- 16053 dAtA[i] = 0x2a 16054 } 16055 if len(m.UniqueCols) > 0 { 16056 for iNdEx := len(m.UniqueCols) - 1; iNdEx >= 0; iNdEx-- { 16057 i -= len(m.UniqueCols[iNdEx]) 16058 copy(dAtA[i:], m.UniqueCols[iNdEx]) 16059 i = encodeVarintPlan(dAtA, i, uint64(len(m.UniqueCols[iNdEx]))) 16060 i-- 16061 dAtA[i] = 0x22 16062 } 16063 } 16064 if len(m.UniqueColCheckExpr) > 0 { 16065 for iNdEx := len(m.UniqueColCheckExpr) - 1; iNdEx >= 0; iNdEx-- { 16066 { 16067 size, err := m.UniqueColCheckExpr[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16068 if err != nil { 16069 return 0, err 16070 } 16071 i -= size 16072 i = encodeVarintPlan(dAtA, i, uint64(size)) 16073 } 16074 i-- 16075 dAtA[i] = 0x1a 16076 } 16077 } 16078 if m.InsertColCount != 0 { 16079 i = encodeVarintPlan(dAtA, i, uint64(m.InsertColCount)) 16080 i-- 16081 dAtA[i] = 0x10 16082 } 16083 if len(m.Attrs) > 0 { 16084 for iNdEx := len(m.Attrs) - 1; iNdEx >= 0; iNdEx-- { 16085 i -= len(m.Attrs[iNdEx]) 16086 copy(dAtA[i:], m.Attrs[iNdEx]) 16087 i = encodeVarintPlan(dAtA, i, uint64(len(m.Attrs[iNdEx]))) 16088 i-- 16089 dAtA[i] = 0xa 16090 } 16091 } 16092 return len(dAtA) - i, nil 16093 } 16094 16095 func (m *InsertCtx) Marshal() (dAtA []byte, err error) { 16096 size := m.ProtoSize() 16097 dAtA = make([]byte, size) 16098 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 16099 if err != nil { 16100 return nil, err 16101 } 16102 return dAtA[:n], nil 16103 } 16104 16105 func (m *InsertCtx) MarshalTo(dAtA []byte) (int, error) { 16106 size := m.ProtoSize() 16107 return m.MarshalToSizedBuffer(dAtA[:size]) 16108 } 16109 16110 func (m *InsertCtx) MarshalToSizedBuffer(dAtA []byte) (int, error) { 16111 i := len(dAtA) 16112 _ = i 16113 var l int 16114 _ = l 16115 if m.XXX_unrecognized != nil { 16116 i -= len(m.XXX_unrecognized) 16117 copy(dAtA[i:], m.XXX_unrecognized) 16118 } 16119 if m.PartitionIdx != 0 { 16120 i = encodeVarintPlan(dAtA, i, uint64(m.PartitionIdx)) 16121 i-- 16122 dAtA[i] = 0x38 16123 } 16124 if len(m.PartitionTableNames) > 0 { 16125 for iNdEx := len(m.PartitionTableNames) - 1; iNdEx >= 0; iNdEx-- { 16126 i -= len(m.PartitionTableNames[iNdEx]) 16127 copy(dAtA[i:], m.PartitionTableNames[iNdEx]) 16128 i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionTableNames[iNdEx]))) 16129 i-- 16130 dAtA[i] = 0x32 16131 } 16132 } 16133 if len(m.PartitionTableIds) > 0 { 16134 dAtA62 := make([]byte, len(m.PartitionTableIds)*10) 16135 var j61 int 16136 for _, num := range m.PartitionTableIds { 16137 for num >= 1<<7 { 16138 dAtA62[j61] = uint8(uint64(num)&0x7f | 0x80) 16139 num >>= 7 16140 j61++ 16141 } 16142 dAtA62[j61] = uint8(num) 16143 j61++ 16144 } 16145 i -= j61 16146 copy(dAtA[i:], dAtA62[:j61]) 16147 i = encodeVarintPlan(dAtA, i, uint64(j61)) 16148 i-- 16149 dAtA[i] = 0x2a 16150 } 16151 if m.TableDef != nil { 16152 { 16153 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 16154 if err != nil { 16155 return 0, err 16156 } 16157 i -= size 16158 i = encodeVarintPlan(dAtA, i, uint64(size)) 16159 } 16160 i-- 16161 dAtA[i] = 0x22 16162 } 16163 if m.IsClusterTable { 16164 i-- 16165 if m.IsClusterTable { 16166 dAtA[i] = 1 16167 } else { 16168 dAtA[i] = 0 16169 } 16170 i-- 16171 dAtA[i] = 0x18 16172 } 16173 if m.AddAffectedRows { 16174 i-- 16175 if m.AddAffectedRows { 16176 dAtA[i] = 1 16177 } else { 16178 dAtA[i] = 0 16179 } 16180 i-- 16181 dAtA[i] = 0x10 16182 } 16183 if m.Ref != nil { 16184 { 16185 size, err := m.Ref.MarshalToSizedBuffer(dAtA[:i]) 16186 if err != nil { 16187 return 0, err 16188 } 16189 i -= size 16190 i = encodeVarintPlan(dAtA, i, uint64(size)) 16191 } 16192 i-- 16193 dAtA[i] = 0xa 16194 } 16195 return len(dAtA) - i, nil 16196 } 16197 16198 func (m *ReplaceCtx) Marshal() (dAtA []byte, err error) { 16199 size := m.ProtoSize() 16200 dAtA = make([]byte, size) 16201 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 16202 if err != nil { 16203 return nil, err 16204 } 16205 return dAtA[:n], nil 16206 } 16207 16208 func (m *ReplaceCtx) MarshalTo(dAtA []byte) (int, error) { 16209 size := m.ProtoSize() 16210 return m.MarshalToSizedBuffer(dAtA[:size]) 16211 } 16212 16213 func (m *ReplaceCtx) MarshalToSizedBuffer(dAtA []byte) (int, error) { 16214 i := len(dAtA) 16215 _ = i 16216 var l int 16217 _ = l 16218 if m.XXX_unrecognized != nil { 16219 i -= len(m.XXX_unrecognized) 16220 copy(dAtA[i:], m.XXX_unrecognized) 16221 } 16222 if m.PartitionIdx != 0 { 16223 i = encodeVarintPlan(dAtA, i, uint64(m.PartitionIdx)) 16224 i-- 16225 dAtA[i] = 0x40 16226 } 16227 if len(m.PartitionTableNames) > 0 { 16228 for iNdEx := len(m.PartitionTableNames) - 1; iNdEx >= 0; iNdEx-- { 16229 i -= len(m.PartitionTableNames[iNdEx]) 16230 copy(dAtA[i:], m.PartitionTableNames[iNdEx]) 16231 i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionTableNames[iNdEx]))) 16232 i-- 16233 dAtA[i] = 0x3a 16234 } 16235 } 16236 if len(m.PartitionTableIds) > 0 { 16237 dAtA66 := make([]byte, len(m.PartitionTableIds)*10) 16238 var j65 int 16239 for _, num := range m.PartitionTableIds { 16240 for num >= 1<<7 { 16241 dAtA66[j65] = uint8(uint64(num)&0x7f | 0x80) 16242 num >>= 7 16243 j65++ 16244 } 16245 dAtA66[j65] = uint8(num) 16246 j65++ 16247 } 16248 i -= j65 16249 copy(dAtA[i:], dAtA66[:j65]) 16250 i = encodeVarintPlan(dAtA, i, uint64(j65)) 16251 i-- 16252 dAtA[i] = 0x32 16253 } 16254 if len(m.DeleteCond) > 0 { 16255 i -= len(m.DeleteCond) 16256 copy(dAtA[i:], m.DeleteCond) 16257 i = encodeVarintPlan(dAtA, i, uint64(len(m.DeleteCond))) 16258 i-- 16259 dAtA[i] = 0x2a 16260 } 16261 if m.TableDef != nil { 16262 { 16263 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 16264 if err != nil { 16265 return 0, err 16266 } 16267 i -= size 16268 i = encodeVarintPlan(dAtA, i, uint64(size)) 16269 } 16270 i-- 16271 dAtA[i] = 0x22 16272 } 16273 if m.IsClusterTable { 16274 i-- 16275 if m.IsClusterTable { 16276 dAtA[i] = 1 16277 } else { 16278 dAtA[i] = 0 16279 } 16280 i-- 16281 dAtA[i] = 0x18 16282 } 16283 if m.AddAffectedRows { 16284 i-- 16285 if m.AddAffectedRows { 16286 dAtA[i] = 1 16287 } else { 16288 dAtA[i] = 0 16289 } 16290 i-- 16291 dAtA[i] = 0x10 16292 } 16293 if m.Ref != nil { 16294 { 16295 size, err := m.Ref.MarshalToSizedBuffer(dAtA[:i]) 16296 if err != nil { 16297 return 0, err 16298 } 16299 i -= size 16300 i = encodeVarintPlan(dAtA, i, uint64(size)) 16301 } 16302 i-- 16303 dAtA[i] = 0xa 16304 } 16305 return len(dAtA) - i, nil 16306 } 16307 16308 func (m *AnalyzeInfo) Marshal() (dAtA []byte, err error) { 16309 size := m.ProtoSize() 16310 dAtA = make([]byte, size) 16311 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 16312 if err != nil { 16313 return nil, err 16314 } 16315 return dAtA[:n], nil 16316 } 16317 16318 func (m *AnalyzeInfo) MarshalTo(dAtA []byte) (int, error) { 16319 size := m.ProtoSize() 16320 return m.MarshalToSizedBuffer(dAtA[:size]) 16321 } 16322 16323 func (m *AnalyzeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 16324 i := len(dAtA) 16325 _ = i 16326 var l int 16327 _ = l 16328 if m.XXX_unrecognized != nil { 16329 i -= len(m.XXX_unrecognized) 16330 copy(dAtA[i:], m.XXX_unrecognized) 16331 } 16332 if len(m.TimeConsumedArrayMinor) > 0 { 16333 dAtA70 := make([]byte, len(m.TimeConsumedArrayMinor)*10) 16334 var j69 int 16335 for _, num1 := range m.TimeConsumedArrayMinor { 16336 num := uint64(num1) 16337 for num >= 1<<7 { 16338 dAtA70[j69] = uint8(uint64(num)&0x7f | 0x80) 16339 num >>= 7 16340 j69++ 16341 } 16342 dAtA70[j69] = uint8(num) 16343 j69++ 16344 } 16345 i -= j69 16346 copy(dAtA[i:], dAtA70[:j69]) 16347 i = encodeVarintPlan(dAtA, i, uint64(j69)) 16348 i-- 16349 dAtA[i] = 0x1 16350 i-- 16351 dAtA[i] = 0x82 16352 } 16353 if len(m.TimeConsumedArrayMajor) > 0 { 16354 dAtA72 := make([]byte, len(m.TimeConsumedArrayMajor)*10) 16355 var j71 int 16356 for _, num1 := range m.TimeConsumedArrayMajor { 16357 num := uint64(num1) 16358 for num >= 1<<7 { 16359 dAtA72[j71] = uint8(uint64(num)&0x7f | 0x80) 16360 num >>= 7 16361 j71++ 16362 } 16363 dAtA72[j71] = uint8(num) 16364 j71++ 16365 } 16366 i -= j71 16367 copy(dAtA[i:], dAtA72[:j71]) 16368 i = encodeVarintPlan(dAtA, i, uint64(j71)) 16369 i-- 16370 dAtA[i] = 0x7a 16371 } 16372 if m.InsertTime != 0 { 16373 i = encodeVarintPlan(dAtA, i, uint64(m.InsertTime)) 16374 i-- 16375 dAtA[i] = 0x70 16376 } 16377 if m.ScanTime != 0 { 16378 i = encodeVarintPlan(dAtA, i, uint64(m.ScanTime)) 16379 i-- 16380 dAtA[i] = 0x68 16381 } 16382 if m.NetworkIO != 0 { 16383 i = encodeVarintPlan(dAtA, i, uint64(m.NetworkIO)) 16384 i-- 16385 dAtA[i] = 0x60 16386 } 16387 if m.S3IOOutputCount != 0 { 16388 i = encodeVarintPlan(dAtA, i, uint64(m.S3IOOutputCount)) 16389 i-- 16390 dAtA[i] = 0x58 16391 } 16392 if m.S3IOInputCount != 0 { 16393 i = encodeVarintPlan(dAtA, i, uint64(m.S3IOInputCount)) 16394 i-- 16395 dAtA[i] = 0x50 16396 } 16397 if m.S3IOByte != 0 { 16398 i = encodeVarintPlan(dAtA, i, uint64(m.S3IOByte)) 16399 i-- 16400 dAtA[i] = 0x48 16401 } 16402 if m.DiskIO != 0 { 16403 i = encodeVarintPlan(dAtA, i, uint64(m.DiskIO)) 16404 i-- 16405 dAtA[i] = 0x40 16406 } 16407 if m.WaitTimeConsumed != 0 { 16408 i = encodeVarintPlan(dAtA, i, uint64(m.WaitTimeConsumed)) 16409 i-- 16410 dAtA[i] = 0x38 16411 } 16412 if m.MemorySize != 0 { 16413 i = encodeVarintPlan(dAtA, i, uint64(m.MemorySize)) 16414 i-- 16415 dAtA[i] = 0x30 16416 } 16417 if m.TimeConsumed != 0 { 16418 i = encodeVarintPlan(dAtA, i, uint64(m.TimeConsumed)) 16419 i-- 16420 dAtA[i] = 0x28 16421 } 16422 if m.OutputSize != 0 { 16423 i = encodeVarintPlan(dAtA, i, uint64(m.OutputSize)) 16424 i-- 16425 dAtA[i] = 0x20 16426 } 16427 if m.InputSize != 0 { 16428 i = encodeVarintPlan(dAtA, i, uint64(m.InputSize)) 16429 i-- 16430 dAtA[i] = 0x18 16431 } 16432 if m.OutputRows != 0 { 16433 i = encodeVarintPlan(dAtA, i, uint64(m.OutputRows)) 16434 i-- 16435 dAtA[i] = 0x10 16436 } 16437 if m.InputRows != 0 { 16438 i = encodeVarintPlan(dAtA, i, uint64(m.InputRows)) 16439 i-- 16440 dAtA[i] = 0x8 16441 } 16442 return len(dAtA) - i, nil 16443 } 16444 16445 func (m *PartitionPrune) Marshal() (dAtA []byte, err error) { 16446 size := m.ProtoSize() 16447 dAtA = make([]byte, size) 16448 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 16449 if err != nil { 16450 return nil, err 16451 } 16452 return dAtA[:n], nil 16453 } 16454 16455 func (m *PartitionPrune) MarshalTo(dAtA []byte) (int, error) { 16456 size := m.ProtoSize() 16457 return m.MarshalToSizedBuffer(dAtA[:size]) 16458 } 16459 16460 func (m *PartitionPrune) MarshalToSizedBuffer(dAtA []byte) (int, error) { 16461 i := len(dAtA) 16462 _ = i 16463 var l int 16464 _ = l 16465 if m.XXX_unrecognized != nil { 16466 i -= len(m.XXX_unrecognized) 16467 copy(dAtA[i:], m.XXX_unrecognized) 16468 } 16469 if len(m.SelectedPartitions) > 0 { 16470 for iNdEx := len(m.SelectedPartitions) - 1; iNdEx >= 0; iNdEx-- { 16471 { 16472 size, err := m.SelectedPartitions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16473 if err != nil { 16474 return 0, err 16475 } 16476 i -= size 16477 i = encodeVarintPlan(dAtA, i, uint64(size)) 16478 } 16479 i-- 16480 dAtA[i] = 0x12 16481 } 16482 } 16483 if m.IsPruned { 16484 i-- 16485 if m.IsPruned { 16486 dAtA[i] = 1 16487 } else { 16488 dAtA[i] = 0 16489 } 16490 i-- 16491 dAtA[i] = 0x8 16492 } 16493 return len(dAtA) - i, nil 16494 } 16495 16496 func (m *OriginTableMessageForFuzzy) Marshal() (dAtA []byte, err error) { 16497 size := m.ProtoSize() 16498 dAtA = make([]byte, size) 16499 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 16500 if err != nil { 16501 return nil, err 16502 } 16503 return dAtA[:n], nil 16504 } 16505 16506 func (m *OriginTableMessageForFuzzy) MarshalTo(dAtA []byte) (int, error) { 16507 size := m.ProtoSize() 16508 return m.MarshalToSizedBuffer(dAtA[:size]) 16509 } 16510 16511 func (m *OriginTableMessageForFuzzy) MarshalToSizedBuffer(dAtA []byte) (int, error) { 16512 i := len(dAtA) 16513 _ = i 16514 var l int 16515 _ = l 16516 if m.XXX_unrecognized != nil { 16517 i -= len(m.XXX_unrecognized) 16518 copy(dAtA[i:], m.XXX_unrecognized) 16519 } 16520 if len(m.ParentUniqueCols) > 0 { 16521 for iNdEx := len(m.ParentUniqueCols) - 1; iNdEx >= 0; iNdEx-- { 16522 { 16523 size, err := m.ParentUniqueCols[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16524 if err != nil { 16525 return 0, err 16526 } 16527 i -= size 16528 i = encodeVarintPlan(dAtA, i, uint64(size)) 16529 } 16530 i-- 16531 dAtA[i] = 0x12 16532 } 16533 } 16534 if len(m.ParentTableName) > 0 { 16535 i -= len(m.ParentTableName) 16536 copy(dAtA[i:], m.ParentTableName) 16537 i = encodeVarintPlan(dAtA, i, uint64(len(m.ParentTableName))) 16538 i-- 16539 dAtA[i] = 0xa 16540 } 16541 return len(dAtA) - i, nil 16542 } 16543 16544 func (m *Node) Marshal() (dAtA []byte, err error) { 16545 size := m.ProtoSize() 16546 dAtA = make([]byte, size) 16547 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 16548 if err != nil { 16549 return nil, err 16550 } 16551 return dAtA[:n], nil 16552 } 16553 16554 func (m *Node) MarshalTo(dAtA []byte) (int, error) { 16555 size := m.ProtoSize() 16556 return m.MarshalToSizedBuffer(dAtA[:size]) 16557 } 16558 16559 func (m *Node) MarshalToSizedBuffer(dAtA []byte) (int, error) { 16560 i := len(dAtA) 16561 _ = i 16562 var l int 16563 _ = l 16564 if m.XXX_unrecognized != nil { 16565 i -= len(m.XXX_unrecognized) 16566 copy(dAtA[i:], m.XXX_unrecognized) 16567 } 16568 if m.ScanSnapshot != nil { 16569 { 16570 size, err := m.ScanSnapshot.MarshalToSizedBuffer(dAtA[:i]) 16571 if err != nil { 16572 return 0, err 16573 } 16574 i -= size 16575 i = encodeVarintPlan(dAtA, i, uint64(size)) 16576 } 16577 i-- 16578 dAtA[i] = 0x3 16579 i-- 16580 dAtA[i] = 0xca 16581 } 16582 if len(m.RecvMsgList) > 0 { 16583 for iNdEx := len(m.RecvMsgList) - 1; iNdEx >= 0; iNdEx-- { 16584 { 16585 size, err := m.RecvMsgList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16586 if err != nil { 16587 return 0, err 16588 } 16589 i -= size 16590 i = encodeVarintPlan(dAtA, i, uint64(size)) 16591 } 16592 i-- 16593 dAtA[i] = 0x3 16594 i-- 16595 dAtA[i] = 0xc2 16596 } 16597 } 16598 if len(m.SendMsgList) > 0 { 16599 for iNdEx := len(m.SendMsgList) - 1; iNdEx >= 0; iNdEx-- { 16600 { 16601 size, err := m.SendMsgList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16602 if err != nil { 16603 return 0, err 16604 } 16605 i -= size 16606 i = encodeVarintPlan(dAtA, i, uint64(size)) 16607 } 16608 i-- 16609 dAtA[i] = 0x3 16610 i-- 16611 dAtA[i] = 0xba 16612 } 16613 } 16614 if m.Fuzzymessage != nil { 16615 { 16616 size, err := m.Fuzzymessage.MarshalToSizedBuffer(dAtA[:i]) 16617 if err != nil { 16618 return 0, err 16619 } 16620 i -= size 16621 i = encodeVarintPlan(dAtA, i, uint64(size)) 16622 } 16623 i-- 16624 dAtA[i] = 0x3 16625 i-- 16626 dAtA[i] = 0xb2 16627 } 16628 if len(m.OnUpdateExprs) > 0 { 16629 for iNdEx := len(m.OnUpdateExprs) - 1; iNdEx >= 0; iNdEx-- { 16630 { 16631 size, err := m.OnUpdateExprs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16632 if err != nil { 16633 return 0, err 16634 } 16635 i -= size 16636 i = encodeVarintPlan(dAtA, i, uint64(size)) 16637 } 16638 i-- 16639 dAtA[i] = 0x3 16640 i-- 16641 dAtA[i] = 0xaa 16642 } 16643 } 16644 if m.WindowIdx != 0 { 16645 i = encodeVarintPlan(dAtA, i, uint64(m.WindowIdx)) 16646 i-- 16647 dAtA[i] = 0x3 16648 i-- 16649 dAtA[i] = 0xa0 16650 } 16651 if m.SampleFunc != nil { 16652 { 16653 size, err := m.SampleFunc.MarshalToSizedBuffer(dAtA[:i]) 16654 if err != nil { 16655 return 0, err 16656 } 16657 i -= size 16658 i = encodeVarintPlan(dAtA, i, uint64(size)) 16659 } 16660 i-- 16661 dAtA[i] = 0x3 16662 i-- 16663 dAtA[i] = 0x9a 16664 } 16665 if len(m.FillVal) > 0 { 16666 for iNdEx := len(m.FillVal) - 1; iNdEx >= 0; iNdEx-- { 16667 { 16668 size, err := m.FillVal[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16669 if err != nil { 16670 return 0, err 16671 } 16672 i -= size 16673 i = encodeVarintPlan(dAtA, i, uint64(size)) 16674 } 16675 i-- 16676 dAtA[i] = 0x3 16677 i-- 16678 dAtA[i] = 0x92 16679 } 16680 } 16681 if m.FillType != 0 { 16682 i = encodeVarintPlan(dAtA, i, uint64(m.FillType)) 16683 i-- 16684 dAtA[i] = 0x3 16685 i-- 16686 dAtA[i] = 0x88 16687 } 16688 if m.Sliding != nil { 16689 { 16690 size, err := m.Sliding.MarshalToSizedBuffer(dAtA[:i]) 16691 if err != nil { 16692 return 0, err 16693 } 16694 i -= size 16695 i = encodeVarintPlan(dAtA, i, uint64(size)) 16696 } 16697 i-- 16698 dAtA[i] = 0x3 16699 i-- 16700 dAtA[i] = 0x82 16701 } 16702 if m.Interval != nil { 16703 { 16704 size, err := m.Interval.MarshalToSizedBuffer(dAtA[:i]) 16705 if err != nil { 16706 return 0, err 16707 } 16708 i -= size 16709 i = encodeVarintPlan(dAtA, i, uint64(size)) 16710 } 16711 i-- 16712 dAtA[i] = 0x2 16713 i-- 16714 dAtA[i] = 0xfa 16715 } 16716 if m.PreInsertSkCtx != nil { 16717 { 16718 size, err := m.PreInsertSkCtx.MarshalToSizedBuffer(dAtA[:i]) 16719 if err != nil { 16720 return 0, err 16721 } 16722 i -= size 16723 i = encodeVarintPlan(dAtA, i, uint64(size)) 16724 } 16725 i-- 16726 dAtA[i] = 0x2 16727 i-- 16728 dAtA[i] = 0xf2 16729 } 16730 if m.PartitionPrune != nil { 16731 { 16732 size, err := m.PartitionPrune.MarshalToSizedBuffer(dAtA[:i]) 16733 if err != nil { 16734 return 0, err 16735 } 16736 i -= size 16737 i = encodeVarintPlan(dAtA, i, uint64(size)) 16738 } 16739 i-- 16740 dAtA[i] = 0x2 16741 i-- 16742 dAtA[i] = 0xea 16743 } 16744 if m.ExternScan != nil { 16745 { 16746 size, err := m.ExternScan.MarshalToSizedBuffer(dAtA[:i]) 16747 if err != nil { 16748 return 0, err 16749 } 16750 i -= size 16751 i = encodeVarintPlan(dAtA, i, uint64(size)) 16752 } 16753 i-- 16754 dAtA[i] = 0x2 16755 i-- 16756 dAtA[i] = 0xe2 16757 } 16758 if m.RecursiveSink { 16759 i-- 16760 if m.RecursiveSink { 16761 dAtA[i] = 1 16762 } else { 16763 dAtA[i] = 0 16764 } 16765 i-- 16766 dAtA[i] = 0x2 16767 i-- 16768 dAtA[i] = 0xd8 16769 } 16770 if len(m.Uuid) > 0 { 16771 i -= len(m.Uuid) 16772 copy(dAtA[i:], m.Uuid) 16773 i = encodeVarintPlan(dAtA, i, uint64(len(m.Uuid))) 16774 i-- 16775 dAtA[i] = 0x2 16776 i-- 16777 dAtA[i] = 0xd2 16778 } 16779 if len(m.RuntimeFilterBuildList) > 0 { 16780 for iNdEx := len(m.RuntimeFilterBuildList) - 1; iNdEx >= 0; iNdEx-- { 16781 { 16782 size, err := m.RuntimeFilterBuildList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16783 if err != nil { 16784 return 0, err 16785 } 16786 i -= size 16787 i = encodeVarintPlan(dAtA, i, uint64(size)) 16788 } 16789 i-- 16790 dAtA[i] = 0x2 16791 i-- 16792 dAtA[i] = 0xca 16793 } 16794 } 16795 if len(m.RuntimeFilterProbeList) > 0 { 16796 for iNdEx := len(m.RuntimeFilterProbeList) - 1; iNdEx >= 0; iNdEx-- { 16797 { 16798 size, err := m.RuntimeFilterProbeList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16799 if err != nil { 16800 return 0, err 16801 } 16802 i -= size 16803 i = encodeVarintPlan(dAtA, i, uint64(size)) 16804 } 16805 i-- 16806 dAtA[i] = 0x2 16807 i-- 16808 dAtA[i] = 0xc2 16809 } 16810 } 16811 if len(m.BlockFilterList) > 0 { 16812 for iNdEx := len(m.BlockFilterList) - 1; iNdEx >= 0; iNdEx-- { 16813 { 16814 size, err := m.BlockFilterList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16815 if err != nil { 16816 return 0, err 16817 } 16818 i -= size 16819 i = encodeVarintPlan(dAtA, i, uint64(size)) 16820 } 16821 i-- 16822 dAtA[i] = 0x2 16823 i-- 16824 dAtA[i] = 0xba 16825 } 16826 } 16827 if len(m.LockTargets) > 0 { 16828 for iNdEx := len(m.LockTargets) - 1; iNdEx >= 0; iNdEx-- { 16829 { 16830 size, err := m.LockTargets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16831 if err != nil { 16832 return 0, err 16833 } 16834 i -= size 16835 i = encodeVarintPlan(dAtA, i, uint64(size)) 16836 } 16837 i-- 16838 dAtA[i] = 0x2 16839 i-- 16840 dAtA[i] = 0xb2 16841 } 16842 } 16843 if m.IsEnd { 16844 i-- 16845 if m.IsEnd { 16846 dAtA[i] = 1 16847 } else { 16848 dAtA[i] = 0 16849 } 16850 i-- 16851 dAtA[i] = 0x2 16852 i-- 16853 dAtA[i] = 0xa8 16854 } 16855 if m.OnDuplicateKey != nil { 16856 { 16857 size, err := m.OnDuplicateKey.MarshalToSizedBuffer(dAtA[:i]) 16858 if err != nil { 16859 return 0, err 16860 } 16861 i -= size 16862 i = encodeVarintPlan(dAtA, i, uint64(size)) 16863 } 16864 i-- 16865 dAtA[i] = 0x2 16866 i-- 16867 dAtA[i] = 0xa2 16868 } 16869 if m.PreInsertUkCtx != nil { 16870 { 16871 size, err := m.PreInsertUkCtx.MarshalToSizedBuffer(dAtA[:i]) 16872 if err != nil { 16873 return 0, err 16874 } 16875 i -= size 16876 i = encodeVarintPlan(dAtA, i, uint64(size)) 16877 } 16878 i-- 16879 dAtA[i] = 0x2 16880 i-- 16881 dAtA[i] = 0x9a 16882 } 16883 if m.PreInsertCtx != nil { 16884 { 16885 size, err := m.PreInsertCtx.MarshalToSizedBuffer(dAtA[:i]) 16886 if err != nil { 16887 return 0, err 16888 } 16889 i -= size 16890 i = encodeVarintPlan(dAtA, i, uint64(size)) 16891 } 16892 i-- 16893 dAtA[i] = 0x2 16894 i-- 16895 dAtA[i] = 0x92 16896 } 16897 if m.PreDeleteCtx != nil { 16898 { 16899 size, err := m.PreDeleteCtx.MarshalToSizedBuffer(dAtA[:i]) 16900 if err != nil { 16901 return 0, err 16902 } 16903 i -= size 16904 i = encodeVarintPlan(dAtA, i, uint64(size)) 16905 } 16906 i-- 16907 dAtA[i] = 0x2 16908 i-- 16909 dAtA[i] = 0x8a 16910 } 16911 if len(m.SourceStep) > 0 { 16912 dAtA86 := make([]byte, len(m.SourceStep)*10) 16913 var j85 int 16914 for _, num1 := range m.SourceStep { 16915 num := uint64(num1) 16916 for num >= 1<<7 { 16917 dAtA86[j85] = uint8(uint64(num)&0x7f | 0x80) 16918 num >>= 7 16919 j85++ 16920 } 16921 dAtA86[j85] = uint8(num) 16922 j85++ 16923 } 16924 i -= j85 16925 copy(dAtA[i:], dAtA86[:j85]) 16926 i = encodeVarintPlan(dAtA, i, uint64(j85)) 16927 i-- 16928 dAtA[i] = 0x2 16929 i-- 16930 dAtA[i] = 0x82 16931 } 16932 if m.ReplaceCtx != nil { 16933 { 16934 size, err := m.ReplaceCtx.MarshalToSizedBuffer(dAtA[:i]) 16935 if err != nil { 16936 return 0, err 16937 } 16938 i -= size 16939 i = encodeVarintPlan(dAtA, i, uint64(size)) 16940 } 16941 i-- 16942 dAtA[i] = 0x1 16943 i-- 16944 dAtA[i] = 0xfa 16945 } 16946 if m.InsertCtx != nil { 16947 { 16948 size, err := m.InsertCtx.MarshalToSizedBuffer(dAtA[:i]) 16949 if err != nil { 16950 return 0, err 16951 } 16952 i -= size 16953 i = encodeVarintPlan(dAtA, i, uint64(size)) 16954 } 16955 i-- 16956 dAtA[i] = 0x1 16957 i-- 16958 dAtA[i] = 0xf2 16959 } 16960 if m.NotCacheable { 16961 i-- 16962 if m.NotCacheable { 16963 dAtA[i] = 1 16964 } else { 16965 dAtA[i] = 0 16966 } 16967 i-- 16968 dAtA[i] = 0x1 16969 i-- 16970 dAtA[i] = 0xe8 16971 } 16972 if m.ClusterTable != nil { 16973 { 16974 size, err := m.ClusterTable.MarshalToSizedBuffer(dAtA[:i]) 16975 if err != nil { 16976 return 0, err 16977 } 16978 i -= size 16979 i = encodeVarintPlan(dAtA, i, uint64(size)) 16980 } 16981 i-- 16982 dAtA[i] = 0x1 16983 i-- 16984 dAtA[i] = 0xe2 16985 } 16986 if len(m.TblFuncExprList) > 0 { 16987 for iNdEx := len(m.TblFuncExprList) - 1; iNdEx >= 0; iNdEx-- { 16988 { 16989 size, err := m.TblFuncExprList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 16990 if err != nil { 16991 return 0, err 16992 } 16993 i -= size 16994 i = encodeVarintPlan(dAtA, i, uint64(size)) 16995 } 16996 i-- 16997 dAtA[i] = 0x1 16998 i-- 16999 dAtA[i] = 0xd2 17000 } 17001 } 17002 if m.AnalyzeInfo != nil { 17003 { 17004 size, err := m.AnalyzeInfo.MarshalToSizedBuffer(dAtA[:i]) 17005 if err != nil { 17006 return 0, err 17007 } 17008 i -= size 17009 i = encodeVarintPlan(dAtA, i, uint64(size)) 17010 } 17011 i-- 17012 dAtA[i] = 0x1 17013 i-- 17014 dAtA[i] = 0xca 17015 } 17016 if len(m.BindingTags) > 0 { 17017 dAtA92 := make([]byte, len(m.BindingTags)*10) 17018 var j91 int 17019 for _, num1 := range m.BindingTags { 17020 num := uint64(num1) 17021 for num >= 1<<7 { 17022 dAtA92[j91] = uint8(uint64(num)&0x7f | 0x80) 17023 num >>= 7 17024 j91++ 17025 } 17026 dAtA92[j91] = uint8(num) 17027 j91++ 17028 } 17029 i -= j91 17030 copy(dAtA[i:], dAtA92[:j91]) 17031 i = encodeVarintPlan(dAtA, i, uint64(j91)) 17032 i-- 17033 dAtA[i] = 0x1 17034 i-- 17035 dAtA[i] = 0xc2 17036 } 17037 if m.DeleteCtx != nil { 17038 { 17039 size, err := m.DeleteCtx.MarshalToSizedBuffer(dAtA[:i]) 17040 if err != nil { 17041 return 0, err 17042 } 17043 i -= size 17044 i = encodeVarintPlan(dAtA, i, uint64(size)) 17045 } 17046 i-- 17047 dAtA[i] = 0x1 17048 i-- 17049 dAtA[i] = 0xba 17050 } 17051 if len(m.ExtraOptions) > 0 { 17052 i -= len(m.ExtraOptions) 17053 copy(dAtA[i:], m.ExtraOptions) 17054 i = encodeVarintPlan(dAtA, i, uint64(len(m.ExtraOptions))) 17055 i-- 17056 dAtA[i] = 0x1 17057 i-- 17058 dAtA[i] = 0xb2 17059 } 17060 if m.RowsetData != nil { 17061 { 17062 size, err := m.RowsetData.MarshalToSizedBuffer(dAtA[:i]) 17063 if err != nil { 17064 return 0, err 17065 } 17066 i -= size 17067 i = encodeVarintPlan(dAtA, i, uint64(size)) 17068 } 17069 i-- 17070 dAtA[i] = 0x1 17071 i-- 17072 dAtA[i] = 0xa2 17073 } 17074 if m.ParentObjRef != nil { 17075 { 17076 size, err := m.ParentObjRef.MarshalToSizedBuffer(dAtA[:i]) 17077 if err != nil { 17078 return 0, err 17079 } 17080 i -= size 17081 i = encodeVarintPlan(dAtA, i, uint64(size)) 17082 } 17083 i-- 17084 dAtA[i] = 0x1 17085 i-- 17086 dAtA[i] = 0x9a 17087 } 17088 if m.ObjRef != nil { 17089 { 17090 size, err := m.ObjRef.MarshalToSizedBuffer(dAtA[:i]) 17091 if err != nil { 17092 return 0, err 17093 } 17094 i -= size 17095 i = encodeVarintPlan(dAtA, i, uint64(size)) 17096 } 17097 i-- 17098 dAtA[i] = 0x1 17099 i-- 17100 dAtA[i] = 0x92 17101 } 17102 if m.TableDef != nil { 17103 { 17104 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 17105 if err != nil { 17106 return 0, err 17107 } 17108 i -= size 17109 i = encodeVarintPlan(dAtA, i, uint64(size)) 17110 } 17111 i-- 17112 dAtA[i] = 0x1 17113 i-- 17114 dAtA[i] = 0x8a 17115 } 17116 if m.Offset != nil { 17117 { 17118 size, err := m.Offset.MarshalToSizedBuffer(dAtA[:i]) 17119 if err != nil { 17120 return 0, err 17121 } 17122 i -= size 17123 i = encodeVarintPlan(dAtA, i, uint64(size)) 17124 } 17125 i-- 17126 dAtA[i] = 0x1 17127 i-- 17128 dAtA[i] = 0x82 17129 } 17130 if m.Limit != nil { 17131 { 17132 size, err := m.Limit.MarshalToSizedBuffer(dAtA[:i]) 17133 if err != nil { 17134 return 0, err 17135 } 17136 i -= size 17137 i = encodeVarintPlan(dAtA, i, uint64(size)) 17138 } 17139 i-- 17140 dAtA[i] = 0x7a 17141 } 17142 if len(m.OrderBy) > 0 { 17143 for iNdEx := len(m.OrderBy) - 1; iNdEx >= 0; iNdEx-- { 17144 { 17145 size, err := m.OrderBy[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 17146 if err != nil { 17147 return 0, err 17148 } 17149 i -= size 17150 i = encodeVarintPlan(dAtA, i, uint64(size)) 17151 } 17152 i-- 17153 dAtA[i] = 0x72 17154 } 17155 } 17156 if len(m.WinSpecList) > 0 { 17157 for iNdEx := len(m.WinSpecList) - 1; iNdEx >= 0; iNdEx-- { 17158 { 17159 size, err := m.WinSpecList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 17160 if err != nil { 17161 return 0, err 17162 } 17163 i -= size 17164 i = encodeVarintPlan(dAtA, i, uint64(size)) 17165 } 17166 i-- 17167 dAtA[i] = 0x6a 17168 } 17169 } 17170 if len(m.AggList) > 0 { 17171 for iNdEx := len(m.AggList) - 1; iNdEx >= 0; iNdEx-- { 17172 { 17173 size, err := m.AggList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 17174 if err != nil { 17175 return 0, err 17176 } 17177 i -= size 17178 i = encodeVarintPlan(dAtA, i, uint64(size)) 17179 } 17180 i-- 17181 dAtA[i] = 0x62 17182 } 17183 } 17184 if len(m.GroupingSet) > 0 { 17185 for iNdEx := len(m.GroupingSet) - 1; iNdEx >= 0; iNdEx-- { 17186 { 17187 size, err := m.GroupingSet[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 17188 if err != nil { 17189 return 0, err 17190 } 17191 i -= size 17192 i = encodeVarintPlan(dAtA, i, uint64(size)) 17193 } 17194 i-- 17195 dAtA[i] = 0x5a 17196 } 17197 } 17198 if len(m.GroupBy) > 0 { 17199 for iNdEx := len(m.GroupBy) - 1; iNdEx >= 0; iNdEx-- { 17200 { 17201 size, err := m.GroupBy[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 17202 if err != nil { 17203 return 0, err 17204 } 17205 i -= size 17206 i = encodeVarintPlan(dAtA, i, uint64(size)) 17207 } 17208 i-- 17209 dAtA[i] = 0x52 17210 } 17211 } 17212 if len(m.FilterList) > 0 { 17213 for iNdEx := len(m.FilterList) - 1; iNdEx >= 0; iNdEx-- { 17214 { 17215 size, err := m.FilterList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 17216 if err != nil { 17217 return 0, err 17218 } 17219 i -= size 17220 i = encodeVarintPlan(dAtA, i, uint64(size)) 17221 } 17222 i-- 17223 dAtA[i] = 0x4a 17224 } 17225 } 17226 if m.BuildOnLeft { 17227 i-- 17228 if m.BuildOnLeft { 17229 dAtA[i] = 1 17230 } else { 17231 dAtA[i] = 0 17232 } 17233 i-- 17234 dAtA[i] = 0x40 17235 } 17236 if len(m.OnList) > 0 { 17237 for iNdEx := len(m.OnList) - 1; iNdEx >= 0; iNdEx-- { 17238 { 17239 size, err := m.OnList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 17240 if err != nil { 17241 return 0, err 17242 } 17243 i -= size 17244 i = encodeVarintPlan(dAtA, i, uint64(size)) 17245 } 17246 i-- 17247 dAtA[i] = 0x3a 17248 } 17249 } 17250 if m.JoinType != 0 { 17251 i = encodeVarintPlan(dAtA, i, uint64(m.JoinType)) 17252 i-- 17253 dAtA[i] = 0x30 17254 } 17255 if len(m.ProjectList) > 0 { 17256 for iNdEx := len(m.ProjectList) - 1; iNdEx >= 0; iNdEx-- { 17257 { 17258 size, err := m.ProjectList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 17259 if err != nil { 17260 return 0, err 17261 } 17262 i -= size 17263 i = encodeVarintPlan(dAtA, i, uint64(size)) 17264 } 17265 i-- 17266 dAtA[i] = 0x2a 17267 } 17268 } 17269 if len(m.Children) > 0 { 17270 dAtA101 := make([]byte, len(m.Children)*10) 17271 var j100 int 17272 for _, num1 := range m.Children { 17273 num := uint64(num1) 17274 for num >= 1<<7 { 17275 dAtA101[j100] = uint8(uint64(num)&0x7f | 0x80) 17276 num >>= 7 17277 j100++ 17278 } 17279 dAtA101[j100] = uint8(num) 17280 j100++ 17281 } 17282 i -= j100 17283 copy(dAtA[i:], dAtA101[:j100]) 17284 i = encodeVarintPlan(dAtA, i, uint64(j100)) 17285 i-- 17286 dAtA[i] = 0x22 17287 } 17288 if m.Stats != nil { 17289 { 17290 size, err := m.Stats.MarshalToSizedBuffer(dAtA[:i]) 17291 if err != nil { 17292 return 0, err 17293 } 17294 i -= size 17295 i = encodeVarintPlan(dAtA, i, uint64(size)) 17296 } 17297 i-- 17298 dAtA[i] = 0x1a 17299 } 17300 if m.NodeId != 0 { 17301 i = encodeVarintPlan(dAtA, i, uint64(m.NodeId)) 17302 i-- 17303 dAtA[i] = 0x10 17304 } 17305 if m.NodeType != 0 { 17306 i = encodeVarintPlan(dAtA, i, uint64(m.NodeType)) 17307 i-- 17308 dAtA[i] = 0x8 17309 } 17310 return len(dAtA) - i, nil 17311 } 17312 17313 func (m *Snapshot) Marshal() (dAtA []byte, err error) { 17314 size := m.ProtoSize() 17315 dAtA = make([]byte, size) 17316 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 17317 if err != nil { 17318 return nil, err 17319 } 17320 return dAtA[:n], nil 17321 } 17322 17323 func (m *Snapshot) MarshalTo(dAtA []byte) (int, error) { 17324 size := m.ProtoSize() 17325 return m.MarshalToSizedBuffer(dAtA[:size]) 17326 } 17327 17328 func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) { 17329 i := len(dAtA) 17330 _ = i 17331 var l int 17332 _ = l 17333 if m.XXX_unrecognized != nil { 17334 i -= len(m.XXX_unrecognized) 17335 copy(dAtA[i:], m.XXX_unrecognized) 17336 } 17337 if m.Tenant != nil { 17338 { 17339 size, err := m.Tenant.MarshalToSizedBuffer(dAtA[:i]) 17340 if err != nil { 17341 return 0, err 17342 } 17343 i -= size 17344 i = encodeVarintPlan(dAtA, i, uint64(size)) 17345 } 17346 i-- 17347 dAtA[i] = 0x12 17348 } 17349 if m.TS != nil { 17350 { 17351 size, err := m.TS.MarshalToSizedBuffer(dAtA[:i]) 17352 if err != nil { 17353 return 0, err 17354 } 17355 i -= size 17356 i = encodeVarintPlan(dAtA, i, uint64(size)) 17357 } 17358 i-- 17359 dAtA[i] = 0xa 17360 } 17361 return len(dAtA) - i, nil 17362 } 17363 17364 func (m *SnapshotTenant) Marshal() (dAtA []byte, err error) { 17365 size := m.ProtoSize() 17366 dAtA = make([]byte, size) 17367 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 17368 if err != nil { 17369 return nil, err 17370 } 17371 return dAtA[:n], nil 17372 } 17373 17374 func (m *SnapshotTenant) MarshalTo(dAtA []byte) (int, error) { 17375 size := m.ProtoSize() 17376 return m.MarshalToSizedBuffer(dAtA[:size]) 17377 } 17378 17379 func (m *SnapshotTenant) MarshalToSizedBuffer(dAtA []byte) (int, error) { 17380 i := len(dAtA) 17381 _ = i 17382 var l int 17383 _ = l 17384 if m.XXX_unrecognized != nil { 17385 i -= len(m.XXX_unrecognized) 17386 copy(dAtA[i:], m.XXX_unrecognized) 17387 } 17388 if m.TenantID != 0 { 17389 i = encodeVarintPlan(dAtA, i, uint64(m.TenantID)) 17390 i-- 17391 dAtA[i] = 0x10 17392 } 17393 if len(m.TenantName) > 0 { 17394 i -= len(m.TenantName) 17395 copy(dAtA[i:], m.TenantName) 17396 i = encodeVarintPlan(dAtA, i, uint64(len(m.TenantName))) 17397 i-- 17398 dAtA[i] = 0xa 17399 } 17400 return len(dAtA) - i, nil 17401 } 17402 17403 func (m *ExternScan) Marshal() (dAtA []byte, err error) { 17404 size := m.ProtoSize() 17405 dAtA = make([]byte, size) 17406 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 17407 if err != nil { 17408 return nil, err 17409 } 17410 return dAtA[:n], nil 17411 } 17412 17413 func (m *ExternScan) MarshalTo(dAtA []byte) (int, error) { 17414 size := m.ProtoSize() 17415 return m.MarshalToSizedBuffer(dAtA[:size]) 17416 } 17417 17418 func (m *ExternScan) MarshalToSizedBuffer(dAtA []byte) (int, error) { 17419 i := len(dAtA) 17420 _ = i 17421 var l int 17422 _ = l 17423 if m.XXX_unrecognized != nil { 17424 i -= len(m.XXX_unrecognized) 17425 copy(dAtA[i:], m.XXX_unrecognized) 17426 } 17427 if len(m.EscapedBy) > 0 { 17428 i -= len(m.EscapedBy) 17429 copy(dAtA[i:], m.EscapedBy) 17430 i = encodeVarintPlan(dAtA, i, uint64(len(m.EscapedBy))) 17431 i-- 17432 dAtA[i] = 0x42 17433 } 17434 if len(m.JsonType) > 0 { 17435 i -= len(m.JsonType) 17436 copy(dAtA[i:], m.JsonType) 17437 i = encodeVarintPlan(dAtA, i, uint64(len(m.JsonType))) 17438 i-- 17439 dAtA[i] = 0x3a 17440 } 17441 if len(m.Terminated) > 0 { 17442 i -= len(m.Terminated) 17443 copy(dAtA[i:], m.Terminated) 17444 i = encodeVarintPlan(dAtA, i, uint64(len(m.Terminated))) 17445 i-- 17446 dAtA[i] = 0x32 17447 } 17448 if len(m.EnclosedBy) > 0 { 17449 i -= len(m.EnclosedBy) 17450 copy(dAtA[i:], m.EnclosedBy) 17451 i = encodeVarintPlan(dAtA, i, uint64(len(m.EnclosedBy))) 17452 i-- 17453 dAtA[i] = 0x2a 17454 } 17455 if m.IgnoredLines != 0 { 17456 i = encodeVarintPlan(dAtA, i, uint64(m.IgnoredLines)) 17457 i-- 17458 dAtA[i] = 0x20 17459 } 17460 if len(m.Format) > 0 { 17461 i -= len(m.Format) 17462 copy(dAtA[i:], m.Format) 17463 i = encodeVarintPlan(dAtA, i, uint64(len(m.Format))) 17464 i-- 17465 dAtA[i] = 0x1a 17466 } 17467 if len(m.Data) > 0 { 17468 i -= len(m.Data) 17469 copy(dAtA[i:], m.Data) 17470 i = encodeVarintPlan(dAtA, i, uint64(len(m.Data))) 17471 i-- 17472 dAtA[i] = 0x12 17473 } 17474 if m.Type != 0 { 17475 i = encodeVarintPlan(dAtA, i, uint64(m.Type)) 17476 i-- 17477 dAtA[i] = 0x8 17478 } 17479 return len(dAtA) - i, nil 17480 } 17481 17482 func (m *LockTarget) Marshal() (dAtA []byte, err error) { 17483 size := m.ProtoSize() 17484 dAtA = make([]byte, size) 17485 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 17486 if err != nil { 17487 return nil, err 17488 } 17489 return dAtA[:n], nil 17490 } 17491 17492 func (m *LockTarget) MarshalTo(dAtA []byte) (int, error) { 17493 size := m.ProtoSize() 17494 return m.MarshalToSizedBuffer(dAtA[:size]) 17495 } 17496 17497 func (m *LockTarget) MarshalToSizedBuffer(dAtA []byte) (int, error) { 17498 i := len(dAtA) 17499 _ = i 17500 var l int 17501 _ = l 17502 if m.XXX_unrecognized != nil { 17503 i -= len(m.XXX_unrecognized) 17504 copy(dAtA[i:], m.XXX_unrecognized) 17505 } 17506 if m.Mode != 0 { 17507 i = encodeVarintPlan(dAtA, i, uint64(m.Mode)) 17508 i-- 17509 dAtA[i] = 0x50 17510 } 17511 if m.Block { 17512 i-- 17513 if m.Block { 17514 dAtA[i] = 1 17515 } else { 17516 dAtA[i] = 0 17517 } 17518 i-- 17519 dAtA[i] = 0x48 17520 } 17521 if len(m.PartitionTableIds) > 0 { 17522 dAtA106 := make([]byte, len(m.PartitionTableIds)*10) 17523 var j105 int 17524 for _, num := range m.PartitionTableIds { 17525 for num >= 1<<7 { 17526 dAtA106[j105] = uint8(uint64(num)&0x7f | 0x80) 17527 num >>= 7 17528 j105++ 17529 } 17530 dAtA106[j105] = uint8(num) 17531 j105++ 17532 } 17533 i -= j105 17534 copy(dAtA[i:], dAtA106[:j105]) 17535 i = encodeVarintPlan(dAtA, i, uint64(j105)) 17536 i-- 17537 dAtA[i] = 0x42 17538 } 17539 if m.IsPartitionTable { 17540 i-- 17541 if m.IsPartitionTable { 17542 dAtA[i] = 1 17543 } else { 17544 dAtA[i] = 0 17545 } 17546 i-- 17547 dAtA[i] = 0x38 17548 } 17549 if m.LockTable { 17550 i-- 17551 if m.LockTable { 17552 dAtA[i] = 1 17553 } else { 17554 dAtA[i] = 0 17555 } 17556 i-- 17557 dAtA[i] = 0x30 17558 } 17559 if m.FilterColIdxInBat != 0 { 17560 i = encodeVarintPlan(dAtA, i, uint64(m.FilterColIdxInBat)) 17561 i-- 17562 dAtA[i] = 0x28 17563 } 17564 if m.RefreshTsIdxInBat != 0 { 17565 i = encodeVarintPlan(dAtA, i, uint64(m.RefreshTsIdxInBat)) 17566 i-- 17567 dAtA[i] = 0x20 17568 } 17569 { 17570 size, err := m.PrimaryColTyp.MarshalToSizedBuffer(dAtA[:i]) 17571 if err != nil { 17572 return 0, err 17573 } 17574 i -= size 17575 i = encodeVarintPlan(dAtA, i, uint64(size)) 17576 } 17577 i-- 17578 dAtA[i] = 0x1a 17579 if m.PrimaryColIdxInBat != 0 { 17580 i = encodeVarintPlan(dAtA, i, uint64(m.PrimaryColIdxInBat)) 17581 i-- 17582 dAtA[i] = 0x10 17583 } 17584 if m.TableId != 0 { 17585 i = encodeVarintPlan(dAtA, i, uint64(m.TableId)) 17586 i-- 17587 dAtA[i] = 0x8 17588 } 17589 return len(dAtA) - i, nil 17590 } 17591 17592 func (m *PreInsertUkCtx) Marshal() (dAtA []byte, err error) { 17593 size := m.ProtoSize() 17594 dAtA = make([]byte, size) 17595 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 17596 if err != nil { 17597 return nil, err 17598 } 17599 return dAtA[:n], nil 17600 } 17601 17602 func (m *PreInsertUkCtx) MarshalTo(dAtA []byte) (int, error) { 17603 size := m.ProtoSize() 17604 return m.MarshalToSizedBuffer(dAtA[:size]) 17605 } 17606 17607 func (m *PreInsertUkCtx) MarshalToSizedBuffer(dAtA []byte) (int, error) { 17608 i := len(dAtA) 17609 _ = i 17610 var l int 17611 _ = l 17612 if m.XXX_unrecognized != nil { 17613 i -= len(m.XXX_unrecognized) 17614 copy(dAtA[i:], m.XXX_unrecognized) 17615 } 17616 { 17617 size, err := m.UkType.MarshalToSizedBuffer(dAtA[:i]) 17618 if err != nil { 17619 return 0, err 17620 } 17621 i -= size 17622 i = encodeVarintPlan(dAtA, i, uint64(size)) 17623 } 17624 i-- 17625 dAtA[i] = 0x22 17626 { 17627 size, err := m.PkType.MarshalToSizedBuffer(dAtA[:i]) 17628 if err != nil { 17629 return 0, err 17630 } 17631 i -= size 17632 i = encodeVarintPlan(dAtA, i, uint64(size)) 17633 } 17634 i-- 17635 dAtA[i] = 0x1a 17636 if m.PkColumn != 0 { 17637 i = encodeVarintPlan(dAtA, i, uint64(m.PkColumn)) 17638 i-- 17639 dAtA[i] = 0x10 17640 } 17641 if len(m.Columns) > 0 { 17642 dAtA111 := make([]byte, len(m.Columns)*10) 17643 var j110 int 17644 for _, num1 := range m.Columns { 17645 num := uint64(num1) 17646 for num >= 1<<7 { 17647 dAtA111[j110] = uint8(uint64(num)&0x7f | 0x80) 17648 num >>= 7 17649 j110++ 17650 } 17651 dAtA111[j110] = uint8(num) 17652 j110++ 17653 } 17654 i -= j110 17655 copy(dAtA[i:], dAtA111[:j110]) 17656 i = encodeVarintPlan(dAtA, i, uint64(j110)) 17657 i-- 17658 dAtA[i] = 0xa 17659 } 17660 return len(dAtA) - i, nil 17661 } 17662 17663 func (m *PreDeleteCtx) Marshal() (dAtA []byte, err error) { 17664 size := m.ProtoSize() 17665 dAtA = make([]byte, size) 17666 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 17667 if err != nil { 17668 return nil, err 17669 } 17670 return dAtA[:n], nil 17671 } 17672 17673 func (m *PreDeleteCtx) MarshalTo(dAtA []byte) (int, error) { 17674 size := m.ProtoSize() 17675 return m.MarshalToSizedBuffer(dAtA[:size]) 17676 } 17677 17678 func (m *PreDeleteCtx) MarshalToSizedBuffer(dAtA []byte) (int, error) { 17679 i := len(dAtA) 17680 _ = i 17681 var l int 17682 _ = l 17683 if m.XXX_unrecognized != nil { 17684 i -= len(m.XXX_unrecognized) 17685 copy(dAtA[i:], m.XXX_unrecognized) 17686 } 17687 if len(m.Idx) > 0 { 17688 dAtA113 := make([]byte, len(m.Idx)*10) 17689 var j112 int 17690 for _, num1 := range m.Idx { 17691 num := uint64(num1) 17692 for num >= 1<<7 { 17693 dAtA113[j112] = uint8(uint64(num)&0x7f | 0x80) 17694 num >>= 7 17695 j112++ 17696 } 17697 dAtA113[j112] = uint8(num) 17698 j112++ 17699 } 17700 i -= j112 17701 copy(dAtA[i:], dAtA113[:j112]) 17702 i = encodeVarintPlan(dAtA, i, uint64(j112)) 17703 i-- 17704 dAtA[i] = 0xa 17705 } 17706 return len(dAtA) - i, nil 17707 } 17708 17709 func (m *PreInsertCtx) Marshal() (dAtA []byte, err error) { 17710 size := m.ProtoSize() 17711 dAtA = make([]byte, size) 17712 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 17713 if err != nil { 17714 return nil, err 17715 } 17716 return dAtA[:n], nil 17717 } 17718 17719 func (m *PreInsertCtx) MarshalTo(dAtA []byte) (int, error) { 17720 size := m.ProtoSize() 17721 return m.MarshalToSizedBuffer(dAtA[:size]) 17722 } 17723 17724 func (m *PreInsertCtx) MarshalToSizedBuffer(dAtA []byte) (int, error) { 17725 i := len(dAtA) 17726 _ = i 17727 var l int 17728 _ = l 17729 if m.XXX_unrecognized != nil { 17730 i -= len(m.XXX_unrecognized) 17731 copy(dAtA[i:], m.XXX_unrecognized) 17732 } 17733 if m.IsUpdate { 17734 i-- 17735 if m.IsUpdate { 17736 dAtA[i] = 1 17737 } else { 17738 dAtA[i] = 0 17739 } 17740 i-- 17741 dAtA[i] = 0x20 17742 } 17743 if m.HasAutoCol { 17744 i-- 17745 if m.HasAutoCol { 17746 dAtA[i] = 1 17747 } else { 17748 dAtA[i] = 0 17749 } 17750 i-- 17751 dAtA[i] = 0x18 17752 } 17753 if m.TableDef != nil { 17754 { 17755 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 17756 if err != nil { 17757 return 0, err 17758 } 17759 i -= size 17760 i = encodeVarintPlan(dAtA, i, uint64(size)) 17761 } 17762 i-- 17763 dAtA[i] = 0x12 17764 } 17765 if m.Ref != nil { 17766 { 17767 size, err := m.Ref.MarshalToSizedBuffer(dAtA[:i]) 17768 if err != nil { 17769 return 0, err 17770 } 17771 i -= size 17772 i = encodeVarintPlan(dAtA, i, uint64(size)) 17773 } 17774 i-- 17775 dAtA[i] = 0xa 17776 } 17777 return len(dAtA) - i, nil 17778 } 17779 17780 func (m *RuntimeFilterSpec) Marshal() (dAtA []byte, err error) { 17781 size := m.ProtoSize() 17782 dAtA = make([]byte, size) 17783 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 17784 if err != nil { 17785 return nil, err 17786 } 17787 return dAtA[:n], nil 17788 } 17789 17790 func (m *RuntimeFilterSpec) MarshalTo(dAtA []byte) (int, error) { 17791 size := m.ProtoSize() 17792 return m.MarshalToSizedBuffer(dAtA[:size]) 17793 } 17794 17795 func (m *RuntimeFilterSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { 17796 i := len(dAtA) 17797 _ = i 17798 var l int 17799 _ = l 17800 if m.XXX_unrecognized != nil { 17801 i -= len(m.XXX_unrecognized) 17802 copy(dAtA[i:], m.XXX_unrecognized) 17803 } 17804 if m.Handled { 17805 i-- 17806 if m.Handled { 17807 dAtA[i] = 1 17808 } else { 17809 dAtA[i] = 0 17810 } 17811 i-- 17812 dAtA[i] = 0x28 17813 } 17814 if m.Expr != nil { 17815 { 17816 size, err := m.Expr.MarshalToSizedBuffer(dAtA[:i]) 17817 if err != nil { 17818 return 0, err 17819 } 17820 i -= size 17821 i = encodeVarintPlan(dAtA, i, uint64(size)) 17822 } 17823 i-- 17824 dAtA[i] = 0x22 17825 } 17826 if m.UpperLimit != 0 { 17827 i = encodeVarintPlan(dAtA, i, uint64(m.UpperLimit)) 17828 i-- 17829 dAtA[i] = 0x18 17830 } 17831 if m.MatchPrefix { 17832 i-- 17833 if m.MatchPrefix { 17834 dAtA[i] = 1 17835 } else { 17836 dAtA[i] = 0 17837 } 17838 i-- 17839 dAtA[i] = 0x10 17840 } 17841 if m.Tag != 0 { 17842 i = encodeVarintPlan(dAtA, i, uint64(m.Tag)) 17843 i-- 17844 dAtA[i] = 0x8 17845 } 17846 return len(dAtA) - i, nil 17847 } 17848 17849 func (m *IdList) Marshal() (dAtA []byte, err error) { 17850 size := m.ProtoSize() 17851 dAtA = make([]byte, size) 17852 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 17853 if err != nil { 17854 return nil, err 17855 } 17856 return dAtA[:n], nil 17857 } 17858 17859 func (m *IdList) MarshalTo(dAtA []byte) (int, error) { 17860 size := m.ProtoSize() 17861 return m.MarshalToSizedBuffer(dAtA[:size]) 17862 } 17863 17864 func (m *IdList) MarshalToSizedBuffer(dAtA []byte) (int, error) { 17865 i := len(dAtA) 17866 _ = i 17867 var l int 17868 _ = l 17869 if m.XXX_unrecognized != nil { 17870 i -= len(m.XXX_unrecognized) 17871 copy(dAtA[i:], m.XXX_unrecognized) 17872 } 17873 if len(m.List) > 0 { 17874 dAtA118 := make([]byte, len(m.List)*10) 17875 var j117 int 17876 for _, num1 := range m.List { 17877 num := uint64(num1) 17878 for num >= 1<<7 { 17879 dAtA118[j117] = uint8(uint64(num)&0x7f | 0x80) 17880 num >>= 7 17881 j117++ 17882 } 17883 dAtA118[j117] = uint8(num) 17884 j117++ 17885 } 17886 i -= j117 17887 copy(dAtA[i:], dAtA118[:j117]) 17888 i = encodeVarintPlan(dAtA, i, uint64(j117)) 17889 i-- 17890 dAtA[i] = 0xa 17891 } 17892 return len(dAtA) - i, nil 17893 } 17894 17895 func (m *ColPosMap) Marshal() (dAtA []byte, err error) { 17896 size := m.ProtoSize() 17897 dAtA = make([]byte, size) 17898 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 17899 if err != nil { 17900 return nil, err 17901 } 17902 return dAtA[:n], nil 17903 } 17904 17905 func (m *ColPosMap) MarshalTo(dAtA []byte) (int, error) { 17906 size := m.ProtoSize() 17907 return m.MarshalToSizedBuffer(dAtA[:size]) 17908 } 17909 17910 func (m *ColPosMap) MarshalToSizedBuffer(dAtA []byte) (int, error) { 17911 i := len(dAtA) 17912 _ = i 17913 var l int 17914 _ = l 17915 if m.XXX_unrecognized != nil { 17916 i -= len(m.XXX_unrecognized) 17917 copy(dAtA[i:], m.XXX_unrecognized) 17918 } 17919 if len(m.Map) > 0 { 17920 for k := range m.Map { 17921 v := m.Map[k] 17922 baseI := i 17923 i = encodeVarintPlan(dAtA, i, uint64(v)) 17924 i-- 17925 dAtA[i] = 0x10 17926 i -= len(k) 17927 copy(dAtA[i:], k) 17928 i = encodeVarintPlan(dAtA, i, uint64(len(k))) 17929 i-- 17930 dAtA[i] = 0xa 17931 i = encodeVarintPlan(dAtA, i, uint64(baseI-i)) 17932 i-- 17933 dAtA[i] = 0xa 17934 } 17935 } 17936 return len(dAtA) - i, nil 17937 } 17938 17939 func (m *DeleteCtx) Marshal() (dAtA []byte, err error) { 17940 size := m.ProtoSize() 17941 dAtA = make([]byte, size) 17942 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 17943 if err != nil { 17944 return nil, err 17945 } 17946 return dAtA[:n], nil 17947 } 17948 17949 func (m *DeleteCtx) MarshalTo(dAtA []byte) (int, error) { 17950 size := m.ProtoSize() 17951 return m.MarshalToSizedBuffer(dAtA[:size]) 17952 } 17953 17954 func (m *DeleteCtx) MarshalToSizedBuffer(dAtA []byte) (int, error) { 17955 i := len(dAtA) 17956 _ = i 17957 var l int 17958 _ = l 17959 if m.XXX_unrecognized != nil { 17960 i -= len(m.XXX_unrecognized) 17961 copy(dAtA[i:], m.XXX_unrecognized) 17962 } 17963 if m.TableDef != nil { 17964 { 17965 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 17966 if err != nil { 17967 return 0, err 17968 } 17969 i -= size 17970 i = encodeVarintPlan(dAtA, i, uint64(size)) 17971 } 17972 i-- 17973 dAtA[i] = 0x5a 17974 } 17975 if m.TruncateTable != nil { 17976 { 17977 size, err := m.TruncateTable.MarshalToSizedBuffer(dAtA[:i]) 17978 if err != nil { 17979 return 0, err 17980 } 17981 i -= size 17982 i = encodeVarintPlan(dAtA, i, uint64(size)) 17983 } 17984 i-- 17985 dAtA[i] = 0x52 17986 } 17987 if m.PrimaryKeyIdx != 0 { 17988 i = encodeVarintPlan(dAtA, i, uint64(m.PrimaryKeyIdx)) 17989 i-- 17990 dAtA[i] = 0x48 17991 } 17992 if m.PartitionIdx != 0 { 17993 i = encodeVarintPlan(dAtA, i, uint64(m.PartitionIdx)) 17994 i-- 17995 dAtA[i] = 0x40 17996 } 17997 if len(m.PartitionTableNames) > 0 { 17998 for iNdEx := len(m.PartitionTableNames) - 1; iNdEx >= 0; iNdEx-- { 17999 i -= len(m.PartitionTableNames[iNdEx]) 18000 copy(dAtA[i:], m.PartitionTableNames[iNdEx]) 18001 i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionTableNames[iNdEx]))) 18002 i-- 18003 dAtA[i] = 0x3a 18004 } 18005 } 18006 if len(m.PartitionTableIds) > 0 { 18007 dAtA122 := make([]byte, len(m.PartitionTableIds)*10) 18008 var j121 int 18009 for _, num := range m.PartitionTableIds { 18010 for num >= 1<<7 { 18011 dAtA122[j121] = uint8(uint64(num)&0x7f | 0x80) 18012 num >>= 7 18013 j121++ 18014 } 18015 dAtA122[j121] = uint8(num) 18016 j121++ 18017 } 18018 i -= j121 18019 copy(dAtA[i:], dAtA122[:j121]) 18020 i = encodeVarintPlan(dAtA, i, uint64(j121)) 18021 i-- 18022 dAtA[i] = 0x32 18023 } 18024 if m.IsClusterTable { 18025 i-- 18026 if m.IsClusterTable { 18027 dAtA[i] = 1 18028 } else { 18029 dAtA[i] = 0 18030 } 18031 i-- 18032 dAtA[i] = 0x28 18033 } 18034 if m.AddAffectedRows { 18035 i-- 18036 if m.AddAffectedRows { 18037 dAtA[i] = 1 18038 } else { 18039 dAtA[i] = 0 18040 } 18041 i-- 18042 dAtA[i] = 0x20 18043 } 18044 if m.RowIdIdx != 0 { 18045 i = encodeVarintPlan(dAtA, i, uint64(m.RowIdIdx)) 18046 i-- 18047 dAtA[i] = 0x18 18048 } 18049 if m.Ref != nil { 18050 { 18051 size, err := m.Ref.MarshalToSizedBuffer(dAtA[:i]) 18052 if err != nil { 18053 return 0, err 18054 } 18055 i -= size 18056 i = encodeVarintPlan(dAtA, i, uint64(size)) 18057 } 18058 i-- 18059 dAtA[i] = 0x12 18060 } 18061 if m.CanTruncate { 18062 i-- 18063 if m.CanTruncate { 18064 dAtA[i] = 1 18065 } else { 18066 dAtA[i] = 0 18067 } 18068 i-- 18069 dAtA[i] = 0x8 18070 } 18071 return len(dAtA) - i, nil 18072 } 18073 18074 func (m *Query) Marshal() (dAtA []byte, err error) { 18075 size := m.ProtoSize() 18076 dAtA = make([]byte, size) 18077 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 18078 if err != nil { 18079 return nil, err 18080 } 18081 return dAtA[:n], nil 18082 } 18083 18084 func (m *Query) MarshalTo(dAtA []byte) (int, error) { 18085 size := m.ProtoSize() 18086 return m.MarshalToSizedBuffer(dAtA[:size]) 18087 } 18088 18089 func (m *Query) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18090 i := len(dAtA) 18091 _ = i 18092 var l int 18093 _ = l 18094 if m.XXX_unrecognized != nil { 18095 i -= len(m.XXX_unrecognized) 18096 copy(dAtA[i:], m.XXX_unrecognized) 18097 } 18098 if len(m.DetectSqls) > 0 { 18099 for iNdEx := len(m.DetectSqls) - 1; iNdEx >= 0; iNdEx-- { 18100 i -= len(m.DetectSqls[iNdEx]) 18101 copy(dAtA[i:], m.DetectSqls[iNdEx]) 18102 i = encodeVarintPlan(dAtA, i, uint64(len(m.DetectSqls[iNdEx]))) 18103 i-- 18104 dAtA[i] = 0x3a 18105 } 18106 } 18107 if m.LoadTag { 18108 i-- 18109 if m.LoadTag { 18110 dAtA[i] = 1 18111 } else { 18112 dAtA[i] = 0 18113 } 18114 i-- 18115 dAtA[i] = 0x30 18116 } 18117 if len(m.Headings) > 0 { 18118 for iNdEx := len(m.Headings) - 1; iNdEx >= 0; iNdEx-- { 18119 i -= len(m.Headings[iNdEx]) 18120 copy(dAtA[i:], m.Headings[iNdEx]) 18121 i = encodeVarintPlan(dAtA, i, uint64(len(m.Headings[iNdEx]))) 18122 i-- 18123 dAtA[i] = 0x2a 18124 } 18125 } 18126 if len(m.Params) > 0 { 18127 for iNdEx := len(m.Params) - 1; iNdEx >= 0; iNdEx-- { 18128 { 18129 size, err := m.Params[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 18130 if err != nil { 18131 return 0, err 18132 } 18133 i -= size 18134 i = encodeVarintPlan(dAtA, i, uint64(size)) 18135 } 18136 i-- 18137 dAtA[i] = 0x22 18138 } 18139 } 18140 if len(m.Nodes) > 0 { 18141 for iNdEx := len(m.Nodes) - 1; iNdEx >= 0; iNdEx-- { 18142 { 18143 size, err := m.Nodes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 18144 if err != nil { 18145 return 0, err 18146 } 18147 i -= size 18148 i = encodeVarintPlan(dAtA, i, uint64(size)) 18149 } 18150 i-- 18151 dAtA[i] = 0x1a 18152 } 18153 } 18154 if len(m.Steps) > 0 { 18155 dAtA125 := make([]byte, len(m.Steps)*10) 18156 var j124 int 18157 for _, num1 := range m.Steps { 18158 num := uint64(num1) 18159 for num >= 1<<7 { 18160 dAtA125[j124] = uint8(uint64(num)&0x7f | 0x80) 18161 num >>= 7 18162 j124++ 18163 } 18164 dAtA125[j124] = uint8(num) 18165 j124++ 18166 } 18167 i -= j124 18168 copy(dAtA[i:], dAtA125[:j124]) 18169 i = encodeVarintPlan(dAtA, i, uint64(j124)) 18170 i-- 18171 dAtA[i] = 0x12 18172 } 18173 if m.StmtType != 0 { 18174 i = encodeVarintPlan(dAtA, i, uint64(m.StmtType)) 18175 i-- 18176 dAtA[i] = 0x8 18177 } 18178 return len(dAtA) - i, nil 18179 } 18180 18181 func (m *TransationControl) Marshal() (dAtA []byte, err error) { 18182 size := m.ProtoSize() 18183 dAtA = make([]byte, size) 18184 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 18185 if err != nil { 18186 return nil, err 18187 } 18188 return dAtA[:n], nil 18189 } 18190 18191 func (m *TransationControl) MarshalTo(dAtA []byte) (int, error) { 18192 size := m.ProtoSize() 18193 return m.MarshalToSizedBuffer(dAtA[:size]) 18194 } 18195 18196 func (m *TransationControl) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18197 i := len(dAtA) 18198 _ = i 18199 var l int 18200 _ = l 18201 if m.XXX_unrecognized != nil { 18202 i -= len(m.XXX_unrecognized) 18203 copy(dAtA[i:], m.XXX_unrecognized) 18204 } 18205 if m.Action != nil { 18206 { 18207 size := m.Action.ProtoSize() 18208 i -= size 18209 if _, err := m.Action.MarshalTo(dAtA[i:]); err != nil { 18210 return 0, err 18211 } 18212 } 18213 } 18214 if m.TclType != 0 { 18215 i = encodeVarintPlan(dAtA, i, uint64(m.TclType)) 18216 i-- 18217 dAtA[i] = 0x8 18218 } 18219 return len(dAtA) - i, nil 18220 } 18221 18222 func (m *TransationControl_Begin) MarshalTo(dAtA []byte) (int, error) { 18223 size := m.ProtoSize() 18224 return m.MarshalToSizedBuffer(dAtA[:size]) 18225 } 18226 18227 func (m *TransationControl_Begin) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18228 i := len(dAtA) 18229 if m.Begin != nil { 18230 { 18231 size, err := m.Begin.MarshalToSizedBuffer(dAtA[:i]) 18232 if err != nil { 18233 return 0, err 18234 } 18235 i -= size 18236 i = encodeVarintPlan(dAtA, i, uint64(size)) 18237 } 18238 i-- 18239 dAtA[i] = 0x12 18240 } 18241 return len(dAtA) - i, nil 18242 } 18243 func (m *TransationControl_Commit) MarshalTo(dAtA []byte) (int, error) { 18244 size := m.ProtoSize() 18245 return m.MarshalToSizedBuffer(dAtA[:size]) 18246 } 18247 18248 func (m *TransationControl_Commit) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18249 i := len(dAtA) 18250 if m.Commit != nil { 18251 { 18252 size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i]) 18253 if err != nil { 18254 return 0, err 18255 } 18256 i -= size 18257 i = encodeVarintPlan(dAtA, i, uint64(size)) 18258 } 18259 i-- 18260 dAtA[i] = 0x1a 18261 } 18262 return len(dAtA) - i, nil 18263 } 18264 func (m *TransationControl_Rollback) MarshalTo(dAtA []byte) (int, error) { 18265 size := m.ProtoSize() 18266 return m.MarshalToSizedBuffer(dAtA[:size]) 18267 } 18268 18269 func (m *TransationControl_Rollback) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18270 i := len(dAtA) 18271 if m.Rollback != nil { 18272 { 18273 size, err := m.Rollback.MarshalToSizedBuffer(dAtA[:i]) 18274 if err != nil { 18275 return 0, err 18276 } 18277 i -= size 18278 i = encodeVarintPlan(dAtA, i, uint64(size)) 18279 } 18280 i-- 18281 dAtA[i] = 0x22 18282 } 18283 return len(dAtA) - i, nil 18284 } 18285 func (m *TransationBegin) Marshal() (dAtA []byte, err error) { 18286 size := m.ProtoSize() 18287 dAtA = make([]byte, size) 18288 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 18289 if err != nil { 18290 return nil, err 18291 } 18292 return dAtA[:n], nil 18293 } 18294 18295 func (m *TransationBegin) MarshalTo(dAtA []byte) (int, error) { 18296 size := m.ProtoSize() 18297 return m.MarshalToSizedBuffer(dAtA[:size]) 18298 } 18299 18300 func (m *TransationBegin) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18301 i := len(dAtA) 18302 _ = i 18303 var l int 18304 _ = l 18305 if m.XXX_unrecognized != nil { 18306 i -= len(m.XXX_unrecognized) 18307 copy(dAtA[i:], m.XXX_unrecognized) 18308 } 18309 if m.Mode != 0 { 18310 i = encodeVarintPlan(dAtA, i, uint64(m.Mode)) 18311 i-- 18312 dAtA[i] = 0x8 18313 } 18314 return len(dAtA) - i, nil 18315 } 18316 18317 func (m *TransationCommit) Marshal() (dAtA []byte, err error) { 18318 size := m.ProtoSize() 18319 dAtA = make([]byte, size) 18320 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 18321 if err != nil { 18322 return nil, err 18323 } 18324 return dAtA[:n], nil 18325 } 18326 18327 func (m *TransationCommit) MarshalTo(dAtA []byte) (int, error) { 18328 size := m.ProtoSize() 18329 return m.MarshalToSizedBuffer(dAtA[:size]) 18330 } 18331 18332 func (m *TransationCommit) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18333 i := len(dAtA) 18334 _ = i 18335 var l int 18336 _ = l 18337 if m.XXX_unrecognized != nil { 18338 i -= len(m.XXX_unrecognized) 18339 copy(dAtA[i:], m.XXX_unrecognized) 18340 } 18341 if m.CompletionType != 0 { 18342 i = encodeVarintPlan(dAtA, i, uint64(m.CompletionType)) 18343 i-- 18344 dAtA[i] = 0x8 18345 } 18346 return len(dAtA) - i, nil 18347 } 18348 18349 func (m *TransationRollback) Marshal() (dAtA []byte, err error) { 18350 size := m.ProtoSize() 18351 dAtA = make([]byte, size) 18352 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 18353 if err != nil { 18354 return nil, err 18355 } 18356 return dAtA[:n], nil 18357 } 18358 18359 func (m *TransationRollback) MarshalTo(dAtA []byte) (int, error) { 18360 size := m.ProtoSize() 18361 return m.MarshalToSizedBuffer(dAtA[:size]) 18362 } 18363 18364 func (m *TransationRollback) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18365 i := len(dAtA) 18366 _ = i 18367 var l int 18368 _ = l 18369 if m.XXX_unrecognized != nil { 18370 i -= len(m.XXX_unrecognized) 18371 copy(dAtA[i:], m.XXX_unrecognized) 18372 } 18373 if m.CompletionType != 0 { 18374 i = encodeVarintPlan(dAtA, i, uint64(m.CompletionType)) 18375 i-- 18376 dAtA[i] = 0x8 18377 } 18378 return len(dAtA) - i, nil 18379 } 18380 18381 func (m *Plan) Marshal() (dAtA []byte, err error) { 18382 size := m.ProtoSize() 18383 dAtA = make([]byte, size) 18384 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 18385 if err != nil { 18386 return nil, err 18387 } 18388 return dAtA[:n], nil 18389 } 18390 18391 func (m *Plan) MarshalTo(dAtA []byte) (int, error) { 18392 size := m.ProtoSize() 18393 return m.MarshalToSizedBuffer(dAtA[:size]) 18394 } 18395 18396 func (m *Plan) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18397 i := len(dAtA) 18398 _ = i 18399 var l int 18400 _ = l 18401 if m.XXX_unrecognized != nil { 18402 i -= len(m.XXX_unrecognized) 18403 copy(dAtA[i:], m.XXX_unrecognized) 18404 } 18405 if m.IsPrepare { 18406 i-- 18407 if m.IsPrepare { 18408 dAtA[i] = 1 18409 } else { 18410 dAtA[i] = 0 18411 } 18412 i-- 18413 dAtA[i] = 0x30 18414 } 18415 if m.TryRunTimes != 0 { 18416 i = encodeVarintPlan(dAtA, i, uint64(m.TryRunTimes)) 18417 i-- 18418 dAtA[i] = 0x28 18419 } 18420 if m.Plan != nil { 18421 { 18422 size := m.Plan.ProtoSize() 18423 i -= size 18424 if _, err := m.Plan.MarshalTo(dAtA[i:]); err != nil { 18425 return 0, err 18426 } 18427 } 18428 } 18429 return len(dAtA) - i, nil 18430 } 18431 18432 func (m *Plan_Query) MarshalTo(dAtA []byte) (int, error) { 18433 size := m.ProtoSize() 18434 return m.MarshalToSizedBuffer(dAtA[:size]) 18435 } 18436 18437 func (m *Plan_Query) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18438 i := len(dAtA) 18439 if m.Query != nil { 18440 { 18441 size, err := m.Query.MarshalToSizedBuffer(dAtA[:i]) 18442 if err != nil { 18443 return 0, err 18444 } 18445 i -= size 18446 i = encodeVarintPlan(dAtA, i, uint64(size)) 18447 } 18448 i-- 18449 dAtA[i] = 0xa 18450 } 18451 return len(dAtA) - i, nil 18452 } 18453 func (m *Plan_Tcl) MarshalTo(dAtA []byte) (int, error) { 18454 size := m.ProtoSize() 18455 return m.MarshalToSizedBuffer(dAtA[:size]) 18456 } 18457 18458 func (m *Plan_Tcl) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18459 i := len(dAtA) 18460 if m.Tcl != nil { 18461 { 18462 size, err := m.Tcl.MarshalToSizedBuffer(dAtA[:i]) 18463 if err != nil { 18464 return 0, err 18465 } 18466 i -= size 18467 i = encodeVarintPlan(dAtA, i, uint64(size)) 18468 } 18469 i-- 18470 dAtA[i] = 0x12 18471 } 18472 return len(dAtA) - i, nil 18473 } 18474 func (m *Plan_Ddl) MarshalTo(dAtA []byte) (int, error) { 18475 size := m.ProtoSize() 18476 return m.MarshalToSizedBuffer(dAtA[:size]) 18477 } 18478 18479 func (m *Plan_Ddl) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18480 i := len(dAtA) 18481 if m.Ddl != nil { 18482 { 18483 size, err := m.Ddl.MarshalToSizedBuffer(dAtA[:i]) 18484 if err != nil { 18485 return 0, err 18486 } 18487 i -= size 18488 i = encodeVarintPlan(dAtA, i, uint64(size)) 18489 } 18490 i-- 18491 dAtA[i] = 0x1a 18492 } 18493 return len(dAtA) - i, nil 18494 } 18495 func (m *Plan_Dcl) MarshalTo(dAtA []byte) (int, error) { 18496 size := m.ProtoSize() 18497 return m.MarshalToSizedBuffer(dAtA[:size]) 18498 } 18499 18500 func (m *Plan_Dcl) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18501 i := len(dAtA) 18502 if m.Dcl != nil { 18503 { 18504 size, err := m.Dcl.MarshalToSizedBuffer(dAtA[:i]) 18505 if err != nil { 18506 return 0, err 18507 } 18508 i -= size 18509 i = encodeVarintPlan(dAtA, i, uint64(size)) 18510 } 18511 i-- 18512 dAtA[i] = 0x22 18513 } 18514 return len(dAtA) - i, nil 18515 } 18516 func (m *Column) Marshal() (dAtA []byte, err error) { 18517 size := m.ProtoSize() 18518 dAtA = make([]byte, size) 18519 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 18520 if err != nil { 18521 return nil, err 18522 } 18523 return dAtA[:n], nil 18524 } 18525 18526 func (m *Column) MarshalTo(dAtA []byte) (int, error) { 18527 size := m.ProtoSize() 18528 return m.MarshalToSizedBuffer(dAtA[:size]) 18529 } 18530 18531 func (m *Column) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18532 i := len(dAtA) 18533 _ = i 18534 var l int 18535 _ = l 18536 if m.XXX_unrecognized != nil { 18537 i -= len(m.XXX_unrecognized) 18538 copy(dAtA[i:], m.XXX_unrecognized) 18539 } 18540 if len(m.Column) > 0 { 18541 for iNdEx := len(m.Column) - 1; iNdEx >= 0; iNdEx-- { 18542 { 18543 size, err := m.Column[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 18544 if err != nil { 18545 return 0, err 18546 } 18547 i -= size 18548 i = encodeVarintPlan(dAtA, i, uint64(size)) 18549 } 18550 i-- 18551 dAtA[i] = 0xa 18552 } 18553 } 18554 return len(dAtA) - i, nil 18555 } 18556 18557 func (m *DataControl) Marshal() (dAtA []byte, err error) { 18558 size := m.ProtoSize() 18559 dAtA = make([]byte, size) 18560 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 18561 if err != nil { 18562 return nil, err 18563 } 18564 return dAtA[:n], nil 18565 } 18566 18567 func (m *DataControl) MarshalTo(dAtA []byte) (int, error) { 18568 size := m.ProtoSize() 18569 return m.MarshalToSizedBuffer(dAtA[:size]) 18570 } 18571 18572 func (m *DataControl) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18573 i := len(dAtA) 18574 _ = i 18575 var l int 18576 _ = l 18577 if m.XXX_unrecognized != nil { 18578 i -= len(m.XXX_unrecognized) 18579 copy(dAtA[i:], m.XXX_unrecognized) 18580 } 18581 if m.Control != nil { 18582 { 18583 size := m.Control.ProtoSize() 18584 i -= size 18585 if _, err := m.Control.MarshalTo(dAtA[i:]); err != nil { 18586 return 0, err 18587 } 18588 } 18589 } 18590 if m.DclType != 0 { 18591 i = encodeVarintPlan(dAtA, i, uint64(m.DclType)) 18592 i-- 18593 dAtA[i] = 0x8 18594 } 18595 return len(dAtA) - i, nil 18596 } 18597 18598 func (m *DataControl_SetVariables) MarshalTo(dAtA []byte) (int, error) { 18599 size := m.ProtoSize() 18600 return m.MarshalToSizedBuffer(dAtA[:size]) 18601 } 18602 18603 func (m *DataControl_SetVariables) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18604 i := len(dAtA) 18605 if m.SetVariables != nil { 18606 { 18607 size, err := m.SetVariables.MarshalToSizedBuffer(dAtA[:i]) 18608 if err != nil { 18609 return 0, err 18610 } 18611 i -= size 18612 i = encodeVarintPlan(dAtA, i, uint64(size)) 18613 } 18614 i-- 18615 dAtA[i] = 0x12 18616 } 18617 return len(dAtA) - i, nil 18618 } 18619 func (m *DataControl_Prepare) MarshalTo(dAtA []byte) (int, error) { 18620 size := m.ProtoSize() 18621 return m.MarshalToSizedBuffer(dAtA[:size]) 18622 } 18623 18624 func (m *DataControl_Prepare) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18625 i := len(dAtA) 18626 if m.Prepare != nil { 18627 { 18628 size, err := m.Prepare.MarshalToSizedBuffer(dAtA[:i]) 18629 if err != nil { 18630 return 0, err 18631 } 18632 i -= size 18633 i = encodeVarintPlan(dAtA, i, uint64(size)) 18634 } 18635 i-- 18636 dAtA[i] = 0x1a 18637 } 18638 return len(dAtA) - i, nil 18639 } 18640 func (m *DataControl_Execute) MarshalTo(dAtA []byte) (int, error) { 18641 size := m.ProtoSize() 18642 return m.MarshalToSizedBuffer(dAtA[:size]) 18643 } 18644 18645 func (m *DataControl_Execute) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18646 i := len(dAtA) 18647 if m.Execute != nil { 18648 { 18649 size, err := m.Execute.MarshalToSizedBuffer(dAtA[:i]) 18650 if err != nil { 18651 return 0, err 18652 } 18653 i -= size 18654 i = encodeVarintPlan(dAtA, i, uint64(size)) 18655 } 18656 i-- 18657 dAtA[i] = 0x22 18658 } 18659 return len(dAtA) - i, nil 18660 } 18661 func (m *DataControl_Deallocate) MarshalTo(dAtA []byte) (int, error) { 18662 size := m.ProtoSize() 18663 return m.MarshalToSizedBuffer(dAtA[:size]) 18664 } 18665 18666 func (m *DataControl_Deallocate) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18667 i := len(dAtA) 18668 if m.Deallocate != nil { 18669 { 18670 size, err := m.Deallocate.MarshalToSizedBuffer(dAtA[:i]) 18671 if err != nil { 18672 return 0, err 18673 } 18674 i -= size 18675 i = encodeVarintPlan(dAtA, i, uint64(size)) 18676 } 18677 i-- 18678 dAtA[i] = 0x2a 18679 } 18680 return len(dAtA) - i, nil 18681 } 18682 func (m *DataControl_Other) MarshalTo(dAtA []byte) (int, error) { 18683 size := m.ProtoSize() 18684 return m.MarshalToSizedBuffer(dAtA[:size]) 18685 } 18686 18687 func (m *DataControl_Other) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18688 i := len(dAtA) 18689 if m.Other != nil { 18690 { 18691 size, err := m.Other.MarshalToSizedBuffer(dAtA[:i]) 18692 if err != nil { 18693 return 0, err 18694 } 18695 i -= size 18696 i = encodeVarintPlan(dAtA, i, uint64(size)) 18697 } 18698 i-- 18699 dAtA[i] = 0x32 18700 } 18701 return len(dAtA) - i, nil 18702 } 18703 func (m *DataDefinition) Marshal() (dAtA []byte, err error) { 18704 size := m.ProtoSize() 18705 dAtA = make([]byte, size) 18706 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 18707 if err != nil { 18708 return nil, err 18709 } 18710 return dAtA[:n], nil 18711 } 18712 18713 func (m *DataDefinition) MarshalTo(dAtA []byte) (int, error) { 18714 size := m.ProtoSize() 18715 return m.MarshalToSizedBuffer(dAtA[:size]) 18716 } 18717 18718 func (m *DataDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18719 i := len(dAtA) 18720 _ = i 18721 var l int 18722 _ = l 18723 if m.XXX_unrecognized != nil { 18724 i -= len(m.XXX_unrecognized) 18725 copy(dAtA[i:], m.XXX_unrecognized) 18726 } 18727 if m.Definition != nil { 18728 { 18729 size := m.Definition.ProtoSize() 18730 i -= size 18731 if _, err := m.Definition.MarshalTo(dAtA[i:]); err != nil { 18732 return 0, err 18733 } 18734 } 18735 } 18736 if m.Query != nil { 18737 { 18738 size, err := m.Query.MarshalToSizedBuffer(dAtA[:i]) 18739 if err != nil { 18740 return 0, err 18741 } 18742 i -= size 18743 i = encodeVarintPlan(dAtA, i, uint64(size)) 18744 } 18745 i-- 18746 dAtA[i] = 0x12 18747 } 18748 if m.DdlType != 0 { 18749 i = encodeVarintPlan(dAtA, i, uint64(m.DdlType)) 18750 i-- 18751 dAtA[i] = 0x8 18752 } 18753 return len(dAtA) - i, nil 18754 } 18755 18756 func (m *DataDefinition_CreateDatabase) MarshalTo(dAtA []byte) (int, error) { 18757 size := m.ProtoSize() 18758 return m.MarshalToSizedBuffer(dAtA[:size]) 18759 } 18760 18761 func (m *DataDefinition_CreateDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18762 i := len(dAtA) 18763 if m.CreateDatabase != nil { 18764 { 18765 size, err := m.CreateDatabase.MarshalToSizedBuffer(dAtA[:i]) 18766 if err != nil { 18767 return 0, err 18768 } 18769 i -= size 18770 i = encodeVarintPlan(dAtA, i, uint64(size)) 18771 } 18772 i-- 18773 dAtA[i] = 0x1a 18774 } 18775 return len(dAtA) - i, nil 18776 } 18777 func (m *DataDefinition_AlterDatabase) MarshalTo(dAtA []byte) (int, error) { 18778 size := m.ProtoSize() 18779 return m.MarshalToSizedBuffer(dAtA[:size]) 18780 } 18781 18782 func (m *DataDefinition_AlterDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18783 i := len(dAtA) 18784 if m.AlterDatabase != nil { 18785 { 18786 size, err := m.AlterDatabase.MarshalToSizedBuffer(dAtA[:i]) 18787 if err != nil { 18788 return 0, err 18789 } 18790 i -= size 18791 i = encodeVarintPlan(dAtA, i, uint64(size)) 18792 } 18793 i-- 18794 dAtA[i] = 0x22 18795 } 18796 return len(dAtA) - i, nil 18797 } 18798 func (m *DataDefinition_DropDatabase) MarshalTo(dAtA []byte) (int, error) { 18799 size := m.ProtoSize() 18800 return m.MarshalToSizedBuffer(dAtA[:size]) 18801 } 18802 18803 func (m *DataDefinition_DropDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18804 i := len(dAtA) 18805 if m.DropDatabase != nil { 18806 { 18807 size, err := m.DropDatabase.MarshalToSizedBuffer(dAtA[:i]) 18808 if err != nil { 18809 return 0, err 18810 } 18811 i -= size 18812 i = encodeVarintPlan(dAtA, i, uint64(size)) 18813 } 18814 i-- 18815 dAtA[i] = 0x2a 18816 } 18817 return len(dAtA) - i, nil 18818 } 18819 func (m *DataDefinition_CreateTable) MarshalTo(dAtA []byte) (int, error) { 18820 size := m.ProtoSize() 18821 return m.MarshalToSizedBuffer(dAtA[:size]) 18822 } 18823 18824 func (m *DataDefinition_CreateTable) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18825 i := len(dAtA) 18826 if m.CreateTable != nil { 18827 { 18828 size, err := m.CreateTable.MarshalToSizedBuffer(dAtA[:i]) 18829 if err != nil { 18830 return 0, err 18831 } 18832 i -= size 18833 i = encodeVarintPlan(dAtA, i, uint64(size)) 18834 } 18835 i-- 18836 dAtA[i] = 0x32 18837 } 18838 return len(dAtA) - i, nil 18839 } 18840 func (m *DataDefinition_AlterTable) MarshalTo(dAtA []byte) (int, error) { 18841 size := m.ProtoSize() 18842 return m.MarshalToSizedBuffer(dAtA[:size]) 18843 } 18844 18845 func (m *DataDefinition_AlterTable) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18846 i := len(dAtA) 18847 if m.AlterTable != nil { 18848 { 18849 size, err := m.AlterTable.MarshalToSizedBuffer(dAtA[:i]) 18850 if err != nil { 18851 return 0, err 18852 } 18853 i -= size 18854 i = encodeVarintPlan(dAtA, i, uint64(size)) 18855 } 18856 i-- 18857 dAtA[i] = 0x3a 18858 } 18859 return len(dAtA) - i, nil 18860 } 18861 func (m *DataDefinition_DropTable) MarshalTo(dAtA []byte) (int, error) { 18862 size := m.ProtoSize() 18863 return m.MarshalToSizedBuffer(dAtA[:size]) 18864 } 18865 18866 func (m *DataDefinition_DropTable) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18867 i := len(dAtA) 18868 if m.DropTable != nil { 18869 { 18870 size, err := m.DropTable.MarshalToSizedBuffer(dAtA[:i]) 18871 if err != nil { 18872 return 0, err 18873 } 18874 i -= size 18875 i = encodeVarintPlan(dAtA, i, uint64(size)) 18876 } 18877 i-- 18878 dAtA[i] = 0x42 18879 } 18880 return len(dAtA) - i, nil 18881 } 18882 func (m *DataDefinition_CreateIndex) MarshalTo(dAtA []byte) (int, error) { 18883 size := m.ProtoSize() 18884 return m.MarshalToSizedBuffer(dAtA[:size]) 18885 } 18886 18887 func (m *DataDefinition_CreateIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18888 i := len(dAtA) 18889 if m.CreateIndex != nil { 18890 { 18891 size, err := m.CreateIndex.MarshalToSizedBuffer(dAtA[:i]) 18892 if err != nil { 18893 return 0, err 18894 } 18895 i -= size 18896 i = encodeVarintPlan(dAtA, i, uint64(size)) 18897 } 18898 i-- 18899 dAtA[i] = 0x4a 18900 } 18901 return len(dAtA) - i, nil 18902 } 18903 func (m *DataDefinition_AlterIndex) MarshalTo(dAtA []byte) (int, error) { 18904 size := m.ProtoSize() 18905 return m.MarshalToSizedBuffer(dAtA[:size]) 18906 } 18907 18908 func (m *DataDefinition_AlterIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18909 i := len(dAtA) 18910 if m.AlterIndex != nil { 18911 { 18912 size, err := m.AlterIndex.MarshalToSizedBuffer(dAtA[:i]) 18913 if err != nil { 18914 return 0, err 18915 } 18916 i -= size 18917 i = encodeVarintPlan(dAtA, i, uint64(size)) 18918 } 18919 i-- 18920 dAtA[i] = 0x52 18921 } 18922 return len(dAtA) - i, nil 18923 } 18924 func (m *DataDefinition_DropIndex) MarshalTo(dAtA []byte) (int, error) { 18925 size := m.ProtoSize() 18926 return m.MarshalToSizedBuffer(dAtA[:size]) 18927 } 18928 18929 func (m *DataDefinition_DropIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18930 i := len(dAtA) 18931 if m.DropIndex != nil { 18932 { 18933 size, err := m.DropIndex.MarshalToSizedBuffer(dAtA[:i]) 18934 if err != nil { 18935 return 0, err 18936 } 18937 i -= size 18938 i = encodeVarintPlan(dAtA, i, uint64(size)) 18939 } 18940 i-- 18941 dAtA[i] = 0x5a 18942 } 18943 return len(dAtA) - i, nil 18944 } 18945 func (m *DataDefinition_TruncateTable) MarshalTo(dAtA []byte) (int, error) { 18946 size := m.ProtoSize() 18947 return m.MarshalToSizedBuffer(dAtA[:size]) 18948 } 18949 18950 func (m *DataDefinition_TruncateTable) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18951 i := len(dAtA) 18952 if m.TruncateTable != nil { 18953 { 18954 size, err := m.TruncateTable.MarshalToSizedBuffer(dAtA[:i]) 18955 if err != nil { 18956 return 0, err 18957 } 18958 i -= size 18959 i = encodeVarintPlan(dAtA, i, uint64(size)) 18960 } 18961 i-- 18962 dAtA[i] = 0x62 18963 } 18964 return len(dAtA) - i, nil 18965 } 18966 func (m *DataDefinition_ShowVariables) MarshalTo(dAtA []byte) (int, error) { 18967 size := m.ProtoSize() 18968 return m.MarshalToSizedBuffer(dAtA[:size]) 18969 } 18970 18971 func (m *DataDefinition_ShowVariables) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18972 i := len(dAtA) 18973 if m.ShowVariables != nil { 18974 { 18975 size, err := m.ShowVariables.MarshalToSizedBuffer(dAtA[:i]) 18976 if err != nil { 18977 return 0, err 18978 } 18979 i -= size 18980 i = encodeVarintPlan(dAtA, i, uint64(size)) 18981 } 18982 i-- 18983 dAtA[i] = 0x6a 18984 } 18985 return len(dAtA) - i, nil 18986 } 18987 func (m *DataDefinition_AlterView) MarshalTo(dAtA []byte) (int, error) { 18988 size := m.ProtoSize() 18989 return m.MarshalToSizedBuffer(dAtA[:size]) 18990 } 18991 18992 func (m *DataDefinition_AlterView) MarshalToSizedBuffer(dAtA []byte) (int, error) { 18993 i := len(dAtA) 18994 if m.AlterView != nil { 18995 { 18996 size, err := m.AlterView.MarshalToSizedBuffer(dAtA[:i]) 18997 if err != nil { 18998 return 0, err 18999 } 19000 i -= size 19001 i = encodeVarintPlan(dAtA, i, uint64(size)) 19002 } 19003 i-- 19004 dAtA[i] = 0x72 19005 } 19006 return len(dAtA) - i, nil 19007 } 19008 func (m *DataDefinition_LockTables) MarshalTo(dAtA []byte) (int, error) { 19009 size := m.ProtoSize() 19010 return m.MarshalToSizedBuffer(dAtA[:size]) 19011 } 19012 19013 func (m *DataDefinition_LockTables) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19014 i := len(dAtA) 19015 if m.LockTables != nil { 19016 { 19017 size, err := m.LockTables.MarshalToSizedBuffer(dAtA[:i]) 19018 if err != nil { 19019 return 0, err 19020 } 19021 i -= size 19022 i = encodeVarintPlan(dAtA, i, uint64(size)) 19023 } 19024 i-- 19025 dAtA[i] = 0x7a 19026 } 19027 return len(dAtA) - i, nil 19028 } 19029 func (m *DataDefinition_UnlockTables) MarshalTo(dAtA []byte) (int, error) { 19030 size := m.ProtoSize() 19031 return m.MarshalToSizedBuffer(dAtA[:size]) 19032 } 19033 19034 func (m *DataDefinition_UnlockTables) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19035 i := len(dAtA) 19036 if m.UnlockTables != nil { 19037 { 19038 size, err := m.UnlockTables.MarshalToSizedBuffer(dAtA[:i]) 19039 if err != nil { 19040 return 0, err 19041 } 19042 i -= size 19043 i = encodeVarintPlan(dAtA, i, uint64(size)) 19044 } 19045 i-- 19046 dAtA[i] = 0x1 19047 i-- 19048 dAtA[i] = 0x82 19049 } 19050 return len(dAtA) - i, nil 19051 } 19052 func (m *DataDefinition_CreateSequence) MarshalTo(dAtA []byte) (int, error) { 19053 size := m.ProtoSize() 19054 return m.MarshalToSizedBuffer(dAtA[:size]) 19055 } 19056 19057 func (m *DataDefinition_CreateSequence) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19058 i := len(dAtA) 19059 if m.CreateSequence != nil { 19060 { 19061 size, err := m.CreateSequence.MarshalToSizedBuffer(dAtA[:i]) 19062 if err != nil { 19063 return 0, err 19064 } 19065 i -= size 19066 i = encodeVarintPlan(dAtA, i, uint64(size)) 19067 } 19068 i-- 19069 dAtA[i] = 0x1 19070 i-- 19071 dAtA[i] = 0x8a 19072 } 19073 return len(dAtA) - i, nil 19074 } 19075 func (m *DataDefinition_DropSequence) MarshalTo(dAtA []byte) (int, error) { 19076 size := m.ProtoSize() 19077 return m.MarshalToSizedBuffer(dAtA[:size]) 19078 } 19079 19080 func (m *DataDefinition_DropSequence) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19081 i := len(dAtA) 19082 if m.DropSequence != nil { 19083 { 19084 size, err := m.DropSequence.MarshalToSizedBuffer(dAtA[:i]) 19085 if err != nil { 19086 return 0, err 19087 } 19088 i -= size 19089 i = encodeVarintPlan(dAtA, i, uint64(size)) 19090 } 19091 i-- 19092 dAtA[i] = 0x1 19093 i-- 19094 dAtA[i] = 0x92 19095 } 19096 return len(dAtA) - i, nil 19097 } 19098 func (m *DataDefinition_AlterSequence) MarshalTo(dAtA []byte) (int, error) { 19099 size := m.ProtoSize() 19100 return m.MarshalToSizedBuffer(dAtA[:size]) 19101 } 19102 19103 func (m *DataDefinition_AlterSequence) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19104 i := len(dAtA) 19105 if m.AlterSequence != nil { 19106 { 19107 size, err := m.AlterSequence.MarshalToSizedBuffer(dAtA[:i]) 19108 if err != nil { 19109 return 0, err 19110 } 19111 i -= size 19112 i = encodeVarintPlan(dAtA, i, uint64(size)) 19113 } 19114 i-- 19115 dAtA[i] = 0x1 19116 i-- 19117 dAtA[i] = 0x9a 19118 } 19119 return len(dAtA) - i, nil 19120 } 19121 func (m *SubscriptionOption) Marshal() (dAtA []byte, err error) { 19122 size := m.ProtoSize() 19123 dAtA = make([]byte, size) 19124 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19125 if err != nil { 19126 return nil, err 19127 } 19128 return dAtA[:n], nil 19129 } 19130 19131 func (m *SubscriptionOption) MarshalTo(dAtA []byte) (int, error) { 19132 size := m.ProtoSize() 19133 return m.MarshalToSizedBuffer(dAtA[:size]) 19134 } 19135 19136 func (m *SubscriptionOption) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19137 i := len(dAtA) 19138 _ = i 19139 var l int 19140 _ = l 19141 if m.XXX_unrecognized != nil { 19142 i -= len(m.XXX_unrecognized) 19143 copy(dAtA[i:], m.XXX_unrecognized) 19144 } 19145 if len(m.Publication) > 0 { 19146 i -= len(m.Publication) 19147 copy(dAtA[i:], m.Publication) 19148 i = encodeVarintPlan(dAtA, i, uint64(len(m.Publication))) 19149 i-- 19150 dAtA[i] = 0x12 19151 } 19152 if len(m.From) > 0 { 19153 i -= len(m.From) 19154 copy(dAtA[i:], m.From) 19155 i = encodeVarintPlan(dAtA, i, uint64(len(m.From))) 19156 i-- 19157 dAtA[i] = 0xa 19158 } 19159 return len(dAtA) - i, nil 19160 } 19161 19162 func (m *CreateDatabase) Marshal() (dAtA []byte, err error) { 19163 size := m.ProtoSize() 19164 dAtA = make([]byte, size) 19165 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19166 if err != nil { 19167 return nil, err 19168 } 19169 return dAtA[:n], nil 19170 } 19171 19172 func (m *CreateDatabase) MarshalTo(dAtA []byte) (int, error) { 19173 size := m.ProtoSize() 19174 return m.MarshalToSizedBuffer(dAtA[:size]) 19175 } 19176 19177 func (m *CreateDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19178 i := len(dAtA) 19179 _ = i 19180 var l int 19181 _ = l 19182 if m.XXX_unrecognized != nil { 19183 i -= len(m.XXX_unrecognized) 19184 copy(dAtA[i:], m.XXX_unrecognized) 19185 } 19186 if len(m.Sql) > 0 { 19187 i -= len(m.Sql) 19188 copy(dAtA[i:], m.Sql) 19189 i = encodeVarintPlan(dAtA, i, uint64(len(m.Sql))) 19190 i-- 19191 dAtA[i] = 0x22 19192 } 19193 if m.SubscriptionOption != nil { 19194 { 19195 size, err := m.SubscriptionOption.MarshalToSizedBuffer(dAtA[:i]) 19196 if err != nil { 19197 return 0, err 19198 } 19199 i -= size 19200 i = encodeVarintPlan(dAtA, i, uint64(size)) 19201 } 19202 i-- 19203 dAtA[i] = 0x1a 19204 } 19205 if len(m.Database) > 0 { 19206 i -= len(m.Database) 19207 copy(dAtA[i:], m.Database) 19208 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 19209 i-- 19210 dAtA[i] = 0x12 19211 } 19212 if m.IfNotExists { 19213 i-- 19214 if m.IfNotExists { 19215 dAtA[i] = 1 19216 } else { 19217 dAtA[i] = 0 19218 } 19219 i-- 19220 dAtA[i] = 0x8 19221 } 19222 return len(dAtA) - i, nil 19223 } 19224 19225 func (m *AlterDatabase) Marshal() (dAtA []byte, err error) { 19226 size := m.ProtoSize() 19227 dAtA = make([]byte, size) 19228 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19229 if err != nil { 19230 return nil, err 19231 } 19232 return dAtA[:n], nil 19233 } 19234 19235 func (m *AlterDatabase) MarshalTo(dAtA []byte) (int, error) { 19236 size := m.ProtoSize() 19237 return m.MarshalToSizedBuffer(dAtA[:size]) 19238 } 19239 19240 func (m *AlterDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19241 i := len(dAtA) 19242 _ = i 19243 var l int 19244 _ = l 19245 if m.XXX_unrecognized != nil { 19246 i -= len(m.XXX_unrecognized) 19247 copy(dAtA[i:], m.XXX_unrecognized) 19248 } 19249 if len(m.Database) > 0 { 19250 i -= len(m.Database) 19251 copy(dAtA[i:], m.Database) 19252 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 19253 i-- 19254 dAtA[i] = 0x12 19255 } 19256 if m.IfExists { 19257 i-- 19258 if m.IfExists { 19259 dAtA[i] = 1 19260 } else { 19261 dAtA[i] = 0 19262 } 19263 i-- 19264 dAtA[i] = 0x8 19265 } 19266 return len(dAtA) - i, nil 19267 } 19268 19269 func (m *DropDatabase) Marshal() (dAtA []byte, err error) { 19270 size := m.ProtoSize() 19271 dAtA = make([]byte, size) 19272 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19273 if err != nil { 19274 return nil, err 19275 } 19276 return dAtA[:n], nil 19277 } 19278 19279 func (m *DropDatabase) MarshalTo(dAtA []byte) (int, error) { 19280 size := m.ProtoSize() 19281 return m.MarshalToSizedBuffer(dAtA[:size]) 19282 } 19283 19284 func (m *DropDatabase) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19285 i := len(dAtA) 19286 _ = i 19287 var l int 19288 _ = l 19289 if m.XXX_unrecognized != nil { 19290 i -= len(m.XXX_unrecognized) 19291 copy(dAtA[i:], m.XXX_unrecognized) 19292 } 19293 if len(m.CheckFKSql) > 0 { 19294 i -= len(m.CheckFKSql) 19295 copy(dAtA[i:], m.CheckFKSql) 19296 i = encodeVarintPlan(dAtA, i, uint64(len(m.CheckFKSql))) 19297 i-- 19298 dAtA[i] = 0x2a 19299 } 19300 if len(m.UpdateFkSql) > 0 { 19301 i -= len(m.UpdateFkSql) 19302 copy(dAtA[i:], m.UpdateFkSql) 19303 i = encodeVarintPlan(dAtA, i, uint64(len(m.UpdateFkSql))) 19304 i-- 19305 dAtA[i] = 0x22 19306 } 19307 if m.DatabaseId != 0 { 19308 i = encodeVarintPlan(dAtA, i, uint64(m.DatabaseId)) 19309 i-- 19310 dAtA[i] = 0x18 19311 } 19312 if len(m.Database) > 0 { 19313 i -= len(m.Database) 19314 copy(dAtA[i:], m.Database) 19315 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 19316 i-- 19317 dAtA[i] = 0x12 19318 } 19319 if m.IfExists { 19320 i-- 19321 if m.IfExists { 19322 dAtA[i] = 1 19323 } else { 19324 dAtA[i] = 0 19325 } 19326 i-- 19327 dAtA[i] = 0x8 19328 } 19329 return len(dAtA) - i, nil 19330 } 19331 19332 func (m *FkColName) Marshal() (dAtA []byte, err error) { 19333 size := m.ProtoSize() 19334 dAtA = make([]byte, size) 19335 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19336 if err != nil { 19337 return nil, err 19338 } 19339 return dAtA[:n], nil 19340 } 19341 19342 func (m *FkColName) MarshalTo(dAtA []byte) (int, error) { 19343 size := m.ProtoSize() 19344 return m.MarshalToSizedBuffer(dAtA[:size]) 19345 } 19346 19347 func (m *FkColName) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19348 i := len(dAtA) 19349 _ = i 19350 var l int 19351 _ = l 19352 if m.XXX_unrecognized != nil { 19353 i -= len(m.XXX_unrecognized) 19354 copy(dAtA[i:], m.XXX_unrecognized) 19355 } 19356 if len(m.Cols) > 0 { 19357 for iNdEx := len(m.Cols) - 1; iNdEx >= 0; iNdEx-- { 19358 i -= len(m.Cols[iNdEx]) 19359 copy(dAtA[i:], m.Cols[iNdEx]) 19360 i = encodeVarintPlan(dAtA, i, uint64(len(m.Cols[iNdEx]))) 19361 i-- 19362 dAtA[i] = 0xa 19363 } 19364 } 19365 return len(dAtA) - i, nil 19366 } 19367 19368 func (m *ForeignKeyInfo) Marshal() (dAtA []byte, err error) { 19369 size := m.ProtoSize() 19370 dAtA = make([]byte, size) 19371 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19372 if err != nil { 19373 return nil, err 19374 } 19375 return dAtA[:n], nil 19376 } 19377 19378 func (m *ForeignKeyInfo) MarshalTo(dAtA []byte) (int, error) { 19379 size := m.ProtoSize() 19380 return m.MarshalToSizedBuffer(dAtA[:size]) 19381 } 19382 19383 func (m *ForeignKeyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19384 i := len(dAtA) 19385 _ = i 19386 var l int 19387 _ = l 19388 if m.XXX_unrecognized != nil { 19389 i -= len(m.XXX_unrecognized) 19390 copy(dAtA[i:], m.XXX_unrecognized) 19391 } 19392 if m.Def != nil { 19393 { 19394 size, err := m.Def.MarshalToSizedBuffer(dAtA[:i]) 19395 if err != nil { 19396 return 0, err 19397 } 19398 i -= size 19399 i = encodeVarintPlan(dAtA, i, uint64(size)) 19400 } 19401 i-- 19402 dAtA[i] = 0x2a 19403 } 19404 if m.ColsReferred != nil { 19405 { 19406 size, err := m.ColsReferred.MarshalToSizedBuffer(dAtA[:i]) 19407 if err != nil { 19408 return 0, err 19409 } 19410 i -= size 19411 i = encodeVarintPlan(dAtA, i, uint64(size)) 19412 } 19413 i-- 19414 dAtA[i] = 0x22 19415 } 19416 if m.Cols != nil { 19417 { 19418 size, err := m.Cols.MarshalToSizedBuffer(dAtA[:i]) 19419 if err != nil { 19420 return 0, err 19421 } 19422 i -= size 19423 i = encodeVarintPlan(dAtA, i, uint64(size)) 19424 } 19425 i-- 19426 dAtA[i] = 0x1a 19427 } 19428 if len(m.Table) > 0 { 19429 i -= len(m.Table) 19430 copy(dAtA[i:], m.Table) 19431 i = encodeVarintPlan(dAtA, i, uint64(len(m.Table))) 19432 i-- 19433 dAtA[i] = 0x12 19434 } 19435 if len(m.Db) > 0 { 19436 i -= len(m.Db) 19437 copy(dAtA[i:], m.Db) 19438 i = encodeVarintPlan(dAtA, i, uint64(len(m.Db))) 19439 i-- 19440 dAtA[i] = 0xa 19441 } 19442 return len(dAtA) - i, nil 19443 } 19444 19445 func (m *CreateTable) Marshal() (dAtA []byte, err error) { 19446 size := m.ProtoSize() 19447 dAtA = make([]byte, size) 19448 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19449 if err != nil { 19450 return nil, err 19451 } 19452 return dAtA[:n], nil 19453 } 19454 19455 func (m *CreateTable) MarshalTo(dAtA []byte) (int, error) { 19456 size := m.ProtoSize() 19457 return m.MarshalToSizedBuffer(dAtA[:size]) 19458 } 19459 19460 func (m *CreateTable) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19461 i := len(dAtA) 19462 _ = i 19463 var l int 19464 _ = l 19465 if m.XXX_unrecognized != nil { 19466 i -= len(m.XXX_unrecognized) 19467 copy(dAtA[i:], m.XXX_unrecognized) 19468 } 19469 if len(m.FksReferToMe) > 0 { 19470 for iNdEx := len(m.FksReferToMe) - 1; iNdEx >= 0; iNdEx-- { 19471 { 19472 size, err := m.FksReferToMe[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 19473 if err != nil { 19474 return 0, err 19475 } 19476 i -= size 19477 i = encodeVarintPlan(dAtA, i, uint64(size)) 19478 } 19479 i-- 19480 dAtA[i] = 0x6a 19481 } 19482 } 19483 if len(m.UpdateFkSqls) > 0 { 19484 for iNdEx := len(m.UpdateFkSqls) - 1; iNdEx >= 0; iNdEx-- { 19485 i -= len(m.UpdateFkSqls[iNdEx]) 19486 copy(dAtA[i:], m.UpdateFkSqls[iNdEx]) 19487 i = encodeVarintPlan(dAtA, i, uint64(len(m.UpdateFkSqls[iNdEx]))) 19488 i-- 19489 dAtA[i] = 0x62 19490 } 19491 } 19492 if len(m.CreateAsSelectSql) > 0 { 19493 i -= len(m.CreateAsSelectSql) 19494 copy(dAtA[i:], m.CreateAsSelectSql) 19495 i = encodeVarintPlan(dAtA, i, uint64(len(m.CreateAsSelectSql))) 19496 i-- 19497 dAtA[i] = 0x5a 19498 } 19499 if len(m.PartitionTables) > 0 { 19500 for iNdEx := len(m.PartitionTables) - 1; iNdEx >= 0; iNdEx-- { 19501 { 19502 size, err := m.PartitionTables[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 19503 if err != nil { 19504 return 0, err 19505 } 19506 i -= size 19507 i = encodeVarintPlan(dAtA, i, uint64(size)) 19508 } 19509 i-- 19510 dAtA[i] = 0x52 19511 } 19512 } 19513 if len(m.FkCols) > 0 { 19514 for iNdEx := len(m.FkCols) - 1; iNdEx >= 0; iNdEx-- { 19515 { 19516 size, err := m.FkCols[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 19517 if err != nil { 19518 return 0, err 19519 } 19520 i -= size 19521 i = encodeVarintPlan(dAtA, i, uint64(size)) 19522 } 19523 i-- 19524 dAtA[i] = 0x4a 19525 } 19526 } 19527 if len(m.FkTables) > 0 { 19528 for iNdEx := len(m.FkTables) - 1; iNdEx >= 0; iNdEx-- { 19529 i -= len(m.FkTables[iNdEx]) 19530 copy(dAtA[i:], m.FkTables[iNdEx]) 19531 i = encodeVarintPlan(dAtA, i, uint64(len(m.FkTables[iNdEx]))) 19532 i-- 19533 dAtA[i] = 0x42 19534 } 19535 } 19536 if len(m.FkDbs) > 0 { 19537 for iNdEx := len(m.FkDbs) - 1; iNdEx >= 0; iNdEx-- { 19538 i -= len(m.FkDbs[iNdEx]) 19539 copy(dAtA[i:], m.FkDbs[iNdEx]) 19540 i = encodeVarintPlan(dAtA, i, uint64(len(m.FkDbs[iNdEx]))) 19541 i-- 19542 dAtA[i] = 0x3a 19543 } 19544 } 19545 if len(m.IndexTables) > 0 { 19546 for iNdEx := len(m.IndexTables) - 1; iNdEx >= 0; iNdEx-- { 19547 { 19548 size, err := m.IndexTables[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 19549 if err != nil { 19550 return 0, err 19551 } 19552 i -= size 19553 i = encodeVarintPlan(dAtA, i, uint64(size)) 19554 } 19555 i-- 19556 dAtA[i] = 0x32 19557 } 19558 } 19559 if m.TableDef != nil { 19560 { 19561 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 19562 if err != nil { 19563 return 0, err 19564 } 19565 i -= size 19566 i = encodeVarintPlan(dAtA, i, uint64(size)) 19567 } 19568 i-- 19569 dAtA[i] = 0x2a 19570 } 19571 if m.Replace { 19572 i-- 19573 if m.Replace { 19574 dAtA[i] = 1 19575 } else { 19576 dAtA[i] = 0 19577 } 19578 i-- 19579 dAtA[i] = 0x20 19580 } 19581 if len(m.Database) > 0 { 19582 i -= len(m.Database) 19583 copy(dAtA[i:], m.Database) 19584 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 19585 i-- 19586 dAtA[i] = 0x1a 19587 } 19588 if m.Temporary { 19589 i-- 19590 if m.Temporary { 19591 dAtA[i] = 1 19592 } else { 19593 dAtA[i] = 0 19594 } 19595 i-- 19596 dAtA[i] = 0x10 19597 } 19598 if m.IfNotExists { 19599 i-- 19600 if m.IfNotExists { 19601 dAtA[i] = 1 19602 } else { 19603 dAtA[i] = 0 19604 } 19605 i-- 19606 dAtA[i] = 0x8 19607 } 19608 return len(dAtA) - i, nil 19609 } 19610 19611 func (m *AlterTableDrop) Marshal() (dAtA []byte, err error) { 19612 size := m.ProtoSize() 19613 dAtA = make([]byte, size) 19614 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19615 if err != nil { 19616 return nil, err 19617 } 19618 return dAtA[:n], nil 19619 } 19620 19621 func (m *AlterTableDrop) MarshalTo(dAtA []byte) (int, error) { 19622 size := m.ProtoSize() 19623 return m.MarshalToSizedBuffer(dAtA[:size]) 19624 } 19625 19626 func (m *AlterTableDrop) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19627 i := len(dAtA) 19628 _ = i 19629 var l int 19630 _ = l 19631 if m.XXX_unrecognized != nil { 19632 i -= len(m.XXX_unrecognized) 19633 copy(dAtA[i:], m.XXX_unrecognized) 19634 } 19635 if len(m.IndexTableName) > 0 { 19636 i -= len(m.IndexTableName) 19637 copy(dAtA[i:], m.IndexTableName) 19638 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexTableName))) 19639 i-- 19640 dAtA[i] = 0x1a 19641 } 19642 if len(m.Name) > 0 { 19643 i -= len(m.Name) 19644 copy(dAtA[i:], m.Name) 19645 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 19646 i-- 19647 dAtA[i] = 0x12 19648 } 19649 if m.Typ != 0 { 19650 i = encodeVarintPlan(dAtA, i, uint64(m.Typ)) 19651 i-- 19652 dAtA[i] = 0x8 19653 } 19654 return len(dAtA) - i, nil 19655 } 19656 19657 func (m *AlterTableAddFk) Marshal() (dAtA []byte, err error) { 19658 size := m.ProtoSize() 19659 dAtA = make([]byte, size) 19660 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19661 if err != nil { 19662 return nil, err 19663 } 19664 return dAtA[:n], nil 19665 } 19666 19667 func (m *AlterTableAddFk) MarshalTo(dAtA []byte) (int, error) { 19668 size := m.ProtoSize() 19669 return m.MarshalToSizedBuffer(dAtA[:size]) 19670 } 19671 19672 func (m *AlterTableAddFk) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19673 i := len(dAtA) 19674 _ = i 19675 var l int 19676 _ = l 19677 if m.XXX_unrecognized != nil { 19678 i -= len(m.XXX_unrecognized) 19679 copy(dAtA[i:], m.XXX_unrecognized) 19680 } 19681 if m.Fkey != nil { 19682 { 19683 size, err := m.Fkey.MarshalToSizedBuffer(dAtA[:i]) 19684 if err != nil { 19685 return 0, err 19686 } 19687 i -= size 19688 i = encodeVarintPlan(dAtA, i, uint64(size)) 19689 } 19690 i-- 19691 dAtA[i] = 0x22 19692 } 19693 if len(m.Cols) > 0 { 19694 for iNdEx := len(m.Cols) - 1; iNdEx >= 0; iNdEx-- { 19695 i -= len(m.Cols[iNdEx]) 19696 copy(dAtA[i:], m.Cols[iNdEx]) 19697 i = encodeVarintPlan(dAtA, i, uint64(len(m.Cols[iNdEx]))) 19698 i-- 19699 dAtA[i] = 0x1a 19700 } 19701 } 19702 if len(m.TableName) > 0 { 19703 i -= len(m.TableName) 19704 copy(dAtA[i:], m.TableName) 19705 i = encodeVarintPlan(dAtA, i, uint64(len(m.TableName))) 19706 i-- 19707 dAtA[i] = 0x12 19708 } 19709 if len(m.DbName) > 0 { 19710 i -= len(m.DbName) 19711 copy(dAtA[i:], m.DbName) 19712 i = encodeVarintPlan(dAtA, i, uint64(len(m.DbName))) 19713 i-- 19714 dAtA[i] = 0xa 19715 } 19716 return len(dAtA) - i, nil 19717 } 19718 19719 func (m *AlterTableAddIndex) Marshal() (dAtA []byte, err error) { 19720 size := m.ProtoSize() 19721 dAtA = make([]byte, size) 19722 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19723 if err != nil { 19724 return nil, err 19725 } 19726 return dAtA[:n], nil 19727 } 19728 19729 func (m *AlterTableAddIndex) MarshalTo(dAtA []byte) (int, error) { 19730 size := m.ProtoSize() 19731 return m.MarshalToSizedBuffer(dAtA[:size]) 19732 } 19733 19734 func (m *AlterTableAddIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19735 i := len(dAtA) 19736 _ = i 19737 var l int 19738 _ = l 19739 if m.XXX_unrecognized != nil { 19740 i -= len(m.XXX_unrecognized) 19741 copy(dAtA[i:], m.XXX_unrecognized) 19742 } 19743 if m.IndexTableExist { 19744 i-- 19745 if m.IndexTableExist { 19746 dAtA[i] = 1 19747 } else { 19748 dAtA[i] = 0 19749 } 19750 i-- 19751 dAtA[i] = 0x28 19752 } 19753 if m.IndexInfo != nil { 19754 { 19755 size, err := m.IndexInfo.MarshalToSizedBuffer(dAtA[:i]) 19756 if err != nil { 19757 return 0, err 19758 } 19759 i -= size 19760 i = encodeVarintPlan(dAtA, i, uint64(size)) 19761 } 19762 i-- 19763 dAtA[i] = 0x22 19764 } 19765 if len(m.OriginTablePrimaryKey) > 0 { 19766 i -= len(m.OriginTablePrimaryKey) 19767 copy(dAtA[i:], m.OriginTablePrimaryKey) 19768 i = encodeVarintPlan(dAtA, i, uint64(len(m.OriginTablePrimaryKey))) 19769 i-- 19770 dAtA[i] = 0x1a 19771 } 19772 if len(m.TableName) > 0 { 19773 i -= len(m.TableName) 19774 copy(dAtA[i:], m.TableName) 19775 i = encodeVarintPlan(dAtA, i, uint64(len(m.TableName))) 19776 i-- 19777 dAtA[i] = 0x12 19778 } 19779 if len(m.DbName) > 0 { 19780 i -= len(m.DbName) 19781 copy(dAtA[i:], m.DbName) 19782 i = encodeVarintPlan(dAtA, i, uint64(len(m.DbName))) 19783 i-- 19784 dAtA[i] = 0xa 19785 } 19786 return len(dAtA) - i, nil 19787 } 19788 19789 func (m *AlterTableDropIndex) Marshal() (dAtA []byte, err error) { 19790 size := m.ProtoSize() 19791 dAtA = make([]byte, size) 19792 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19793 if err != nil { 19794 return nil, err 19795 } 19796 return dAtA[:n], nil 19797 } 19798 19799 func (m *AlterTableDropIndex) MarshalTo(dAtA []byte) (int, error) { 19800 size := m.ProtoSize() 19801 return m.MarshalToSizedBuffer(dAtA[:size]) 19802 } 19803 19804 func (m *AlterTableDropIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19805 i := len(dAtA) 19806 _ = i 19807 var l int 19808 _ = l 19809 if m.XXX_unrecognized != nil { 19810 i -= len(m.XXX_unrecognized) 19811 copy(dAtA[i:], m.XXX_unrecognized) 19812 } 19813 if len(m.IndexTableName) > 0 { 19814 i -= len(m.IndexTableName) 19815 copy(dAtA[i:], m.IndexTableName) 19816 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexTableName))) 19817 i-- 19818 dAtA[i] = 0x22 19819 } 19820 if len(m.IndexName) > 0 { 19821 i -= len(m.IndexName) 19822 copy(dAtA[i:], m.IndexName) 19823 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexName))) 19824 i-- 19825 dAtA[i] = 0x1a 19826 } 19827 if len(m.TableName) > 0 { 19828 i -= len(m.TableName) 19829 copy(dAtA[i:], m.TableName) 19830 i = encodeVarintPlan(dAtA, i, uint64(len(m.TableName))) 19831 i-- 19832 dAtA[i] = 0x12 19833 } 19834 if len(m.DbName) > 0 { 19835 i -= len(m.DbName) 19836 copy(dAtA[i:], m.DbName) 19837 i = encodeVarintPlan(dAtA, i, uint64(len(m.DbName))) 19838 i-- 19839 dAtA[i] = 0xa 19840 } 19841 return len(dAtA) - i, nil 19842 } 19843 19844 func (m *AlterTableAlterIndex) Marshal() (dAtA []byte, err error) { 19845 size := m.ProtoSize() 19846 dAtA = make([]byte, size) 19847 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19848 if err != nil { 19849 return nil, err 19850 } 19851 return dAtA[:n], nil 19852 } 19853 19854 func (m *AlterTableAlterIndex) MarshalTo(dAtA []byte) (int, error) { 19855 size := m.ProtoSize() 19856 return m.MarshalToSizedBuffer(dAtA[:size]) 19857 } 19858 19859 func (m *AlterTableAlterIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19860 i := len(dAtA) 19861 _ = i 19862 var l int 19863 _ = l 19864 if m.XXX_unrecognized != nil { 19865 i -= len(m.XXX_unrecognized) 19866 copy(dAtA[i:], m.XXX_unrecognized) 19867 } 19868 if m.Visible { 19869 i-- 19870 if m.Visible { 19871 dAtA[i] = 1 19872 } else { 19873 dAtA[i] = 0 19874 } 19875 i-- 19876 dAtA[i] = 0x20 19877 } 19878 if len(m.IndexName) > 0 { 19879 i -= len(m.IndexName) 19880 copy(dAtA[i:], m.IndexName) 19881 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexName))) 19882 i-- 19883 dAtA[i] = 0x1a 19884 } 19885 if len(m.TableName) > 0 { 19886 i -= len(m.TableName) 19887 copy(dAtA[i:], m.TableName) 19888 i = encodeVarintPlan(dAtA, i, uint64(len(m.TableName))) 19889 i-- 19890 dAtA[i] = 0x12 19891 } 19892 if len(m.DbName) > 0 { 19893 i -= len(m.DbName) 19894 copy(dAtA[i:], m.DbName) 19895 i = encodeVarintPlan(dAtA, i, uint64(len(m.DbName))) 19896 i-- 19897 dAtA[i] = 0xa 19898 } 19899 return len(dAtA) - i, nil 19900 } 19901 19902 func (m *AlterTableAlterReIndex) Marshal() (dAtA []byte, err error) { 19903 size := m.ProtoSize() 19904 dAtA = make([]byte, size) 19905 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19906 if err != nil { 19907 return nil, err 19908 } 19909 return dAtA[:n], nil 19910 } 19911 19912 func (m *AlterTableAlterReIndex) MarshalTo(dAtA []byte) (int, error) { 19913 size := m.ProtoSize() 19914 return m.MarshalToSizedBuffer(dAtA[:size]) 19915 } 19916 19917 func (m *AlterTableAlterReIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19918 i := len(dAtA) 19919 _ = i 19920 var l int 19921 _ = l 19922 if m.XXX_unrecognized != nil { 19923 i -= len(m.XXX_unrecognized) 19924 copy(dAtA[i:], m.XXX_unrecognized) 19925 } 19926 if m.IndexAlgoParamList != 0 { 19927 i = encodeVarintPlan(dAtA, i, uint64(m.IndexAlgoParamList)) 19928 i-- 19929 dAtA[i] = 0x20 19930 } 19931 if len(m.IndexName) > 0 { 19932 i -= len(m.IndexName) 19933 copy(dAtA[i:], m.IndexName) 19934 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexName))) 19935 i-- 19936 dAtA[i] = 0x1a 19937 } 19938 if len(m.TableName) > 0 { 19939 i -= len(m.TableName) 19940 copy(dAtA[i:], m.TableName) 19941 i = encodeVarintPlan(dAtA, i, uint64(len(m.TableName))) 19942 i-- 19943 dAtA[i] = 0x12 19944 } 19945 if len(m.DbName) > 0 { 19946 i -= len(m.DbName) 19947 copy(dAtA[i:], m.DbName) 19948 i = encodeVarintPlan(dAtA, i, uint64(len(m.DbName))) 19949 i-- 19950 dAtA[i] = 0xa 19951 } 19952 return len(dAtA) - i, nil 19953 } 19954 19955 func (m *AlterTableAddPartition) Marshal() (dAtA []byte, err error) { 19956 size := m.ProtoSize() 19957 dAtA = make([]byte, size) 19958 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 19959 if err != nil { 19960 return nil, err 19961 } 19962 return dAtA[:n], nil 19963 } 19964 19965 func (m *AlterTableAddPartition) MarshalTo(dAtA []byte) (int, error) { 19966 size := m.ProtoSize() 19967 return m.MarshalToSizedBuffer(dAtA[:size]) 19968 } 19969 19970 func (m *AlterTableAddPartition) MarshalToSizedBuffer(dAtA []byte) (int, error) { 19971 i := len(dAtA) 19972 _ = i 19973 var l int 19974 _ = l 19975 if m.XXX_unrecognized != nil { 19976 i -= len(m.XXX_unrecognized) 19977 copy(dAtA[i:], m.XXX_unrecognized) 19978 } 19979 if m.PartitionDef != nil { 19980 { 19981 size, err := m.PartitionDef.MarshalToSizedBuffer(dAtA[:i]) 19982 if err != nil { 19983 return 0, err 19984 } 19985 i -= size 19986 i = encodeVarintPlan(dAtA, i, uint64(size)) 19987 } 19988 i-- 19989 dAtA[i] = 0x1a 19990 } 19991 if len(m.PartitionTables) > 0 { 19992 for iNdEx := len(m.PartitionTables) - 1; iNdEx >= 0; iNdEx-- { 19993 { 19994 size, err := m.PartitionTables[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 19995 if err != nil { 19996 return 0, err 19997 } 19998 i -= size 19999 i = encodeVarintPlan(dAtA, i, uint64(size)) 20000 } 20001 i-- 20002 dAtA[i] = 0x12 20003 } 20004 } 20005 if len(m.Definitions) > 0 { 20006 for iNdEx := len(m.Definitions) - 1; iNdEx >= 0; iNdEx-- { 20007 { 20008 size, err := m.Definitions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 20009 if err != nil { 20010 return 0, err 20011 } 20012 i -= size 20013 i = encodeVarintPlan(dAtA, i, uint64(size)) 20014 } 20015 i-- 20016 dAtA[i] = 0xa 20017 } 20018 } 20019 return len(dAtA) - i, nil 20020 } 20021 20022 func (m *AlterTableComment) Marshal() (dAtA []byte, err error) { 20023 size := m.ProtoSize() 20024 dAtA = make([]byte, size) 20025 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20026 if err != nil { 20027 return nil, err 20028 } 20029 return dAtA[:n], nil 20030 } 20031 20032 func (m *AlterTableComment) MarshalTo(dAtA []byte) (int, error) { 20033 size := m.ProtoSize() 20034 return m.MarshalToSizedBuffer(dAtA[:size]) 20035 } 20036 20037 func (m *AlterTableComment) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20038 i := len(dAtA) 20039 _ = i 20040 var l int 20041 _ = l 20042 if m.XXX_unrecognized != nil { 20043 i -= len(m.XXX_unrecognized) 20044 copy(dAtA[i:], m.XXX_unrecognized) 20045 } 20046 if len(m.NewComment) > 0 { 20047 i -= len(m.NewComment) 20048 copy(dAtA[i:], m.NewComment) 20049 i = encodeVarintPlan(dAtA, i, uint64(len(m.NewComment))) 20050 i-- 20051 dAtA[i] = 0xa 20052 } 20053 return len(dAtA) - i, nil 20054 } 20055 20056 func (m *AlterTableName) Marshal() (dAtA []byte, err error) { 20057 size := m.ProtoSize() 20058 dAtA = make([]byte, size) 20059 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20060 if err != nil { 20061 return nil, err 20062 } 20063 return dAtA[:n], nil 20064 } 20065 20066 func (m *AlterTableName) MarshalTo(dAtA []byte) (int, error) { 20067 size := m.ProtoSize() 20068 return m.MarshalToSizedBuffer(dAtA[:size]) 20069 } 20070 20071 func (m *AlterTableName) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20072 i := len(dAtA) 20073 _ = i 20074 var l int 20075 _ = l 20076 if m.XXX_unrecognized != nil { 20077 i -= len(m.XXX_unrecognized) 20078 copy(dAtA[i:], m.XXX_unrecognized) 20079 } 20080 if len(m.NewName) > 0 { 20081 i -= len(m.NewName) 20082 copy(dAtA[i:], m.NewName) 20083 i = encodeVarintPlan(dAtA, i, uint64(len(m.NewName))) 20084 i-- 20085 dAtA[i] = 0x12 20086 } 20087 if len(m.OldName) > 0 { 20088 i -= len(m.OldName) 20089 copy(dAtA[i:], m.OldName) 20090 i = encodeVarintPlan(dAtA, i, uint64(len(m.OldName))) 20091 i-- 20092 dAtA[i] = 0xa 20093 } 20094 return len(dAtA) - i, nil 20095 } 20096 20097 func (m *AlterAddColumn) Marshal() (dAtA []byte, err error) { 20098 size := m.ProtoSize() 20099 dAtA = make([]byte, size) 20100 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20101 if err != nil { 20102 return nil, err 20103 } 20104 return dAtA[:n], nil 20105 } 20106 20107 func (m *AlterAddColumn) MarshalTo(dAtA []byte) (int, error) { 20108 size := m.ProtoSize() 20109 return m.MarshalToSizedBuffer(dAtA[:size]) 20110 } 20111 20112 func (m *AlterAddColumn) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20113 i := len(dAtA) 20114 _ = i 20115 var l int 20116 _ = l 20117 if m.XXX_unrecognized != nil { 20118 i -= len(m.XXX_unrecognized) 20119 copy(dAtA[i:], m.XXX_unrecognized) 20120 } 20121 if m.Pos != 0 { 20122 i = encodeVarintPlan(dAtA, i, uint64(m.Pos)) 20123 i-- 20124 dAtA[i] = 0x20 20125 } 20126 { 20127 size, err := m.Type.MarshalToSizedBuffer(dAtA[:i]) 20128 if err != nil { 20129 return 0, err 20130 } 20131 i -= size 20132 i = encodeVarintPlan(dAtA, i, uint64(size)) 20133 } 20134 i-- 20135 dAtA[i] = 0x1a 20136 if len(m.PreName) > 0 { 20137 i -= len(m.PreName) 20138 copy(dAtA[i:], m.PreName) 20139 i = encodeVarintPlan(dAtA, i, uint64(len(m.PreName))) 20140 i-- 20141 dAtA[i] = 0x12 20142 } 20143 if len(m.Name) > 0 { 20144 i -= len(m.Name) 20145 copy(dAtA[i:], m.Name) 20146 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 20147 i-- 20148 dAtA[i] = 0xa 20149 } 20150 return len(dAtA) - i, nil 20151 } 20152 20153 func (m *AlterDropColumn) Marshal() (dAtA []byte, err error) { 20154 size := m.ProtoSize() 20155 dAtA = make([]byte, size) 20156 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20157 if err != nil { 20158 return nil, err 20159 } 20160 return dAtA[:n], nil 20161 } 20162 20163 func (m *AlterDropColumn) MarshalTo(dAtA []byte) (int, error) { 20164 size := m.ProtoSize() 20165 return m.MarshalToSizedBuffer(dAtA[:size]) 20166 } 20167 20168 func (m *AlterDropColumn) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20169 i := len(dAtA) 20170 _ = i 20171 var l int 20172 _ = l 20173 if m.XXX_unrecognized != nil { 20174 i -= len(m.XXX_unrecognized) 20175 copy(dAtA[i:], m.XXX_unrecognized) 20176 } 20177 if m.Seq != 0 { 20178 i = encodeVarintPlan(dAtA, i, uint64(m.Seq)) 20179 i-- 20180 dAtA[i] = 0x10 20181 } 20182 if m.Idx != 0 { 20183 i = encodeVarintPlan(dAtA, i, uint64(m.Idx)) 20184 i-- 20185 dAtA[i] = 0x8 20186 } 20187 return len(dAtA) - i, nil 20188 } 20189 20190 func (m *AlterTable) Marshal() (dAtA []byte, err error) { 20191 size := m.ProtoSize() 20192 dAtA = make([]byte, size) 20193 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20194 if err != nil { 20195 return nil, err 20196 } 20197 return dAtA[:n], nil 20198 } 20199 20200 func (m *AlterTable) MarshalTo(dAtA []byte) (int, error) { 20201 size := m.ProtoSize() 20202 return m.MarshalToSizedBuffer(dAtA[:size]) 20203 } 20204 20205 func (m *AlterTable) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20206 i := len(dAtA) 20207 _ = i 20208 var l int 20209 _ = l 20210 if m.XXX_unrecognized != nil { 20211 i -= len(m.XXX_unrecognized) 20212 copy(dAtA[i:], m.XXX_unrecognized) 20213 } 20214 if len(m.UpdateFkSqls) > 0 { 20215 for iNdEx := len(m.UpdateFkSqls) - 1; iNdEx >= 0; iNdEx-- { 20216 i -= len(m.UpdateFkSqls[iNdEx]) 20217 copy(dAtA[i:], m.UpdateFkSqls[iNdEx]) 20218 i = encodeVarintPlan(dAtA, i, uint64(len(m.UpdateFkSqls[iNdEx]))) 20219 i-- 20220 dAtA[i] = 0x6a 20221 } 20222 } 20223 if len(m.DetectSqls) > 0 { 20224 for iNdEx := len(m.DetectSqls) - 1; iNdEx >= 0; iNdEx-- { 20225 i -= len(m.DetectSqls[iNdEx]) 20226 copy(dAtA[i:], m.DetectSqls[iNdEx]) 20227 i = encodeVarintPlan(dAtA, i, uint64(len(m.DetectSqls[iNdEx]))) 20228 i-- 20229 dAtA[i] = 0x62 20230 } 20231 } 20232 if len(m.ChangeTblColIdMap) > 0 { 20233 for k := range m.ChangeTblColIdMap { 20234 v := m.ChangeTblColIdMap[k] 20235 baseI := i 20236 if v != nil { 20237 { 20238 size, err := v.MarshalToSizedBuffer(dAtA[:i]) 20239 if err != nil { 20240 return 0, err 20241 } 20242 i -= size 20243 i = encodeVarintPlan(dAtA, i, uint64(size)) 20244 } 20245 i-- 20246 dAtA[i] = 0x12 20247 } 20248 i = encodeVarintPlan(dAtA, i, uint64(k)) 20249 i-- 20250 dAtA[i] = 0x8 20251 i = encodeVarintPlan(dAtA, i, uint64(baseI-i)) 20252 i-- 20253 dAtA[i] = 0x5a 20254 } 20255 } 20256 if len(m.InsertDataSql) > 0 { 20257 i -= len(m.InsertDataSql) 20258 copy(dAtA[i:], m.InsertDataSql) 20259 i = encodeVarintPlan(dAtA, i, uint64(len(m.InsertDataSql))) 20260 i-- 20261 dAtA[i] = 0x52 20262 } 20263 if len(m.CreateTableSql) > 0 { 20264 i -= len(m.CreateTableSql) 20265 copy(dAtA[i:], m.CreateTableSql) 20266 i = encodeVarintPlan(dAtA, i, uint64(len(m.CreateTableSql))) 20267 i-- 20268 dAtA[i] = 0x4a 20269 } 20270 if len(m.InsertTmpDataSql) > 0 { 20271 i -= len(m.InsertTmpDataSql) 20272 copy(dAtA[i:], m.InsertTmpDataSql) 20273 i = encodeVarintPlan(dAtA, i, uint64(len(m.InsertTmpDataSql))) 20274 i-- 20275 dAtA[i] = 0x42 20276 } 20277 if len(m.CreateTmpTableSql) > 0 { 20278 i -= len(m.CreateTmpTableSql) 20279 copy(dAtA[i:], m.CreateTmpTableSql) 20280 i = encodeVarintPlan(dAtA, i, uint64(len(m.CreateTmpTableSql))) 20281 i-- 20282 dAtA[i] = 0x3a 20283 } 20284 if m.AlgorithmType != 0 { 20285 i = encodeVarintPlan(dAtA, i, uint64(m.AlgorithmType)) 20286 i-- 20287 dAtA[i] = 0x30 20288 } 20289 if len(m.Actions) > 0 { 20290 for iNdEx := len(m.Actions) - 1; iNdEx >= 0; iNdEx-- { 20291 { 20292 size, err := m.Actions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 20293 if err != nil { 20294 return 0, err 20295 } 20296 i -= size 20297 i = encodeVarintPlan(dAtA, i, uint64(size)) 20298 } 20299 i-- 20300 dAtA[i] = 0x2a 20301 } 20302 } 20303 if m.IsClusterTable { 20304 i-- 20305 if m.IsClusterTable { 20306 dAtA[i] = 1 20307 } else { 20308 dAtA[i] = 0 20309 } 20310 i-- 20311 dAtA[i] = 0x20 20312 } 20313 if m.CopyTableDef != nil { 20314 { 20315 size, err := m.CopyTableDef.MarshalToSizedBuffer(dAtA[:i]) 20316 if err != nil { 20317 return 0, err 20318 } 20319 i -= size 20320 i = encodeVarintPlan(dAtA, i, uint64(size)) 20321 } 20322 i-- 20323 dAtA[i] = 0x1a 20324 } 20325 if m.TableDef != nil { 20326 { 20327 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 20328 if err != nil { 20329 return 0, err 20330 } 20331 i -= size 20332 i = encodeVarintPlan(dAtA, i, uint64(size)) 20333 } 20334 i-- 20335 dAtA[i] = 0x12 20336 } 20337 if len(m.Database) > 0 { 20338 i -= len(m.Database) 20339 copy(dAtA[i:], m.Database) 20340 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 20341 i-- 20342 dAtA[i] = 0xa 20343 } 20344 return len(dAtA) - i, nil 20345 } 20346 20347 func (m *AlterTable_Action) Marshal() (dAtA []byte, err error) { 20348 size := m.ProtoSize() 20349 dAtA = make([]byte, size) 20350 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20351 if err != nil { 20352 return nil, err 20353 } 20354 return dAtA[:n], nil 20355 } 20356 20357 func (m *AlterTable_Action) MarshalTo(dAtA []byte) (int, error) { 20358 size := m.ProtoSize() 20359 return m.MarshalToSizedBuffer(dAtA[:size]) 20360 } 20361 20362 func (m *AlterTable_Action) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20363 i := len(dAtA) 20364 _ = i 20365 var l int 20366 _ = l 20367 if m.XXX_unrecognized != nil { 20368 i -= len(m.XXX_unrecognized) 20369 copy(dAtA[i:], m.XXX_unrecognized) 20370 } 20371 if m.Action != nil { 20372 { 20373 size := m.Action.ProtoSize() 20374 i -= size 20375 if _, err := m.Action.MarshalTo(dAtA[i:]); err != nil { 20376 return 0, err 20377 } 20378 } 20379 } 20380 return len(dAtA) - i, nil 20381 } 20382 20383 func (m *AlterTable_Action_Drop) MarshalTo(dAtA []byte) (int, error) { 20384 size := m.ProtoSize() 20385 return m.MarshalToSizedBuffer(dAtA[:size]) 20386 } 20387 20388 func (m *AlterTable_Action_Drop) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20389 i := len(dAtA) 20390 if m.Drop != nil { 20391 { 20392 size, err := m.Drop.MarshalToSizedBuffer(dAtA[:i]) 20393 if err != nil { 20394 return 0, err 20395 } 20396 i -= size 20397 i = encodeVarintPlan(dAtA, i, uint64(size)) 20398 } 20399 i-- 20400 dAtA[i] = 0xa 20401 } 20402 return len(dAtA) - i, nil 20403 } 20404 func (m *AlterTable_Action_AddFk) MarshalTo(dAtA []byte) (int, error) { 20405 size := m.ProtoSize() 20406 return m.MarshalToSizedBuffer(dAtA[:size]) 20407 } 20408 20409 func (m *AlterTable_Action_AddFk) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20410 i := len(dAtA) 20411 if m.AddFk != nil { 20412 { 20413 size, err := m.AddFk.MarshalToSizedBuffer(dAtA[:i]) 20414 if err != nil { 20415 return 0, err 20416 } 20417 i -= size 20418 i = encodeVarintPlan(dAtA, i, uint64(size)) 20419 } 20420 i-- 20421 dAtA[i] = 0x12 20422 } 20423 return len(dAtA) - i, nil 20424 } 20425 func (m *AlterTable_Action_AddIndex) MarshalTo(dAtA []byte) (int, error) { 20426 size := m.ProtoSize() 20427 return m.MarshalToSizedBuffer(dAtA[:size]) 20428 } 20429 20430 func (m *AlterTable_Action_AddIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20431 i := len(dAtA) 20432 if m.AddIndex != nil { 20433 { 20434 size, err := m.AddIndex.MarshalToSizedBuffer(dAtA[:i]) 20435 if err != nil { 20436 return 0, err 20437 } 20438 i -= size 20439 i = encodeVarintPlan(dAtA, i, uint64(size)) 20440 } 20441 i-- 20442 dAtA[i] = 0x1a 20443 } 20444 return len(dAtA) - i, nil 20445 } 20446 func (m *AlterTable_Action_AlterIndex) MarshalTo(dAtA []byte) (int, error) { 20447 size := m.ProtoSize() 20448 return m.MarshalToSizedBuffer(dAtA[:size]) 20449 } 20450 20451 func (m *AlterTable_Action_AlterIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20452 i := len(dAtA) 20453 if m.AlterIndex != nil { 20454 { 20455 size, err := m.AlterIndex.MarshalToSizedBuffer(dAtA[:i]) 20456 if err != nil { 20457 return 0, err 20458 } 20459 i -= size 20460 i = encodeVarintPlan(dAtA, i, uint64(size)) 20461 } 20462 i-- 20463 dAtA[i] = 0x22 20464 } 20465 return len(dAtA) - i, nil 20466 } 20467 func (m *AlterTable_Action_AlterComment) MarshalTo(dAtA []byte) (int, error) { 20468 size := m.ProtoSize() 20469 return m.MarshalToSizedBuffer(dAtA[:size]) 20470 } 20471 20472 func (m *AlterTable_Action_AlterComment) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20473 i := len(dAtA) 20474 if m.AlterComment != nil { 20475 { 20476 size, err := m.AlterComment.MarshalToSizedBuffer(dAtA[:i]) 20477 if err != nil { 20478 return 0, err 20479 } 20480 i -= size 20481 i = encodeVarintPlan(dAtA, i, uint64(size)) 20482 } 20483 i-- 20484 dAtA[i] = 0x2a 20485 } 20486 return len(dAtA) - i, nil 20487 } 20488 func (m *AlterTable_Action_AlterName) MarshalTo(dAtA []byte) (int, error) { 20489 size := m.ProtoSize() 20490 return m.MarshalToSizedBuffer(dAtA[:size]) 20491 } 20492 20493 func (m *AlterTable_Action_AlterName) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20494 i := len(dAtA) 20495 if m.AlterName != nil { 20496 { 20497 size, err := m.AlterName.MarshalToSizedBuffer(dAtA[:i]) 20498 if err != nil { 20499 return 0, err 20500 } 20501 i -= size 20502 i = encodeVarintPlan(dAtA, i, uint64(size)) 20503 } 20504 i-- 20505 dAtA[i] = 0x32 20506 } 20507 return len(dAtA) - i, nil 20508 } 20509 func (m *AlterTable_Action_AddColumn) MarshalTo(dAtA []byte) (int, error) { 20510 size := m.ProtoSize() 20511 return m.MarshalToSizedBuffer(dAtA[:size]) 20512 } 20513 20514 func (m *AlterTable_Action_AddColumn) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20515 i := len(dAtA) 20516 if m.AddColumn != nil { 20517 { 20518 size, err := m.AddColumn.MarshalToSizedBuffer(dAtA[:i]) 20519 if err != nil { 20520 return 0, err 20521 } 20522 i -= size 20523 i = encodeVarintPlan(dAtA, i, uint64(size)) 20524 } 20525 i-- 20526 dAtA[i] = 0x3a 20527 } 20528 return len(dAtA) - i, nil 20529 } 20530 func (m *AlterTable_Action_DropColumn) MarshalTo(dAtA []byte) (int, error) { 20531 size := m.ProtoSize() 20532 return m.MarshalToSizedBuffer(dAtA[:size]) 20533 } 20534 20535 func (m *AlterTable_Action_DropColumn) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20536 i := len(dAtA) 20537 if m.DropColumn != nil { 20538 { 20539 size, err := m.DropColumn.MarshalToSizedBuffer(dAtA[:i]) 20540 if err != nil { 20541 return 0, err 20542 } 20543 i -= size 20544 i = encodeVarintPlan(dAtA, i, uint64(size)) 20545 } 20546 i-- 20547 dAtA[i] = 0x42 20548 } 20549 return len(dAtA) - i, nil 20550 } 20551 func (m *AlterTable_Action_AlterReindex) MarshalTo(dAtA []byte) (int, error) { 20552 size := m.ProtoSize() 20553 return m.MarshalToSizedBuffer(dAtA[:size]) 20554 } 20555 20556 func (m *AlterTable_Action_AlterReindex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20557 i := len(dAtA) 20558 if m.AlterReindex != nil { 20559 { 20560 size, err := m.AlterReindex.MarshalToSizedBuffer(dAtA[:i]) 20561 if err != nil { 20562 return 0, err 20563 } 20564 i -= size 20565 i = encodeVarintPlan(dAtA, i, uint64(size)) 20566 } 20567 i-- 20568 dAtA[i] = 0x4a 20569 } 20570 return len(dAtA) - i, nil 20571 } 20572 func (m *AlterTable_Action_AddPartition) MarshalTo(dAtA []byte) (int, error) { 20573 size := m.ProtoSize() 20574 return m.MarshalToSizedBuffer(dAtA[:size]) 20575 } 20576 20577 func (m *AlterTable_Action_AddPartition) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20578 i := len(dAtA) 20579 if m.AddPartition != nil { 20580 { 20581 size, err := m.AddPartition.MarshalToSizedBuffer(dAtA[:i]) 20582 if err != nil { 20583 return 0, err 20584 } 20585 i -= size 20586 i = encodeVarintPlan(dAtA, i, uint64(size)) 20587 } 20588 i-- 20589 dAtA[i] = 0x52 20590 } 20591 return len(dAtA) - i, nil 20592 } 20593 func (m *DropTable) Marshal() (dAtA []byte, err error) { 20594 size := m.ProtoSize() 20595 dAtA = make([]byte, size) 20596 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20597 if err != nil { 20598 return nil, err 20599 } 20600 return dAtA[:n], nil 20601 } 20602 20603 func (m *DropTable) MarshalTo(dAtA []byte) (int, error) { 20604 size := m.ProtoSize() 20605 return m.MarshalToSizedBuffer(dAtA[:size]) 20606 } 20607 20608 func (m *DropTable) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20609 i := len(dAtA) 20610 _ = i 20611 var l int 20612 _ = l 20613 if m.XXX_unrecognized != nil { 20614 i -= len(m.XXX_unrecognized) 20615 copy(dAtA[i:], m.XXX_unrecognized) 20616 } 20617 if len(m.FkChildTblsReferToMe) > 0 { 20618 dAtA179 := make([]byte, len(m.FkChildTblsReferToMe)*10) 20619 var j178 int 20620 for _, num := range m.FkChildTblsReferToMe { 20621 for num >= 1<<7 { 20622 dAtA179[j178] = uint8(uint64(num)&0x7f | 0x80) 20623 num >>= 7 20624 j178++ 20625 } 20626 dAtA179[j178] = uint8(num) 20627 j178++ 20628 } 20629 i -= j178 20630 copy(dAtA[i:], dAtA179[:j178]) 20631 i = encodeVarintPlan(dAtA, i, uint64(j178)) 20632 i-- 20633 dAtA[i] = 0x62 20634 } 20635 if len(m.UpdateFkSqls) > 0 { 20636 for iNdEx := len(m.UpdateFkSqls) - 1; iNdEx >= 0; iNdEx-- { 20637 i -= len(m.UpdateFkSqls[iNdEx]) 20638 copy(dAtA[i:], m.UpdateFkSqls[iNdEx]) 20639 i = encodeVarintPlan(dAtA, i, uint64(len(m.UpdateFkSqls[iNdEx]))) 20640 i-- 20641 dAtA[i] = 0x5a 20642 } 20643 } 20644 if m.TableDef != nil { 20645 { 20646 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 20647 if err != nil { 20648 return 0, err 20649 } 20650 i -= size 20651 i = encodeVarintPlan(dAtA, i, uint64(size)) 20652 } 20653 i-- 20654 dAtA[i] = 0x52 20655 } 20656 if m.IsView { 20657 i-- 20658 if m.IsView { 20659 dAtA[i] = 1 20660 } else { 20661 dAtA[i] = 0 20662 } 20663 i-- 20664 dAtA[i] = 0x48 20665 } 20666 if len(m.PartitionTableNames) > 0 { 20667 for iNdEx := len(m.PartitionTableNames) - 1; iNdEx >= 0; iNdEx-- { 20668 i -= len(m.PartitionTableNames[iNdEx]) 20669 copy(dAtA[i:], m.PartitionTableNames[iNdEx]) 20670 i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionTableNames[iNdEx]))) 20671 i-- 20672 dAtA[i] = 0x42 20673 } 20674 } 20675 if len(m.ForeignTbl) > 0 { 20676 dAtA182 := make([]byte, len(m.ForeignTbl)*10) 20677 var j181 int 20678 for _, num := range m.ForeignTbl { 20679 for num >= 1<<7 { 20680 dAtA182[j181] = uint8(uint64(num)&0x7f | 0x80) 20681 num >>= 7 20682 j181++ 20683 } 20684 dAtA182[j181] = uint8(num) 20685 j181++ 20686 } 20687 i -= j181 20688 copy(dAtA[i:], dAtA182[:j181]) 20689 i = encodeVarintPlan(dAtA, i, uint64(j181)) 20690 i-- 20691 dAtA[i] = 0x3a 20692 } 20693 if m.TableId != 0 { 20694 i = encodeVarintPlan(dAtA, i, uint64(m.TableId)) 20695 i-- 20696 dAtA[i] = 0x30 20697 } 20698 if m.ClusterTable != nil { 20699 { 20700 size, err := m.ClusterTable.MarshalToSizedBuffer(dAtA[:i]) 20701 if err != nil { 20702 return 0, err 20703 } 20704 i -= size 20705 i = encodeVarintPlan(dAtA, i, uint64(size)) 20706 } 20707 i-- 20708 dAtA[i] = 0x2a 20709 } 20710 if len(m.IndexTableNames) > 0 { 20711 for iNdEx := len(m.IndexTableNames) - 1; iNdEx >= 0; iNdEx-- { 20712 i -= len(m.IndexTableNames[iNdEx]) 20713 copy(dAtA[i:], m.IndexTableNames[iNdEx]) 20714 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexTableNames[iNdEx]))) 20715 i-- 20716 dAtA[i] = 0x22 20717 } 20718 } 20719 if len(m.Table) > 0 { 20720 i -= len(m.Table) 20721 copy(dAtA[i:], m.Table) 20722 i = encodeVarintPlan(dAtA, i, uint64(len(m.Table))) 20723 i-- 20724 dAtA[i] = 0x1a 20725 } 20726 if len(m.Database) > 0 { 20727 i -= len(m.Database) 20728 copy(dAtA[i:], m.Database) 20729 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 20730 i-- 20731 dAtA[i] = 0x12 20732 } 20733 if m.IfExists { 20734 i-- 20735 if m.IfExists { 20736 dAtA[i] = 1 20737 } else { 20738 dAtA[i] = 0 20739 } 20740 i-- 20741 dAtA[i] = 0x8 20742 } 20743 return len(dAtA) - i, nil 20744 } 20745 20746 func (m *AlterView) Marshal() (dAtA []byte, err error) { 20747 size := m.ProtoSize() 20748 dAtA = make([]byte, size) 20749 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20750 if err != nil { 20751 return nil, err 20752 } 20753 return dAtA[:n], nil 20754 } 20755 20756 func (m *AlterView) MarshalTo(dAtA []byte) (int, error) { 20757 size := m.ProtoSize() 20758 return m.MarshalToSizedBuffer(dAtA[:size]) 20759 } 20760 20761 func (m *AlterView) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20762 i := len(dAtA) 20763 _ = i 20764 var l int 20765 _ = l 20766 if m.XXX_unrecognized != nil { 20767 i -= len(m.XXX_unrecognized) 20768 copy(dAtA[i:], m.XXX_unrecognized) 20769 } 20770 if m.TableDef != nil { 20771 { 20772 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 20773 if err != nil { 20774 return 0, err 20775 } 20776 i -= size 20777 i = encodeVarintPlan(dAtA, i, uint64(size)) 20778 } 20779 i-- 20780 dAtA[i] = 0x22 20781 } 20782 if len(m.Database) > 0 { 20783 i -= len(m.Database) 20784 copy(dAtA[i:], m.Database) 20785 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 20786 i-- 20787 dAtA[i] = 0x12 20788 } 20789 if m.IfExists { 20790 i-- 20791 if m.IfExists { 20792 dAtA[i] = 1 20793 } else { 20794 dAtA[i] = 0 20795 } 20796 i-- 20797 dAtA[i] = 0x8 20798 } 20799 return len(dAtA) - i, nil 20800 } 20801 20802 func (m *CreateSequence) Marshal() (dAtA []byte, err error) { 20803 size := m.ProtoSize() 20804 dAtA = make([]byte, size) 20805 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20806 if err != nil { 20807 return nil, err 20808 } 20809 return dAtA[:n], nil 20810 } 20811 20812 func (m *CreateSequence) MarshalTo(dAtA []byte) (int, error) { 20813 size := m.ProtoSize() 20814 return m.MarshalToSizedBuffer(dAtA[:size]) 20815 } 20816 20817 func (m *CreateSequence) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20818 i := len(dAtA) 20819 _ = i 20820 var l int 20821 _ = l 20822 if m.XXX_unrecognized != nil { 20823 i -= len(m.XXX_unrecognized) 20824 copy(dAtA[i:], m.XXX_unrecognized) 20825 } 20826 if m.TableDef != nil { 20827 { 20828 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 20829 if err != nil { 20830 return 0, err 20831 } 20832 i -= size 20833 i = encodeVarintPlan(dAtA, i, uint64(size)) 20834 } 20835 i-- 20836 dAtA[i] = 0x1a 20837 } 20838 if len(m.Database) > 0 { 20839 i -= len(m.Database) 20840 copy(dAtA[i:], m.Database) 20841 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 20842 i-- 20843 dAtA[i] = 0x12 20844 } 20845 if m.IfNotExists { 20846 i-- 20847 if m.IfNotExists { 20848 dAtA[i] = 1 20849 } else { 20850 dAtA[i] = 0 20851 } 20852 i-- 20853 dAtA[i] = 0x8 20854 } 20855 return len(dAtA) - i, nil 20856 } 20857 20858 func (m *DropSequence) Marshal() (dAtA []byte, err error) { 20859 size := m.ProtoSize() 20860 dAtA = make([]byte, size) 20861 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20862 if err != nil { 20863 return nil, err 20864 } 20865 return dAtA[:n], nil 20866 } 20867 20868 func (m *DropSequence) MarshalTo(dAtA []byte) (int, error) { 20869 size := m.ProtoSize() 20870 return m.MarshalToSizedBuffer(dAtA[:size]) 20871 } 20872 20873 func (m *DropSequence) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20874 i := len(dAtA) 20875 _ = i 20876 var l int 20877 _ = l 20878 if m.XXX_unrecognized != nil { 20879 i -= len(m.XXX_unrecognized) 20880 copy(dAtA[i:], m.XXX_unrecognized) 20881 } 20882 if m.TableId != 0 { 20883 i = encodeVarintPlan(dAtA, i, uint64(m.TableId)) 20884 i-- 20885 dAtA[i] = 0x20 20886 } 20887 if len(m.Table) > 0 { 20888 i -= len(m.Table) 20889 copy(dAtA[i:], m.Table) 20890 i = encodeVarintPlan(dAtA, i, uint64(len(m.Table))) 20891 i-- 20892 dAtA[i] = 0x1a 20893 } 20894 if len(m.Database) > 0 { 20895 i -= len(m.Database) 20896 copy(dAtA[i:], m.Database) 20897 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 20898 i-- 20899 dAtA[i] = 0x12 20900 } 20901 if m.IfExists { 20902 i-- 20903 if m.IfExists { 20904 dAtA[i] = 1 20905 } else { 20906 dAtA[i] = 0 20907 } 20908 i-- 20909 dAtA[i] = 0x8 20910 } 20911 return len(dAtA) - i, nil 20912 } 20913 20914 func (m *AlterSequence) Marshal() (dAtA []byte, err error) { 20915 size := m.ProtoSize() 20916 dAtA = make([]byte, size) 20917 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20918 if err != nil { 20919 return nil, err 20920 } 20921 return dAtA[:n], nil 20922 } 20923 20924 func (m *AlterSequence) MarshalTo(dAtA []byte) (int, error) { 20925 size := m.ProtoSize() 20926 return m.MarshalToSizedBuffer(dAtA[:size]) 20927 } 20928 20929 func (m *AlterSequence) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20930 i := len(dAtA) 20931 _ = i 20932 var l int 20933 _ = l 20934 if m.XXX_unrecognized != nil { 20935 i -= len(m.XXX_unrecognized) 20936 copy(dAtA[i:], m.XXX_unrecognized) 20937 } 20938 if m.TableDef != nil { 20939 { 20940 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 20941 if err != nil { 20942 return 0, err 20943 } 20944 i -= size 20945 i = encodeVarintPlan(dAtA, i, uint64(size)) 20946 } 20947 i-- 20948 dAtA[i] = 0x1a 20949 } 20950 if len(m.Database) > 0 { 20951 i -= len(m.Database) 20952 copy(dAtA[i:], m.Database) 20953 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 20954 i-- 20955 dAtA[i] = 0x12 20956 } 20957 if m.IfExists { 20958 i-- 20959 if m.IfExists { 20960 dAtA[i] = 1 20961 } else { 20962 dAtA[i] = 0 20963 } 20964 i-- 20965 dAtA[i] = 0x8 20966 } 20967 return len(dAtA) - i, nil 20968 } 20969 20970 func (m *CreateIndex) Marshal() (dAtA []byte, err error) { 20971 size := m.ProtoSize() 20972 dAtA = make([]byte, size) 20973 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 20974 if err != nil { 20975 return nil, err 20976 } 20977 return dAtA[:n], nil 20978 } 20979 20980 func (m *CreateIndex) MarshalTo(dAtA []byte) (int, error) { 20981 size := m.ProtoSize() 20982 return m.MarshalToSizedBuffer(dAtA[:size]) 20983 } 20984 20985 func (m *CreateIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 20986 i := len(dAtA) 20987 _ = i 20988 var l int 20989 _ = l 20990 if m.XXX_unrecognized != nil { 20991 i -= len(m.XXX_unrecognized) 20992 copy(dAtA[i:], m.XXX_unrecognized) 20993 } 20994 if m.TableExist { 20995 i-- 20996 if m.TableExist { 20997 dAtA[i] = 1 20998 } else { 20999 dAtA[i] = 0 21000 } 21001 i-- 21002 dAtA[i] = 0x30 21003 } 21004 if m.Index != nil { 21005 { 21006 size, err := m.Index.MarshalToSizedBuffer(dAtA[:i]) 21007 if err != nil { 21008 return 0, err 21009 } 21010 i -= size 21011 i = encodeVarintPlan(dAtA, i, uint64(size)) 21012 } 21013 i-- 21014 dAtA[i] = 0x2a 21015 } 21016 if len(m.OriginTablePrimaryKey) > 0 { 21017 i -= len(m.OriginTablePrimaryKey) 21018 copy(dAtA[i:], m.OriginTablePrimaryKey) 21019 i = encodeVarintPlan(dAtA, i, uint64(len(m.OriginTablePrimaryKey))) 21020 i-- 21021 dAtA[i] = 0x22 21022 } 21023 if m.TableDef != nil { 21024 { 21025 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 21026 if err != nil { 21027 return 0, err 21028 } 21029 i -= size 21030 i = encodeVarintPlan(dAtA, i, uint64(size)) 21031 } 21032 i-- 21033 dAtA[i] = 0x1a 21034 } 21035 if len(m.Table) > 0 { 21036 i -= len(m.Table) 21037 copy(dAtA[i:], m.Table) 21038 i = encodeVarintPlan(dAtA, i, uint64(len(m.Table))) 21039 i-- 21040 dAtA[i] = 0x12 21041 } 21042 if len(m.Database) > 0 { 21043 i -= len(m.Database) 21044 copy(dAtA[i:], m.Database) 21045 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 21046 i-- 21047 dAtA[i] = 0xa 21048 } 21049 return len(dAtA) - i, nil 21050 } 21051 21052 func (m *AlterIndex) Marshal() (dAtA []byte, err error) { 21053 size := m.ProtoSize() 21054 dAtA = make([]byte, size) 21055 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21056 if err != nil { 21057 return nil, err 21058 } 21059 return dAtA[:n], nil 21060 } 21061 21062 func (m *AlterIndex) MarshalTo(dAtA []byte) (int, error) { 21063 size := m.ProtoSize() 21064 return m.MarshalToSizedBuffer(dAtA[:size]) 21065 } 21066 21067 func (m *AlterIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21068 i := len(dAtA) 21069 _ = i 21070 var l int 21071 _ = l 21072 if m.XXX_unrecognized != nil { 21073 i -= len(m.XXX_unrecognized) 21074 copy(dAtA[i:], m.XXX_unrecognized) 21075 } 21076 if len(m.Index) > 0 { 21077 i -= len(m.Index) 21078 copy(dAtA[i:], m.Index) 21079 i = encodeVarintPlan(dAtA, i, uint64(len(m.Index))) 21080 i-- 21081 dAtA[i] = 0xa 21082 } 21083 return len(dAtA) - i, nil 21084 } 21085 21086 func (m *DropIndex) Marshal() (dAtA []byte, err error) { 21087 size := m.ProtoSize() 21088 dAtA = make([]byte, size) 21089 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21090 if err != nil { 21091 return nil, err 21092 } 21093 return dAtA[:n], nil 21094 } 21095 21096 func (m *DropIndex) MarshalTo(dAtA []byte) (int, error) { 21097 size := m.ProtoSize() 21098 return m.MarshalToSizedBuffer(dAtA[:size]) 21099 } 21100 21101 func (m *DropIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21102 i := len(dAtA) 21103 _ = i 21104 var l int 21105 _ = l 21106 if m.XXX_unrecognized != nil { 21107 i -= len(m.XXX_unrecognized) 21108 copy(dAtA[i:], m.XXX_unrecognized) 21109 } 21110 if len(m.IndexTableName) > 0 { 21111 i -= len(m.IndexTableName) 21112 copy(dAtA[i:], m.IndexTableName) 21113 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexTableName))) 21114 i-- 21115 dAtA[i] = 0x22 21116 } 21117 if len(m.IndexName) > 0 { 21118 i -= len(m.IndexName) 21119 copy(dAtA[i:], m.IndexName) 21120 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexName))) 21121 i-- 21122 dAtA[i] = 0x1a 21123 } 21124 if len(m.Table) > 0 { 21125 i -= len(m.Table) 21126 copy(dAtA[i:], m.Table) 21127 i = encodeVarintPlan(dAtA, i, uint64(len(m.Table))) 21128 i-- 21129 dAtA[i] = 0x12 21130 } 21131 if len(m.Database) > 0 { 21132 i -= len(m.Database) 21133 copy(dAtA[i:], m.Database) 21134 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 21135 i-- 21136 dAtA[i] = 0xa 21137 } 21138 return len(dAtA) - i, nil 21139 } 21140 21141 func (m *TruncateTable) Marshal() (dAtA []byte, err error) { 21142 size := m.ProtoSize() 21143 dAtA = make([]byte, size) 21144 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21145 if err != nil { 21146 return nil, err 21147 } 21148 return dAtA[:n], nil 21149 } 21150 21151 func (m *TruncateTable) MarshalTo(dAtA []byte) (int, error) { 21152 size := m.ProtoSize() 21153 return m.MarshalToSizedBuffer(dAtA[:size]) 21154 } 21155 21156 func (m *TruncateTable) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21157 i := len(dAtA) 21158 _ = i 21159 var l int 21160 _ = l 21161 if m.XXX_unrecognized != nil { 21162 i -= len(m.XXX_unrecognized) 21163 copy(dAtA[i:], m.XXX_unrecognized) 21164 } 21165 if m.IsDelete { 21166 i-- 21167 if m.IsDelete { 21168 dAtA[i] = 1 21169 } else { 21170 dAtA[i] = 0 21171 } 21172 i-- 21173 dAtA[i] = 0x40 21174 } 21175 if len(m.ForeignTbl) > 0 { 21176 dAtA190 := make([]byte, len(m.ForeignTbl)*10) 21177 var j189 int 21178 for _, num := range m.ForeignTbl { 21179 for num >= 1<<7 { 21180 dAtA190[j189] = uint8(uint64(num)&0x7f | 0x80) 21181 num >>= 7 21182 j189++ 21183 } 21184 dAtA190[j189] = uint8(num) 21185 j189++ 21186 } 21187 i -= j189 21188 copy(dAtA[i:], dAtA190[:j189]) 21189 i = encodeVarintPlan(dAtA, i, uint64(j189)) 21190 i-- 21191 dAtA[i] = 0x3a 21192 } 21193 if m.TableId != 0 { 21194 i = encodeVarintPlan(dAtA, i, uint64(m.TableId)) 21195 i-- 21196 dAtA[i] = 0x30 21197 } 21198 if m.ClusterTable != nil { 21199 { 21200 size, err := m.ClusterTable.MarshalToSizedBuffer(dAtA[:i]) 21201 if err != nil { 21202 return 0, err 21203 } 21204 i -= size 21205 i = encodeVarintPlan(dAtA, i, uint64(size)) 21206 } 21207 i-- 21208 dAtA[i] = 0x2a 21209 } 21210 if len(m.PartitionTableNames) > 0 { 21211 for iNdEx := len(m.PartitionTableNames) - 1; iNdEx >= 0; iNdEx-- { 21212 i -= len(m.PartitionTableNames[iNdEx]) 21213 copy(dAtA[i:], m.PartitionTableNames[iNdEx]) 21214 i = encodeVarintPlan(dAtA, i, uint64(len(m.PartitionTableNames[iNdEx]))) 21215 i-- 21216 dAtA[i] = 0x22 21217 } 21218 } 21219 if len(m.IndexTableNames) > 0 { 21220 for iNdEx := len(m.IndexTableNames) - 1; iNdEx >= 0; iNdEx-- { 21221 i -= len(m.IndexTableNames[iNdEx]) 21222 copy(dAtA[i:], m.IndexTableNames[iNdEx]) 21223 i = encodeVarintPlan(dAtA, i, uint64(len(m.IndexTableNames[iNdEx]))) 21224 i-- 21225 dAtA[i] = 0x1a 21226 } 21227 } 21228 if len(m.Table) > 0 { 21229 i -= len(m.Table) 21230 copy(dAtA[i:], m.Table) 21231 i = encodeVarintPlan(dAtA, i, uint64(len(m.Table))) 21232 i-- 21233 dAtA[i] = 0x12 21234 } 21235 if len(m.Database) > 0 { 21236 i -= len(m.Database) 21237 copy(dAtA[i:], m.Database) 21238 i = encodeVarintPlan(dAtA, i, uint64(len(m.Database))) 21239 i-- 21240 dAtA[i] = 0xa 21241 } 21242 return len(dAtA) - i, nil 21243 } 21244 21245 func (m *ClusterTable) Marshal() (dAtA []byte, err error) { 21246 size := m.ProtoSize() 21247 dAtA = make([]byte, size) 21248 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21249 if err != nil { 21250 return nil, err 21251 } 21252 return dAtA[:n], nil 21253 } 21254 21255 func (m *ClusterTable) MarshalTo(dAtA []byte) (int, error) { 21256 size := m.ProtoSize() 21257 return m.MarshalToSizedBuffer(dAtA[:size]) 21258 } 21259 21260 func (m *ClusterTable) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21261 i := len(dAtA) 21262 _ = i 21263 var l int 21264 _ = l 21265 if m.XXX_unrecognized != nil { 21266 i -= len(m.XXX_unrecognized) 21267 copy(dAtA[i:], m.XXX_unrecognized) 21268 } 21269 if m.ColumnIndexOfAccountId != 0 { 21270 i = encodeVarintPlan(dAtA, i, uint64(m.ColumnIndexOfAccountId)) 21271 i-- 21272 dAtA[i] = 0x18 21273 } 21274 if len(m.AccountIDs) > 0 { 21275 dAtA193 := make([]byte, len(m.AccountIDs)*10) 21276 var j192 int 21277 for _, num := range m.AccountIDs { 21278 for num >= 1<<7 { 21279 dAtA193[j192] = uint8(uint64(num)&0x7f | 0x80) 21280 num >>= 7 21281 j192++ 21282 } 21283 dAtA193[j192] = uint8(num) 21284 j192++ 21285 } 21286 i -= j192 21287 copy(dAtA[i:], dAtA193[:j192]) 21288 i = encodeVarintPlan(dAtA, i, uint64(j192)) 21289 i-- 21290 dAtA[i] = 0x12 21291 } 21292 if m.IsClusterTable { 21293 i-- 21294 if m.IsClusterTable { 21295 dAtA[i] = 1 21296 } else { 21297 dAtA[i] = 0 21298 } 21299 i-- 21300 dAtA[i] = 0x8 21301 } 21302 return len(dAtA) - i, nil 21303 } 21304 21305 func (m *ShowVariables) Marshal() (dAtA []byte, err error) { 21306 size := m.ProtoSize() 21307 dAtA = make([]byte, size) 21308 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21309 if err != nil { 21310 return nil, err 21311 } 21312 return dAtA[:n], nil 21313 } 21314 21315 func (m *ShowVariables) MarshalTo(dAtA []byte) (int, error) { 21316 size := m.ProtoSize() 21317 return m.MarshalToSizedBuffer(dAtA[:size]) 21318 } 21319 21320 func (m *ShowVariables) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21321 i := len(dAtA) 21322 _ = i 21323 var l int 21324 _ = l 21325 if m.XXX_unrecognized != nil { 21326 i -= len(m.XXX_unrecognized) 21327 copy(dAtA[i:], m.XXX_unrecognized) 21328 } 21329 if len(m.Where) > 0 { 21330 for iNdEx := len(m.Where) - 1; iNdEx >= 0; iNdEx-- { 21331 { 21332 size, err := m.Where[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 21333 if err != nil { 21334 return 0, err 21335 } 21336 i -= size 21337 i = encodeVarintPlan(dAtA, i, uint64(size)) 21338 } 21339 i-- 21340 dAtA[i] = 0x12 21341 } 21342 } 21343 if m.Global { 21344 i-- 21345 if m.Global { 21346 dAtA[i] = 1 21347 } else { 21348 dAtA[i] = 0 21349 } 21350 i-- 21351 dAtA[i] = 0x8 21352 } 21353 return len(dAtA) - i, nil 21354 } 21355 21356 func (m *SetVariables) Marshal() (dAtA []byte, err error) { 21357 size := m.ProtoSize() 21358 dAtA = make([]byte, size) 21359 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21360 if err != nil { 21361 return nil, err 21362 } 21363 return dAtA[:n], nil 21364 } 21365 21366 func (m *SetVariables) MarshalTo(dAtA []byte) (int, error) { 21367 size := m.ProtoSize() 21368 return m.MarshalToSizedBuffer(dAtA[:size]) 21369 } 21370 21371 func (m *SetVariables) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21372 i := len(dAtA) 21373 _ = i 21374 var l int 21375 _ = l 21376 if m.XXX_unrecognized != nil { 21377 i -= len(m.XXX_unrecognized) 21378 copy(dAtA[i:], m.XXX_unrecognized) 21379 } 21380 if len(m.Items) > 0 { 21381 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { 21382 { 21383 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 21384 if err != nil { 21385 return 0, err 21386 } 21387 i -= size 21388 i = encodeVarintPlan(dAtA, i, uint64(size)) 21389 } 21390 i-- 21391 dAtA[i] = 0xa 21392 } 21393 } 21394 return len(dAtA) - i, nil 21395 } 21396 21397 func (m *SetVariablesItem) Marshal() (dAtA []byte, err error) { 21398 size := m.ProtoSize() 21399 dAtA = make([]byte, size) 21400 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21401 if err != nil { 21402 return nil, err 21403 } 21404 return dAtA[:n], nil 21405 } 21406 21407 func (m *SetVariablesItem) MarshalTo(dAtA []byte) (int, error) { 21408 size := m.ProtoSize() 21409 return m.MarshalToSizedBuffer(dAtA[:size]) 21410 } 21411 21412 func (m *SetVariablesItem) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21413 i := len(dAtA) 21414 _ = i 21415 var l int 21416 _ = l 21417 if m.XXX_unrecognized != nil { 21418 i -= len(m.XXX_unrecognized) 21419 copy(dAtA[i:], m.XXX_unrecognized) 21420 } 21421 if m.Reserved != nil { 21422 { 21423 size, err := m.Reserved.MarshalToSizedBuffer(dAtA[:i]) 21424 if err != nil { 21425 return 0, err 21426 } 21427 i -= size 21428 i = encodeVarintPlan(dAtA, i, uint64(size)) 21429 } 21430 i-- 21431 dAtA[i] = 0x2a 21432 } 21433 if m.Value != nil { 21434 { 21435 size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) 21436 if err != nil { 21437 return 0, err 21438 } 21439 i -= size 21440 i = encodeVarintPlan(dAtA, i, uint64(size)) 21441 } 21442 i-- 21443 dAtA[i] = 0x22 21444 } 21445 if len(m.Name) > 0 { 21446 i -= len(m.Name) 21447 copy(dAtA[i:], m.Name) 21448 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 21449 i-- 21450 dAtA[i] = 0x1a 21451 } 21452 if m.Global { 21453 i-- 21454 if m.Global { 21455 dAtA[i] = 1 21456 } else { 21457 dAtA[i] = 0 21458 } 21459 i-- 21460 dAtA[i] = 0x10 21461 } 21462 if m.System { 21463 i-- 21464 if m.System { 21465 dAtA[i] = 1 21466 } else { 21467 dAtA[i] = 0 21468 } 21469 i-- 21470 dAtA[i] = 0x8 21471 } 21472 return len(dAtA) - i, nil 21473 } 21474 21475 func (m *Prepare) Marshal() (dAtA []byte, err error) { 21476 size := m.ProtoSize() 21477 dAtA = make([]byte, size) 21478 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21479 if err != nil { 21480 return nil, err 21481 } 21482 return dAtA[:n], nil 21483 } 21484 21485 func (m *Prepare) MarshalTo(dAtA []byte) (int, error) { 21486 size := m.ProtoSize() 21487 return m.MarshalToSizedBuffer(dAtA[:size]) 21488 } 21489 21490 func (m *Prepare) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21491 i := len(dAtA) 21492 _ = i 21493 var l int 21494 _ = l 21495 if m.XXX_unrecognized != nil { 21496 i -= len(m.XXX_unrecognized) 21497 copy(dAtA[i:], m.XXX_unrecognized) 21498 } 21499 if len(m.ParamTypes) > 0 { 21500 dAtA197 := make([]byte, len(m.ParamTypes)*10) 21501 var j196 int 21502 for _, num1 := range m.ParamTypes { 21503 num := uint64(num1) 21504 for num >= 1<<7 { 21505 dAtA197[j196] = uint8(uint64(num)&0x7f | 0x80) 21506 num >>= 7 21507 j196++ 21508 } 21509 dAtA197[j196] = uint8(num) 21510 j196++ 21511 } 21512 i -= j196 21513 copy(dAtA[i:], dAtA197[:j196]) 21514 i = encodeVarintPlan(dAtA, i, uint64(j196)) 21515 i-- 21516 dAtA[i] = 0x22 21517 } 21518 if m.Plan != nil { 21519 { 21520 size, err := m.Plan.MarshalToSizedBuffer(dAtA[:i]) 21521 if err != nil { 21522 return 0, err 21523 } 21524 i -= size 21525 i = encodeVarintPlan(dAtA, i, uint64(size)) 21526 } 21527 i-- 21528 dAtA[i] = 0x1a 21529 } 21530 if len(m.Schemas) > 0 { 21531 for iNdEx := len(m.Schemas) - 1; iNdEx >= 0; iNdEx-- { 21532 { 21533 size, err := m.Schemas[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 21534 if err != nil { 21535 return 0, err 21536 } 21537 i -= size 21538 i = encodeVarintPlan(dAtA, i, uint64(size)) 21539 } 21540 i-- 21541 dAtA[i] = 0x12 21542 } 21543 } 21544 if len(m.Name) > 0 { 21545 i -= len(m.Name) 21546 copy(dAtA[i:], m.Name) 21547 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 21548 i-- 21549 dAtA[i] = 0xa 21550 } 21551 return len(dAtA) - i, nil 21552 } 21553 21554 func (m *Execute) Marshal() (dAtA []byte, err error) { 21555 size := m.ProtoSize() 21556 dAtA = make([]byte, size) 21557 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21558 if err != nil { 21559 return nil, err 21560 } 21561 return dAtA[:n], nil 21562 } 21563 21564 func (m *Execute) MarshalTo(dAtA []byte) (int, error) { 21565 size := m.ProtoSize() 21566 return m.MarshalToSizedBuffer(dAtA[:size]) 21567 } 21568 21569 func (m *Execute) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21570 i := len(dAtA) 21571 _ = i 21572 var l int 21573 _ = l 21574 if m.XXX_unrecognized != nil { 21575 i -= len(m.XXX_unrecognized) 21576 copy(dAtA[i:], m.XXX_unrecognized) 21577 } 21578 if len(m.Args) > 0 { 21579 for iNdEx := len(m.Args) - 1; iNdEx >= 0; iNdEx-- { 21580 { 21581 size, err := m.Args[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 21582 if err != nil { 21583 return 0, err 21584 } 21585 i -= size 21586 i = encodeVarintPlan(dAtA, i, uint64(size)) 21587 } 21588 i-- 21589 dAtA[i] = 0x12 21590 } 21591 } 21592 if len(m.Name) > 0 { 21593 i -= len(m.Name) 21594 copy(dAtA[i:], m.Name) 21595 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 21596 i-- 21597 dAtA[i] = 0xa 21598 } 21599 return len(dAtA) - i, nil 21600 } 21601 21602 func (m *Deallocate) Marshal() (dAtA []byte, err error) { 21603 size := m.ProtoSize() 21604 dAtA = make([]byte, size) 21605 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21606 if err != nil { 21607 return nil, err 21608 } 21609 return dAtA[:n], nil 21610 } 21611 21612 func (m *Deallocate) MarshalTo(dAtA []byte) (int, error) { 21613 size := m.ProtoSize() 21614 return m.MarshalToSizedBuffer(dAtA[:size]) 21615 } 21616 21617 func (m *Deallocate) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21618 i := len(dAtA) 21619 _ = i 21620 var l int 21621 _ = l 21622 if m.XXX_unrecognized != nil { 21623 i -= len(m.XXX_unrecognized) 21624 copy(dAtA[i:], m.XXX_unrecognized) 21625 } 21626 if len(m.Name) > 0 { 21627 i -= len(m.Name) 21628 copy(dAtA[i:], m.Name) 21629 i = encodeVarintPlan(dAtA, i, uint64(len(m.Name))) 21630 i-- 21631 dAtA[i] = 0xa 21632 } 21633 return len(dAtA) - i, nil 21634 } 21635 21636 func (m *OtherDCL) Marshal() (dAtA []byte, err error) { 21637 size := m.ProtoSize() 21638 dAtA = make([]byte, size) 21639 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21640 if err != nil { 21641 return nil, err 21642 } 21643 return dAtA[:n], nil 21644 } 21645 21646 func (m *OtherDCL) MarshalTo(dAtA []byte) (int, error) { 21647 size := m.ProtoSize() 21648 return m.MarshalToSizedBuffer(dAtA[:size]) 21649 } 21650 21651 func (m *OtherDCL) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21652 i := len(dAtA) 21653 _ = i 21654 var l int 21655 _ = l 21656 if m.XXX_unrecognized != nil { 21657 i -= len(m.XXX_unrecognized) 21658 copy(dAtA[i:], m.XXX_unrecognized) 21659 } 21660 if len(m.ParamTypes) > 0 { 21661 dAtA200 := make([]byte, len(m.ParamTypes)*10) 21662 var j199 int 21663 for _, num1 := range m.ParamTypes { 21664 num := uint64(num1) 21665 for num >= 1<<7 { 21666 dAtA200[j199] = uint8(uint64(num)&0x7f | 0x80) 21667 num >>= 7 21668 j199++ 21669 } 21670 dAtA200[j199] = uint8(num) 21671 j199++ 21672 } 21673 i -= j199 21674 copy(dAtA[i:], dAtA200[:j199]) 21675 i = encodeVarintPlan(dAtA, i, uint64(j199)) 21676 i-- 21677 dAtA[i] = 0xa 21678 } 21679 return len(dAtA) - i, nil 21680 } 21681 21682 func (m *TableLockInfo) Marshal() (dAtA []byte, err error) { 21683 size := m.ProtoSize() 21684 dAtA = make([]byte, size) 21685 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21686 if err != nil { 21687 return nil, err 21688 } 21689 return dAtA[:n], nil 21690 } 21691 21692 func (m *TableLockInfo) MarshalTo(dAtA []byte) (int, error) { 21693 size := m.ProtoSize() 21694 return m.MarshalToSizedBuffer(dAtA[:size]) 21695 } 21696 21697 func (m *TableLockInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21698 i := len(dAtA) 21699 _ = i 21700 var l int 21701 _ = l 21702 if m.XXX_unrecognized != nil { 21703 i -= len(m.XXX_unrecognized) 21704 copy(dAtA[i:], m.XXX_unrecognized) 21705 } 21706 if m.TableDef != nil { 21707 { 21708 size, err := m.TableDef.MarshalToSizedBuffer(dAtA[:i]) 21709 if err != nil { 21710 return 0, err 21711 } 21712 i -= size 21713 i = encodeVarintPlan(dAtA, i, uint64(size)) 21714 } 21715 i-- 21716 dAtA[i] = 0x12 21717 } 21718 if m.LockType != 0 { 21719 i = encodeVarintPlan(dAtA, i, uint64(m.LockType)) 21720 i-- 21721 dAtA[i] = 0x8 21722 } 21723 return len(dAtA) - i, nil 21724 } 21725 21726 func (m *LockTables) Marshal() (dAtA []byte, err error) { 21727 size := m.ProtoSize() 21728 dAtA = make([]byte, size) 21729 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21730 if err != nil { 21731 return nil, err 21732 } 21733 return dAtA[:n], nil 21734 } 21735 21736 func (m *LockTables) MarshalTo(dAtA []byte) (int, error) { 21737 size := m.ProtoSize() 21738 return m.MarshalToSizedBuffer(dAtA[:size]) 21739 } 21740 21741 func (m *LockTables) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21742 i := len(dAtA) 21743 _ = i 21744 var l int 21745 _ = l 21746 if m.XXX_unrecognized != nil { 21747 i -= len(m.XXX_unrecognized) 21748 copy(dAtA[i:], m.XXX_unrecognized) 21749 } 21750 if len(m.TableLocks) > 0 { 21751 for iNdEx := len(m.TableLocks) - 1; iNdEx >= 0; iNdEx-- { 21752 { 21753 size, err := m.TableLocks[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 21754 if err != nil { 21755 return 0, err 21756 } 21757 i -= size 21758 i = encodeVarintPlan(dAtA, i, uint64(size)) 21759 } 21760 i-- 21761 dAtA[i] = 0xa 21762 } 21763 } 21764 return len(dAtA) - i, nil 21765 } 21766 21767 func (m *UnLockTables) Marshal() (dAtA []byte, err error) { 21768 size := m.ProtoSize() 21769 dAtA = make([]byte, size) 21770 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21771 if err != nil { 21772 return nil, err 21773 } 21774 return dAtA[:n], nil 21775 } 21776 21777 func (m *UnLockTables) MarshalTo(dAtA []byte) (int, error) { 21778 size := m.ProtoSize() 21779 return m.MarshalToSizedBuffer(dAtA[:size]) 21780 } 21781 21782 func (m *UnLockTables) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21783 i := len(dAtA) 21784 _ = i 21785 var l int 21786 _ = l 21787 if m.XXX_unrecognized != nil { 21788 i -= len(m.XXX_unrecognized) 21789 copy(dAtA[i:], m.XXX_unrecognized) 21790 } 21791 return len(dAtA) - i, nil 21792 } 21793 21794 func (m *MetadataScanInfo) Marshal() (dAtA []byte, err error) { 21795 size := m.ProtoSize() 21796 dAtA = make([]byte, size) 21797 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 21798 if err != nil { 21799 return nil, err 21800 } 21801 return dAtA[:n], nil 21802 } 21803 21804 func (m *MetadataScanInfo) MarshalTo(dAtA []byte) (int, error) { 21805 size := m.ProtoSize() 21806 return m.MarshalToSizedBuffer(dAtA[:size]) 21807 } 21808 21809 func (m *MetadataScanInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { 21810 i := len(dAtA) 21811 _ = i 21812 var l int 21813 _ = l 21814 if m.XXX_unrecognized != nil { 21815 i -= len(m.XXX_unrecognized) 21816 copy(dAtA[i:], m.XXX_unrecognized) 21817 } 21818 if len(m.ZoneMap) > 0 { 21819 i -= len(m.ZoneMap) 21820 copy(dAtA[i:], m.ZoneMap) 21821 i = encodeVarintPlan(dAtA, i, uint64(len(m.ZoneMap))) 21822 i-- 21823 dAtA[i] = 0x5a 21824 } 21825 if m.OriginSize != 0 { 21826 i = encodeVarintPlan(dAtA, i, uint64(m.OriginSize)) 21827 i-- 21828 dAtA[i] = 0x50 21829 } 21830 if m.CompressSize != 0 { 21831 i = encodeVarintPlan(dAtA, i, uint64(m.CompressSize)) 21832 i-- 21833 dAtA[i] = 0x48 21834 } 21835 if m.NullCnt != 0 { 21836 i = encodeVarintPlan(dAtA, i, uint64(m.NullCnt)) 21837 i-- 21838 dAtA[i] = 0x40 21839 } 21840 if m.RowCnt != 0 { 21841 i = encodeVarintPlan(dAtA, i, uint64(m.RowCnt)) 21842 i-- 21843 dAtA[i] = 0x38 21844 } 21845 if len(m.DeleteTs) > 0 { 21846 i -= len(m.DeleteTs) 21847 copy(dAtA[i:], m.DeleteTs) 21848 i = encodeVarintPlan(dAtA, i, uint64(len(m.DeleteTs))) 21849 i-- 21850 dAtA[i] = 0x32 21851 } 21852 if len(m.CreateTs) > 0 { 21853 i -= len(m.CreateTs) 21854 copy(dAtA[i:], m.CreateTs) 21855 i = encodeVarintPlan(dAtA, i, uint64(len(m.CreateTs))) 21856 i-- 21857 dAtA[i] = 0x2a 21858 } 21859 if len(m.ObjLoc) > 0 { 21860 i -= len(m.ObjLoc) 21861 copy(dAtA[i:], m.ObjLoc) 21862 i = encodeVarintPlan(dAtA, i, uint64(len(m.ObjLoc))) 21863 i-- 21864 dAtA[i] = 0x22 21865 } 21866 if m.IsHidden { 21867 i-- 21868 if m.IsHidden { 21869 dAtA[i] = 1 21870 } else { 21871 dAtA[i] = 0 21872 } 21873 i-- 21874 dAtA[i] = 0x18 21875 } 21876 if len(m.ObjectName) > 0 { 21877 i -= len(m.ObjectName) 21878 copy(dAtA[i:], m.ObjectName) 21879 i = encodeVarintPlan(dAtA, i, uint64(len(m.ObjectName))) 21880 i-- 21881 dAtA[i] = 0x12 21882 } 21883 if len(m.ColName) > 0 { 21884 i -= len(m.ColName) 21885 copy(dAtA[i:], m.ColName) 21886 i = encodeVarintPlan(dAtA, i, uint64(len(m.ColName))) 21887 i-- 21888 dAtA[i] = 0xa 21889 } 21890 return len(dAtA) - i, nil 21891 } 21892 21893 func encodeVarintPlan(dAtA []byte, offset int, v uint64) int { 21894 offset -= sovPlan(v) 21895 base := offset 21896 for v >= 1<<7 { 21897 dAtA[offset] = uint8(v&0x7f | 0x80) 21898 v >>= 7 21899 offset++ 21900 } 21901 dAtA[offset] = uint8(v) 21902 return base 21903 } 21904 func (m *Type) ProtoSize() (n int) { 21905 if m == nil { 21906 return 0 21907 } 21908 var l int 21909 _ = l 21910 if m.Id != 0 { 21911 n += 1 + sovPlan(uint64(m.Id)) 21912 } 21913 if m.NotNullable { 21914 n += 2 21915 } 21916 if m.AutoIncr { 21917 n += 2 21918 } 21919 if m.Width != 0 { 21920 n += 1 + sovPlan(uint64(m.Width)) 21921 } 21922 if m.Scale != 0 { 21923 n += 1 + sovPlan(uint64(m.Scale)) 21924 } 21925 l = len(m.Table) 21926 if l > 0 { 21927 n += 1 + l + sovPlan(uint64(l)) 21928 } 21929 l = len(m.Enumvalues) 21930 if l > 0 { 21931 n += 1 + l + sovPlan(uint64(l)) 21932 } 21933 if m.XXX_unrecognized != nil { 21934 n += len(m.XXX_unrecognized) 21935 } 21936 return n 21937 } 21938 21939 func (m *MsgHeader) ProtoSize() (n int) { 21940 if m == nil { 21941 return 0 21942 } 21943 var l int 21944 _ = l 21945 if m.MsgTag != 0 { 21946 n += 1 + sovPlan(uint64(m.MsgTag)) 21947 } 21948 if m.MsgType != 0 { 21949 n += 1 + sovPlan(uint64(m.MsgType)) 21950 } 21951 if m.XXX_unrecognized != nil { 21952 n += len(m.XXX_unrecognized) 21953 } 21954 return n 21955 } 21956 21957 func (m *Literal) ProtoSize() (n int) { 21958 if m == nil { 21959 return 0 21960 } 21961 var l int 21962 _ = l 21963 if m.Isnull { 21964 n += 2 21965 } 21966 if m.Value != nil { 21967 n += m.Value.ProtoSize() 21968 } 21969 if m.IsBin { 21970 n += 3 21971 } 21972 if m.Src != nil { 21973 l = m.Src.ProtoSize() 21974 n += 2 + l + sovPlan(uint64(l)) 21975 } 21976 if m.XXX_unrecognized != nil { 21977 n += len(m.XXX_unrecognized) 21978 } 21979 return n 21980 } 21981 21982 func (m *Literal_I8Val) ProtoSize() (n int) { 21983 if m == nil { 21984 return 0 21985 } 21986 var l int 21987 _ = l 21988 n += 1 + sovPlan(uint64(m.I8Val)) 21989 return n 21990 } 21991 func (m *Literal_I16Val) ProtoSize() (n int) { 21992 if m == nil { 21993 return 0 21994 } 21995 var l int 21996 _ = l 21997 n += 1 + sovPlan(uint64(m.I16Val)) 21998 return n 21999 } 22000 func (m *Literal_I32Val) ProtoSize() (n int) { 22001 if m == nil { 22002 return 0 22003 } 22004 var l int 22005 _ = l 22006 n += 1 + sovPlan(uint64(m.I32Val)) 22007 return n 22008 } 22009 func (m *Literal_I64Val) ProtoSize() (n int) { 22010 if m == nil { 22011 return 0 22012 } 22013 var l int 22014 _ = l 22015 n += 1 + sovPlan(uint64(m.I64Val)) 22016 return n 22017 } 22018 func (m *Literal_U8Val) ProtoSize() (n int) { 22019 if m == nil { 22020 return 0 22021 } 22022 var l int 22023 _ = l 22024 n += 1 + sovPlan(uint64(m.U8Val)) 22025 return n 22026 } 22027 func (m *Literal_U16Val) ProtoSize() (n int) { 22028 if m == nil { 22029 return 0 22030 } 22031 var l int 22032 _ = l 22033 n += 1 + sovPlan(uint64(m.U16Val)) 22034 return n 22035 } 22036 func (m *Literal_U32Val) ProtoSize() (n int) { 22037 if m == nil { 22038 return 0 22039 } 22040 var l int 22041 _ = l 22042 n += 1 + sovPlan(uint64(m.U32Val)) 22043 return n 22044 } 22045 func (m *Literal_U64Val) ProtoSize() (n int) { 22046 if m == nil { 22047 return 0 22048 } 22049 var l int 22050 _ = l 22051 n += 1 + sovPlan(uint64(m.U64Val)) 22052 return n 22053 } 22054 func (m *Literal_Dval) ProtoSize() (n int) { 22055 if m == nil { 22056 return 0 22057 } 22058 var l int 22059 _ = l 22060 n += 9 22061 return n 22062 } 22063 func (m *Literal_Sval) ProtoSize() (n int) { 22064 if m == nil { 22065 return 0 22066 } 22067 var l int 22068 _ = l 22069 l = len(m.Sval) 22070 n += 1 + l + sovPlan(uint64(l)) 22071 return n 22072 } 22073 func (m *Literal_Bval) ProtoSize() (n int) { 22074 if m == nil { 22075 return 0 22076 } 22077 var l int 22078 _ = l 22079 n += 2 22080 return n 22081 } 22082 func (m *Literal_Fval) ProtoSize() (n int) { 22083 if m == nil { 22084 return 0 22085 } 22086 var l int 22087 _ = l 22088 n += 5 22089 return n 22090 } 22091 func (m *Literal_Dateval) ProtoSize() (n int) { 22092 if m == nil { 22093 return 0 22094 } 22095 var l int 22096 _ = l 22097 n += 1 + sovPlan(uint64(m.Dateval)) 22098 return n 22099 } 22100 func (m *Literal_Timeval) ProtoSize() (n int) { 22101 if m == nil { 22102 return 0 22103 } 22104 var l int 22105 _ = l 22106 n += 1 + sovPlan(uint64(m.Timeval)) 22107 return n 22108 } 22109 func (m *Literal_Datetimeval) ProtoSize() (n int) { 22110 if m == nil { 22111 return 0 22112 } 22113 var l int 22114 _ = l 22115 n += 2 + sovPlan(uint64(m.Datetimeval)) 22116 return n 22117 } 22118 func (m *Literal_Decimal64Val) ProtoSize() (n int) { 22119 if m == nil { 22120 return 0 22121 } 22122 var l int 22123 _ = l 22124 if m.Decimal64Val != nil { 22125 l = m.Decimal64Val.ProtoSize() 22126 n += 2 + l + sovPlan(uint64(l)) 22127 } 22128 return n 22129 } 22130 func (m *Literal_Decimal128Val) ProtoSize() (n int) { 22131 if m == nil { 22132 return 0 22133 } 22134 var l int 22135 _ = l 22136 if m.Decimal128Val != nil { 22137 l = m.Decimal128Val.ProtoSize() 22138 n += 2 + l + sovPlan(uint64(l)) 22139 } 22140 return n 22141 } 22142 func (m *Literal_Timestampval) ProtoSize() (n int) { 22143 if m == nil { 22144 return 0 22145 } 22146 var l int 22147 _ = l 22148 n += 2 + sovPlan(uint64(m.Timestampval)) 22149 return n 22150 } 22151 func (m *Literal_Jsonval) ProtoSize() (n int) { 22152 if m == nil { 22153 return 0 22154 } 22155 var l int 22156 _ = l 22157 l = len(m.Jsonval) 22158 n += 2 + l + sovPlan(uint64(l)) 22159 return n 22160 } 22161 func (m *Literal_Defaultval) ProtoSize() (n int) { 22162 if m == nil { 22163 return 0 22164 } 22165 var l int 22166 _ = l 22167 n += 3 22168 return n 22169 } 22170 func (m *Literal_UpdateVal) ProtoSize() (n int) { 22171 if m == nil { 22172 return 0 22173 } 22174 var l int 22175 _ = l 22176 n += 3 22177 return n 22178 } 22179 func (m *Literal_EnumVal) ProtoSize() (n int) { 22180 if m == nil { 22181 return 0 22182 } 22183 var l int 22184 _ = l 22185 n += 2 + sovPlan(uint64(m.EnumVal)) 22186 return n 22187 } 22188 func (m *ParamRef) ProtoSize() (n int) { 22189 if m == nil { 22190 return 0 22191 } 22192 var l int 22193 _ = l 22194 if m.Pos != 0 { 22195 n += 1 + sovPlan(uint64(m.Pos)) 22196 } 22197 if m.XXX_unrecognized != nil { 22198 n += len(m.XXX_unrecognized) 22199 } 22200 return n 22201 } 22202 22203 func (m *VarRef) ProtoSize() (n int) { 22204 if m == nil { 22205 return 0 22206 } 22207 var l int 22208 _ = l 22209 l = len(m.Name) 22210 if l > 0 { 22211 n += 1 + l + sovPlan(uint64(l)) 22212 } 22213 if m.System { 22214 n += 2 22215 } 22216 if m.Global { 22217 n += 2 22218 } 22219 if m.XXX_unrecognized != nil { 22220 n += len(m.XXX_unrecognized) 22221 } 22222 return n 22223 } 22224 22225 func (m *ColRef) ProtoSize() (n int) { 22226 if m == nil { 22227 return 0 22228 } 22229 var l int 22230 _ = l 22231 if m.RelPos != 0 { 22232 n += 1 + sovPlan(uint64(m.RelPos)) 22233 } 22234 if m.ColPos != 0 { 22235 n += 1 + sovPlan(uint64(m.ColPos)) 22236 } 22237 l = len(m.Name) 22238 if l > 0 { 22239 n += 1 + l + sovPlan(uint64(l)) 22240 } 22241 l = len(m.TblName) 22242 if l > 0 { 22243 n += 1 + l + sovPlan(uint64(l)) 22244 } 22245 l = len(m.DbName) 22246 if l > 0 { 22247 n += 1 + l + sovPlan(uint64(l)) 22248 } 22249 if m.XXX_unrecognized != nil { 22250 n += len(m.XXX_unrecognized) 22251 } 22252 return n 22253 } 22254 22255 func (m *RawColRef) ProtoSize() (n int) { 22256 if m == nil { 22257 return 0 22258 } 22259 var l int 22260 _ = l 22261 if m.TblId != 0 { 22262 n += 1 + sovPlan(uint64(m.TblId)) 22263 } 22264 if m.ColId != 0 { 22265 n += 1 + sovPlan(uint64(m.ColId)) 22266 } 22267 if m.XXX_unrecognized != nil { 22268 n += len(m.XXX_unrecognized) 22269 } 22270 return n 22271 } 22272 22273 func (m *CorrColRef) ProtoSize() (n int) { 22274 if m == nil { 22275 return 0 22276 } 22277 var l int 22278 _ = l 22279 if m.RelPos != 0 { 22280 n += 1 + sovPlan(uint64(m.RelPos)) 22281 } 22282 if m.ColPos != 0 { 22283 n += 1 + sovPlan(uint64(m.ColPos)) 22284 } 22285 if m.Depth != 0 { 22286 n += 1 + sovPlan(uint64(m.Depth)) 22287 } 22288 if m.XXX_unrecognized != nil { 22289 n += len(m.XXX_unrecognized) 22290 } 22291 return n 22292 } 22293 22294 func (m *ExprList) ProtoSize() (n int) { 22295 if m == nil { 22296 return 0 22297 } 22298 var l int 22299 _ = l 22300 if len(m.List) > 0 { 22301 for _, e := range m.List { 22302 l = e.ProtoSize() 22303 n += 1 + l + sovPlan(uint64(l)) 22304 } 22305 } 22306 if m.XXX_unrecognized != nil { 22307 n += len(m.XXX_unrecognized) 22308 } 22309 return n 22310 } 22311 22312 func (m *MaxValue) ProtoSize() (n int) { 22313 if m == nil { 22314 return 0 22315 } 22316 var l int 22317 _ = l 22318 l = len(m.Value) 22319 if l > 0 { 22320 n += 1 + l + sovPlan(uint64(l)) 22321 } 22322 if m.XXX_unrecognized != nil { 22323 n += len(m.XXX_unrecognized) 22324 } 22325 return n 22326 } 22327 22328 func (m *TargetType) ProtoSize() (n int) { 22329 if m == nil { 22330 return 0 22331 } 22332 var l int 22333 _ = l 22334 if m.XXX_unrecognized != nil { 22335 n += len(m.XXX_unrecognized) 22336 } 22337 return n 22338 } 22339 22340 func (m *SubqueryRef) ProtoSize() (n int) { 22341 if m == nil { 22342 return 0 22343 } 22344 var l int 22345 _ = l 22346 if m.Typ != 0 { 22347 n += 1 + sovPlan(uint64(m.Typ)) 22348 } 22349 if m.NodeId != 0 { 22350 n += 1 + sovPlan(uint64(m.NodeId)) 22351 } 22352 l = len(m.Op) 22353 if l > 0 { 22354 n += 1 + l + sovPlan(uint64(l)) 22355 } 22356 if m.Child != nil { 22357 l = m.Child.ProtoSize() 22358 n += 1 + l + sovPlan(uint64(l)) 22359 } 22360 if m.RowSize != 0 { 22361 n += 1 + sovPlan(uint64(m.RowSize)) 22362 } 22363 if m.XXX_unrecognized != nil { 22364 n += len(m.XXX_unrecognized) 22365 } 22366 return n 22367 } 22368 22369 func (m *ObjectRef) ProtoSize() (n int) { 22370 if m == nil { 22371 return 0 22372 } 22373 var l int 22374 _ = l 22375 if m.Server != 0 { 22376 n += 1 + sovPlan(uint64(m.Server)) 22377 } 22378 if m.Db != 0 { 22379 n += 1 + sovPlan(uint64(m.Db)) 22380 } 22381 if m.Schema != 0 { 22382 n += 1 + sovPlan(uint64(m.Schema)) 22383 } 22384 if m.Obj != 0 { 22385 n += 1 + sovPlan(uint64(m.Obj)) 22386 } 22387 l = len(m.ServerName) 22388 if l > 0 { 22389 n += 1 + l + sovPlan(uint64(l)) 22390 } 22391 l = len(m.DbName) 22392 if l > 0 { 22393 n += 1 + l + sovPlan(uint64(l)) 22394 } 22395 l = len(m.SchemaName) 22396 if l > 0 { 22397 n += 1 + l + sovPlan(uint64(l)) 22398 } 22399 l = len(m.ObjName) 22400 if l > 0 { 22401 n += 1 + l + sovPlan(uint64(l)) 22402 } 22403 l = len(m.SubscriptionName) 22404 if l > 0 { 22405 n += 1 + l + sovPlan(uint64(l)) 22406 } 22407 if m.PubInfo != nil { 22408 l = m.PubInfo.ProtoSize() 22409 n += 1 + l + sovPlan(uint64(l)) 22410 } 22411 if m.XXX_unrecognized != nil { 22412 n += len(m.XXX_unrecognized) 22413 } 22414 return n 22415 } 22416 22417 func (m *PubInfo) ProtoSize() (n int) { 22418 if m == nil { 22419 return 0 22420 } 22421 var l int 22422 _ = l 22423 if m.TenantId != 0 { 22424 n += 1 + sovPlan(uint64(m.TenantId)) 22425 } 22426 if m.XXX_unrecognized != nil { 22427 n += len(m.XXX_unrecognized) 22428 } 22429 return n 22430 } 22431 22432 func (m *SubscriptionMeta) ProtoSize() (n int) { 22433 if m == nil { 22434 return 0 22435 } 22436 var l int 22437 _ = l 22438 l = len(m.Name) 22439 if l > 0 { 22440 n += 1 + l + sovPlan(uint64(l)) 22441 } 22442 if m.AccountId != 0 { 22443 n += 1 + sovPlan(uint64(m.AccountId)) 22444 } 22445 l = len(m.DbName) 22446 if l > 0 { 22447 n += 1 + l + sovPlan(uint64(l)) 22448 } 22449 l = len(m.AccountName) 22450 if l > 0 { 22451 n += 1 + l + sovPlan(uint64(l)) 22452 } 22453 l = len(m.SubName) 22454 if l > 0 { 22455 n += 1 + l + sovPlan(uint64(l)) 22456 } 22457 if m.XXX_unrecognized != nil { 22458 n += len(m.XXX_unrecognized) 22459 } 22460 return n 22461 } 22462 22463 func (m *Function) ProtoSize() (n int) { 22464 if m == nil { 22465 return 0 22466 } 22467 var l int 22468 _ = l 22469 if m.Func != nil { 22470 l = m.Func.ProtoSize() 22471 n += 1 + l + sovPlan(uint64(l)) 22472 } 22473 if len(m.Args) > 0 { 22474 for _, e := range m.Args { 22475 l = e.ProtoSize() 22476 n += 1 + l + sovPlan(uint64(l)) 22477 } 22478 } 22479 if m.XXX_unrecognized != nil { 22480 n += len(m.XXX_unrecognized) 22481 } 22482 return n 22483 } 22484 22485 func (m *Expr) ProtoSize() (n int) { 22486 if m == nil { 22487 return 0 22488 } 22489 var l int 22490 _ = l 22491 l = m.Typ.ProtoSize() 22492 n += 1 + l + sovPlan(uint64(l)) 22493 if m.Expr != nil { 22494 n += m.Expr.ProtoSize() 22495 } 22496 if m.AuxId != 0 { 22497 n += 1 + sovPlan(uint64(m.AuxId)) 22498 } 22499 if m.Ndv != 0 { 22500 n += 10 22501 } 22502 if m.Selectivity != 0 { 22503 n += 10 22504 } 22505 if m.XXX_unrecognized != nil { 22506 n += len(m.XXX_unrecognized) 22507 } 22508 return n 22509 } 22510 22511 func (m *Expr_Lit) ProtoSize() (n int) { 22512 if m == nil { 22513 return 0 22514 } 22515 var l int 22516 _ = l 22517 if m.Lit != nil { 22518 l = m.Lit.ProtoSize() 22519 n += 1 + l + sovPlan(uint64(l)) 22520 } 22521 return n 22522 } 22523 func (m *Expr_P) ProtoSize() (n int) { 22524 if m == nil { 22525 return 0 22526 } 22527 var l int 22528 _ = l 22529 if m.P != nil { 22530 l = m.P.ProtoSize() 22531 n += 1 + l + sovPlan(uint64(l)) 22532 } 22533 return n 22534 } 22535 func (m *Expr_V) ProtoSize() (n int) { 22536 if m == nil { 22537 return 0 22538 } 22539 var l int 22540 _ = l 22541 if m.V != nil { 22542 l = m.V.ProtoSize() 22543 n += 1 + l + sovPlan(uint64(l)) 22544 } 22545 return n 22546 } 22547 func (m *Expr_Col) ProtoSize() (n int) { 22548 if m == nil { 22549 return 0 22550 } 22551 var l int 22552 _ = l 22553 if m.Col != nil { 22554 l = m.Col.ProtoSize() 22555 n += 1 + l + sovPlan(uint64(l)) 22556 } 22557 return n 22558 } 22559 func (m *Expr_Raw) ProtoSize() (n int) { 22560 if m == nil { 22561 return 0 22562 } 22563 var l int 22564 _ = l 22565 if m.Raw != nil { 22566 l = m.Raw.ProtoSize() 22567 n += 1 + l + sovPlan(uint64(l)) 22568 } 22569 return n 22570 } 22571 func (m *Expr_F) ProtoSize() (n int) { 22572 if m == nil { 22573 return 0 22574 } 22575 var l int 22576 _ = l 22577 if m.F != nil { 22578 l = m.F.ProtoSize() 22579 n += 1 + l + sovPlan(uint64(l)) 22580 } 22581 return n 22582 } 22583 func (m *Expr_W) ProtoSize() (n int) { 22584 if m == nil { 22585 return 0 22586 } 22587 var l int 22588 _ = l 22589 if m.W != nil { 22590 l = m.W.ProtoSize() 22591 n += 1 + l + sovPlan(uint64(l)) 22592 } 22593 return n 22594 } 22595 func (m *Expr_Sub) ProtoSize() (n int) { 22596 if m == nil { 22597 return 0 22598 } 22599 var l int 22600 _ = l 22601 if m.Sub != nil { 22602 l = m.Sub.ProtoSize() 22603 n += 1 + l + sovPlan(uint64(l)) 22604 } 22605 return n 22606 } 22607 func (m *Expr_Corr) ProtoSize() (n int) { 22608 if m == nil { 22609 return 0 22610 } 22611 var l int 22612 _ = l 22613 if m.Corr != nil { 22614 l = m.Corr.ProtoSize() 22615 n += 1 + l + sovPlan(uint64(l)) 22616 } 22617 return n 22618 } 22619 func (m *Expr_T) ProtoSize() (n int) { 22620 if m == nil { 22621 return 0 22622 } 22623 var l int 22624 _ = l 22625 if m.T != nil { 22626 l = m.T.ProtoSize() 22627 n += 1 + l + sovPlan(uint64(l)) 22628 } 22629 return n 22630 } 22631 func (m *Expr_List) ProtoSize() (n int) { 22632 if m == nil { 22633 return 0 22634 } 22635 var l int 22636 _ = l 22637 if m.List != nil { 22638 l = m.List.ProtoSize() 22639 n += 1 + l + sovPlan(uint64(l)) 22640 } 22641 return n 22642 } 22643 func (m *Expr_Max) ProtoSize() (n int) { 22644 if m == nil { 22645 return 0 22646 } 22647 var l int 22648 _ = l 22649 if m.Max != nil { 22650 l = m.Max.ProtoSize() 22651 n += 1 + l + sovPlan(uint64(l)) 22652 } 22653 return n 22654 } 22655 func (m *Expr_Vec) ProtoSize() (n int) { 22656 if m == nil { 22657 return 0 22658 } 22659 var l int 22660 _ = l 22661 if m.Vec != nil { 22662 l = m.Vec.ProtoSize() 22663 n += 1 + l + sovPlan(uint64(l)) 22664 } 22665 return n 22666 } 22667 func (m *LiteralVec) ProtoSize() (n int) { 22668 if m == nil { 22669 return 0 22670 } 22671 var l int 22672 _ = l 22673 if m.Len != 0 { 22674 n += 1 + sovPlan(uint64(m.Len)) 22675 } 22676 l = len(m.Data) 22677 if l > 0 { 22678 n += 1 + l + sovPlan(uint64(l)) 22679 } 22680 if m.XXX_unrecognized != nil { 22681 n += len(m.XXX_unrecognized) 22682 } 22683 return n 22684 } 22685 22686 func (m *Decimal64) ProtoSize() (n int) { 22687 if m == nil { 22688 return 0 22689 } 22690 var l int 22691 _ = l 22692 if m.A != 0 { 22693 n += 1 + sovPlan(uint64(m.A)) 22694 } 22695 if m.XXX_unrecognized != nil { 22696 n += len(m.XXX_unrecognized) 22697 } 22698 return n 22699 } 22700 22701 func (m *Decimal128) ProtoSize() (n int) { 22702 if m == nil { 22703 return 0 22704 } 22705 var l int 22706 _ = l 22707 if m.A != 0 { 22708 n += 1 + sovPlan(uint64(m.A)) 22709 } 22710 if m.B != 0 { 22711 n += 1 + sovPlan(uint64(m.B)) 22712 } 22713 if m.XXX_unrecognized != nil { 22714 n += len(m.XXX_unrecognized) 22715 } 22716 return n 22717 } 22718 22719 func (m *ResultColDef) ProtoSize() (n int) { 22720 if m == nil { 22721 return 0 22722 } 22723 var l int 22724 _ = l 22725 if len(m.ResultCols) > 0 { 22726 for _, e := range m.ResultCols { 22727 l = e.ProtoSize() 22728 n += 1 + l + sovPlan(uint64(l)) 22729 } 22730 } 22731 if m.XXX_unrecognized != nil { 22732 n += len(m.XXX_unrecognized) 22733 } 22734 return n 22735 } 22736 22737 func (m *ColDef) ProtoSize() (n int) { 22738 if m == nil { 22739 return 0 22740 } 22741 var l int 22742 _ = l 22743 if m.ColId != 0 { 22744 n += 1 + sovPlan(uint64(m.ColId)) 22745 } 22746 l = len(m.Name) 22747 if l > 0 { 22748 n += 1 + l + sovPlan(uint64(l)) 22749 } 22750 if m.Hidden { 22751 n += 2 22752 } 22753 if m.Alg != 0 { 22754 n += 1 + sovPlan(uint64(m.Alg)) 22755 } 22756 l = m.Typ.ProtoSize() 22757 n += 1 + l + sovPlan(uint64(l)) 22758 if m.NotNull { 22759 n += 2 22760 } 22761 if m.Default != nil { 22762 l = m.Default.ProtoSize() 22763 n += 1 + l + sovPlan(uint64(l)) 22764 } 22765 l = len(m.Comment) 22766 if l > 0 { 22767 n += 1 + l + sovPlan(uint64(l)) 22768 } 22769 if m.OnUpdate != nil { 22770 l = m.OnUpdate.ProtoSize() 22771 n += 1 + l + sovPlan(uint64(l)) 22772 } 22773 if m.LowCard { 22774 n += 2 22775 } 22776 if m.Seqnum != 0 { 22777 n += 1 + sovPlan(uint64(m.Seqnum)) 22778 } 22779 if m.ClusterBy { 22780 n += 2 22781 } 22782 if m.Primary { 22783 n += 2 22784 } 22785 if m.Pkidx != 0 { 22786 n += 1 + sovPlan(uint64(m.Pkidx)) 22787 } 22788 if m.Headers { 22789 n += 2 22790 } 22791 l = len(m.Header) 22792 if l > 0 { 22793 n += 2 + l + sovPlan(uint64(l)) 22794 } 22795 l = len(m.TblName) 22796 if l > 0 { 22797 n += 2 + l + sovPlan(uint64(l)) 22798 } 22799 l = len(m.DbName) 22800 if l > 0 { 22801 n += 2 + l + sovPlan(uint64(l)) 22802 } 22803 if m.XXX_unrecognized != nil { 22804 n += len(m.XXX_unrecognized) 22805 } 22806 return n 22807 } 22808 22809 func (m *Default) ProtoSize() (n int) { 22810 if m == nil { 22811 return 0 22812 } 22813 var l int 22814 _ = l 22815 if m.Expr != nil { 22816 l = m.Expr.ProtoSize() 22817 n += 1 + l + sovPlan(uint64(l)) 22818 } 22819 l = len(m.OriginString) 22820 if l > 0 { 22821 n += 1 + l + sovPlan(uint64(l)) 22822 } 22823 if m.NullAbility { 22824 n += 2 22825 } 22826 if m.XXX_unrecognized != nil { 22827 n += len(m.XXX_unrecognized) 22828 } 22829 return n 22830 } 22831 22832 func (m *OnUpdate) ProtoSize() (n int) { 22833 if m == nil { 22834 return 0 22835 } 22836 var l int 22837 _ = l 22838 if m.Expr != nil { 22839 l = m.Expr.ProtoSize() 22840 n += 1 + l + sovPlan(uint64(l)) 22841 } 22842 l = len(m.OriginString) 22843 if l > 0 { 22844 n += 1 + l + sovPlan(uint64(l)) 22845 } 22846 if m.XXX_unrecognized != nil { 22847 n += len(m.XXX_unrecognized) 22848 } 22849 return n 22850 } 22851 22852 func (m *IndexOption) ProtoSize() (n int) { 22853 if m == nil { 22854 return 0 22855 } 22856 var l int 22857 _ = l 22858 if m.CreateExtraTable { 22859 n += 2 22860 } 22861 if m.XXX_unrecognized != nil { 22862 n += len(m.XXX_unrecognized) 22863 } 22864 return n 22865 } 22866 22867 func (m *PrimaryKeyDef) ProtoSize() (n int) { 22868 if m == nil { 22869 return 0 22870 } 22871 var l int 22872 _ = l 22873 if len(m.Cols) > 0 { 22874 l = 0 22875 for _, e := range m.Cols { 22876 l += sovPlan(uint64(e)) 22877 } 22878 n += 1 + sovPlan(uint64(l)) + l 22879 } 22880 if m.PkeyColId != 0 { 22881 n += 1 + sovPlan(uint64(m.PkeyColId)) 22882 } 22883 if m.Option != nil { 22884 l = m.Option.ProtoSize() 22885 n += 1 + l + sovPlan(uint64(l)) 22886 } 22887 l = len(m.PkeyColName) 22888 if l > 0 { 22889 n += 1 + l + sovPlan(uint64(l)) 22890 } 22891 if len(m.Names) > 0 { 22892 for _, s := range m.Names { 22893 l = len(s) 22894 n += 1 + l + sovPlan(uint64(l)) 22895 } 22896 } 22897 if m.CompPkeyCol != nil { 22898 l = m.CompPkeyCol.ProtoSize() 22899 n += 1 + l + sovPlan(uint64(l)) 22900 } 22901 if m.XXX_unrecognized != nil { 22902 n += len(m.XXX_unrecognized) 22903 } 22904 return n 22905 } 22906 22907 func (m *IndexDef) ProtoSize() (n int) { 22908 if m == nil { 22909 return 0 22910 } 22911 var l int 22912 _ = l 22913 l = len(m.IdxId) 22914 if l > 0 { 22915 n += 1 + l + sovPlan(uint64(l)) 22916 } 22917 l = len(m.IndexName) 22918 if l > 0 { 22919 n += 1 + l + sovPlan(uint64(l)) 22920 } 22921 if len(m.Parts) > 0 { 22922 for _, s := range m.Parts { 22923 l = len(s) 22924 n += 1 + l + sovPlan(uint64(l)) 22925 } 22926 } 22927 if m.Unique { 22928 n += 2 22929 } 22930 l = len(m.IndexTableName) 22931 if l > 0 { 22932 n += 1 + l + sovPlan(uint64(l)) 22933 } 22934 if m.TableExist { 22935 n += 2 22936 } 22937 l = len(m.Comment) 22938 if l > 0 { 22939 n += 1 + l + sovPlan(uint64(l)) 22940 } 22941 if m.Visible { 22942 n += 2 22943 } 22944 if m.Option != nil { 22945 l = m.Option.ProtoSize() 22946 n += 1 + l + sovPlan(uint64(l)) 22947 } 22948 l = len(m.IndexAlgo) 22949 if l > 0 { 22950 n += 1 + l + sovPlan(uint64(l)) 22951 } 22952 l = len(m.IndexAlgoTableType) 22953 if l > 0 { 22954 n += 1 + l + sovPlan(uint64(l)) 22955 } 22956 l = len(m.IndexAlgoParams) 22957 if l > 0 { 22958 n += 1 + l + sovPlan(uint64(l)) 22959 } 22960 if m.XXX_unrecognized != nil { 22961 n += len(m.XXX_unrecognized) 22962 } 22963 return n 22964 } 22965 22966 func (m *ForeignKeyDef) ProtoSize() (n int) { 22967 if m == nil { 22968 return 0 22969 } 22970 var l int 22971 _ = l 22972 l = len(m.Name) 22973 if l > 0 { 22974 n += 1 + l + sovPlan(uint64(l)) 22975 } 22976 if len(m.Cols) > 0 { 22977 l = 0 22978 for _, e := range m.Cols { 22979 l += sovPlan(uint64(e)) 22980 } 22981 n += 1 + sovPlan(uint64(l)) + l 22982 } 22983 if m.ForeignTbl != 0 { 22984 n += 1 + sovPlan(uint64(m.ForeignTbl)) 22985 } 22986 if len(m.ForeignCols) > 0 { 22987 l = 0 22988 for _, e := range m.ForeignCols { 22989 l += sovPlan(uint64(e)) 22990 } 22991 n += 1 + sovPlan(uint64(l)) + l 22992 } 22993 if m.OnDelete != 0 { 22994 n += 1 + sovPlan(uint64(m.OnDelete)) 22995 } 22996 if m.OnUpdate != 0 { 22997 n += 1 + sovPlan(uint64(m.OnUpdate)) 22998 } 22999 if m.XXX_unrecognized != nil { 23000 n += len(m.XXX_unrecognized) 23001 } 23002 return n 23003 } 23004 23005 func (m *CheckDef) ProtoSize() (n int) { 23006 if m == nil { 23007 return 0 23008 } 23009 var l int 23010 _ = l 23011 l = len(m.Name) 23012 if l > 0 { 23013 n += 1 + l + sovPlan(uint64(l)) 23014 } 23015 if m.Check != nil { 23016 l = m.Check.ProtoSize() 23017 n += 1 + l + sovPlan(uint64(l)) 23018 } 23019 if m.XXX_unrecognized != nil { 23020 n += len(m.XXX_unrecognized) 23021 } 23022 return n 23023 } 23024 23025 func (m *ClusterByDef) ProtoSize() (n int) { 23026 if m == nil { 23027 return 0 23028 } 23029 var l int 23030 _ = l 23031 l = len(m.Name) 23032 if l > 0 { 23033 n += 1 + l + sovPlan(uint64(l)) 23034 } 23035 if m.CompCbkeyCol != nil { 23036 l = m.CompCbkeyCol.ProtoSize() 23037 n += 1 + l + sovPlan(uint64(l)) 23038 } 23039 if m.XXX_unrecognized != nil { 23040 n += len(m.XXX_unrecognized) 23041 } 23042 return n 23043 } 23044 23045 func (m *PropertyDef) ProtoSize() (n int) { 23046 if m == nil { 23047 return 0 23048 } 23049 var l int 23050 _ = l 23051 l = len(m.Key) 23052 if l > 0 { 23053 n += 1 + l + sovPlan(uint64(l)) 23054 } 23055 l = len(m.Value) 23056 if l > 0 { 23057 n += 1 + l + sovPlan(uint64(l)) 23058 } 23059 if m.XXX_unrecognized != nil { 23060 n += len(m.XXX_unrecognized) 23061 } 23062 return n 23063 } 23064 23065 func (m *Property) ProtoSize() (n int) { 23066 if m == nil { 23067 return 0 23068 } 23069 var l int 23070 _ = l 23071 l = len(m.Key) 23072 if l > 0 { 23073 n += 1 + l + sovPlan(uint64(l)) 23074 } 23075 l = len(m.Value) 23076 if l > 0 { 23077 n += 1 + l + sovPlan(uint64(l)) 23078 } 23079 if m.XXX_unrecognized != nil { 23080 n += len(m.XXX_unrecognized) 23081 } 23082 return n 23083 } 23084 23085 func (m *PropertiesDef) ProtoSize() (n int) { 23086 if m == nil { 23087 return 0 23088 } 23089 var l int 23090 _ = l 23091 if len(m.Properties) > 0 { 23092 for _, e := range m.Properties { 23093 l = e.ProtoSize() 23094 n += 1 + l + sovPlan(uint64(l)) 23095 } 23096 } 23097 if m.XXX_unrecognized != nil { 23098 n += len(m.XXX_unrecognized) 23099 } 23100 return n 23101 } 23102 23103 func (m *PartitionByDef) ProtoSize() (n int) { 23104 if m == nil { 23105 return 0 23106 } 23107 var l int 23108 _ = l 23109 if m.Type != 0 { 23110 n += 1 + sovPlan(uint64(m.Type)) 23111 } 23112 if m.PartitionExpr != nil { 23113 l = m.PartitionExpr.ProtoSize() 23114 n += 1 + l + sovPlan(uint64(l)) 23115 } 23116 if m.PartitionExpression != nil { 23117 l = m.PartitionExpression.ProtoSize() 23118 n += 1 + l + sovPlan(uint64(l)) 23119 } 23120 if m.PartitionColumns != nil { 23121 l = m.PartitionColumns.ProtoSize() 23122 n += 1 + l + sovPlan(uint64(l)) 23123 } 23124 if m.PartitionNum != 0 { 23125 n += 1 + sovPlan(uint64(m.PartitionNum)) 23126 } 23127 if len(m.Partitions) > 0 { 23128 for _, e := range m.Partitions { 23129 l = e.ProtoSize() 23130 n += 1 + l + sovPlan(uint64(l)) 23131 } 23132 } 23133 if m.Algorithm != 0 { 23134 n += 1 + sovPlan(uint64(m.Algorithm)) 23135 } 23136 if m.IsSubPartition { 23137 n += 2 23138 } 23139 l = len(m.PartitionMsg) 23140 if l > 0 { 23141 n += 1 + l + sovPlan(uint64(l)) 23142 } 23143 if len(m.PartitionTableNames) > 0 { 23144 for _, s := range m.PartitionTableNames { 23145 l = len(s) 23146 n += 1 + l + sovPlan(uint64(l)) 23147 } 23148 } 23149 if m.XXX_unrecognized != nil { 23150 n += len(m.XXX_unrecognized) 23151 } 23152 return n 23153 } 23154 23155 func (m *PartitionExpr) ProtoSize() (n int) { 23156 if m == nil { 23157 return 0 23158 } 23159 var l int 23160 _ = l 23161 if m.Expr != nil { 23162 l = m.Expr.ProtoSize() 23163 n += 1 + l + sovPlan(uint64(l)) 23164 } 23165 l = len(m.ExprStr) 23166 if l > 0 { 23167 n += 1 + l + sovPlan(uint64(l)) 23168 } 23169 if m.XXX_unrecognized != nil { 23170 n += len(m.XXX_unrecognized) 23171 } 23172 return n 23173 } 23174 23175 func (m *PartitionColumns) ProtoSize() (n int) { 23176 if m == nil { 23177 return 0 23178 } 23179 var l int 23180 _ = l 23181 if len(m.Columns) > 0 { 23182 for _, e := range m.Columns { 23183 l = e.ProtoSize() 23184 n += 1 + l + sovPlan(uint64(l)) 23185 } 23186 } 23187 if len(m.PartitionColumns) > 0 { 23188 for _, s := range m.PartitionColumns { 23189 l = len(s) 23190 n += 1 + l + sovPlan(uint64(l)) 23191 } 23192 } 23193 if m.XXX_unrecognized != nil { 23194 n += len(m.XXX_unrecognized) 23195 } 23196 return n 23197 } 23198 23199 func (m *PartitionItem) ProtoSize() (n int) { 23200 if m == nil { 23201 return 0 23202 } 23203 var l int 23204 _ = l 23205 l = len(m.PartitionName) 23206 if l > 0 { 23207 n += 1 + l + sovPlan(uint64(l)) 23208 } 23209 if m.OrdinalPosition != 0 { 23210 n += 1 + sovPlan(uint64(m.OrdinalPosition)) 23211 } 23212 l = len(m.Description) 23213 if l > 0 { 23214 n += 1 + l + sovPlan(uint64(l)) 23215 } 23216 l = len(m.Comment) 23217 if l > 0 { 23218 n += 1 + l + sovPlan(uint64(l)) 23219 } 23220 if len(m.LessThan) > 0 { 23221 for _, e := range m.LessThan { 23222 l = e.ProtoSize() 23223 n += 1 + l + sovPlan(uint64(l)) 23224 } 23225 } 23226 if len(m.InValues) > 0 { 23227 for _, e := range m.InValues { 23228 l = e.ProtoSize() 23229 n += 1 + l + sovPlan(uint64(l)) 23230 } 23231 } 23232 l = len(m.PartitionTableName) 23233 if l > 0 { 23234 n += 1 + l + sovPlan(uint64(l)) 23235 } 23236 if m.XXX_unrecognized != nil { 23237 n += len(m.XXX_unrecognized) 23238 } 23239 return n 23240 } 23241 23242 func (m *ViewDef) ProtoSize() (n int) { 23243 if m == nil { 23244 return 0 23245 } 23246 var l int 23247 _ = l 23248 l = len(m.View) 23249 if l > 0 { 23250 n += 1 + l + sovPlan(uint64(l)) 23251 } 23252 if m.XXX_unrecognized != nil { 23253 n += len(m.XXX_unrecognized) 23254 } 23255 return n 23256 } 23257 23258 func (m *TableDef) ProtoSize() (n int) { 23259 if m == nil { 23260 return 0 23261 } 23262 var l int 23263 _ = l 23264 if m.TblId != 0 { 23265 n += 1 + sovPlan(uint64(m.TblId)) 23266 } 23267 l = len(m.Name) 23268 if l > 0 { 23269 n += 1 + l + sovPlan(uint64(l)) 23270 } 23271 if m.Hidden { 23272 n += 2 23273 } 23274 if len(m.Cols) > 0 { 23275 for _, e := range m.Cols { 23276 l = e.ProtoSize() 23277 n += 1 + l + sovPlan(uint64(l)) 23278 } 23279 } 23280 l = len(m.TableType) 23281 if l > 0 { 23282 n += 1 + l + sovPlan(uint64(l)) 23283 } 23284 l = len(m.Createsql) 23285 if l > 0 { 23286 n += 1 + l + sovPlan(uint64(l)) 23287 } 23288 if m.TblFunc != nil { 23289 l = m.TblFunc.ProtoSize() 23290 n += 1 + l + sovPlan(uint64(l)) 23291 } 23292 if m.Version != 0 { 23293 n += 1 + sovPlan(uint64(m.Version)) 23294 } 23295 if m.Pkey != nil { 23296 l = m.Pkey.ProtoSize() 23297 n += 1 + l + sovPlan(uint64(l)) 23298 } 23299 if len(m.Indexes) > 0 { 23300 for _, e := range m.Indexes { 23301 l = e.ProtoSize() 23302 n += 1 + l + sovPlan(uint64(l)) 23303 } 23304 } 23305 if len(m.Fkeys) > 0 { 23306 for _, e := range m.Fkeys { 23307 l = e.ProtoSize() 23308 n += 1 + l + sovPlan(uint64(l)) 23309 } 23310 } 23311 if len(m.RefChildTbls) > 0 { 23312 l = 0 23313 for _, e := range m.RefChildTbls { 23314 l += sovPlan(uint64(e)) 23315 } 23316 n += 1 + sovPlan(uint64(l)) + l 23317 } 23318 if len(m.Checks) > 0 { 23319 for _, e := range m.Checks { 23320 l = e.ProtoSize() 23321 n += 1 + l + sovPlan(uint64(l)) 23322 } 23323 } 23324 if m.Partition != nil { 23325 l = m.Partition.ProtoSize() 23326 n += 2 + l + sovPlan(uint64(l)) 23327 } 23328 if m.ClusterBy != nil { 23329 l = m.ClusterBy.ProtoSize() 23330 n += 2 + l + sovPlan(uint64(l)) 23331 } 23332 if len(m.Props) > 0 { 23333 for _, e := range m.Props { 23334 l = e.ProtoSize() 23335 n += 2 + l + sovPlan(uint64(l)) 23336 } 23337 } 23338 if m.ViewSql != nil { 23339 l = m.ViewSql.ProtoSize() 23340 n += 2 + l + sovPlan(uint64(l)) 23341 } 23342 if len(m.Defs) > 0 { 23343 for _, e := range m.Defs { 23344 l = e.ProtoSize() 23345 n += 2 + l + sovPlan(uint64(l)) 23346 } 23347 } 23348 if len(m.Name2ColIndex) > 0 { 23349 for k, v := range m.Name2ColIndex { 23350 _ = k 23351 _ = v 23352 mapEntrySize := 1 + len(k) + sovPlan(uint64(len(k))) + 1 + sovPlan(uint64(v)) 23353 n += mapEntrySize + 2 + sovPlan(uint64(mapEntrySize)) 23354 } 23355 } 23356 if m.IsLocked { 23357 n += 3 23358 } 23359 if m.TableLockType != 0 { 23360 n += 2 + sovPlan(uint64(m.TableLockType)) 23361 } 23362 if m.IsTemporary { 23363 n += 3 23364 } 23365 if m.AutoIncrOffset != 0 { 23366 n += 2 + sovPlan(uint64(m.AutoIncrOffset)) 23367 } 23368 if m.IsDynamic { 23369 n += 3 23370 } 23371 l = len(m.DbName) 23372 if l > 0 { 23373 n += 2 + l + sovPlan(uint64(l)) 23374 } 23375 if m.XXX_unrecognized != nil { 23376 n += len(m.XXX_unrecognized) 23377 } 23378 return n 23379 } 23380 23381 func (m *TableDef_DefType) ProtoSize() (n int) { 23382 if m == nil { 23383 return 0 23384 } 23385 var l int 23386 _ = l 23387 if m.Def != nil { 23388 n += m.Def.ProtoSize() 23389 } 23390 if m.XXX_unrecognized != nil { 23391 n += len(m.XXX_unrecognized) 23392 } 23393 return n 23394 } 23395 23396 func (m *TableDef_DefType_Properties) ProtoSize() (n int) { 23397 if m == nil { 23398 return 0 23399 } 23400 var l int 23401 _ = l 23402 if m.Properties != nil { 23403 l = m.Properties.ProtoSize() 23404 n += 1 + l + sovPlan(uint64(l)) 23405 } 23406 return n 23407 } 23408 func (m *TableFunction) ProtoSize() (n int) { 23409 if m == nil { 23410 return 0 23411 } 23412 var l int 23413 _ = l 23414 l = len(m.Name) 23415 if l > 0 { 23416 n += 1 + l + sovPlan(uint64(l)) 23417 } 23418 l = len(m.Param) 23419 if l > 0 { 23420 n += 1 + l + sovPlan(uint64(l)) 23421 } 23422 if m.XXX_unrecognized != nil { 23423 n += len(m.XXX_unrecognized) 23424 } 23425 return n 23426 } 23427 23428 func (m *HashMapStats) ProtoSize() (n int) { 23429 if m == nil { 23430 return 0 23431 } 23432 var l int 23433 _ = l 23434 if m.HashmapSize != 0 { 23435 n += 9 23436 } 23437 if m.HashOnPK { 23438 n += 2 23439 } 23440 if m.Shuffle { 23441 n += 2 23442 } 23443 if m.ShuffleColIdx != 0 { 23444 n += 1 + sovPlan(uint64(m.ShuffleColIdx)) 23445 } 23446 if m.ShuffleType != 0 { 23447 n += 1 + sovPlan(uint64(m.ShuffleType)) 23448 } 23449 if m.ShuffleTypeForMultiCN != 0 { 23450 n += 1 + sovPlan(uint64(m.ShuffleTypeForMultiCN)) 23451 } 23452 if m.ShuffleColMin != 0 { 23453 n += 1 + sovPlan(uint64(m.ShuffleColMin)) 23454 } 23455 if m.ShuffleColMax != 0 { 23456 n += 1 + sovPlan(uint64(m.ShuffleColMax)) 23457 } 23458 if m.ShuffleMethod != 0 { 23459 n += 1 + sovPlan(uint64(m.ShuffleMethod)) 23460 } 23461 if m.Nullcnt != 0 { 23462 n += 1 + sovPlan(uint64(m.Nullcnt)) 23463 } 23464 if len(m.Ranges) > 0 { 23465 n += 1 + sovPlan(uint64(len(m.Ranges)*8)) + len(m.Ranges)*8 23466 } 23467 if m.XXX_unrecognized != nil { 23468 n += len(m.XXX_unrecognized) 23469 } 23470 return n 23471 } 23472 23473 func (m *Stats) ProtoSize() (n int) { 23474 if m == nil { 23475 return 0 23476 } 23477 var l int 23478 _ = l 23479 if m.BlockNum != 0 { 23480 n += 1 + sovPlan(uint64(m.BlockNum)) 23481 } 23482 if m.Cost != 0 { 23483 n += 9 23484 } 23485 if m.Outcnt != 0 { 23486 n += 9 23487 } 23488 if m.Rowsize != 0 { 23489 n += 9 23490 } 23491 if m.TableCnt != 0 { 23492 n += 9 23493 } 23494 if m.Selectivity != 0 { 23495 n += 9 23496 } 23497 if m.ForceOneCN { 23498 n += 2 23499 } 23500 if m.HashmapStats != nil { 23501 l = m.HashmapStats.ProtoSize() 23502 n += 1 + l + sovPlan(uint64(l)) 23503 } 23504 if m.XXX_unrecognized != nil { 23505 n += len(m.XXX_unrecognized) 23506 } 23507 return n 23508 } 23509 23510 func (m *RowsetExpr) ProtoSize() (n int) { 23511 if m == nil { 23512 return 0 23513 } 23514 var l int 23515 _ = l 23516 if m.RowPos != 0 { 23517 n += 1 + sovPlan(uint64(m.RowPos)) 23518 } 23519 if m.Pos != 0 { 23520 n += 1 + sovPlan(uint64(m.Pos)) 23521 } 23522 if m.Expr != nil { 23523 l = m.Expr.ProtoSize() 23524 n += 1 + l + sovPlan(uint64(l)) 23525 } 23526 if m.XXX_unrecognized != nil { 23527 n += len(m.XXX_unrecognized) 23528 } 23529 return n 23530 } 23531 23532 func (m *ColData) ProtoSize() (n int) { 23533 if m == nil { 23534 return 0 23535 } 23536 var l int 23537 _ = l 23538 if len(m.Data) > 0 { 23539 for _, e := range m.Data { 23540 l = e.ProtoSize() 23541 n += 1 + l + sovPlan(uint64(l)) 23542 } 23543 } 23544 if m.XXX_unrecognized != nil { 23545 n += len(m.XXX_unrecognized) 23546 } 23547 return n 23548 } 23549 23550 func (m *RowsetData) ProtoSize() (n int) { 23551 if m == nil { 23552 return 0 23553 } 23554 var l int 23555 _ = l 23556 if len(m.Cols) > 0 { 23557 for _, e := range m.Cols { 23558 l = e.ProtoSize() 23559 n += 1 + l + sovPlan(uint64(l)) 23560 } 23561 } 23562 if m.RowCount != 0 { 23563 n += 1 + sovPlan(uint64(m.RowCount)) 23564 } 23565 if m.XXX_unrecognized != nil { 23566 n += len(m.XXX_unrecognized) 23567 } 23568 return n 23569 } 23570 23571 func (m *OrderBySpec) ProtoSize() (n int) { 23572 if m == nil { 23573 return 0 23574 } 23575 var l int 23576 _ = l 23577 if m.Expr != nil { 23578 l = m.Expr.ProtoSize() 23579 n += 1 + l + sovPlan(uint64(l)) 23580 } 23581 l = len(m.Collation) 23582 if l > 0 { 23583 n += 1 + l + sovPlan(uint64(l)) 23584 } 23585 if m.Flag != 0 { 23586 n += 1 + sovPlan(uint64(m.Flag)) 23587 } 23588 if m.XXX_unrecognized != nil { 23589 n += len(m.XXX_unrecognized) 23590 } 23591 return n 23592 } 23593 23594 func (m *WindowSpec) ProtoSize() (n int) { 23595 if m == nil { 23596 return 0 23597 } 23598 var l int 23599 _ = l 23600 if m.WindowFunc != nil { 23601 l = m.WindowFunc.ProtoSize() 23602 n += 1 + l + sovPlan(uint64(l)) 23603 } 23604 if len(m.PartitionBy) > 0 { 23605 for _, e := range m.PartitionBy { 23606 l = e.ProtoSize() 23607 n += 1 + l + sovPlan(uint64(l)) 23608 } 23609 } 23610 if len(m.OrderBy) > 0 { 23611 for _, e := range m.OrderBy { 23612 l = e.ProtoSize() 23613 n += 1 + l + sovPlan(uint64(l)) 23614 } 23615 } 23616 if m.Frame != nil { 23617 l = m.Frame.ProtoSize() 23618 n += 1 + l + sovPlan(uint64(l)) 23619 } 23620 l = len(m.Name) 23621 if l > 0 { 23622 n += 1 + l + sovPlan(uint64(l)) 23623 } 23624 if m.XXX_unrecognized != nil { 23625 n += len(m.XXX_unrecognized) 23626 } 23627 return n 23628 } 23629 23630 func (m *SampleFuncSpec) ProtoSize() (n int) { 23631 if m == nil { 23632 return 0 23633 } 23634 var l int 23635 _ = l 23636 if m.Rows != 0 { 23637 n += 1 + sovPlan(uint64(m.Rows)) 23638 } 23639 if m.Percent != 0 { 23640 n += 9 23641 } 23642 if m.UsingRow { 23643 n += 2 23644 } 23645 if m.XXX_unrecognized != nil { 23646 n += len(m.XXX_unrecognized) 23647 } 23648 return n 23649 } 23650 23651 func (m *FrameClause) ProtoSize() (n int) { 23652 if m == nil { 23653 return 0 23654 } 23655 var l int 23656 _ = l 23657 if m.Type != 0 { 23658 n += 1 + sovPlan(uint64(m.Type)) 23659 } 23660 if m.Start != nil { 23661 l = m.Start.ProtoSize() 23662 n += 1 + l + sovPlan(uint64(l)) 23663 } 23664 if m.End != nil { 23665 l = m.End.ProtoSize() 23666 n += 1 + l + sovPlan(uint64(l)) 23667 } 23668 if m.XXX_unrecognized != nil { 23669 n += len(m.XXX_unrecognized) 23670 } 23671 return n 23672 } 23673 23674 func (m *FrameBound) ProtoSize() (n int) { 23675 if m == nil { 23676 return 0 23677 } 23678 var l int 23679 _ = l 23680 if m.Type != 0 { 23681 n += 1 + sovPlan(uint64(m.Type)) 23682 } 23683 if m.UnBounded { 23684 n += 2 23685 } 23686 if m.Val != nil { 23687 l = m.Val.ProtoSize() 23688 n += 1 + l + sovPlan(uint64(l)) 23689 } 23690 if m.XXX_unrecognized != nil { 23691 n += len(m.XXX_unrecognized) 23692 } 23693 return n 23694 } 23695 23696 func (m *OnDuplicateKeyCtx) ProtoSize() (n int) { 23697 if m == nil { 23698 return 0 23699 } 23700 var l int 23701 _ = l 23702 if len(m.Attrs) > 0 { 23703 for _, s := range m.Attrs { 23704 l = len(s) 23705 n += 1 + l + sovPlan(uint64(l)) 23706 } 23707 } 23708 if m.InsertColCount != 0 { 23709 n += 1 + sovPlan(uint64(m.InsertColCount)) 23710 } 23711 if len(m.UniqueColCheckExpr) > 0 { 23712 for _, e := range m.UniqueColCheckExpr { 23713 l = e.ProtoSize() 23714 n += 1 + l + sovPlan(uint64(l)) 23715 } 23716 } 23717 if len(m.UniqueCols) > 0 { 23718 for _, s := range m.UniqueCols { 23719 l = len(s) 23720 n += 1 + l + sovPlan(uint64(l)) 23721 } 23722 } 23723 if len(m.OnDuplicateIdx) > 0 { 23724 l = 0 23725 for _, e := range m.OnDuplicateIdx { 23726 l += sovPlan(uint64(e)) 23727 } 23728 n += 1 + sovPlan(uint64(l)) + l 23729 } 23730 if len(m.OnDuplicateExpr) > 0 { 23731 for k, v := range m.OnDuplicateExpr { 23732 _ = k 23733 _ = v 23734 l = 0 23735 if v != nil { 23736 l = v.ProtoSize() 23737 l += 1 + sovPlan(uint64(l)) 23738 } 23739 mapEntrySize := 1 + len(k) + sovPlan(uint64(len(k))) + l 23740 n += mapEntrySize + 1 + sovPlan(uint64(mapEntrySize)) 23741 } 23742 } 23743 if m.IsIgnore { 23744 n += 2 23745 } 23746 l = len(m.TableName) 23747 if l > 0 { 23748 n += 1 + l + sovPlan(uint64(l)) 23749 } 23750 if m.TableId != 0 { 23751 n += 1 + sovPlan(uint64(m.TableId)) 23752 } 23753 if m.TableVersion != 0 { 23754 n += 1 + sovPlan(uint64(m.TableVersion)) 23755 } 23756 if m.XXX_unrecognized != nil { 23757 n += len(m.XXX_unrecognized) 23758 } 23759 return n 23760 } 23761 23762 func (m *InsertCtx) ProtoSize() (n int) { 23763 if m == nil { 23764 return 0 23765 } 23766 var l int 23767 _ = l 23768 if m.Ref != nil { 23769 l = m.Ref.ProtoSize() 23770 n += 1 + l + sovPlan(uint64(l)) 23771 } 23772 if m.AddAffectedRows { 23773 n += 2 23774 } 23775 if m.IsClusterTable { 23776 n += 2 23777 } 23778 if m.TableDef != nil { 23779 l = m.TableDef.ProtoSize() 23780 n += 1 + l + sovPlan(uint64(l)) 23781 } 23782 if len(m.PartitionTableIds) > 0 { 23783 l = 0 23784 for _, e := range m.PartitionTableIds { 23785 l += sovPlan(uint64(e)) 23786 } 23787 n += 1 + sovPlan(uint64(l)) + l 23788 } 23789 if len(m.PartitionTableNames) > 0 { 23790 for _, s := range m.PartitionTableNames { 23791 l = len(s) 23792 n += 1 + l + sovPlan(uint64(l)) 23793 } 23794 } 23795 if m.PartitionIdx != 0 { 23796 n += 1 + sovPlan(uint64(m.PartitionIdx)) 23797 } 23798 if m.XXX_unrecognized != nil { 23799 n += len(m.XXX_unrecognized) 23800 } 23801 return n 23802 } 23803 23804 func (m *ReplaceCtx) ProtoSize() (n int) { 23805 if m == nil { 23806 return 0 23807 } 23808 var l int 23809 _ = l 23810 if m.Ref != nil { 23811 l = m.Ref.ProtoSize() 23812 n += 1 + l + sovPlan(uint64(l)) 23813 } 23814 if m.AddAffectedRows { 23815 n += 2 23816 } 23817 if m.IsClusterTable { 23818 n += 2 23819 } 23820 if m.TableDef != nil { 23821 l = m.TableDef.ProtoSize() 23822 n += 1 + l + sovPlan(uint64(l)) 23823 } 23824 l = len(m.DeleteCond) 23825 if l > 0 { 23826 n += 1 + l + sovPlan(uint64(l)) 23827 } 23828 if len(m.PartitionTableIds) > 0 { 23829 l = 0 23830 for _, e := range m.PartitionTableIds { 23831 l += sovPlan(uint64(e)) 23832 } 23833 n += 1 + sovPlan(uint64(l)) + l 23834 } 23835 if len(m.PartitionTableNames) > 0 { 23836 for _, s := range m.PartitionTableNames { 23837 l = len(s) 23838 n += 1 + l + sovPlan(uint64(l)) 23839 } 23840 } 23841 if m.PartitionIdx != 0 { 23842 n += 1 + sovPlan(uint64(m.PartitionIdx)) 23843 } 23844 if m.XXX_unrecognized != nil { 23845 n += len(m.XXX_unrecognized) 23846 } 23847 return n 23848 } 23849 23850 func (m *AnalyzeInfo) ProtoSize() (n int) { 23851 if m == nil { 23852 return 0 23853 } 23854 var l int 23855 _ = l 23856 if m.InputRows != 0 { 23857 n += 1 + sovPlan(uint64(m.InputRows)) 23858 } 23859 if m.OutputRows != 0 { 23860 n += 1 + sovPlan(uint64(m.OutputRows)) 23861 } 23862 if m.InputSize != 0 { 23863 n += 1 + sovPlan(uint64(m.InputSize)) 23864 } 23865 if m.OutputSize != 0 { 23866 n += 1 + sovPlan(uint64(m.OutputSize)) 23867 } 23868 if m.TimeConsumed != 0 { 23869 n += 1 + sovPlan(uint64(m.TimeConsumed)) 23870 } 23871 if m.MemorySize != 0 { 23872 n += 1 + sovPlan(uint64(m.MemorySize)) 23873 } 23874 if m.WaitTimeConsumed != 0 { 23875 n += 1 + sovPlan(uint64(m.WaitTimeConsumed)) 23876 } 23877 if m.DiskIO != 0 { 23878 n += 1 + sovPlan(uint64(m.DiskIO)) 23879 } 23880 if m.S3IOByte != 0 { 23881 n += 1 + sovPlan(uint64(m.S3IOByte)) 23882 } 23883 if m.S3IOInputCount != 0 { 23884 n += 1 + sovPlan(uint64(m.S3IOInputCount)) 23885 } 23886 if m.S3IOOutputCount != 0 { 23887 n += 1 + sovPlan(uint64(m.S3IOOutputCount)) 23888 } 23889 if m.NetworkIO != 0 { 23890 n += 1 + sovPlan(uint64(m.NetworkIO)) 23891 } 23892 if m.ScanTime != 0 { 23893 n += 1 + sovPlan(uint64(m.ScanTime)) 23894 } 23895 if m.InsertTime != 0 { 23896 n += 1 + sovPlan(uint64(m.InsertTime)) 23897 } 23898 if len(m.TimeConsumedArrayMajor) > 0 { 23899 l = 0 23900 for _, e := range m.TimeConsumedArrayMajor { 23901 l += sovPlan(uint64(e)) 23902 } 23903 n += 1 + sovPlan(uint64(l)) + l 23904 } 23905 if len(m.TimeConsumedArrayMinor) > 0 { 23906 l = 0 23907 for _, e := range m.TimeConsumedArrayMinor { 23908 l += sovPlan(uint64(e)) 23909 } 23910 n += 2 + sovPlan(uint64(l)) + l 23911 } 23912 if m.XXX_unrecognized != nil { 23913 n += len(m.XXX_unrecognized) 23914 } 23915 return n 23916 } 23917 23918 func (m *PartitionPrune) ProtoSize() (n int) { 23919 if m == nil { 23920 return 0 23921 } 23922 var l int 23923 _ = l 23924 if m.IsPruned { 23925 n += 2 23926 } 23927 if len(m.SelectedPartitions) > 0 { 23928 for _, e := range m.SelectedPartitions { 23929 l = e.ProtoSize() 23930 n += 1 + l + sovPlan(uint64(l)) 23931 } 23932 } 23933 if m.XXX_unrecognized != nil { 23934 n += len(m.XXX_unrecognized) 23935 } 23936 return n 23937 } 23938 23939 func (m *OriginTableMessageForFuzzy) ProtoSize() (n int) { 23940 if m == nil { 23941 return 0 23942 } 23943 var l int 23944 _ = l 23945 l = len(m.ParentTableName) 23946 if l > 0 { 23947 n += 1 + l + sovPlan(uint64(l)) 23948 } 23949 if len(m.ParentUniqueCols) > 0 { 23950 for _, e := range m.ParentUniqueCols { 23951 l = e.ProtoSize() 23952 n += 1 + l + sovPlan(uint64(l)) 23953 } 23954 } 23955 if m.XXX_unrecognized != nil { 23956 n += len(m.XXX_unrecognized) 23957 } 23958 return n 23959 } 23960 23961 func (m *Node) ProtoSize() (n int) { 23962 if m == nil { 23963 return 0 23964 } 23965 var l int 23966 _ = l 23967 if m.NodeType != 0 { 23968 n += 1 + sovPlan(uint64(m.NodeType)) 23969 } 23970 if m.NodeId != 0 { 23971 n += 1 + sovPlan(uint64(m.NodeId)) 23972 } 23973 if m.Stats != nil { 23974 l = m.Stats.ProtoSize() 23975 n += 1 + l + sovPlan(uint64(l)) 23976 } 23977 if len(m.Children) > 0 { 23978 l = 0 23979 for _, e := range m.Children { 23980 l += sovPlan(uint64(e)) 23981 } 23982 n += 1 + sovPlan(uint64(l)) + l 23983 } 23984 if len(m.ProjectList) > 0 { 23985 for _, e := range m.ProjectList { 23986 l = e.ProtoSize() 23987 n += 1 + l + sovPlan(uint64(l)) 23988 } 23989 } 23990 if m.JoinType != 0 { 23991 n += 1 + sovPlan(uint64(m.JoinType)) 23992 } 23993 if len(m.OnList) > 0 { 23994 for _, e := range m.OnList { 23995 l = e.ProtoSize() 23996 n += 1 + l + sovPlan(uint64(l)) 23997 } 23998 } 23999 if m.BuildOnLeft { 24000 n += 2 24001 } 24002 if len(m.FilterList) > 0 { 24003 for _, e := range m.FilterList { 24004 l = e.ProtoSize() 24005 n += 1 + l + sovPlan(uint64(l)) 24006 } 24007 } 24008 if len(m.GroupBy) > 0 { 24009 for _, e := range m.GroupBy { 24010 l = e.ProtoSize() 24011 n += 1 + l + sovPlan(uint64(l)) 24012 } 24013 } 24014 if len(m.GroupingSet) > 0 { 24015 for _, e := range m.GroupingSet { 24016 l = e.ProtoSize() 24017 n += 1 + l + sovPlan(uint64(l)) 24018 } 24019 } 24020 if len(m.AggList) > 0 { 24021 for _, e := range m.AggList { 24022 l = e.ProtoSize() 24023 n += 1 + l + sovPlan(uint64(l)) 24024 } 24025 } 24026 if len(m.WinSpecList) > 0 { 24027 for _, e := range m.WinSpecList { 24028 l = e.ProtoSize() 24029 n += 1 + l + sovPlan(uint64(l)) 24030 } 24031 } 24032 if len(m.OrderBy) > 0 { 24033 for _, e := range m.OrderBy { 24034 l = e.ProtoSize() 24035 n += 1 + l + sovPlan(uint64(l)) 24036 } 24037 } 24038 if m.Limit != nil { 24039 l = m.Limit.ProtoSize() 24040 n += 1 + l + sovPlan(uint64(l)) 24041 } 24042 if m.Offset != nil { 24043 l = m.Offset.ProtoSize() 24044 n += 2 + l + sovPlan(uint64(l)) 24045 } 24046 if m.TableDef != nil { 24047 l = m.TableDef.ProtoSize() 24048 n += 2 + l + sovPlan(uint64(l)) 24049 } 24050 if m.ObjRef != nil { 24051 l = m.ObjRef.ProtoSize() 24052 n += 2 + l + sovPlan(uint64(l)) 24053 } 24054 if m.ParentObjRef != nil { 24055 l = m.ParentObjRef.ProtoSize() 24056 n += 2 + l + sovPlan(uint64(l)) 24057 } 24058 if m.RowsetData != nil { 24059 l = m.RowsetData.ProtoSize() 24060 n += 2 + l + sovPlan(uint64(l)) 24061 } 24062 l = len(m.ExtraOptions) 24063 if l > 0 { 24064 n += 2 + l + sovPlan(uint64(l)) 24065 } 24066 if m.DeleteCtx != nil { 24067 l = m.DeleteCtx.ProtoSize() 24068 n += 2 + l + sovPlan(uint64(l)) 24069 } 24070 if len(m.BindingTags) > 0 { 24071 l = 0 24072 for _, e := range m.BindingTags { 24073 l += sovPlan(uint64(e)) 24074 } 24075 n += 2 + sovPlan(uint64(l)) + l 24076 } 24077 if m.AnalyzeInfo != nil { 24078 l = m.AnalyzeInfo.ProtoSize() 24079 n += 2 + l + sovPlan(uint64(l)) 24080 } 24081 if len(m.TblFuncExprList) > 0 { 24082 for _, e := range m.TblFuncExprList { 24083 l = e.ProtoSize() 24084 n += 2 + l + sovPlan(uint64(l)) 24085 } 24086 } 24087 if m.ClusterTable != nil { 24088 l = m.ClusterTable.ProtoSize() 24089 n += 2 + l + sovPlan(uint64(l)) 24090 } 24091 if m.NotCacheable { 24092 n += 3 24093 } 24094 if m.InsertCtx != nil { 24095 l = m.InsertCtx.ProtoSize() 24096 n += 2 + l + sovPlan(uint64(l)) 24097 } 24098 if m.ReplaceCtx != nil { 24099 l = m.ReplaceCtx.ProtoSize() 24100 n += 2 + l + sovPlan(uint64(l)) 24101 } 24102 if len(m.SourceStep) > 0 { 24103 l = 0 24104 for _, e := range m.SourceStep { 24105 l += sovPlan(uint64(e)) 24106 } 24107 n += 2 + sovPlan(uint64(l)) + l 24108 } 24109 if m.PreDeleteCtx != nil { 24110 l = m.PreDeleteCtx.ProtoSize() 24111 n += 2 + l + sovPlan(uint64(l)) 24112 } 24113 if m.PreInsertCtx != nil { 24114 l = m.PreInsertCtx.ProtoSize() 24115 n += 2 + l + sovPlan(uint64(l)) 24116 } 24117 if m.PreInsertUkCtx != nil { 24118 l = m.PreInsertUkCtx.ProtoSize() 24119 n += 2 + l + sovPlan(uint64(l)) 24120 } 24121 if m.OnDuplicateKey != nil { 24122 l = m.OnDuplicateKey.ProtoSize() 24123 n += 2 + l + sovPlan(uint64(l)) 24124 } 24125 if m.IsEnd { 24126 n += 3 24127 } 24128 if len(m.LockTargets) > 0 { 24129 for _, e := range m.LockTargets { 24130 l = e.ProtoSize() 24131 n += 2 + l + sovPlan(uint64(l)) 24132 } 24133 } 24134 if len(m.BlockFilterList) > 0 { 24135 for _, e := range m.BlockFilterList { 24136 l = e.ProtoSize() 24137 n += 2 + l + sovPlan(uint64(l)) 24138 } 24139 } 24140 if len(m.RuntimeFilterProbeList) > 0 { 24141 for _, e := range m.RuntimeFilterProbeList { 24142 l = e.ProtoSize() 24143 n += 2 + l + sovPlan(uint64(l)) 24144 } 24145 } 24146 if len(m.RuntimeFilterBuildList) > 0 { 24147 for _, e := range m.RuntimeFilterBuildList { 24148 l = e.ProtoSize() 24149 n += 2 + l + sovPlan(uint64(l)) 24150 } 24151 } 24152 l = len(m.Uuid) 24153 if l > 0 { 24154 n += 2 + l + sovPlan(uint64(l)) 24155 } 24156 if m.RecursiveSink { 24157 n += 3 24158 } 24159 if m.ExternScan != nil { 24160 l = m.ExternScan.ProtoSize() 24161 n += 2 + l + sovPlan(uint64(l)) 24162 } 24163 if m.PartitionPrune != nil { 24164 l = m.PartitionPrune.ProtoSize() 24165 n += 2 + l + sovPlan(uint64(l)) 24166 } 24167 if m.PreInsertSkCtx != nil { 24168 l = m.PreInsertSkCtx.ProtoSize() 24169 n += 2 + l + sovPlan(uint64(l)) 24170 } 24171 if m.Interval != nil { 24172 l = m.Interval.ProtoSize() 24173 n += 2 + l + sovPlan(uint64(l)) 24174 } 24175 if m.Sliding != nil { 24176 l = m.Sliding.ProtoSize() 24177 n += 2 + l + sovPlan(uint64(l)) 24178 } 24179 if m.FillType != 0 { 24180 n += 2 + sovPlan(uint64(m.FillType)) 24181 } 24182 if len(m.FillVal) > 0 { 24183 for _, e := range m.FillVal { 24184 l = e.ProtoSize() 24185 n += 2 + l + sovPlan(uint64(l)) 24186 } 24187 } 24188 if m.SampleFunc != nil { 24189 l = m.SampleFunc.ProtoSize() 24190 n += 2 + l + sovPlan(uint64(l)) 24191 } 24192 if m.WindowIdx != 0 { 24193 n += 2 + sovPlan(uint64(m.WindowIdx)) 24194 } 24195 if len(m.OnUpdateExprs) > 0 { 24196 for _, e := range m.OnUpdateExprs { 24197 l = e.ProtoSize() 24198 n += 2 + l + sovPlan(uint64(l)) 24199 } 24200 } 24201 if m.Fuzzymessage != nil { 24202 l = m.Fuzzymessage.ProtoSize() 24203 n += 2 + l + sovPlan(uint64(l)) 24204 } 24205 if len(m.SendMsgList) > 0 { 24206 for _, e := range m.SendMsgList { 24207 l = e.ProtoSize() 24208 n += 2 + l + sovPlan(uint64(l)) 24209 } 24210 } 24211 if len(m.RecvMsgList) > 0 { 24212 for _, e := range m.RecvMsgList { 24213 l = e.ProtoSize() 24214 n += 2 + l + sovPlan(uint64(l)) 24215 } 24216 } 24217 if m.ScanSnapshot != nil { 24218 l = m.ScanSnapshot.ProtoSize() 24219 n += 2 + l + sovPlan(uint64(l)) 24220 } 24221 if m.XXX_unrecognized != nil { 24222 n += len(m.XXX_unrecognized) 24223 } 24224 return n 24225 } 24226 24227 func (m *Snapshot) ProtoSize() (n int) { 24228 if m == nil { 24229 return 0 24230 } 24231 var l int 24232 _ = l 24233 if m.TS != nil { 24234 l = m.TS.ProtoSize() 24235 n += 1 + l + sovPlan(uint64(l)) 24236 } 24237 if m.Tenant != nil { 24238 l = m.Tenant.ProtoSize() 24239 n += 1 + l + sovPlan(uint64(l)) 24240 } 24241 if m.XXX_unrecognized != nil { 24242 n += len(m.XXX_unrecognized) 24243 } 24244 return n 24245 } 24246 24247 func (m *SnapshotTenant) ProtoSize() (n int) { 24248 if m == nil { 24249 return 0 24250 } 24251 var l int 24252 _ = l 24253 l = len(m.TenantName) 24254 if l > 0 { 24255 n += 1 + l + sovPlan(uint64(l)) 24256 } 24257 if m.TenantID != 0 { 24258 n += 1 + sovPlan(uint64(m.TenantID)) 24259 } 24260 if m.XXX_unrecognized != nil { 24261 n += len(m.XXX_unrecognized) 24262 } 24263 return n 24264 } 24265 24266 func (m *ExternScan) ProtoSize() (n int) { 24267 if m == nil { 24268 return 0 24269 } 24270 var l int 24271 _ = l 24272 if m.Type != 0 { 24273 n += 1 + sovPlan(uint64(m.Type)) 24274 } 24275 l = len(m.Data) 24276 if l > 0 { 24277 n += 1 + l + sovPlan(uint64(l)) 24278 } 24279 l = len(m.Format) 24280 if l > 0 { 24281 n += 1 + l + sovPlan(uint64(l)) 24282 } 24283 if m.IgnoredLines != 0 { 24284 n += 1 + sovPlan(uint64(m.IgnoredLines)) 24285 } 24286 l = len(m.EnclosedBy) 24287 if l > 0 { 24288 n += 1 + l + sovPlan(uint64(l)) 24289 } 24290 l = len(m.Terminated) 24291 if l > 0 { 24292 n += 1 + l + sovPlan(uint64(l)) 24293 } 24294 l = len(m.JsonType) 24295 if l > 0 { 24296 n += 1 + l + sovPlan(uint64(l)) 24297 } 24298 l = len(m.EscapedBy) 24299 if l > 0 { 24300 n += 1 + l + sovPlan(uint64(l)) 24301 } 24302 if m.XXX_unrecognized != nil { 24303 n += len(m.XXX_unrecognized) 24304 } 24305 return n 24306 } 24307 24308 func (m *LockTarget) ProtoSize() (n int) { 24309 if m == nil { 24310 return 0 24311 } 24312 var l int 24313 _ = l 24314 if m.TableId != 0 { 24315 n += 1 + sovPlan(uint64(m.TableId)) 24316 } 24317 if m.PrimaryColIdxInBat != 0 { 24318 n += 1 + sovPlan(uint64(m.PrimaryColIdxInBat)) 24319 } 24320 l = m.PrimaryColTyp.ProtoSize() 24321 n += 1 + l + sovPlan(uint64(l)) 24322 if m.RefreshTsIdxInBat != 0 { 24323 n += 1 + sovPlan(uint64(m.RefreshTsIdxInBat)) 24324 } 24325 if m.FilterColIdxInBat != 0 { 24326 n += 1 + sovPlan(uint64(m.FilterColIdxInBat)) 24327 } 24328 if m.LockTable { 24329 n += 2 24330 } 24331 if m.IsPartitionTable { 24332 n += 2 24333 } 24334 if len(m.PartitionTableIds) > 0 { 24335 l = 0 24336 for _, e := range m.PartitionTableIds { 24337 l += sovPlan(uint64(e)) 24338 } 24339 n += 1 + sovPlan(uint64(l)) + l 24340 } 24341 if m.Block { 24342 n += 2 24343 } 24344 if m.Mode != 0 { 24345 n += 1 + sovPlan(uint64(m.Mode)) 24346 } 24347 if m.XXX_unrecognized != nil { 24348 n += len(m.XXX_unrecognized) 24349 } 24350 return n 24351 } 24352 24353 func (m *PreInsertUkCtx) ProtoSize() (n int) { 24354 if m == nil { 24355 return 0 24356 } 24357 var l int 24358 _ = l 24359 if len(m.Columns) > 0 { 24360 l = 0 24361 for _, e := range m.Columns { 24362 l += sovPlan(uint64(e)) 24363 } 24364 n += 1 + sovPlan(uint64(l)) + l 24365 } 24366 if m.PkColumn != 0 { 24367 n += 1 + sovPlan(uint64(m.PkColumn)) 24368 } 24369 l = m.PkType.ProtoSize() 24370 n += 1 + l + sovPlan(uint64(l)) 24371 l = m.UkType.ProtoSize() 24372 n += 1 + l + sovPlan(uint64(l)) 24373 if m.XXX_unrecognized != nil { 24374 n += len(m.XXX_unrecognized) 24375 } 24376 return n 24377 } 24378 24379 func (m *PreDeleteCtx) ProtoSize() (n int) { 24380 if m == nil { 24381 return 0 24382 } 24383 var l int 24384 _ = l 24385 if len(m.Idx) > 0 { 24386 l = 0 24387 for _, e := range m.Idx { 24388 l += sovPlan(uint64(e)) 24389 } 24390 n += 1 + sovPlan(uint64(l)) + l 24391 } 24392 if m.XXX_unrecognized != nil { 24393 n += len(m.XXX_unrecognized) 24394 } 24395 return n 24396 } 24397 24398 func (m *PreInsertCtx) ProtoSize() (n int) { 24399 if m == nil { 24400 return 0 24401 } 24402 var l int 24403 _ = l 24404 if m.Ref != nil { 24405 l = m.Ref.ProtoSize() 24406 n += 1 + l + sovPlan(uint64(l)) 24407 } 24408 if m.TableDef != nil { 24409 l = m.TableDef.ProtoSize() 24410 n += 1 + l + sovPlan(uint64(l)) 24411 } 24412 if m.HasAutoCol { 24413 n += 2 24414 } 24415 if m.IsUpdate { 24416 n += 2 24417 } 24418 if m.XXX_unrecognized != nil { 24419 n += len(m.XXX_unrecognized) 24420 } 24421 return n 24422 } 24423 24424 func (m *RuntimeFilterSpec) ProtoSize() (n int) { 24425 if m == nil { 24426 return 0 24427 } 24428 var l int 24429 _ = l 24430 if m.Tag != 0 { 24431 n += 1 + sovPlan(uint64(m.Tag)) 24432 } 24433 if m.MatchPrefix { 24434 n += 2 24435 } 24436 if m.UpperLimit != 0 { 24437 n += 1 + sovPlan(uint64(m.UpperLimit)) 24438 } 24439 if m.Expr != nil { 24440 l = m.Expr.ProtoSize() 24441 n += 1 + l + sovPlan(uint64(l)) 24442 } 24443 if m.Handled { 24444 n += 2 24445 } 24446 if m.XXX_unrecognized != nil { 24447 n += len(m.XXX_unrecognized) 24448 } 24449 return n 24450 } 24451 24452 func (m *IdList) ProtoSize() (n int) { 24453 if m == nil { 24454 return 0 24455 } 24456 var l int 24457 _ = l 24458 if len(m.List) > 0 { 24459 l = 0 24460 for _, e := range m.List { 24461 l += sovPlan(uint64(e)) 24462 } 24463 n += 1 + sovPlan(uint64(l)) + l 24464 } 24465 if m.XXX_unrecognized != nil { 24466 n += len(m.XXX_unrecognized) 24467 } 24468 return n 24469 } 24470 24471 func (m *ColPosMap) ProtoSize() (n int) { 24472 if m == nil { 24473 return 0 24474 } 24475 var l int 24476 _ = l 24477 if len(m.Map) > 0 { 24478 for k, v := range m.Map { 24479 _ = k 24480 _ = v 24481 mapEntrySize := 1 + len(k) + sovPlan(uint64(len(k))) + 1 + sovPlan(uint64(v)) 24482 n += mapEntrySize + 1 + sovPlan(uint64(mapEntrySize)) 24483 } 24484 } 24485 if m.XXX_unrecognized != nil { 24486 n += len(m.XXX_unrecognized) 24487 } 24488 return n 24489 } 24490 24491 func (m *DeleteCtx) ProtoSize() (n int) { 24492 if m == nil { 24493 return 0 24494 } 24495 var l int 24496 _ = l 24497 if m.CanTruncate { 24498 n += 2 24499 } 24500 if m.Ref != nil { 24501 l = m.Ref.ProtoSize() 24502 n += 1 + l + sovPlan(uint64(l)) 24503 } 24504 if m.RowIdIdx != 0 { 24505 n += 1 + sovPlan(uint64(m.RowIdIdx)) 24506 } 24507 if m.AddAffectedRows { 24508 n += 2 24509 } 24510 if m.IsClusterTable { 24511 n += 2 24512 } 24513 if len(m.PartitionTableIds) > 0 { 24514 l = 0 24515 for _, e := range m.PartitionTableIds { 24516 l += sovPlan(uint64(e)) 24517 } 24518 n += 1 + sovPlan(uint64(l)) + l 24519 } 24520 if len(m.PartitionTableNames) > 0 { 24521 for _, s := range m.PartitionTableNames { 24522 l = len(s) 24523 n += 1 + l + sovPlan(uint64(l)) 24524 } 24525 } 24526 if m.PartitionIdx != 0 { 24527 n += 1 + sovPlan(uint64(m.PartitionIdx)) 24528 } 24529 if m.PrimaryKeyIdx != 0 { 24530 n += 1 + sovPlan(uint64(m.PrimaryKeyIdx)) 24531 } 24532 if m.TruncateTable != nil { 24533 l = m.TruncateTable.ProtoSize() 24534 n += 1 + l + sovPlan(uint64(l)) 24535 } 24536 if m.TableDef != nil { 24537 l = m.TableDef.ProtoSize() 24538 n += 1 + l + sovPlan(uint64(l)) 24539 } 24540 if m.XXX_unrecognized != nil { 24541 n += len(m.XXX_unrecognized) 24542 } 24543 return n 24544 } 24545 24546 func (m *Query) ProtoSize() (n int) { 24547 if m == nil { 24548 return 0 24549 } 24550 var l int 24551 _ = l 24552 if m.StmtType != 0 { 24553 n += 1 + sovPlan(uint64(m.StmtType)) 24554 } 24555 if len(m.Steps) > 0 { 24556 l = 0 24557 for _, e := range m.Steps { 24558 l += sovPlan(uint64(e)) 24559 } 24560 n += 1 + sovPlan(uint64(l)) + l 24561 } 24562 if len(m.Nodes) > 0 { 24563 for _, e := range m.Nodes { 24564 l = e.ProtoSize() 24565 n += 1 + l + sovPlan(uint64(l)) 24566 } 24567 } 24568 if len(m.Params) > 0 { 24569 for _, e := range m.Params { 24570 l = e.ProtoSize() 24571 n += 1 + l + sovPlan(uint64(l)) 24572 } 24573 } 24574 if len(m.Headings) > 0 { 24575 for _, s := range m.Headings { 24576 l = len(s) 24577 n += 1 + l + sovPlan(uint64(l)) 24578 } 24579 } 24580 if m.LoadTag { 24581 n += 2 24582 } 24583 if len(m.DetectSqls) > 0 { 24584 for _, s := range m.DetectSqls { 24585 l = len(s) 24586 n += 1 + l + sovPlan(uint64(l)) 24587 } 24588 } 24589 if m.XXX_unrecognized != nil { 24590 n += len(m.XXX_unrecognized) 24591 } 24592 return n 24593 } 24594 24595 func (m *TransationControl) ProtoSize() (n int) { 24596 if m == nil { 24597 return 0 24598 } 24599 var l int 24600 _ = l 24601 if m.TclType != 0 { 24602 n += 1 + sovPlan(uint64(m.TclType)) 24603 } 24604 if m.Action != nil { 24605 n += m.Action.ProtoSize() 24606 } 24607 if m.XXX_unrecognized != nil { 24608 n += len(m.XXX_unrecognized) 24609 } 24610 return n 24611 } 24612 24613 func (m *TransationControl_Begin) ProtoSize() (n int) { 24614 if m == nil { 24615 return 0 24616 } 24617 var l int 24618 _ = l 24619 if m.Begin != nil { 24620 l = m.Begin.ProtoSize() 24621 n += 1 + l + sovPlan(uint64(l)) 24622 } 24623 return n 24624 } 24625 func (m *TransationControl_Commit) ProtoSize() (n int) { 24626 if m == nil { 24627 return 0 24628 } 24629 var l int 24630 _ = l 24631 if m.Commit != nil { 24632 l = m.Commit.ProtoSize() 24633 n += 1 + l + sovPlan(uint64(l)) 24634 } 24635 return n 24636 } 24637 func (m *TransationControl_Rollback) ProtoSize() (n int) { 24638 if m == nil { 24639 return 0 24640 } 24641 var l int 24642 _ = l 24643 if m.Rollback != nil { 24644 l = m.Rollback.ProtoSize() 24645 n += 1 + l + sovPlan(uint64(l)) 24646 } 24647 return n 24648 } 24649 func (m *TransationBegin) ProtoSize() (n int) { 24650 if m == nil { 24651 return 0 24652 } 24653 var l int 24654 _ = l 24655 if m.Mode != 0 { 24656 n += 1 + sovPlan(uint64(m.Mode)) 24657 } 24658 if m.XXX_unrecognized != nil { 24659 n += len(m.XXX_unrecognized) 24660 } 24661 return n 24662 } 24663 24664 func (m *TransationCommit) ProtoSize() (n int) { 24665 if m == nil { 24666 return 0 24667 } 24668 var l int 24669 _ = l 24670 if m.CompletionType != 0 { 24671 n += 1 + sovPlan(uint64(m.CompletionType)) 24672 } 24673 if m.XXX_unrecognized != nil { 24674 n += len(m.XXX_unrecognized) 24675 } 24676 return n 24677 } 24678 24679 func (m *TransationRollback) ProtoSize() (n int) { 24680 if m == nil { 24681 return 0 24682 } 24683 var l int 24684 _ = l 24685 if m.CompletionType != 0 { 24686 n += 1 + sovPlan(uint64(m.CompletionType)) 24687 } 24688 if m.XXX_unrecognized != nil { 24689 n += len(m.XXX_unrecognized) 24690 } 24691 return n 24692 } 24693 24694 func (m *Plan) ProtoSize() (n int) { 24695 if m == nil { 24696 return 0 24697 } 24698 var l int 24699 _ = l 24700 if m.Plan != nil { 24701 n += m.Plan.ProtoSize() 24702 } 24703 if m.TryRunTimes != 0 { 24704 n += 1 + sovPlan(uint64(m.TryRunTimes)) 24705 } 24706 if m.IsPrepare { 24707 n += 2 24708 } 24709 if m.XXX_unrecognized != nil { 24710 n += len(m.XXX_unrecognized) 24711 } 24712 return n 24713 } 24714 24715 func (m *Plan_Query) ProtoSize() (n int) { 24716 if m == nil { 24717 return 0 24718 } 24719 var l int 24720 _ = l 24721 if m.Query != nil { 24722 l = m.Query.ProtoSize() 24723 n += 1 + l + sovPlan(uint64(l)) 24724 } 24725 return n 24726 } 24727 func (m *Plan_Tcl) ProtoSize() (n int) { 24728 if m == nil { 24729 return 0 24730 } 24731 var l int 24732 _ = l 24733 if m.Tcl != nil { 24734 l = m.Tcl.ProtoSize() 24735 n += 1 + l + sovPlan(uint64(l)) 24736 } 24737 return n 24738 } 24739 func (m *Plan_Ddl) ProtoSize() (n int) { 24740 if m == nil { 24741 return 0 24742 } 24743 var l int 24744 _ = l 24745 if m.Ddl != nil { 24746 l = m.Ddl.ProtoSize() 24747 n += 1 + l + sovPlan(uint64(l)) 24748 } 24749 return n 24750 } 24751 func (m *Plan_Dcl) ProtoSize() (n int) { 24752 if m == nil { 24753 return 0 24754 } 24755 var l int 24756 _ = l 24757 if m.Dcl != nil { 24758 l = m.Dcl.ProtoSize() 24759 n += 1 + l + sovPlan(uint64(l)) 24760 } 24761 return n 24762 } 24763 func (m *Column) ProtoSize() (n int) { 24764 if m == nil { 24765 return 0 24766 } 24767 var l int 24768 _ = l 24769 if len(m.Column) > 0 { 24770 for _, e := range m.Column { 24771 l = e.ProtoSize() 24772 n += 1 + l + sovPlan(uint64(l)) 24773 } 24774 } 24775 if m.XXX_unrecognized != nil { 24776 n += len(m.XXX_unrecognized) 24777 } 24778 return n 24779 } 24780 24781 func (m *DataControl) ProtoSize() (n int) { 24782 if m == nil { 24783 return 0 24784 } 24785 var l int 24786 _ = l 24787 if m.DclType != 0 { 24788 n += 1 + sovPlan(uint64(m.DclType)) 24789 } 24790 if m.Control != nil { 24791 n += m.Control.ProtoSize() 24792 } 24793 if m.XXX_unrecognized != nil { 24794 n += len(m.XXX_unrecognized) 24795 } 24796 return n 24797 } 24798 24799 func (m *DataControl_SetVariables) ProtoSize() (n int) { 24800 if m == nil { 24801 return 0 24802 } 24803 var l int 24804 _ = l 24805 if m.SetVariables != nil { 24806 l = m.SetVariables.ProtoSize() 24807 n += 1 + l + sovPlan(uint64(l)) 24808 } 24809 return n 24810 } 24811 func (m *DataControl_Prepare) ProtoSize() (n int) { 24812 if m == nil { 24813 return 0 24814 } 24815 var l int 24816 _ = l 24817 if m.Prepare != nil { 24818 l = m.Prepare.ProtoSize() 24819 n += 1 + l + sovPlan(uint64(l)) 24820 } 24821 return n 24822 } 24823 func (m *DataControl_Execute) ProtoSize() (n int) { 24824 if m == nil { 24825 return 0 24826 } 24827 var l int 24828 _ = l 24829 if m.Execute != nil { 24830 l = m.Execute.ProtoSize() 24831 n += 1 + l + sovPlan(uint64(l)) 24832 } 24833 return n 24834 } 24835 func (m *DataControl_Deallocate) ProtoSize() (n int) { 24836 if m == nil { 24837 return 0 24838 } 24839 var l int 24840 _ = l 24841 if m.Deallocate != nil { 24842 l = m.Deallocate.ProtoSize() 24843 n += 1 + l + sovPlan(uint64(l)) 24844 } 24845 return n 24846 } 24847 func (m *DataControl_Other) ProtoSize() (n int) { 24848 if m == nil { 24849 return 0 24850 } 24851 var l int 24852 _ = l 24853 if m.Other != nil { 24854 l = m.Other.ProtoSize() 24855 n += 1 + l + sovPlan(uint64(l)) 24856 } 24857 return n 24858 } 24859 func (m *DataDefinition) ProtoSize() (n int) { 24860 if m == nil { 24861 return 0 24862 } 24863 var l int 24864 _ = l 24865 if m.DdlType != 0 { 24866 n += 1 + sovPlan(uint64(m.DdlType)) 24867 } 24868 if m.Query != nil { 24869 l = m.Query.ProtoSize() 24870 n += 1 + l + sovPlan(uint64(l)) 24871 } 24872 if m.Definition != nil { 24873 n += m.Definition.ProtoSize() 24874 } 24875 if m.XXX_unrecognized != nil { 24876 n += len(m.XXX_unrecognized) 24877 } 24878 return n 24879 } 24880 24881 func (m *DataDefinition_CreateDatabase) ProtoSize() (n int) { 24882 if m == nil { 24883 return 0 24884 } 24885 var l int 24886 _ = l 24887 if m.CreateDatabase != nil { 24888 l = m.CreateDatabase.ProtoSize() 24889 n += 1 + l + sovPlan(uint64(l)) 24890 } 24891 return n 24892 } 24893 func (m *DataDefinition_AlterDatabase) ProtoSize() (n int) { 24894 if m == nil { 24895 return 0 24896 } 24897 var l int 24898 _ = l 24899 if m.AlterDatabase != nil { 24900 l = m.AlterDatabase.ProtoSize() 24901 n += 1 + l + sovPlan(uint64(l)) 24902 } 24903 return n 24904 } 24905 func (m *DataDefinition_DropDatabase) ProtoSize() (n int) { 24906 if m == nil { 24907 return 0 24908 } 24909 var l int 24910 _ = l 24911 if m.DropDatabase != nil { 24912 l = m.DropDatabase.ProtoSize() 24913 n += 1 + l + sovPlan(uint64(l)) 24914 } 24915 return n 24916 } 24917 func (m *DataDefinition_CreateTable) ProtoSize() (n int) { 24918 if m == nil { 24919 return 0 24920 } 24921 var l int 24922 _ = l 24923 if m.CreateTable != nil { 24924 l = m.CreateTable.ProtoSize() 24925 n += 1 + l + sovPlan(uint64(l)) 24926 } 24927 return n 24928 } 24929 func (m *DataDefinition_AlterTable) ProtoSize() (n int) { 24930 if m == nil { 24931 return 0 24932 } 24933 var l int 24934 _ = l 24935 if m.AlterTable != nil { 24936 l = m.AlterTable.ProtoSize() 24937 n += 1 + l + sovPlan(uint64(l)) 24938 } 24939 return n 24940 } 24941 func (m *DataDefinition_DropTable) ProtoSize() (n int) { 24942 if m == nil { 24943 return 0 24944 } 24945 var l int 24946 _ = l 24947 if m.DropTable != nil { 24948 l = m.DropTable.ProtoSize() 24949 n += 1 + l + sovPlan(uint64(l)) 24950 } 24951 return n 24952 } 24953 func (m *DataDefinition_CreateIndex) ProtoSize() (n int) { 24954 if m == nil { 24955 return 0 24956 } 24957 var l int 24958 _ = l 24959 if m.CreateIndex != nil { 24960 l = m.CreateIndex.ProtoSize() 24961 n += 1 + l + sovPlan(uint64(l)) 24962 } 24963 return n 24964 } 24965 func (m *DataDefinition_AlterIndex) ProtoSize() (n int) { 24966 if m == nil { 24967 return 0 24968 } 24969 var l int 24970 _ = l 24971 if m.AlterIndex != nil { 24972 l = m.AlterIndex.ProtoSize() 24973 n += 1 + l + sovPlan(uint64(l)) 24974 } 24975 return n 24976 } 24977 func (m *DataDefinition_DropIndex) ProtoSize() (n int) { 24978 if m == nil { 24979 return 0 24980 } 24981 var l int 24982 _ = l 24983 if m.DropIndex != nil { 24984 l = m.DropIndex.ProtoSize() 24985 n += 1 + l + sovPlan(uint64(l)) 24986 } 24987 return n 24988 } 24989 func (m *DataDefinition_TruncateTable) ProtoSize() (n int) { 24990 if m == nil { 24991 return 0 24992 } 24993 var l int 24994 _ = l 24995 if m.TruncateTable != nil { 24996 l = m.TruncateTable.ProtoSize() 24997 n += 1 + l + sovPlan(uint64(l)) 24998 } 24999 return n 25000 } 25001 func (m *DataDefinition_ShowVariables) ProtoSize() (n int) { 25002 if m == nil { 25003 return 0 25004 } 25005 var l int 25006 _ = l 25007 if m.ShowVariables != nil { 25008 l = m.ShowVariables.ProtoSize() 25009 n += 1 + l + sovPlan(uint64(l)) 25010 } 25011 return n 25012 } 25013 func (m *DataDefinition_AlterView) ProtoSize() (n int) { 25014 if m == nil { 25015 return 0 25016 } 25017 var l int 25018 _ = l 25019 if m.AlterView != nil { 25020 l = m.AlterView.ProtoSize() 25021 n += 1 + l + sovPlan(uint64(l)) 25022 } 25023 return n 25024 } 25025 func (m *DataDefinition_LockTables) ProtoSize() (n int) { 25026 if m == nil { 25027 return 0 25028 } 25029 var l int 25030 _ = l 25031 if m.LockTables != nil { 25032 l = m.LockTables.ProtoSize() 25033 n += 1 + l + sovPlan(uint64(l)) 25034 } 25035 return n 25036 } 25037 func (m *DataDefinition_UnlockTables) ProtoSize() (n int) { 25038 if m == nil { 25039 return 0 25040 } 25041 var l int 25042 _ = l 25043 if m.UnlockTables != nil { 25044 l = m.UnlockTables.ProtoSize() 25045 n += 2 + l + sovPlan(uint64(l)) 25046 } 25047 return n 25048 } 25049 func (m *DataDefinition_CreateSequence) ProtoSize() (n int) { 25050 if m == nil { 25051 return 0 25052 } 25053 var l int 25054 _ = l 25055 if m.CreateSequence != nil { 25056 l = m.CreateSequence.ProtoSize() 25057 n += 2 + l + sovPlan(uint64(l)) 25058 } 25059 return n 25060 } 25061 func (m *DataDefinition_DropSequence) ProtoSize() (n int) { 25062 if m == nil { 25063 return 0 25064 } 25065 var l int 25066 _ = l 25067 if m.DropSequence != nil { 25068 l = m.DropSequence.ProtoSize() 25069 n += 2 + l + sovPlan(uint64(l)) 25070 } 25071 return n 25072 } 25073 func (m *DataDefinition_AlterSequence) ProtoSize() (n int) { 25074 if m == nil { 25075 return 0 25076 } 25077 var l int 25078 _ = l 25079 if m.AlterSequence != nil { 25080 l = m.AlterSequence.ProtoSize() 25081 n += 2 + l + sovPlan(uint64(l)) 25082 } 25083 return n 25084 } 25085 func (m *SubscriptionOption) ProtoSize() (n int) { 25086 if m == nil { 25087 return 0 25088 } 25089 var l int 25090 _ = l 25091 l = len(m.From) 25092 if l > 0 { 25093 n += 1 + l + sovPlan(uint64(l)) 25094 } 25095 l = len(m.Publication) 25096 if l > 0 { 25097 n += 1 + l + sovPlan(uint64(l)) 25098 } 25099 if m.XXX_unrecognized != nil { 25100 n += len(m.XXX_unrecognized) 25101 } 25102 return n 25103 } 25104 25105 func (m *CreateDatabase) ProtoSize() (n int) { 25106 if m == nil { 25107 return 0 25108 } 25109 var l int 25110 _ = l 25111 if m.IfNotExists { 25112 n += 2 25113 } 25114 l = len(m.Database) 25115 if l > 0 { 25116 n += 1 + l + sovPlan(uint64(l)) 25117 } 25118 if m.SubscriptionOption != nil { 25119 l = m.SubscriptionOption.ProtoSize() 25120 n += 1 + l + sovPlan(uint64(l)) 25121 } 25122 l = len(m.Sql) 25123 if l > 0 { 25124 n += 1 + l + sovPlan(uint64(l)) 25125 } 25126 if m.XXX_unrecognized != nil { 25127 n += len(m.XXX_unrecognized) 25128 } 25129 return n 25130 } 25131 25132 func (m *AlterDatabase) ProtoSize() (n int) { 25133 if m == nil { 25134 return 0 25135 } 25136 var l int 25137 _ = l 25138 if m.IfExists { 25139 n += 2 25140 } 25141 l = len(m.Database) 25142 if l > 0 { 25143 n += 1 + l + sovPlan(uint64(l)) 25144 } 25145 if m.XXX_unrecognized != nil { 25146 n += len(m.XXX_unrecognized) 25147 } 25148 return n 25149 } 25150 25151 func (m *DropDatabase) ProtoSize() (n int) { 25152 if m == nil { 25153 return 0 25154 } 25155 var l int 25156 _ = l 25157 if m.IfExists { 25158 n += 2 25159 } 25160 l = len(m.Database) 25161 if l > 0 { 25162 n += 1 + l + sovPlan(uint64(l)) 25163 } 25164 if m.DatabaseId != 0 { 25165 n += 1 + sovPlan(uint64(m.DatabaseId)) 25166 } 25167 l = len(m.UpdateFkSql) 25168 if l > 0 { 25169 n += 1 + l + sovPlan(uint64(l)) 25170 } 25171 l = len(m.CheckFKSql) 25172 if l > 0 { 25173 n += 1 + l + sovPlan(uint64(l)) 25174 } 25175 if m.XXX_unrecognized != nil { 25176 n += len(m.XXX_unrecognized) 25177 } 25178 return n 25179 } 25180 25181 func (m *FkColName) ProtoSize() (n int) { 25182 if m == nil { 25183 return 0 25184 } 25185 var l int 25186 _ = l 25187 if len(m.Cols) > 0 { 25188 for _, s := range m.Cols { 25189 l = len(s) 25190 n += 1 + l + sovPlan(uint64(l)) 25191 } 25192 } 25193 if m.XXX_unrecognized != nil { 25194 n += len(m.XXX_unrecognized) 25195 } 25196 return n 25197 } 25198 25199 func (m *ForeignKeyInfo) ProtoSize() (n int) { 25200 if m == nil { 25201 return 0 25202 } 25203 var l int 25204 _ = l 25205 l = len(m.Db) 25206 if l > 0 { 25207 n += 1 + l + sovPlan(uint64(l)) 25208 } 25209 l = len(m.Table) 25210 if l > 0 { 25211 n += 1 + l + sovPlan(uint64(l)) 25212 } 25213 if m.Cols != nil { 25214 l = m.Cols.ProtoSize() 25215 n += 1 + l + sovPlan(uint64(l)) 25216 } 25217 if m.ColsReferred != nil { 25218 l = m.ColsReferred.ProtoSize() 25219 n += 1 + l + sovPlan(uint64(l)) 25220 } 25221 if m.Def != nil { 25222 l = m.Def.ProtoSize() 25223 n += 1 + l + sovPlan(uint64(l)) 25224 } 25225 if m.XXX_unrecognized != nil { 25226 n += len(m.XXX_unrecognized) 25227 } 25228 return n 25229 } 25230 25231 func (m *CreateTable) ProtoSize() (n int) { 25232 if m == nil { 25233 return 0 25234 } 25235 var l int 25236 _ = l 25237 if m.IfNotExists { 25238 n += 2 25239 } 25240 if m.Temporary { 25241 n += 2 25242 } 25243 l = len(m.Database) 25244 if l > 0 { 25245 n += 1 + l + sovPlan(uint64(l)) 25246 } 25247 if m.Replace { 25248 n += 2 25249 } 25250 if m.TableDef != nil { 25251 l = m.TableDef.ProtoSize() 25252 n += 1 + l + sovPlan(uint64(l)) 25253 } 25254 if len(m.IndexTables) > 0 { 25255 for _, e := range m.IndexTables { 25256 l = e.ProtoSize() 25257 n += 1 + l + sovPlan(uint64(l)) 25258 } 25259 } 25260 if len(m.FkDbs) > 0 { 25261 for _, s := range m.FkDbs { 25262 l = len(s) 25263 n += 1 + l + sovPlan(uint64(l)) 25264 } 25265 } 25266 if len(m.FkTables) > 0 { 25267 for _, s := range m.FkTables { 25268 l = len(s) 25269 n += 1 + l + sovPlan(uint64(l)) 25270 } 25271 } 25272 if len(m.FkCols) > 0 { 25273 for _, e := range m.FkCols { 25274 l = e.ProtoSize() 25275 n += 1 + l + sovPlan(uint64(l)) 25276 } 25277 } 25278 if len(m.PartitionTables) > 0 { 25279 for _, e := range m.PartitionTables { 25280 l = e.ProtoSize() 25281 n += 1 + l + sovPlan(uint64(l)) 25282 } 25283 } 25284 l = len(m.CreateAsSelectSql) 25285 if l > 0 { 25286 n += 1 + l + sovPlan(uint64(l)) 25287 } 25288 if len(m.UpdateFkSqls) > 0 { 25289 for _, s := range m.UpdateFkSqls { 25290 l = len(s) 25291 n += 1 + l + sovPlan(uint64(l)) 25292 } 25293 } 25294 if len(m.FksReferToMe) > 0 { 25295 for _, e := range m.FksReferToMe { 25296 l = e.ProtoSize() 25297 n += 1 + l + sovPlan(uint64(l)) 25298 } 25299 } 25300 if m.XXX_unrecognized != nil { 25301 n += len(m.XXX_unrecognized) 25302 } 25303 return n 25304 } 25305 25306 func (m *AlterTableDrop) ProtoSize() (n int) { 25307 if m == nil { 25308 return 0 25309 } 25310 var l int 25311 _ = l 25312 if m.Typ != 0 { 25313 n += 1 + sovPlan(uint64(m.Typ)) 25314 } 25315 l = len(m.Name) 25316 if l > 0 { 25317 n += 1 + l + sovPlan(uint64(l)) 25318 } 25319 l = len(m.IndexTableName) 25320 if l > 0 { 25321 n += 1 + l + sovPlan(uint64(l)) 25322 } 25323 if m.XXX_unrecognized != nil { 25324 n += len(m.XXX_unrecognized) 25325 } 25326 return n 25327 } 25328 25329 func (m *AlterTableAddFk) ProtoSize() (n int) { 25330 if m == nil { 25331 return 0 25332 } 25333 var l int 25334 _ = l 25335 l = len(m.DbName) 25336 if l > 0 { 25337 n += 1 + l + sovPlan(uint64(l)) 25338 } 25339 l = len(m.TableName) 25340 if l > 0 { 25341 n += 1 + l + sovPlan(uint64(l)) 25342 } 25343 if len(m.Cols) > 0 { 25344 for _, s := range m.Cols { 25345 l = len(s) 25346 n += 1 + l + sovPlan(uint64(l)) 25347 } 25348 } 25349 if m.Fkey != nil { 25350 l = m.Fkey.ProtoSize() 25351 n += 1 + l + sovPlan(uint64(l)) 25352 } 25353 if m.XXX_unrecognized != nil { 25354 n += len(m.XXX_unrecognized) 25355 } 25356 return n 25357 } 25358 25359 func (m *AlterTableAddIndex) ProtoSize() (n int) { 25360 if m == nil { 25361 return 0 25362 } 25363 var l int 25364 _ = l 25365 l = len(m.DbName) 25366 if l > 0 { 25367 n += 1 + l + sovPlan(uint64(l)) 25368 } 25369 l = len(m.TableName) 25370 if l > 0 { 25371 n += 1 + l + sovPlan(uint64(l)) 25372 } 25373 l = len(m.OriginTablePrimaryKey) 25374 if l > 0 { 25375 n += 1 + l + sovPlan(uint64(l)) 25376 } 25377 if m.IndexInfo != nil { 25378 l = m.IndexInfo.ProtoSize() 25379 n += 1 + l + sovPlan(uint64(l)) 25380 } 25381 if m.IndexTableExist { 25382 n += 2 25383 } 25384 if m.XXX_unrecognized != nil { 25385 n += len(m.XXX_unrecognized) 25386 } 25387 return n 25388 } 25389 25390 func (m *AlterTableDropIndex) ProtoSize() (n int) { 25391 if m == nil { 25392 return 0 25393 } 25394 var l int 25395 _ = l 25396 l = len(m.DbName) 25397 if l > 0 { 25398 n += 1 + l + sovPlan(uint64(l)) 25399 } 25400 l = len(m.TableName) 25401 if l > 0 { 25402 n += 1 + l + sovPlan(uint64(l)) 25403 } 25404 l = len(m.IndexName) 25405 if l > 0 { 25406 n += 1 + l + sovPlan(uint64(l)) 25407 } 25408 l = len(m.IndexTableName) 25409 if l > 0 { 25410 n += 1 + l + sovPlan(uint64(l)) 25411 } 25412 if m.XXX_unrecognized != nil { 25413 n += len(m.XXX_unrecognized) 25414 } 25415 return n 25416 } 25417 25418 func (m *AlterTableAlterIndex) ProtoSize() (n int) { 25419 if m == nil { 25420 return 0 25421 } 25422 var l int 25423 _ = l 25424 l = len(m.DbName) 25425 if l > 0 { 25426 n += 1 + l + sovPlan(uint64(l)) 25427 } 25428 l = len(m.TableName) 25429 if l > 0 { 25430 n += 1 + l + sovPlan(uint64(l)) 25431 } 25432 l = len(m.IndexName) 25433 if l > 0 { 25434 n += 1 + l + sovPlan(uint64(l)) 25435 } 25436 if m.Visible { 25437 n += 2 25438 } 25439 if m.XXX_unrecognized != nil { 25440 n += len(m.XXX_unrecognized) 25441 } 25442 return n 25443 } 25444 25445 func (m *AlterTableAlterReIndex) ProtoSize() (n int) { 25446 if m == nil { 25447 return 0 25448 } 25449 var l int 25450 _ = l 25451 l = len(m.DbName) 25452 if l > 0 { 25453 n += 1 + l + sovPlan(uint64(l)) 25454 } 25455 l = len(m.TableName) 25456 if l > 0 { 25457 n += 1 + l + sovPlan(uint64(l)) 25458 } 25459 l = len(m.IndexName) 25460 if l > 0 { 25461 n += 1 + l + sovPlan(uint64(l)) 25462 } 25463 if m.IndexAlgoParamList != 0 { 25464 n += 1 + sovPlan(uint64(m.IndexAlgoParamList)) 25465 } 25466 if m.XXX_unrecognized != nil { 25467 n += len(m.XXX_unrecognized) 25468 } 25469 return n 25470 } 25471 25472 func (m *AlterTableAddPartition) ProtoSize() (n int) { 25473 if m == nil { 25474 return 0 25475 } 25476 var l int 25477 _ = l 25478 if len(m.Definitions) > 0 { 25479 for _, e := range m.Definitions { 25480 l = e.ProtoSize() 25481 n += 1 + l + sovPlan(uint64(l)) 25482 } 25483 } 25484 if len(m.PartitionTables) > 0 { 25485 for _, e := range m.PartitionTables { 25486 l = e.ProtoSize() 25487 n += 1 + l + sovPlan(uint64(l)) 25488 } 25489 } 25490 if m.PartitionDef != nil { 25491 l = m.PartitionDef.ProtoSize() 25492 n += 1 + l + sovPlan(uint64(l)) 25493 } 25494 if m.XXX_unrecognized != nil { 25495 n += len(m.XXX_unrecognized) 25496 } 25497 return n 25498 } 25499 25500 func (m *AlterTableComment) ProtoSize() (n int) { 25501 if m == nil { 25502 return 0 25503 } 25504 var l int 25505 _ = l 25506 l = len(m.NewComment) 25507 if l > 0 { 25508 n += 1 + l + sovPlan(uint64(l)) 25509 } 25510 if m.XXX_unrecognized != nil { 25511 n += len(m.XXX_unrecognized) 25512 } 25513 return n 25514 } 25515 25516 func (m *AlterTableName) ProtoSize() (n int) { 25517 if m == nil { 25518 return 0 25519 } 25520 var l int 25521 _ = l 25522 l = len(m.OldName) 25523 if l > 0 { 25524 n += 1 + l + sovPlan(uint64(l)) 25525 } 25526 l = len(m.NewName) 25527 if l > 0 { 25528 n += 1 + l + sovPlan(uint64(l)) 25529 } 25530 if m.XXX_unrecognized != nil { 25531 n += len(m.XXX_unrecognized) 25532 } 25533 return n 25534 } 25535 25536 func (m *AlterAddColumn) ProtoSize() (n int) { 25537 if m == nil { 25538 return 0 25539 } 25540 var l int 25541 _ = l 25542 l = len(m.Name) 25543 if l > 0 { 25544 n += 1 + l + sovPlan(uint64(l)) 25545 } 25546 l = len(m.PreName) 25547 if l > 0 { 25548 n += 1 + l + sovPlan(uint64(l)) 25549 } 25550 l = m.Type.ProtoSize() 25551 n += 1 + l + sovPlan(uint64(l)) 25552 if m.Pos != 0 { 25553 n += 1 + sovPlan(uint64(m.Pos)) 25554 } 25555 if m.XXX_unrecognized != nil { 25556 n += len(m.XXX_unrecognized) 25557 } 25558 return n 25559 } 25560 25561 func (m *AlterDropColumn) ProtoSize() (n int) { 25562 if m == nil { 25563 return 0 25564 } 25565 var l int 25566 _ = l 25567 if m.Idx != 0 { 25568 n += 1 + sovPlan(uint64(m.Idx)) 25569 } 25570 if m.Seq != 0 { 25571 n += 1 + sovPlan(uint64(m.Seq)) 25572 } 25573 if m.XXX_unrecognized != nil { 25574 n += len(m.XXX_unrecognized) 25575 } 25576 return n 25577 } 25578 25579 func (m *AlterTable) ProtoSize() (n int) { 25580 if m == nil { 25581 return 0 25582 } 25583 var l int 25584 _ = l 25585 l = len(m.Database) 25586 if l > 0 { 25587 n += 1 + l + sovPlan(uint64(l)) 25588 } 25589 if m.TableDef != nil { 25590 l = m.TableDef.ProtoSize() 25591 n += 1 + l + sovPlan(uint64(l)) 25592 } 25593 if m.CopyTableDef != nil { 25594 l = m.CopyTableDef.ProtoSize() 25595 n += 1 + l + sovPlan(uint64(l)) 25596 } 25597 if m.IsClusterTable { 25598 n += 2 25599 } 25600 if len(m.Actions) > 0 { 25601 for _, e := range m.Actions { 25602 l = e.ProtoSize() 25603 n += 1 + l + sovPlan(uint64(l)) 25604 } 25605 } 25606 if m.AlgorithmType != 0 { 25607 n += 1 + sovPlan(uint64(m.AlgorithmType)) 25608 } 25609 l = len(m.CreateTmpTableSql) 25610 if l > 0 { 25611 n += 1 + l + sovPlan(uint64(l)) 25612 } 25613 l = len(m.InsertTmpDataSql) 25614 if l > 0 { 25615 n += 1 + l + sovPlan(uint64(l)) 25616 } 25617 l = len(m.CreateTableSql) 25618 if l > 0 { 25619 n += 1 + l + sovPlan(uint64(l)) 25620 } 25621 l = len(m.InsertDataSql) 25622 if l > 0 { 25623 n += 1 + l + sovPlan(uint64(l)) 25624 } 25625 if len(m.ChangeTblColIdMap) > 0 { 25626 for k, v := range m.ChangeTblColIdMap { 25627 _ = k 25628 _ = v 25629 l = 0 25630 if v != nil { 25631 l = v.ProtoSize() 25632 l += 1 + sovPlan(uint64(l)) 25633 } 25634 mapEntrySize := 1 + sovPlan(uint64(k)) + l 25635 n += mapEntrySize + 1 + sovPlan(uint64(mapEntrySize)) 25636 } 25637 } 25638 if len(m.DetectSqls) > 0 { 25639 for _, s := range m.DetectSqls { 25640 l = len(s) 25641 n += 1 + l + sovPlan(uint64(l)) 25642 } 25643 } 25644 if len(m.UpdateFkSqls) > 0 { 25645 for _, s := range m.UpdateFkSqls { 25646 l = len(s) 25647 n += 1 + l + sovPlan(uint64(l)) 25648 } 25649 } 25650 if m.XXX_unrecognized != nil { 25651 n += len(m.XXX_unrecognized) 25652 } 25653 return n 25654 } 25655 25656 func (m *AlterTable_Action) ProtoSize() (n int) { 25657 if m == nil { 25658 return 0 25659 } 25660 var l int 25661 _ = l 25662 if m.Action != nil { 25663 n += m.Action.ProtoSize() 25664 } 25665 if m.XXX_unrecognized != nil { 25666 n += len(m.XXX_unrecognized) 25667 } 25668 return n 25669 } 25670 25671 func (m *AlterTable_Action_Drop) ProtoSize() (n int) { 25672 if m == nil { 25673 return 0 25674 } 25675 var l int 25676 _ = l 25677 if m.Drop != nil { 25678 l = m.Drop.ProtoSize() 25679 n += 1 + l + sovPlan(uint64(l)) 25680 } 25681 return n 25682 } 25683 func (m *AlterTable_Action_AddFk) ProtoSize() (n int) { 25684 if m == nil { 25685 return 0 25686 } 25687 var l int 25688 _ = l 25689 if m.AddFk != nil { 25690 l = m.AddFk.ProtoSize() 25691 n += 1 + l + sovPlan(uint64(l)) 25692 } 25693 return n 25694 } 25695 func (m *AlterTable_Action_AddIndex) ProtoSize() (n int) { 25696 if m == nil { 25697 return 0 25698 } 25699 var l int 25700 _ = l 25701 if m.AddIndex != nil { 25702 l = m.AddIndex.ProtoSize() 25703 n += 1 + l + sovPlan(uint64(l)) 25704 } 25705 return n 25706 } 25707 func (m *AlterTable_Action_AlterIndex) ProtoSize() (n int) { 25708 if m == nil { 25709 return 0 25710 } 25711 var l int 25712 _ = l 25713 if m.AlterIndex != nil { 25714 l = m.AlterIndex.ProtoSize() 25715 n += 1 + l + sovPlan(uint64(l)) 25716 } 25717 return n 25718 } 25719 func (m *AlterTable_Action_AlterComment) ProtoSize() (n int) { 25720 if m == nil { 25721 return 0 25722 } 25723 var l int 25724 _ = l 25725 if m.AlterComment != nil { 25726 l = m.AlterComment.ProtoSize() 25727 n += 1 + l + sovPlan(uint64(l)) 25728 } 25729 return n 25730 } 25731 func (m *AlterTable_Action_AlterName) ProtoSize() (n int) { 25732 if m == nil { 25733 return 0 25734 } 25735 var l int 25736 _ = l 25737 if m.AlterName != nil { 25738 l = m.AlterName.ProtoSize() 25739 n += 1 + l + sovPlan(uint64(l)) 25740 } 25741 return n 25742 } 25743 func (m *AlterTable_Action_AddColumn) ProtoSize() (n int) { 25744 if m == nil { 25745 return 0 25746 } 25747 var l int 25748 _ = l 25749 if m.AddColumn != nil { 25750 l = m.AddColumn.ProtoSize() 25751 n += 1 + l + sovPlan(uint64(l)) 25752 } 25753 return n 25754 } 25755 func (m *AlterTable_Action_DropColumn) ProtoSize() (n int) { 25756 if m == nil { 25757 return 0 25758 } 25759 var l int 25760 _ = l 25761 if m.DropColumn != nil { 25762 l = m.DropColumn.ProtoSize() 25763 n += 1 + l + sovPlan(uint64(l)) 25764 } 25765 return n 25766 } 25767 func (m *AlterTable_Action_AlterReindex) ProtoSize() (n int) { 25768 if m == nil { 25769 return 0 25770 } 25771 var l int 25772 _ = l 25773 if m.AlterReindex != nil { 25774 l = m.AlterReindex.ProtoSize() 25775 n += 1 + l + sovPlan(uint64(l)) 25776 } 25777 return n 25778 } 25779 func (m *AlterTable_Action_AddPartition) ProtoSize() (n int) { 25780 if m == nil { 25781 return 0 25782 } 25783 var l int 25784 _ = l 25785 if m.AddPartition != nil { 25786 l = m.AddPartition.ProtoSize() 25787 n += 1 + l + sovPlan(uint64(l)) 25788 } 25789 return n 25790 } 25791 func (m *DropTable) ProtoSize() (n int) { 25792 if m == nil { 25793 return 0 25794 } 25795 var l int 25796 _ = l 25797 if m.IfExists { 25798 n += 2 25799 } 25800 l = len(m.Database) 25801 if l > 0 { 25802 n += 1 + l + sovPlan(uint64(l)) 25803 } 25804 l = len(m.Table) 25805 if l > 0 { 25806 n += 1 + l + sovPlan(uint64(l)) 25807 } 25808 if len(m.IndexTableNames) > 0 { 25809 for _, s := range m.IndexTableNames { 25810 l = len(s) 25811 n += 1 + l + sovPlan(uint64(l)) 25812 } 25813 } 25814 if m.ClusterTable != nil { 25815 l = m.ClusterTable.ProtoSize() 25816 n += 1 + l + sovPlan(uint64(l)) 25817 } 25818 if m.TableId != 0 { 25819 n += 1 + sovPlan(uint64(m.TableId)) 25820 } 25821 if len(m.ForeignTbl) > 0 { 25822 l = 0 25823 for _, e := range m.ForeignTbl { 25824 l += sovPlan(uint64(e)) 25825 } 25826 n += 1 + sovPlan(uint64(l)) + l 25827 } 25828 if len(m.PartitionTableNames) > 0 { 25829 for _, s := range m.PartitionTableNames { 25830 l = len(s) 25831 n += 1 + l + sovPlan(uint64(l)) 25832 } 25833 } 25834 if m.IsView { 25835 n += 2 25836 } 25837 if m.TableDef != nil { 25838 l = m.TableDef.ProtoSize() 25839 n += 1 + l + sovPlan(uint64(l)) 25840 } 25841 if len(m.UpdateFkSqls) > 0 { 25842 for _, s := range m.UpdateFkSqls { 25843 l = len(s) 25844 n += 1 + l + sovPlan(uint64(l)) 25845 } 25846 } 25847 if len(m.FkChildTblsReferToMe) > 0 { 25848 l = 0 25849 for _, e := range m.FkChildTblsReferToMe { 25850 l += sovPlan(uint64(e)) 25851 } 25852 n += 1 + sovPlan(uint64(l)) + l 25853 } 25854 if m.XXX_unrecognized != nil { 25855 n += len(m.XXX_unrecognized) 25856 } 25857 return n 25858 } 25859 25860 func (m *AlterView) ProtoSize() (n int) { 25861 if m == nil { 25862 return 0 25863 } 25864 var l int 25865 _ = l 25866 if m.IfExists { 25867 n += 2 25868 } 25869 l = len(m.Database) 25870 if l > 0 { 25871 n += 1 + l + sovPlan(uint64(l)) 25872 } 25873 if m.TableDef != nil { 25874 l = m.TableDef.ProtoSize() 25875 n += 1 + l + sovPlan(uint64(l)) 25876 } 25877 if m.XXX_unrecognized != nil { 25878 n += len(m.XXX_unrecognized) 25879 } 25880 return n 25881 } 25882 25883 func (m *CreateSequence) ProtoSize() (n int) { 25884 if m == nil { 25885 return 0 25886 } 25887 var l int 25888 _ = l 25889 if m.IfNotExists { 25890 n += 2 25891 } 25892 l = len(m.Database) 25893 if l > 0 { 25894 n += 1 + l + sovPlan(uint64(l)) 25895 } 25896 if m.TableDef != nil { 25897 l = m.TableDef.ProtoSize() 25898 n += 1 + l + sovPlan(uint64(l)) 25899 } 25900 if m.XXX_unrecognized != nil { 25901 n += len(m.XXX_unrecognized) 25902 } 25903 return n 25904 } 25905 25906 func (m *DropSequence) ProtoSize() (n int) { 25907 if m == nil { 25908 return 0 25909 } 25910 var l int 25911 _ = l 25912 if m.IfExists { 25913 n += 2 25914 } 25915 l = len(m.Database) 25916 if l > 0 { 25917 n += 1 + l + sovPlan(uint64(l)) 25918 } 25919 l = len(m.Table) 25920 if l > 0 { 25921 n += 1 + l + sovPlan(uint64(l)) 25922 } 25923 if m.TableId != 0 { 25924 n += 1 + sovPlan(uint64(m.TableId)) 25925 } 25926 if m.XXX_unrecognized != nil { 25927 n += len(m.XXX_unrecognized) 25928 } 25929 return n 25930 } 25931 25932 func (m *AlterSequence) ProtoSize() (n int) { 25933 if m == nil { 25934 return 0 25935 } 25936 var l int 25937 _ = l 25938 if m.IfExists { 25939 n += 2 25940 } 25941 l = len(m.Database) 25942 if l > 0 { 25943 n += 1 + l + sovPlan(uint64(l)) 25944 } 25945 if m.TableDef != nil { 25946 l = m.TableDef.ProtoSize() 25947 n += 1 + l + sovPlan(uint64(l)) 25948 } 25949 if m.XXX_unrecognized != nil { 25950 n += len(m.XXX_unrecognized) 25951 } 25952 return n 25953 } 25954 25955 func (m *CreateIndex) ProtoSize() (n int) { 25956 if m == nil { 25957 return 0 25958 } 25959 var l int 25960 _ = l 25961 l = len(m.Database) 25962 if l > 0 { 25963 n += 1 + l + sovPlan(uint64(l)) 25964 } 25965 l = len(m.Table) 25966 if l > 0 { 25967 n += 1 + l + sovPlan(uint64(l)) 25968 } 25969 if m.TableDef != nil { 25970 l = m.TableDef.ProtoSize() 25971 n += 1 + l + sovPlan(uint64(l)) 25972 } 25973 l = len(m.OriginTablePrimaryKey) 25974 if l > 0 { 25975 n += 1 + l + sovPlan(uint64(l)) 25976 } 25977 if m.Index != nil { 25978 l = m.Index.ProtoSize() 25979 n += 1 + l + sovPlan(uint64(l)) 25980 } 25981 if m.TableExist { 25982 n += 2 25983 } 25984 if m.XXX_unrecognized != nil { 25985 n += len(m.XXX_unrecognized) 25986 } 25987 return n 25988 } 25989 25990 func (m *AlterIndex) ProtoSize() (n int) { 25991 if m == nil { 25992 return 0 25993 } 25994 var l int 25995 _ = l 25996 l = len(m.Index) 25997 if l > 0 { 25998 n += 1 + l + sovPlan(uint64(l)) 25999 } 26000 if m.XXX_unrecognized != nil { 26001 n += len(m.XXX_unrecognized) 26002 } 26003 return n 26004 } 26005 26006 func (m *DropIndex) ProtoSize() (n int) { 26007 if m == nil { 26008 return 0 26009 } 26010 var l int 26011 _ = l 26012 l = len(m.Database) 26013 if l > 0 { 26014 n += 1 + l + sovPlan(uint64(l)) 26015 } 26016 l = len(m.Table) 26017 if l > 0 { 26018 n += 1 + l + sovPlan(uint64(l)) 26019 } 26020 l = len(m.IndexName) 26021 if l > 0 { 26022 n += 1 + l + sovPlan(uint64(l)) 26023 } 26024 l = len(m.IndexTableName) 26025 if l > 0 { 26026 n += 1 + l + sovPlan(uint64(l)) 26027 } 26028 if m.XXX_unrecognized != nil { 26029 n += len(m.XXX_unrecognized) 26030 } 26031 return n 26032 } 26033 26034 func (m *TruncateTable) ProtoSize() (n int) { 26035 if m == nil { 26036 return 0 26037 } 26038 var l int 26039 _ = l 26040 l = len(m.Database) 26041 if l > 0 { 26042 n += 1 + l + sovPlan(uint64(l)) 26043 } 26044 l = len(m.Table) 26045 if l > 0 { 26046 n += 1 + l + sovPlan(uint64(l)) 26047 } 26048 if len(m.IndexTableNames) > 0 { 26049 for _, s := range m.IndexTableNames { 26050 l = len(s) 26051 n += 1 + l + sovPlan(uint64(l)) 26052 } 26053 } 26054 if len(m.PartitionTableNames) > 0 { 26055 for _, s := range m.PartitionTableNames { 26056 l = len(s) 26057 n += 1 + l + sovPlan(uint64(l)) 26058 } 26059 } 26060 if m.ClusterTable != nil { 26061 l = m.ClusterTable.ProtoSize() 26062 n += 1 + l + sovPlan(uint64(l)) 26063 } 26064 if m.TableId != 0 { 26065 n += 1 + sovPlan(uint64(m.TableId)) 26066 } 26067 if len(m.ForeignTbl) > 0 { 26068 l = 0 26069 for _, e := range m.ForeignTbl { 26070 l += sovPlan(uint64(e)) 26071 } 26072 n += 1 + sovPlan(uint64(l)) + l 26073 } 26074 if m.IsDelete { 26075 n += 2 26076 } 26077 if m.XXX_unrecognized != nil { 26078 n += len(m.XXX_unrecognized) 26079 } 26080 return n 26081 } 26082 26083 func (m *ClusterTable) ProtoSize() (n int) { 26084 if m == nil { 26085 return 0 26086 } 26087 var l int 26088 _ = l 26089 if m.IsClusterTable { 26090 n += 2 26091 } 26092 if len(m.AccountIDs) > 0 { 26093 l = 0 26094 for _, e := range m.AccountIDs { 26095 l += sovPlan(uint64(e)) 26096 } 26097 n += 1 + sovPlan(uint64(l)) + l 26098 } 26099 if m.ColumnIndexOfAccountId != 0 { 26100 n += 1 + sovPlan(uint64(m.ColumnIndexOfAccountId)) 26101 } 26102 if m.XXX_unrecognized != nil { 26103 n += len(m.XXX_unrecognized) 26104 } 26105 return n 26106 } 26107 26108 func (m *ShowVariables) ProtoSize() (n int) { 26109 if m == nil { 26110 return 0 26111 } 26112 var l int 26113 _ = l 26114 if m.Global { 26115 n += 2 26116 } 26117 if len(m.Where) > 0 { 26118 for _, e := range m.Where { 26119 l = e.ProtoSize() 26120 n += 1 + l + sovPlan(uint64(l)) 26121 } 26122 } 26123 if m.XXX_unrecognized != nil { 26124 n += len(m.XXX_unrecognized) 26125 } 26126 return n 26127 } 26128 26129 func (m *SetVariables) ProtoSize() (n int) { 26130 if m == nil { 26131 return 0 26132 } 26133 var l int 26134 _ = l 26135 if len(m.Items) > 0 { 26136 for _, e := range m.Items { 26137 l = e.ProtoSize() 26138 n += 1 + l + sovPlan(uint64(l)) 26139 } 26140 } 26141 if m.XXX_unrecognized != nil { 26142 n += len(m.XXX_unrecognized) 26143 } 26144 return n 26145 } 26146 26147 func (m *SetVariablesItem) ProtoSize() (n int) { 26148 if m == nil { 26149 return 0 26150 } 26151 var l int 26152 _ = l 26153 if m.System { 26154 n += 2 26155 } 26156 if m.Global { 26157 n += 2 26158 } 26159 l = len(m.Name) 26160 if l > 0 { 26161 n += 1 + l + sovPlan(uint64(l)) 26162 } 26163 if m.Value != nil { 26164 l = m.Value.ProtoSize() 26165 n += 1 + l + sovPlan(uint64(l)) 26166 } 26167 if m.Reserved != nil { 26168 l = m.Reserved.ProtoSize() 26169 n += 1 + l + sovPlan(uint64(l)) 26170 } 26171 if m.XXX_unrecognized != nil { 26172 n += len(m.XXX_unrecognized) 26173 } 26174 return n 26175 } 26176 26177 func (m *Prepare) ProtoSize() (n int) { 26178 if m == nil { 26179 return 0 26180 } 26181 var l int 26182 _ = l 26183 l = len(m.Name) 26184 if l > 0 { 26185 n += 1 + l + sovPlan(uint64(l)) 26186 } 26187 if len(m.Schemas) > 0 { 26188 for _, e := range m.Schemas { 26189 l = e.ProtoSize() 26190 n += 1 + l + sovPlan(uint64(l)) 26191 } 26192 } 26193 if m.Plan != nil { 26194 l = m.Plan.ProtoSize() 26195 n += 1 + l + sovPlan(uint64(l)) 26196 } 26197 if len(m.ParamTypes) > 0 { 26198 l = 0 26199 for _, e := range m.ParamTypes { 26200 l += sovPlan(uint64(e)) 26201 } 26202 n += 1 + sovPlan(uint64(l)) + l 26203 } 26204 if m.XXX_unrecognized != nil { 26205 n += len(m.XXX_unrecognized) 26206 } 26207 return n 26208 } 26209 26210 func (m *Execute) ProtoSize() (n int) { 26211 if m == nil { 26212 return 0 26213 } 26214 var l int 26215 _ = l 26216 l = len(m.Name) 26217 if l > 0 { 26218 n += 1 + l + sovPlan(uint64(l)) 26219 } 26220 if len(m.Args) > 0 { 26221 for _, e := range m.Args { 26222 l = e.ProtoSize() 26223 n += 1 + l + sovPlan(uint64(l)) 26224 } 26225 } 26226 if m.XXX_unrecognized != nil { 26227 n += len(m.XXX_unrecognized) 26228 } 26229 return n 26230 } 26231 26232 func (m *Deallocate) ProtoSize() (n int) { 26233 if m == nil { 26234 return 0 26235 } 26236 var l int 26237 _ = l 26238 l = len(m.Name) 26239 if l > 0 { 26240 n += 1 + l + sovPlan(uint64(l)) 26241 } 26242 if m.XXX_unrecognized != nil { 26243 n += len(m.XXX_unrecognized) 26244 } 26245 return n 26246 } 26247 26248 func (m *OtherDCL) ProtoSize() (n int) { 26249 if m == nil { 26250 return 0 26251 } 26252 var l int 26253 _ = l 26254 if len(m.ParamTypes) > 0 { 26255 l = 0 26256 for _, e := range m.ParamTypes { 26257 l += sovPlan(uint64(e)) 26258 } 26259 n += 1 + sovPlan(uint64(l)) + l 26260 } 26261 if m.XXX_unrecognized != nil { 26262 n += len(m.XXX_unrecognized) 26263 } 26264 return n 26265 } 26266 26267 func (m *TableLockInfo) ProtoSize() (n int) { 26268 if m == nil { 26269 return 0 26270 } 26271 var l int 26272 _ = l 26273 if m.LockType != 0 { 26274 n += 1 + sovPlan(uint64(m.LockType)) 26275 } 26276 if m.TableDef != nil { 26277 l = m.TableDef.ProtoSize() 26278 n += 1 + l + sovPlan(uint64(l)) 26279 } 26280 if m.XXX_unrecognized != nil { 26281 n += len(m.XXX_unrecognized) 26282 } 26283 return n 26284 } 26285 26286 func (m *LockTables) ProtoSize() (n int) { 26287 if m == nil { 26288 return 0 26289 } 26290 var l int 26291 _ = l 26292 if len(m.TableLocks) > 0 { 26293 for _, e := range m.TableLocks { 26294 l = e.ProtoSize() 26295 n += 1 + l + sovPlan(uint64(l)) 26296 } 26297 } 26298 if m.XXX_unrecognized != nil { 26299 n += len(m.XXX_unrecognized) 26300 } 26301 return n 26302 } 26303 26304 func (m *UnLockTables) ProtoSize() (n int) { 26305 if m == nil { 26306 return 0 26307 } 26308 var l int 26309 _ = l 26310 if m.XXX_unrecognized != nil { 26311 n += len(m.XXX_unrecognized) 26312 } 26313 return n 26314 } 26315 26316 func (m *MetadataScanInfo) ProtoSize() (n int) { 26317 if m == nil { 26318 return 0 26319 } 26320 var l int 26321 _ = l 26322 l = len(m.ColName) 26323 if l > 0 { 26324 n += 1 + l + sovPlan(uint64(l)) 26325 } 26326 l = len(m.ObjectName) 26327 if l > 0 { 26328 n += 1 + l + sovPlan(uint64(l)) 26329 } 26330 if m.IsHidden { 26331 n += 2 26332 } 26333 l = len(m.ObjLoc) 26334 if l > 0 { 26335 n += 1 + l + sovPlan(uint64(l)) 26336 } 26337 l = len(m.CreateTs) 26338 if l > 0 { 26339 n += 1 + l + sovPlan(uint64(l)) 26340 } 26341 l = len(m.DeleteTs) 26342 if l > 0 { 26343 n += 1 + l + sovPlan(uint64(l)) 26344 } 26345 if m.RowCnt != 0 { 26346 n += 1 + sovPlan(uint64(m.RowCnt)) 26347 } 26348 if m.NullCnt != 0 { 26349 n += 1 + sovPlan(uint64(m.NullCnt)) 26350 } 26351 if m.CompressSize != 0 { 26352 n += 1 + sovPlan(uint64(m.CompressSize)) 26353 } 26354 if m.OriginSize != 0 { 26355 n += 1 + sovPlan(uint64(m.OriginSize)) 26356 } 26357 l = len(m.ZoneMap) 26358 if l > 0 { 26359 n += 1 + l + sovPlan(uint64(l)) 26360 } 26361 if m.XXX_unrecognized != nil { 26362 n += len(m.XXX_unrecognized) 26363 } 26364 return n 26365 } 26366 26367 func sovPlan(x uint64) (n int) { 26368 return (math_bits.Len64(x|1) + 6) / 7 26369 } 26370 func sozPlan(x uint64) (n int) { 26371 return sovPlan(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 26372 } 26373 func (m *Type) Unmarshal(dAtA []byte) error { 26374 l := len(dAtA) 26375 iNdEx := 0 26376 for iNdEx < l { 26377 preIndex := iNdEx 26378 var wire uint64 26379 for shift := uint(0); ; shift += 7 { 26380 if shift >= 64 { 26381 return ErrIntOverflowPlan 26382 } 26383 if iNdEx >= l { 26384 return io.ErrUnexpectedEOF 26385 } 26386 b := dAtA[iNdEx] 26387 iNdEx++ 26388 wire |= uint64(b&0x7F) << shift 26389 if b < 0x80 { 26390 break 26391 } 26392 } 26393 fieldNum := int32(wire >> 3) 26394 wireType := int(wire & 0x7) 26395 if wireType == 4 { 26396 return fmt.Errorf("proto: Type: wiretype end group for non-group") 26397 } 26398 if fieldNum <= 0 { 26399 return fmt.Errorf("proto: Type: illegal tag %d (wire type %d)", fieldNum, wire) 26400 } 26401 switch fieldNum { 26402 case 1: 26403 if wireType != 0 { 26404 return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) 26405 } 26406 m.Id = 0 26407 for shift := uint(0); ; shift += 7 { 26408 if shift >= 64 { 26409 return ErrIntOverflowPlan 26410 } 26411 if iNdEx >= l { 26412 return io.ErrUnexpectedEOF 26413 } 26414 b := dAtA[iNdEx] 26415 iNdEx++ 26416 m.Id |= int32(b&0x7F) << shift 26417 if b < 0x80 { 26418 break 26419 } 26420 } 26421 case 2: 26422 if wireType != 0 { 26423 return fmt.Errorf("proto: wrong wireType = %d for field NotNullable", wireType) 26424 } 26425 var v int 26426 for shift := uint(0); ; shift += 7 { 26427 if shift >= 64 { 26428 return ErrIntOverflowPlan 26429 } 26430 if iNdEx >= l { 26431 return io.ErrUnexpectedEOF 26432 } 26433 b := dAtA[iNdEx] 26434 iNdEx++ 26435 v |= int(b&0x7F) << shift 26436 if b < 0x80 { 26437 break 26438 } 26439 } 26440 m.NotNullable = bool(v != 0) 26441 case 3: 26442 if wireType != 0 { 26443 return fmt.Errorf("proto: wrong wireType = %d for field AutoIncr", wireType) 26444 } 26445 var v int 26446 for shift := uint(0); ; shift += 7 { 26447 if shift >= 64 { 26448 return ErrIntOverflowPlan 26449 } 26450 if iNdEx >= l { 26451 return io.ErrUnexpectedEOF 26452 } 26453 b := dAtA[iNdEx] 26454 iNdEx++ 26455 v |= int(b&0x7F) << shift 26456 if b < 0x80 { 26457 break 26458 } 26459 } 26460 m.AutoIncr = bool(v != 0) 26461 case 4: 26462 if wireType != 0 { 26463 return fmt.Errorf("proto: wrong wireType = %d for field Width", wireType) 26464 } 26465 m.Width = 0 26466 for shift := uint(0); ; shift += 7 { 26467 if shift >= 64 { 26468 return ErrIntOverflowPlan 26469 } 26470 if iNdEx >= l { 26471 return io.ErrUnexpectedEOF 26472 } 26473 b := dAtA[iNdEx] 26474 iNdEx++ 26475 m.Width |= int32(b&0x7F) << shift 26476 if b < 0x80 { 26477 break 26478 } 26479 } 26480 case 5: 26481 if wireType != 0 { 26482 return fmt.Errorf("proto: wrong wireType = %d for field Scale", wireType) 26483 } 26484 m.Scale = 0 26485 for shift := uint(0); ; shift += 7 { 26486 if shift >= 64 { 26487 return ErrIntOverflowPlan 26488 } 26489 if iNdEx >= l { 26490 return io.ErrUnexpectedEOF 26491 } 26492 b := dAtA[iNdEx] 26493 iNdEx++ 26494 m.Scale |= int32(b&0x7F) << shift 26495 if b < 0x80 { 26496 break 26497 } 26498 } 26499 case 6: 26500 if wireType != 2 { 26501 return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) 26502 } 26503 var stringLen uint64 26504 for shift := uint(0); ; shift += 7 { 26505 if shift >= 64 { 26506 return ErrIntOverflowPlan 26507 } 26508 if iNdEx >= l { 26509 return io.ErrUnexpectedEOF 26510 } 26511 b := dAtA[iNdEx] 26512 iNdEx++ 26513 stringLen |= uint64(b&0x7F) << shift 26514 if b < 0x80 { 26515 break 26516 } 26517 } 26518 intStringLen := int(stringLen) 26519 if intStringLen < 0 { 26520 return ErrInvalidLengthPlan 26521 } 26522 postIndex := iNdEx + intStringLen 26523 if postIndex < 0 { 26524 return ErrInvalidLengthPlan 26525 } 26526 if postIndex > l { 26527 return io.ErrUnexpectedEOF 26528 } 26529 m.Table = string(dAtA[iNdEx:postIndex]) 26530 iNdEx = postIndex 26531 case 7: 26532 if wireType != 2 { 26533 return fmt.Errorf("proto: wrong wireType = %d for field Enumvalues", wireType) 26534 } 26535 var stringLen uint64 26536 for shift := uint(0); ; shift += 7 { 26537 if shift >= 64 { 26538 return ErrIntOverflowPlan 26539 } 26540 if iNdEx >= l { 26541 return io.ErrUnexpectedEOF 26542 } 26543 b := dAtA[iNdEx] 26544 iNdEx++ 26545 stringLen |= uint64(b&0x7F) << shift 26546 if b < 0x80 { 26547 break 26548 } 26549 } 26550 intStringLen := int(stringLen) 26551 if intStringLen < 0 { 26552 return ErrInvalidLengthPlan 26553 } 26554 postIndex := iNdEx + intStringLen 26555 if postIndex < 0 { 26556 return ErrInvalidLengthPlan 26557 } 26558 if postIndex > l { 26559 return io.ErrUnexpectedEOF 26560 } 26561 m.Enumvalues = string(dAtA[iNdEx:postIndex]) 26562 iNdEx = postIndex 26563 default: 26564 iNdEx = preIndex 26565 skippy, err := skipPlan(dAtA[iNdEx:]) 26566 if err != nil { 26567 return err 26568 } 26569 if (skippy < 0) || (iNdEx+skippy) < 0 { 26570 return ErrInvalidLengthPlan 26571 } 26572 if (iNdEx + skippy) > l { 26573 return io.ErrUnexpectedEOF 26574 } 26575 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 26576 iNdEx += skippy 26577 } 26578 } 26579 26580 if iNdEx > l { 26581 return io.ErrUnexpectedEOF 26582 } 26583 return nil 26584 } 26585 func (m *MsgHeader) Unmarshal(dAtA []byte) error { 26586 l := len(dAtA) 26587 iNdEx := 0 26588 for iNdEx < l { 26589 preIndex := iNdEx 26590 var wire uint64 26591 for shift := uint(0); ; shift += 7 { 26592 if shift >= 64 { 26593 return ErrIntOverflowPlan 26594 } 26595 if iNdEx >= l { 26596 return io.ErrUnexpectedEOF 26597 } 26598 b := dAtA[iNdEx] 26599 iNdEx++ 26600 wire |= uint64(b&0x7F) << shift 26601 if b < 0x80 { 26602 break 26603 } 26604 } 26605 fieldNum := int32(wire >> 3) 26606 wireType := int(wire & 0x7) 26607 if wireType == 4 { 26608 return fmt.Errorf("proto: msgHeader: wiretype end group for non-group") 26609 } 26610 if fieldNum <= 0 { 26611 return fmt.Errorf("proto: msgHeader: illegal tag %d (wire type %d)", fieldNum, wire) 26612 } 26613 switch fieldNum { 26614 case 1: 26615 if wireType != 0 { 26616 return fmt.Errorf("proto: wrong wireType = %d for field MsgTag", wireType) 26617 } 26618 m.MsgTag = 0 26619 for shift := uint(0); ; shift += 7 { 26620 if shift >= 64 { 26621 return ErrIntOverflowPlan 26622 } 26623 if iNdEx >= l { 26624 return io.ErrUnexpectedEOF 26625 } 26626 b := dAtA[iNdEx] 26627 iNdEx++ 26628 m.MsgTag |= int32(b&0x7F) << shift 26629 if b < 0x80 { 26630 break 26631 } 26632 } 26633 case 2: 26634 if wireType != 0 { 26635 return fmt.Errorf("proto: wrong wireType = %d for field MsgType", wireType) 26636 } 26637 m.MsgType = 0 26638 for shift := uint(0); ; shift += 7 { 26639 if shift >= 64 { 26640 return ErrIntOverflowPlan 26641 } 26642 if iNdEx >= l { 26643 return io.ErrUnexpectedEOF 26644 } 26645 b := dAtA[iNdEx] 26646 iNdEx++ 26647 m.MsgType |= int32(b&0x7F) << shift 26648 if b < 0x80 { 26649 break 26650 } 26651 } 26652 default: 26653 iNdEx = preIndex 26654 skippy, err := skipPlan(dAtA[iNdEx:]) 26655 if err != nil { 26656 return err 26657 } 26658 if (skippy < 0) || (iNdEx+skippy) < 0 { 26659 return ErrInvalidLengthPlan 26660 } 26661 if (iNdEx + skippy) > l { 26662 return io.ErrUnexpectedEOF 26663 } 26664 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 26665 iNdEx += skippy 26666 } 26667 } 26668 26669 if iNdEx > l { 26670 return io.ErrUnexpectedEOF 26671 } 26672 return nil 26673 } 26674 func (m *Literal) Unmarshal(dAtA []byte) error { 26675 l := len(dAtA) 26676 iNdEx := 0 26677 for iNdEx < l { 26678 preIndex := iNdEx 26679 var wire uint64 26680 for shift := uint(0); ; shift += 7 { 26681 if shift >= 64 { 26682 return ErrIntOverflowPlan 26683 } 26684 if iNdEx >= l { 26685 return io.ErrUnexpectedEOF 26686 } 26687 b := dAtA[iNdEx] 26688 iNdEx++ 26689 wire |= uint64(b&0x7F) << shift 26690 if b < 0x80 { 26691 break 26692 } 26693 } 26694 fieldNum := int32(wire >> 3) 26695 wireType := int(wire & 0x7) 26696 if wireType == 4 { 26697 return fmt.Errorf("proto: Literal: wiretype end group for non-group") 26698 } 26699 if fieldNum <= 0 { 26700 return fmt.Errorf("proto: Literal: illegal tag %d (wire type %d)", fieldNum, wire) 26701 } 26702 switch fieldNum { 26703 case 1: 26704 if wireType != 0 { 26705 return fmt.Errorf("proto: wrong wireType = %d for field Isnull", wireType) 26706 } 26707 var v int 26708 for shift := uint(0); ; shift += 7 { 26709 if shift >= 64 { 26710 return ErrIntOverflowPlan 26711 } 26712 if iNdEx >= l { 26713 return io.ErrUnexpectedEOF 26714 } 26715 b := dAtA[iNdEx] 26716 iNdEx++ 26717 v |= int(b&0x7F) << shift 26718 if b < 0x80 { 26719 break 26720 } 26721 } 26722 m.Isnull = bool(v != 0) 26723 case 2: 26724 if wireType != 0 { 26725 return fmt.Errorf("proto: wrong wireType = %d for field I8Val", wireType) 26726 } 26727 var v int32 26728 for shift := uint(0); ; shift += 7 { 26729 if shift >= 64 { 26730 return ErrIntOverflowPlan 26731 } 26732 if iNdEx >= l { 26733 return io.ErrUnexpectedEOF 26734 } 26735 b := dAtA[iNdEx] 26736 iNdEx++ 26737 v |= int32(b&0x7F) << shift 26738 if b < 0x80 { 26739 break 26740 } 26741 } 26742 m.Value = &Literal_I8Val{v} 26743 case 3: 26744 if wireType != 0 { 26745 return fmt.Errorf("proto: wrong wireType = %d for field I16Val", wireType) 26746 } 26747 var v int32 26748 for shift := uint(0); ; shift += 7 { 26749 if shift >= 64 { 26750 return ErrIntOverflowPlan 26751 } 26752 if iNdEx >= l { 26753 return io.ErrUnexpectedEOF 26754 } 26755 b := dAtA[iNdEx] 26756 iNdEx++ 26757 v |= int32(b&0x7F) << shift 26758 if b < 0x80 { 26759 break 26760 } 26761 } 26762 m.Value = &Literal_I16Val{v} 26763 case 4: 26764 if wireType != 0 { 26765 return fmt.Errorf("proto: wrong wireType = %d for field I32Val", wireType) 26766 } 26767 var v int32 26768 for shift := uint(0); ; shift += 7 { 26769 if shift >= 64 { 26770 return ErrIntOverflowPlan 26771 } 26772 if iNdEx >= l { 26773 return io.ErrUnexpectedEOF 26774 } 26775 b := dAtA[iNdEx] 26776 iNdEx++ 26777 v |= int32(b&0x7F) << shift 26778 if b < 0x80 { 26779 break 26780 } 26781 } 26782 m.Value = &Literal_I32Val{v} 26783 case 5: 26784 if wireType != 0 { 26785 return fmt.Errorf("proto: wrong wireType = %d for field I64Val", wireType) 26786 } 26787 var v int64 26788 for shift := uint(0); ; shift += 7 { 26789 if shift >= 64 { 26790 return ErrIntOverflowPlan 26791 } 26792 if iNdEx >= l { 26793 return io.ErrUnexpectedEOF 26794 } 26795 b := dAtA[iNdEx] 26796 iNdEx++ 26797 v |= int64(b&0x7F) << shift 26798 if b < 0x80 { 26799 break 26800 } 26801 } 26802 m.Value = &Literal_I64Val{v} 26803 case 6: 26804 if wireType != 0 { 26805 return fmt.Errorf("proto: wrong wireType = %d for field U8Val", wireType) 26806 } 26807 var v uint32 26808 for shift := uint(0); ; shift += 7 { 26809 if shift >= 64 { 26810 return ErrIntOverflowPlan 26811 } 26812 if iNdEx >= l { 26813 return io.ErrUnexpectedEOF 26814 } 26815 b := dAtA[iNdEx] 26816 iNdEx++ 26817 v |= uint32(b&0x7F) << shift 26818 if b < 0x80 { 26819 break 26820 } 26821 } 26822 m.Value = &Literal_U8Val{v} 26823 case 7: 26824 if wireType != 0 { 26825 return fmt.Errorf("proto: wrong wireType = %d for field U16Val", wireType) 26826 } 26827 var v uint32 26828 for shift := uint(0); ; shift += 7 { 26829 if shift >= 64 { 26830 return ErrIntOverflowPlan 26831 } 26832 if iNdEx >= l { 26833 return io.ErrUnexpectedEOF 26834 } 26835 b := dAtA[iNdEx] 26836 iNdEx++ 26837 v |= uint32(b&0x7F) << shift 26838 if b < 0x80 { 26839 break 26840 } 26841 } 26842 m.Value = &Literal_U16Val{v} 26843 case 8: 26844 if wireType != 0 { 26845 return fmt.Errorf("proto: wrong wireType = %d for field U32Val", wireType) 26846 } 26847 var v uint32 26848 for shift := uint(0); ; shift += 7 { 26849 if shift >= 64 { 26850 return ErrIntOverflowPlan 26851 } 26852 if iNdEx >= l { 26853 return io.ErrUnexpectedEOF 26854 } 26855 b := dAtA[iNdEx] 26856 iNdEx++ 26857 v |= uint32(b&0x7F) << shift 26858 if b < 0x80 { 26859 break 26860 } 26861 } 26862 m.Value = &Literal_U32Val{v} 26863 case 9: 26864 if wireType != 0 { 26865 return fmt.Errorf("proto: wrong wireType = %d for field U64Val", wireType) 26866 } 26867 var v uint64 26868 for shift := uint(0); ; shift += 7 { 26869 if shift >= 64 { 26870 return ErrIntOverflowPlan 26871 } 26872 if iNdEx >= l { 26873 return io.ErrUnexpectedEOF 26874 } 26875 b := dAtA[iNdEx] 26876 iNdEx++ 26877 v |= uint64(b&0x7F) << shift 26878 if b < 0x80 { 26879 break 26880 } 26881 } 26882 m.Value = &Literal_U64Val{v} 26883 case 10: 26884 if wireType != 1 { 26885 return fmt.Errorf("proto: wrong wireType = %d for field Dval", wireType) 26886 } 26887 var v uint64 26888 if (iNdEx + 8) > l { 26889 return io.ErrUnexpectedEOF 26890 } 26891 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 26892 iNdEx += 8 26893 m.Value = &Literal_Dval{float64(math.Float64frombits(v))} 26894 case 11: 26895 if wireType != 2 { 26896 return fmt.Errorf("proto: wrong wireType = %d for field Sval", wireType) 26897 } 26898 var stringLen uint64 26899 for shift := uint(0); ; shift += 7 { 26900 if shift >= 64 { 26901 return ErrIntOverflowPlan 26902 } 26903 if iNdEx >= l { 26904 return io.ErrUnexpectedEOF 26905 } 26906 b := dAtA[iNdEx] 26907 iNdEx++ 26908 stringLen |= uint64(b&0x7F) << shift 26909 if b < 0x80 { 26910 break 26911 } 26912 } 26913 intStringLen := int(stringLen) 26914 if intStringLen < 0 { 26915 return ErrInvalidLengthPlan 26916 } 26917 postIndex := iNdEx + intStringLen 26918 if postIndex < 0 { 26919 return ErrInvalidLengthPlan 26920 } 26921 if postIndex > l { 26922 return io.ErrUnexpectedEOF 26923 } 26924 m.Value = &Literal_Sval{string(dAtA[iNdEx:postIndex])} 26925 iNdEx = postIndex 26926 case 12: 26927 if wireType != 0 { 26928 return fmt.Errorf("proto: wrong wireType = %d for field Bval", wireType) 26929 } 26930 var v int 26931 for shift := uint(0); ; shift += 7 { 26932 if shift >= 64 { 26933 return ErrIntOverflowPlan 26934 } 26935 if iNdEx >= l { 26936 return io.ErrUnexpectedEOF 26937 } 26938 b := dAtA[iNdEx] 26939 iNdEx++ 26940 v |= int(b&0x7F) << shift 26941 if b < 0x80 { 26942 break 26943 } 26944 } 26945 b := bool(v != 0) 26946 m.Value = &Literal_Bval{b} 26947 case 13: 26948 if wireType != 5 { 26949 return fmt.Errorf("proto: wrong wireType = %d for field Fval", wireType) 26950 } 26951 var v uint32 26952 if (iNdEx + 4) > l { 26953 return io.ErrUnexpectedEOF 26954 } 26955 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 26956 iNdEx += 4 26957 m.Value = &Literal_Fval{float32(math.Float32frombits(v))} 26958 case 14: 26959 if wireType != 0 { 26960 return fmt.Errorf("proto: wrong wireType = %d for field Dateval", wireType) 26961 } 26962 var v int32 26963 for shift := uint(0); ; shift += 7 { 26964 if shift >= 64 { 26965 return ErrIntOverflowPlan 26966 } 26967 if iNdEx >= l { 26968 return io.ErrUnexpectedEOF 26969 } 26970 b := dAtA[iNdEx] 26971 iNdEx++ 26972 v |= int32(b&0x7F) << shift 26973 if b < 0x80 { 26974 break 26975 } 26976 } 26977 m.Value = &Literal_Dateval{v} 26978 case 15: 26979 if wireType != 0 { 26980 return fmt.Errorf("proto: wrong wireType = %d for field Timeval", wireType) 26981 } 26982 var v int64 26983 for shift := uint(0); ; shift += 7 { 26984 if shift >= 64 { 26985 return ErrIntOverflowPlan 26986 } 26987 if iNdEx >= l { 26988 return io.ErrUnexpectedEOF 26989 } 26990 b := dAtA[iNdEx] 26991 iNdEx++ 26992 v |= int64(b&0x7F) << shift 26993 if b < 0x80 { 26994 break 26995 } 26996 } 26997 m.Value = &Literal_Timeval{v} 26998 case 16: 26999 if wireType != 0 { 27000 return fmt.Errorf("proto: wrong wireType = %d for field Datetimeval", wireType) 27001 } 27002 var v int64 27003 for shift := uint(0); ; shift += 7 { 27004 if shift >= 64 { 27005 return ErrIntOverflowPlan 27006 } 27007 if iNdEx >= l { 27008 return io.ErrUnexpectedEOF 27009 } 27010 b := dAtA[iNdEx] 27011 iNdEx++ 27012 v |= int64(b&0x7F) << shift 27013 if b < 0x80 { 27014 break 27015 } 27016 } 27017 m.Value = &Literal_Datetimeval{v} 27018 case 17: 27019 if wireType != 2 { 27020 return fmt.Errorf("proto: wrong wireType = %d for field Decimal64Val", wireType) 27021 } 27022 var msglen int 27023 for shift := uint(0); ; shift += 7 { 27024 if shift >= 64 { 27025 return ErrIntOverflowPlan 27026 } 27027 if iNdEx >= l { 27028 return io.ErrUnexpectedEOF 27029 } 27030 b := dAtA[iNdEx] 27031 iNdEx++ 27032 msglen |= int(b&0x7F) << shift 27033 if b < 0x80 { 27034 break 27035 } 27036 } 27037 if msglen < 0 { 27038 return ErrInvalidLengthPlan 27039 } 27040 postIndex := iNdEx + msglen 27041 if postIndex < 0 { 27042 return ErrInvalidLengthPlan 27043 } 27044 if postIndex > l { 27045 return io.ErrUnexpectedEOF 27046 } 27047 v := &Decimal64{} 27048 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 27049 return err 27050 } 27051 m.Value = &Literal_Decimal64Val{v} 27052 iNdEx = postIndex 27053 case 18: 27054 if wireType != 2 { 27055 return fmt.Errorf("proto: wrong wireType = %d for field Decimal128Val", wireType) 27056 } 27057 var msglen int 27058 for shift := uint(0); ; shift += 7 { 27059 if shift >= 64 { 27060 return ErrIntOverflowPlan 27061 } 27062 if iNdEx >= l { 27063 return io.ErrUnexpectedEOF 27064 } 27065 b := dAtA[iNdEx] 27066 iNdEx++ 27067 msglen |= int(b&0x7F) << shift 27068 if b < 0x80 { 27069 break 27070 } 27071 } 27072 if msglen < 0 { 27073 return ErrInvalidLengthPlan 27074 } 27075 postIndex := iNdEx + msglen 27076 if postIndex < 0 { 27077 return ErrInvalidLengthPlan 27078 } 27079 if postIndex > l { 27080 return io.ErrUnexpectedEOF 27081 } 27082 v := &Decimal128{} 27083 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 27084 return err 27085 } 27086 m.Value = &Literal_Decimal128Val{v} 27087 iNdEx = postIndex 27088 case 19: 27089 if wireType != 0 { 27090 return fmt.Errorf("proto: wrong wireType = %d for field Timestampval", wireType) 27091 } 27092 var v int64 27093 for shift := uint(0); ; shift += 7 { 27094 if shift >= 64 { 27095 return ErrIntOverflowPlan 27096 } 27097 if iNdEx >= l { 27098 return io.ErrUnexpectedEOF 27099 } 27100 b := dAtA[iNdEx] 27101 iNdEx++ 27102 v |= int64(b&0x7F) << shift 27103 if b < 0x80 { 27104 break 27105 } 27106 } 27107 m.Value = &Literal_Timestampval{v} 27108 case 20: 27109 if wireType != 2 { 27110 return fmt.Errorf("proto: wrong wireType = %d for field Jsonval", wireType) 27111 } 27112 var stringLen uint64 27113 for shift := uint(0); ; shift += 7 { 27114 if shift >= 64 { 27115 return ErrIntOverflowPlan 27116 } 27117 if iNdEx >= l { 27118 return io.ErrUnexpectedEOF 27119 } 27120 b := dAtA[iNdEx] 27121 iNdEx++ 27122 stringLen |= uint64(b&0x7F) << shift 27123 if b < 0x80 { 27124 break 27125 } 27126 } 27127 intStringLen := int(stringLen) 27128 if intStringLen < 0 { 27129 return ErrInvalidLengthPlan 27130 } 27131 postIndex := iNdEx + intStringLen 27132 if postIndex < 0 { 27133 return ErrInvalidLengthPlan 27134 } 27135 if postIndex > l { 27136 return io.ErrUnexpectedEOF 27137 } 27138 m.Value = &Literal_Jsonval{string(dAtA[iNdEx:postIndex])} 27139 iNdEx = postIndex 27140 case 21: 27141 if wireType != 0 { 27142 return fmt.Errorf("proto: wrong wireType = %d for field Defaultval", wireType) 27143 } 27144 var v int 27145 for shift := uint(0); ; shift += 7 { 27146 if shift >= 64 { 27147 return ErrIntOverflowPlan 27148 } 27149 if iNdEx >= l { 27150 return io.ErrUnexpectedEOF 27151 } 27152 b := dAtA[iNdEx] 27153 iNdEx++ 27154 v |= int(b&0x7F) << shift 27155 if b < 0x80 { 27156 break 27157 } 27158 } 27159 b := bool(v != 0) 27160 m.Value = &Literal_Defaultval{b} 27161 case 22: 27162 if wireType != 0 { 27163 return fmt.Errorf("proto: wrong wireType = %d for field UpdateVal", wireType) 27164 } 27165 var v int 27166 for shift := uint(0); ; shift += 7 { 27167 if shift >= 64 { 27168 return ErrIntOverflowPlan 27169 } 27170 if iNdEx >= l { 27171 return io.ErrUnexpectedEOF 27172 } 27173 b := dAtA[iNdEx] 27174 iNdEx++ 27175 v |= int(b&0x7F) << shift 27176 if b < 0x80 { 27177 break 27178 } 27179 } 27180 b := bool(v != 0) 27181 m.Value = &Literal_UpdateVal{b} 27182 case 23: 27183 if wireType != 0 { 27184 return fmt.Errorf("proto: wrong wireType = %d for field EnumVal", wireType) 27185 } 27186 var v uint32 27187 for shift := uint(0); ; shift += 7 { 27188 if shift >= 64 { 27189 return ErrIntOverflowPlan 27190 } 27191 if iNdEx >= l { 27192 return io.ErrUnexpectedEOF 27193 } 27194 b := dAtA[iNdEx] 27195 iNdEx++ 27196 v |= uint32(b&0x7F) << shift 27197 if b < 0x80 { 27198 break 27199 } 27200 } 27201 m.Value = &Literal_EnumVal{v} 27202 case 24: 27203 if wireType != 0 { 27204 return fmt.Errorf("proto: wrong wireType = %d for field IsBin", wireType) 27205 } 27206 var v int 27207 for shift := uint(0); ; shift += 7 { 27208 if shift >= 64 { 27209 return ErrIntOverflowPlan 27210 } 27211 if iNdEx >= l { 27212 return io.ErrUnexpectedEOF 27213 } 27214 b := dAtA[iNdEx] 27215 iNdEx++ 27216 v |= int(b&0x7F) << shift 27217 if b < 0x80 { 27218 break 27219 } 27220 } 27221 m.IsBin = bool(v != 0) 27222 case 25: 27223 if wireType != 2 { 27224 return fmt.Errorf("proto: wrong wireType = %d for field Src", wireType) 27225 } 27226 var msglen int 27227 for shift := uint(0); ; shift += 7 { 27228 if shift >= 64 { 27229 return ErrIntOverflowPlan 27230 } 27231 if iNdEx >= l { 27232 return io.ErrUnexpectedEOF 27233 } 27234 b := dAtA[iNdEx] 27235 iNdEx++ 27236 msglen |= int(b&0x7F) << shift 27237 if b < 0x80 { 27238 break 27239 } 27240 } 27241 if msglen < 0 { 27242 return ErrInvalidLengthPlan 27243 } 27244 postIndex := iNdEx + msglen 27245 if postIndex < 0 { 27246 return ErrInvalidLengthPlan 27247 } 27248 if postIndex > l { 27249 return io.ErrUnexpectedEOF 27250 } 27251 if m.Src == nil { 27252 m.Src = &Expr{} 27253 } 27254 if err := m.Src.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 27255 return err 27256 } 27257 iNdEx = postIndex 27258 default: 27259 iNdEx = preIndex 27260 skippy, err := skipPlan(dAtA[iNdEx:]) 27261 if err != nil { 27262 return err 27263 } 27264 if (skippy < 0) || (iNdEx+skippy) < 0 { 27265 return ErrInvalidLengthPlan 27266 } 27267 if (iNdEx + skippy) > l { 27268 return io.ErrUnexpectedEOF 27269 } 27270 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 27271 iNdEx += skippy 27272 } 27273 } 27274 27275 if iNdEx > l { 27276 return io.ErrUnexpectedEOF 27277 } 27278 return nil 27279 } 27280 func (m *ParamRef) Unmarshal(dAtA []byte) error { 27281 l := len(dAtA) 27282 iNdEx := 0 27283 for iNdEx < l { 27284 preIndex := iNdEx 27285 var wire uint64 27286 for shift := uint(0); ; shift += 7 { 27287 if shift >= 64 { 27288 return ErrIntOverflowPlan 27289 } 27290 if iNdEx >= l { 27291 return io.ErrUnexpectedEOF 27292 } 27293 b := dAtA[iNdEx] 27294 iNdEx++ 27295 wire |= uint64(b&0x7F) << shift 27296 if b < 0x80 { 27297 break 27298 } 27299 } 27300 fieldNum := int32(wire >> 3) 27301 wireType := int(wire & 0x7) 27302 if wireType == 4 { 27303 return fmt.Errorf("proto: ParamRef: wiretype end group for non-group") 27304 } 27305 if fieldNum <= 0 { 27306 return fmt.Errorf("proto: ParamRef: illegal tag %d (wire type %d)", fieldNum, wire) 27307 } 27308 switch fieldNum { 27309 case 1: 27310 if wireType != 0 { 27311 return fmt.Errorf("proto: wrong wireType = %d for field Pos", wireType) 27312 } 27313 m.Pos = 0 27314 for shift := uint(0); ; shift += 7 { 27315 if shift >= 64 { 27316 return ErrIntOverflowPlan 27317 } 27318 if iNdEx >= l { 27319 return io.ErrUnexpectedEOF 27320 } 27321 b := dAtA[iNdEx] 27322 iNdEx++ 27323 m.Pos |= int32(b&0x7F) << shift 27324 if b < 0x80 { 27325 break 27326 } 27327 } 27328 default: 27329 iNdEx = preIndex 27330 skippy, err := skipPlan(dAtA[iNdEx:]) 27331 if err != nil { 27332 return err 27333 } 27334 if (skippy < 0) || (iNdEx+skippy) < 0 { 27335 return ErrInvalidLengthPlan 27336 } 27337 if (iNdEx + skippy) > l { 27338 return io.ErrUnexpectedEOF 27339 } 27340 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 27341 iNdEx += skippy 27342 } 27343 } 27344 27345 if iNdEx > l { 27346 return io.ErrUnexpectedEOF 27347 } 27348 return nil 27349 } 27350 func (m *VarRef) Unmarshal(dAtA []byte) error { 27351 l := len(dAtA) 27352 iNdEx := 0 27353 for iNdEx < l { 27354 preIndex := iNdEx 27355 var wire uint64 27356 for shift := uint(0); ; shift += 7 { 27357 if shift >= 64 { 27358 return ErrIntOverflowPlan 27359 } 27360 if iNdEx >= l { 27361 return io.ErrUnexpectedEOF 27362 } 27363 b := dAtA[iNdEx] 27364 iNdEx++ 27365 wire |= uint64(b&0x7F) << shift 27366 if b < 0x80 { 27367 break 27368 } 27369 } 27370 fieldNum := int32(wire >> 3) 27371 wireType := int(wire & 0x7) 27372 if wireType == 4 { 27373 return fmt.Errorf("proto: VarRef: wiretype end group for non-group") 27374 } 27375 if fieldNum <= 0 { 27376 return fmt.Errorf("proto: VarRef: illegal tag %d (wire type %d)", fieldNum, wire) 27377 } 27378 switch fieldNum { 27379 case 1: 27380 if wireType != 2 { 27381 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 27382 } 27383 var stringLen uint64 27384 for shift := uint(0); ; shift += 7 { 27385 if shift >= 64 { 27386 return ErrIntOverflowPlan 27387 } 27388 if iNdEx >= l { 27389 return io.ErrUnexpectedEOF 27390 } 27391 b := dAtA[iNdEx] 27392 iNdEx++ 27393 stringLen |= uint64(b&0x7F) << shift 27394 if b < 0x80 { 27395 break 27396 } 27397 } 27398 intStringLen := int(stringLen) 27399 if intStringLen < 0 { 27400 return ErrInvalidLengthPlan 27401 } 27402 postIndex := iNdEx + intStringLen 27403 if postIndex < 0 { 27404 return ErrInvalidLengthPlan 27405 } 27406 if postIndex > l { 27407 return io.ErrUnexpectedEOF 27408 } 27409 m.Name = string(dAtA[iNdEx:postIndex]) 27410 iNdEx = postIndex 27411 case 2: 27412 if wireType != 0 { 27413 return fmt.Errorf("proto: wrong wireType = %d for field System", wireType) 27414 } 27415 var v int 27416 for shift := uint(0); ; shift += 7 { 27417 if shift >= 64 { 27418 return ErrIntOverflowPlan 27419 } 27420 if iNdEx >= l { 27421 return io.ErrUnexpectedEOF 27422 } 27423 b := dAtA[iNdEx] 27424 iNdEx++ 27425 v |= int(b&0x7F) << shift 27426 if b < 0x80 { 27427 break 27428 } 27429 } 27430 m.System = bool(v != 0) 27431 case 3: 27432 if wireType != 0 { 27433 return fmt.Errorf("proto: wrong wireType = %d for field Global", wireType) 27434 } 27435 var v int 27436 for shift := uint(0); ; shift += 7 { 27437 if shift >= 64 { 27438 return ErrIntOverflowPlan 27439 } 27440 if iNdEx >= l { 27441 return io.ErrUnexpectedEOF 27442 } 27443 b := dAtA[iNdEx] 27444 iNdEx++ 27445 v |= int(b&0x7F) << shift 27446 if b < 0x80 { 27447 break 27448 } 27449 } 27450 m.Global = bool(v != 0) 27451 default: 27452 iNdEx = preIndex 27453 skippy, err := skipPlan(dAtA[iNdEx:]) 27454 if err != nil { 27455 return err 27456 } 27457 if (skippy < 0) || (iNdEx+skippy) < 0 { 27458 return ErrInvalidLengthPlan 27459 } 27460 if (iNdEx + skippy) > l { 27461 return io.ErrUnexpectedEOF 27462 } 27463 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 27464 iNdEx += skippy 27465 } 27466 } 27467 27468 if iNdEx > l { 27469 return io.ErrUnexpectedEOF 27470 } 27471 return nil 27472 } 27473 func (m *ColRef) Unmarshal(dAtA []byte) error { 27474 l := len(dAtA) 27475 iNdEx := 0 27476 for iNdEx < l { 27477 preIndex := iNdEx 27478 var wire uint64 27479 for shift := uint(0); ; shift += 7 { 27480 if shift >= 64 { 27481 return ErrIntOverflowPlan 27482 } 27483 if iNdEx >= l { 27484 return io.ErrUnexpectedEOF 27485 } 27486 b := dAtA[iNdEx] 27487 iNdEx++ 27488 wire |= uint64(b&0x7F) << shift 27489 if b < 0x80 { 27490 break 27491 } 27492 } 27493 fieldNum := int32(wire >> 3) 27494 wireType := int(wire & 0x7) 27495 if wireType == 4 { 27496 return fmt.Errorf("proto: ColRef: wiretype end group for non-group") 27497 } 27498 if fieldNum <= 0 { 27499 return fmt.Errorf("proto: ColRef: illegal tag %d (wire type %d)", fieldNum, wire) 27500 } 27501 switch fieldNum { 27502 case 1: 27503 if wireType != 0 { 27504 return fmt.Errorf("proto: wrong wireType = %d for field RelPos", wireType) 27505 } 27506 m.RelPos = 0 27507 for shift := uint(0); ; shift += 7 { 27508 if shift >= 64 { 27509 return ErrIntOverflowPlan 27510 } 27511 if iNdEx >= l { 27512 return io.ErrUnexpectedEOF 27513 } 27514 b := dAtA[iNdEx] 27515 iNdEx++ 27516 m.RelPos |= int32(b&0x7F) << shift 27517 if b < 0x80 { 27518 break 27519 } 27520 } 27521 case 2: 27522 if wireType != 0 { 27523 return fmt.Errorf("proto: wrong wireType = %d for field ColPos", wireType) 27524 } 27525 m.ColPos = 0 27526 for shift := uint(0); ; shift += 7 { 27527 if shift >= 64 { 27528 return ErrIntOverflowPlan 27529 } 27530 if iNdEx >= l { 27531 return io.ErrUnexpectedEOF 27532 } 27533 b := dAtA[iNdEx] 27534 iNdEx++ 27535 m.ColPos |= int32(b&0x7F) << shift 27536 if b < 0x80 { 27537 break 27538 } 27539 } 27540 case 3: 27541 if wireType != 2 { 27542 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 27543 } 27544 var stringLen uint64 27545 for shift := uint(0); ; shift += 7 { 27546 if shift >= 64 { 27547 return ErrIntOverflowPlan 27548 } 27549 if iNdEx >= l { 27550 return io.ErrUnexpectedEOF 27551 } 27552 b := dAtA[iNdEx] 27553 iNdEx++ 27554 stringLen |= uint64(b&0x7F) << shift 27555 if b < 0x80 { 27556 break 27557 } 27558 } 27559 intStringLen := int(stringLen) 27560 if intStringLen < 0 { 27561 return ErrInvalidLengthPlan 27562 } 27563 postIndex := iNdEx + intStringLen 27564 if postIndex < 0 { 27565 return ErrInvalidLengthPlan 27566 } 27567 if postIndex > l { 27568 return io.ErrUnexpectedEOF 27569 } 27570 m.Name = string(dAtA[iNdEx:postIndex]) 27571 iNdEx = postIndex 27572 case 4: 27573 if wireType != 2 { 27574 return fmt.Errorf("proto: wrong wireType = %d for field TblName", wireType) 27575 } 27576 var stringLen uint64 27577 for shift := uint(0); ; shift += 7 { 27578 if shift >= 64 { 27579 return ErrIntOverflowPlan 27580 } 27581 if iNdEx >= l { 27582 return io.ErrUnexpectedEOF 27583 } 27584 b := dAtA[iNdEx] 27585 iNdEx++ 27586 stringLen |= uint64(b&0x7F) << shift 27587 if b < 0x80 { 27588 break 27589 } 27590 } 27591 intStringLen := int(stringLen) 27592 if intStringLen < 0 { 27593 return ErrInvalidLengthPlan 27594 } 27595 postIndex := iNdEx + intStringLen 27596 if postIndex < 0 { 27597 return ErrInvalidLengthPlan 27598 } 27599 if postIndex > l { 27600 return io.ErrUnexpectedEOF 27601 } 27602 m.TblName = string(dAtA[iNdEx:postIndex]) 27603 iNdEx = postIndex 27604 case 5: 27605 if wireType != 2 { 27606 return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) 27607 } 27608 var stringLen uint64 27609 for shift := uint(0); ; shift += 7 { 27610 if shift >= 64 { 27611 return ErrIntOverflowPlan 27612 } 27613 if iNdEx >= l { 27614 return io.ErrUnexpectedEOF 27615 } 27616 b := dAtA[iNdEx] 27617 iNdEx++ 27618 stringLen |= uint64(b&0x7F) << shift 27619 if b < 0x80 { 27620 break 27621 } 27622 } 27623 intStringLen := int(stringLen) 27624 if intStringLen < 0 { 27625 return ErrInvalidLengthPlan 27626 } 27627 postIndex := iNdEx + intStringLen 27628 if postIndex < 0 { 27629 return ErrInvalidLengthPlan 27630 } 27631 if postIndex > l { 27632 return io.ErrUnexpectedEOF 27633 } 27634 m.DbName = string(dAtA[iNdEx:postIndex]) 27635 iNdEx = postIndex 27636 default: 27637 iNdEx = preIndex 27638 skippy, err := skipPlan(dAtA[iNdEx:]) 27639 if err != nil { 27640 return err 27641 } 27642 if (skippy < 0) || (iNdEx+skippy) < 0 { 27643 return ErrInvalidLengthPlan 27644 } 27645 if (iNdEx + skippy) > l { 27646 return io.ErrUnexpectedEOF 27647 } 27648 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 27649 iNdEx += skippy 27650 } 27651 } 27652 27653 if iNdEx > l { 27654 return io.ErrUnexpectedEOF 27655 } 27656 return nil 27657 } 27658 func (m *RawColRef) Unmarshal(dAtA []byte) error { 27659 l := len(dAtA) 27660 iNdEx := 0 27661 for iNdEx < l { 27662 preIndex := iNdEx 27663 var wire uint64 27664 for shift := uint(0); ; shift += 7 { 27665 if shift >= 64 { 27666 return ErrIntOverflowPlan 27667 } 27668 if iNdEx >= l { 27669 return io.ErrUnexpectedEOF 27670 } 27671 b := dAtA[iNdEx] 27672 iNdEx++ 27673 wire |= uint64(b&0x7F) << shift 27674 if b < 0x80 { 27675 break 27676 } 27677 } 27678 fieldNum := int32(wire >> 3) 27679 wireType := int(wire & 0x7) 27680 if wireType == 4 { 27681 return fmt.Errorf("proto: RawColRef: wiretype end group for non-group") 27682 } 27683 if fieldNum <= 0 { 27684 return fmt.Errorf("proto: RawColRef: illegal tag %d (wire type %d)", fieldNum, wire) 27685 } 27686 switch fieldNum { 27687 case 1: 27688 if wireType != 0 { 27689 return fmt.Errorf("proto: wrong wireType = %d for field TblId", wireType) 27690 } 27691 m.TblId = 0 27692 for shift := uint(0); ; shift += 7 { 27693 if shift >= 64 { 27694 return ErrIntOverflowPlan 27695 } 27696 if iNdEx >= l { 27697 return io.ErrUnexpectedEOF 27698 } 27699 b := dAtA[iNdEx] 27700 iNdEx++ 27701 m.TblId |= uint64(b&0x7F) << shift 27702 if b < 0x80 { 27703 break 27704 } 27705 } 27706 case 2: 27707 if wireType != 0 { 27708 return fmt.Errorf("proto: wrong wireType = %d for field ColId", wireType) 27709 } 27710 m.ColId = 0 27711 for shift := uint(0); ; shift += 7 { 27712 if shift >= 64 { 27713 return ErrIntOverflowPlan 27714 } 27715 if iNdEx >= l { 27716 return io.ErrUnexpectedEOF 27717 } 27718 b := dAtA[iNdEx] 27719 iNdEx++ 27720 m.ColId |= uint64(b&0x7F) << shift 27721 if b < 0x80 { 27722 break 27723 } 27724 } 27725 default: 27726 iNdEx = preIndex 27727 skippy, err := skipPlan(dAtA[iNdEx:]) 27728 if err != nil { 27729 return err 27730 } 27731 if (skippy < 0) || (iNdEx+skippy) < 0 { 27732 return ErrInvalidLengthPlan 27733 } 27734 if (iNdEx + skippy) > l { 27735 return io.ErrUnexpectedEOF 27736 } 27737 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 27738 iNdEx += skippy 27739 } 27740 } 27741 27742 if iNdEx > l { 27743 return io.ErrUnexpectedEOF 27744 } 27745 return nil 27746 } 27747 func (m *CorrColRef) Unmarshal(dAtA []byte) error { 27748 l := len(dAtA) 27749 iNdEx := 0 27750 for iNdEx < l { 27751 preIndex := iNdEx 27752 var wire uint64 27753 for shift := uint(0); ; shift += 7 { 27754 if shift >= 64 { 27755 return ErrIntOverflowPlan 27756 } 27757 if iNdEx >= l { 27758 return io.ErrUnexpectedEOF 27759 } 27760 b := dAtA[iNdEx] 27761 iNdEx++ 27762 wire |= uint64(b&0x7F) << shift 27763 if b < 0x80 { 27764 break 27765 } 27766 } 27767 fieldNum := int32(wire >> 3) 27768 wireType := int(wire & 0x7) 27769 if wireType == 4 { 27770 return fmt.Errorf("proto: CorrColRef: wiretype end group for non-group") 27771 } 27772 if fieldNum <= 0 { 27773 return fmt.Errorf("proto: CorrColRef: illegal tag %d (wire type %d)", fieldNum, wire) 27774 } 27775 switch fieldNum { 27776 case 1: 27777 if wireType != 0 { 27778 return fmt.Errorf("proto: wrong wireType = %d for field RelPos", wireType) 27779 } 27780 m.RelPos = 0 27781 for shift := uint(0); ; shift += 7 { 27782 if shift >= 64 { 27783 return ErrIntOverflowPlan 27784 } 27785 if iNdEx >= l { 27786 return io.ErrUnexpectedEOF 27787 } 27788 b := dAtA[iNdEx] 27789 iNdEx++ 27790 m.RelPos |= int32(b&0x7F) << shift 27791 if b < 0x80 { 27792 break 27793 } 27794 } 27795 case 2: 27796 if wireType != 0 { 27797 return fmt.Errorf("proto: wrong wireType = %d for field ColPos", wireType) 27798 } 27799 m.ColPos = 0 27800 for shift := uint(0); ; shift += 7 { 27801 if shift >= 64 { 27802 return ErrIntOverflowPlan 27803 } 27804 if iNdEx >= l { 27805 return io.ErrUnexpectedEOF 27806 } 27807 b := dAtA[iNdEx] 27808 iNdEx++ 27809 m.ColPos |= int32(b&0x7F) << shift 27810 if b < 0x80 { 27811 break 27812 } 27813 } 27814 case 3: 27815 if wireType != 0 { 27816 return fmt.Errorf("proto: wrong wireType = %d for field Depth", wireType) 27817 } 27818 m.Depth = 0 27819 for shift := uint(0); ; shift += 7 { 27820 if shift >= 64 { 27821 return ErrIntOverflowPlan 27822 } 27823 if iNdEx >= l { 27824 return io.ErrUnexpectedEOF 27825 } 27826 b := dAtA[iNdEx] 27827 iNdEx++ 27828 m.Depth |= int32(b&0x7F) << shift 27829 if b < 0x80 { 27830 break 27831 } 27832 } 27833 default: 27834 iNdEx = preIndex 27835 skippy, err := skipPlan(dAtA[iNdEx:]) 27836 if err != nil { 27837 return err 27838 } 27839 if (skippy < 0) || (iNdEx+skippy) < 0 { 27840 return ErrInvalidLengthPlan 27841 } 27842 if (iNdEx + skippy) > l { 27843 return io.ErrUnexpectedEOF 27844 } 27845 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 27846 iNdEx += skippy 27847 } 27848 } 27849 27850 if iNdEx > l { 27851 return io.ErrUnexpectedEOF 27852 } 27853 return nil 27854 } 27855 func (m *ExprList) Unmarshal(dAtA []byte) error { 27856 l := len(dAtA) 27857 iNdEx := 0 27858 for iNdEx < l { 27859 preIndex := iNdEx 27860 var wire uint64 27861 for shift := uint(0); ; shift += 7 { 27862 if shift >= 64 { 27863 return ErrIntOverflowPlan 27864 } 27865 if iNdEx >= l { 27866 return io.ErrUnexpectedEOF 27867 } 27868 b := dAtA[iNdEx] 27869 iNdEx++ 27870 wire |= uint64(b&0x7F) << shift 27871 if b < 0x80 { 27872 break 27873 } 27874 } 27875 fieldNum := int32(wire >> 3) 27876 wireType := int(wire & 0x7) 27877 if wireType == 4 { 27878 return fmt.Errorf("proto: ExprList: wiretype end group for non-group") 27879 } 27880 if fieldNum <= 0 { 27881 return fmt.Errorf("proto: ExprList: illegal tag %d (wire type %d)", fieldNum, wire) 27882 } 27883 switch fieldNum { 27884 case 1: 27885 if wireType != 2 { 27886 return fmt.Errorf("proto: wrong wireType = %d for field List", wireType) 27887 } 27888 var msglen int 27889 for shift := uint(0); ; shift += 7 { 27890 if shift >= 64 { 27891 return ErrIntOverflowPlan 27892 } 27893 if iNdEx >= l { 27894 return io.ErrUnexpectedEOF 27895 } 27896 b := dAtA[iNdEx] 27897 iNdEx++ 27898 msglen |= int(b&0x7F) << shift 27899 if b < 0x80 { 27900 break 27901 } 27902 } 27903 if msglen < 0 { 27904 return ErrInvalidLengthPlan 27905 } 27906 postIndex := iNdEx + msglen 27907 if postIndex < 0 { 27908 return ErrInvalidLengthPlan 27909 } 27910 if postIndex > l { 27911 return io.ErrUnexpectedEOF 27912 } 27913 m.List = append(m.List, &Expr{}) 27914 if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 27915 return err 27916 } 27917 iNdEx = postIndex 27918 default: 27919 iNdEx = preIndex 27920 skippy, err := skipPlan(dAtA[iNdEx:]) 27921 if err != nil { 27922 return err 27923 } 27924 if (skippy < 0) || (iNdEx+skippy) < 0 { 27925 return ErrInvalidLengthPlan 27926 } 27927 if (iNdEx + skippy) > l { 27928 return io.ErrUnexpectedEOF 27929 } 27930 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 27931 iNdEx += skippy 27932 } 27933 } 27934 27935 if iNdEx > l { 27936 return io.ErrUnexpectedEOF 27937 } 27938 return nil 27939 } 27940 func (m *MaxValue) Unmarshal(dAtA []byte) error { 27941 l := len(dAtA) 27942 iNdEx := 0 27943 for iNdEx < l { 27944 preIndex := iNdEx 27945 var wire uint64 27946 for shift := uint(0); ; shift += 7 { 27947 if shift >= 64 { 27948 return ErrIntOverflowPlan 27949 } 27950 if iNdEx >= l { 27951 return io.ErrUnexpectedEOF 27952 } 27953 b := dAtA[iNdEx] 27954 iNdEx++ 27955 wire |= uint64(b&0x7F) << shift 27956 if b < 0x80 { 27957 break 27958 } 27959 } 27960 fieldNum := int32(wire >> 3) 27961 wireType := int(wire & 0x7) 27962 if wireType == 4 { 27963 return fmt.Errorf("proto: MaxValue: wiretype end group for non-group") 27964 } 27965 if fieldNum <= 0 { 27966 return fmt.Errorf("proto: MaxValue: illegal tag %d (wire type %d)", fieldNum, wire) 27967 } 27968 switch fieldNum { 27969 case 1: 27970 if wireType != 2 { 27971 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 27972 } 27973 var stringLen uint64 27974 for shift := uint(0); ; shift += 7 { 27975 if shift >= 64 { 27976 return ErrIntOverflowPlan 27977 } 27978 if iNdEx >= l { 27979 return io.ErrUnexpectedEOF 27980 } 27981 b := dAtA[iNdEx] 27982 iNdEx++ 27983 stringLen |= uint64(b&0x7F) << shift 27984 if b < 0x80 { 27985 break 27986 } 27987 } 27988 intStringLen := int(stringLen) 27989 if intStringLen < 0 { 27990 return ErrInvalidLengthPlan 27991 } 27992 postIndex := iNdEx + intStringLen 27993 if postIndex < 0 { 27994 return ErrInvalidLengthPlan 27995 } 27996 if postIndex > l { 27997 return io.ErrUnexpectedEOF 27998 } 27999 m.Value = string(dAtA[iNdEx:postIndex]) 28000 iNdEx = postIndex 28001 default: 28002 iNdEx = preIndex 28003 skippy, err := skipPlan(dAtA[iNdEx:]) 28004 if err != nil { 28005 return err 28006 } 28007 if (skippy < 0) || (iNdEx+skippy) < 0 { 28008 return ErrInvalidLengthPlan 28009 } 28010 if (iNdEx + skippy) > l { 28011 return io.ErrUnexpectedEOF 28012 } 28013 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 28014 iNdEx += skippy 28015 } 28016 } 28017 28018 if iNdEx > l { 28019 return io.ErrUnexpectedEOF 28020 } 28021 return nil 28022 } 28023 func (m *TargetType) Unmarshal(dAtA []byte) error { 28024 l := len(dAtA) 28025 iNdEx := 0 28026 for iNdEx < l { 28027 preIndex := iNdEx 28028 var wire uint64 28029 for shift := uint(0); ; shift += 7 { 28030 if shift >= 64 { 28031 return ErrIntOverflowPlan 28032 } 28033 if iNdEx >= l { 28034 return io.ErrUnexpectedEOF 28035 } 28036 b := dAtA[iNdEx] 28037 iNdEx++ 28038 wire |= uint64(b&0x7F) << shift 28039 if b < 0x80 { 28040 break 28041 } 28042 } 28043 fieldNum := int32(wire >> 3) 28044 wireType := int(wire & 0x7) 28045 if wireType == 4 { 28046 return fmt.Errorf("proto: TargetType: wiretype end group for non-group") 28047 } 28048 if fieldNum <= 0 { 28049 return fmt.Errorf("proto: TargetType: illegal tag %d (wire type %d)", fieldNum, wire) 28050 } 28051 switch fieldNum { 28052 default: 28053 iNdEx = preIndex 28054 skippy, err := skipPlan(dAtA[iNdEx:]) 28055 if err != nil { 28056 return err 28057 } 28058 if (skippy < 0) || (iNdEx+skippy) < 0 { 28059 return ErrInvalidLengthPlan 28060 } 28061 if (iNdEx + skippy) > l { 28062 return io.ErrUnexpectedEOF 28063 } 28064 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 28065 iNdEx += skippy 28066 } 28067 } 28068 28069 if iNdEx > l { 28070 return io.ErrUnexpectedEOF 28071 } 28072 return nil 28073 } 28074 func (m *SubqueryRef) Unmarshal(dAtA []byte) error { 28075 l := len(dAtA) 28076 iNdEx := 0 28077 for iNdEx < l { 28078 preIndex := iNdEx 28079 var wire uint64 28080 for shift := uint(0); ; shift += 7 { 28081 if shift >= 64 { 28082 return ErrIntOverflowPlan 28083 } 28084 if iNdEx >= l { 28085 return io.ErrUnexpectedEOF 28086 } 28087 b := dAtA[iNdEx] 28088 iNdEx++ 28089 wire |= uint64(b&0x7F) << shift 28090 if b < 0x80 { 28091 break 28092 } 28093 } 28094 fieldNum := int32(wire >> 3) 28095 wireType := int(wire & 0x7) 28096 if wireType == 4 { 28097 return fmt.Errorf("proto: SubqueryRef: wiretype end group for non-group") 28098 } 28099 if fieldNum <= 0 { 28100 return fmt.Errorf("proto: SubqueryRef: illegal tag %d (wire type %d)", fieldNum, wire) 28101 } 28102 switch fieldNum { 28103 case 1: 28104 if wireType != 0 { 28105 return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType) 28106 } 28107 m.Typ = 0 28108 for shift := uint(0); ; shift += 7 { 28109 if shift >= 64 { 28110 return ErrIntOverflowPlan 28111 } 28112 if iNdEx >= l { 28113 return io.ErrUnexpectedEOF 28114 } 28115 b := dAtA[iNdEx] 28116 iNdEx++ 28117 m.Typ |= SubqueryRef_Type(b&0x7F) << shift 28118 if b < 0x80 { 28119 break 28120 } 28121 } 28122 case 2: 28123 if wireType != 0 { 28124 return fmt.Errorf("proto: wrong wireType = %d for field NodeId", wireType) 28125 } 28126 m.NodeId = 0 28127 for shift := uint(0); ; shift += 7 { 28128 if shift >= 64 { 28129 return ErrIntOverflowPlan 28130 } 28131 if iNdEx >= l { 28132 return io.ErrUnexpectedEOF 28133 } 28134 b := dAtA[iNdEx] 28135 iNdEx++ 28136 m.NodeId |= int32(b&0x7F) << shift 28137 if b < 0x80 { 28138 break 28139 } 28140 } 28141 case 3: 28142 if wireType != 2 { 28143 return fmt.Errorf("proto: wrong wireType = %d for field Op", wireType) 28144 } 28145 var stringLen uint64 28146 for shift := uint(0); ; shift += 7 { 28147 if shift >= 64 { 28148 return ErrIntOverflowPlan 28149 } 28150 if iNdEx >= l { 28151 return io.ErrUnexpectedEOF 28152 } 28153 b := dAtA[iNdEx] 28154 iNdEx++ 28155 stringLen |= uint64(b&0x7F) << shift 28156 if b < 0x80 { 28157 break 28158 } 28159 } 28160 intStringLen := int(stringLen) 28161 if intStringLen < 0 { 28162 return ErrInvalidLengthPlan 28163 } 28164 postIndex := iNdEx + intStringLen 28165 if postIndex < 0 { 28166 return ErrInvalidLengthPlan 28167 } 28168 if postIndex > l { 28169 return io.ErrUnexpectedEOF 28170 } 28171 m.Op = string(dAtA[iNdEx:postIndex]) 28172 iNdEx = postIndex 28173 case 4: 28174 if wireType != 2 { 28175 return fmt.Errorf("proto: wrong wireType = %d for field Child", wireType) 28176 } 28177 var msglen int 28178 for shift := uint(0); ; shift += 7 { 28179 if shift >= 64 { 28180 return ErrIntOverflowPlan 28181 } 28182 if iNdEx >= l { 28183 return io.ErrUnexpectedEOF 28184 } 28185 b := dAtA[iNdEx] 28186 iNdEx++ 28187 msglen |= int(b&0x7F) << shift 28188 if b < 0x80 { 28189 break 28190 } 28191 } 28192 if msglen < 0 { 28193 return ErrInvalidLengthPlan 28194 } 28195 postIndex := iNdEx + msglen 28196 if postIndex < 0 { 28197 return ErrInvalidLengthPlan 28198 } 28199 if postIndex > l { 28200 return io.ErrUnexpectedEOF 28201 } 28202 if m.Child == nil { 28203 m.Child = &Expr{} 28204 } 28205 if err := m.Child.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 28206 return err 28207 } 28208 iNdEx = postIndex 28209 case 5: 28210 if wireType != 0 { 28211 return fmt.Errorf("proto: wrong wireType = %d for field RowSize", wireType) 28212 } 28213 m.RowSize = 0 28214 for shift := uint(0); ; shift += 7 { 28215 if shift >= 64 { 28216 return ErrIntOverflowPlan 28217 } 28218 if iNdEx >= l { 28219 return io.ErrUnexpectedEOF 28220 } 28221 b := dAtA[iNdEx] 28222 iNdEx++ 28223 m.RowSize |= int32(b&0x7F) << shift 28224 if b < 0x80 { 28225 break 28226 } 28227 } 28228 default: 28229 iNdEx = preIndex 28230 skippy, err := skipPlan(dAtA[iNdEx:]) 28231 if err != nil { 28232 return err 28233 } 28234 if (skippy < 0) || (iNdEx+skippy) < 0 { 28235 return ErrInvalidLengthPlan 28236 } 28237 if (iNdEx + skippy) > l { 28238 return io.ErrUnexpectedEOF 28239 } 28240 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 28241 iNdEx += skippy 28242 } 28243 } 28244 28245 if iNdEx > l { 28246 return io.ErrUnexpectedEOF 28247 } 28248 return nil 28249 } 28250 func (m *ObjectRef) Unmarshal(dAtA []byte) error { 28251 l := len(dAtA) 28252 iNdEx := 0 28253 for iNdEx < l { 28254 preIndex := iNdEx 28255 var wire uint64 28256 for shift := uint(0); ; shift += 7 { 28257 if shift >= 64 { 28258 return ErrIntOverflowPlan 28259 } 28260 if iNdEx >= l { 28261 return io.ErrUnexpectedEOF 28262 } 28263 b := dAtA[iNdEx] 28264 iNdEx++ 28265 wire |= uint64(b&0x7F) << shift 28266 if b < 0x80 { 28267 break 28268 } 28269 } 28270 fieldNum := int32(wire >> 3) 28271 wireType := int(wire & 0x7) 28272 if wireType == 4 { 28273 return fmt.Errorf("proto: ObjectRef: wiretype end group for non-group") 28274 } 28275 if fieldNum <= 0 { 28276 return fmt.Errorf("proto: ObjectRef: illegal tag %d (wire type %d)", fieldNum, wire) 28277 } 28278 switch fieldNum { 28279 case 1: 28280 if wireType != 0 { 28281 return fmt.Errorf("proto: wrong wireType = %d for field Server", wireType) 28282 } 28283 m.Server = 0 28284 for shift := uint(0); ; shift += 7 { 28285 if shift >= 64 { 28286 return ErrIntOverflowPlan 28287 } 28288 if iNdEx >= l { 28289 return io.ErrUnexpectedEOF 28290 } 28291 b := dAtA[iNdEx] 28292 iNdEx++ 28293 m.Server |= int64(b&0x7F) << shift 28294 if b < 0x80 { 28295 break 28296 } 28297 } 28298 case 2: 28299 if wireType != 0 { 28300 return fmt.Errorf("proto: wrong wireType = %d for field Db", wireType) 28301 } 28302 m.Db = 0 28303 for shift := uint(0); ; shift += 7 { 28304 if shift >= 64 { 28305 return ErrIntOverflowPlan 28306 } 28307 if iNdEx >= l { 28308 return io.ErrUnexpectedEOF 28309 } 28310 b := dAtA[iNdEx] 28311 iNdEx++ 28312 m.Db |= int64(b&0x7F) << shift 28313 if b < 0x80 { 28314 break 28315 } 28316 } 28317 case 3: 28318 if wireType != 0 { 28319 return fmt.Errorf("proto: wrong wireType = %d for field Schema", wireType) 28320 } 28321 m.Schema = 0 28322 for shift := uint(0); ; shift += 7 { 28323 if shift >= 64 { 28324 return ErrIntOverflowPlan 28325 } 28326 if iNdEx >= l { 28327 return io.ErrUnexpectedEOF 28328 } 28329 b := dAtA[iNdEx] 28330 iNdEx++ 28331 m.Schema |= int64(b&0x7F) << shift 28332 if b < 0x80 { 28333 break 28334 } 28335 } 28336 case 4: 28337 if wireType != 0 { 28338 return fmt.Errorf("proto: wrong wireType = %d for field Obj", wireType) 28339 } 28340 m.Obj = 0 28341 for shift := uint(0); ; shift += 7 { 28342 if shift >= 64 { 28343 return ErrIntOverflowPlan 28344 } 28345 if iNdEx >= l { 28346 return io.ErrUnexpectedEOF 28347 } 28348 b := dAtA[iNdEx] 28349 iNdEx++ 28350 m.Obj |= int64(b&0x7F) << shift 28351 if b < 0x80 { 28352 break 28353 } 28354 } 28355 case 5: 28356 if wireType != 2 { 28357 return fmt.Errorf("proto: wrong wireType = %d for field ServerName", wireType) 28358 } 28359 var stringLen uint64 28360 for shift := uint(0); ; shift += 7 { 28361 if shift >= 64 { 28362 return ErrIntOverflowPlan 28363 } 28364 if iNdEx >= l { 28365 return io.ErrUnexpectedEOF 28366 } 28367 b := dAtA[iNdEx] 28368 iNdEx++ 28369 stringLen |= uint64(b&0x7F) << shift 28370 if b < 0x80 { 28371 break 28372 } 28373 } 28374 intStringLen := int(stringLen) 28375 if intStringLen < 0 { 28376 return ErrInvalidLengthPlan 28377 } 28378 postIndex := iNdEx + intStringLen 28379 if postIndex < 0 { 28380 return ErrInvalidLengthPlan 28381 } 28382 if postIndex > l { 28383 return io.ErrUnexpectedEOF 28384 } 28385 m.ServerName = string(dAtA[iNdEx:postIndex]) 28386 iNdEx = postIndex 28387 case 6: 28388 if wireType != 2 { 28389 return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) 28390 } 28391 var stringLen uint64 28392 for shift := uint(0); ; shift += 7 { 28393 if shift >= 64 { 28394 return ErrIntOverflowPlan 28395 } 28396 if iNdEx >= l { 28397 return io.ErrUnexpectedEOF 28398 } 28399 b := dAtA[iNdEx] 28400 iNdEx++ 28401 stringLen |= uint64(b&0x7F) << shift 28402 if b < 0x80 { 28403 break 28404 } 28405 } 28406 intStringLen := int(stringLen) 28407 if intStringLen < 0 { 28408 return ErrInvalidLengthPlan 28409 } 28410 postIndex := iNdEx + intStringLen 28411 if postIndex < 0 { 28412 return ErrInvalidLengthPlan 28413 } 28414 if postIndex > l { 28415 return io.ErrUnexpectedEOF 28416 } 28417 m.DbName = string(dAtA[iNdEx:postIndex]) 28418 iNdEx = postIndex 28419 case 7: 28420 if wireType != 2 { 28421 return fmt.Errorf("proto: wrong wireType = %d for field SchemaName", wireType) 28422 } 28423 var stringLen uint64 28424 for shift := uint(0); ; shift += 7 { 28425 if shift >= 64 { 28426 return ErrIntOverflowPlan 28427 } 28428 if iNdEx >= l { 28429 return io.ErrUnexpectedEOF 28430 } 28431 b := dAtA[iNdEx] 28432 iNdEx++ 28433 stringLen |= uint64(b&0x7F) << shift 28434 if b < 0x80 { 28435 break 28436 } 28437 } 28438 intStringLen := int(stringLen) 28439 if intStringLen < 0 { 28440 return ErrInvalidLengthPlan 28441 } 28442 postIndex := iNdEx + intStringLen 28443 if postIndex < 0 { 28444 return ErrInvalidLengthPlan 28445 } 28446 if postIndex > l { 28447 return io.ErrUnexpectedEOF 28448 } 28449 m.SchemaName = string(dAtA[iNdEx:postIndex]) 28450 iNdEx = postIndex 28451 case 8: 28452 if wireType != 2 { 28453 return fmt.Errorf("proto: wrong wireType = %d for field ObjName", wireType) 28454 } 28455 var stringLen uint64 28456 for shift := uint(0); ; shift += 7 { 28457 if shift >= 64 { 28458 return ErrIntOverflowPlan 28459 } 28460 if iNdEx >= l { 28461 return io.ErrUnexpectedEOF 28462 } 28463 b := dAtA[iNdEx] 28464 iNdEx++ 28465 stringLen |= uint64(b&0x7F) << shift 28466 if b < 0x80 { 28467 break 28468 } 28469 } 28470 intStringLen := int(stringLen) 28471 if intStringLen < 0 { 28472 return ErrInvalidLengthPlan 28473 } 28474 postIndex := iNdEx + intStringLen 28475 if postIndex < 0 { 28476 return ErrInvalidLengthPlan 28477 } 28478 if postIndex > l { 28479 return io.ErrUnexpectedEOF 28480 } 28481 m.ObjName = string(dAtA[iNdEx:postIndex]) 28482 iNdEx = postIndex 28483 case 9: 28484 if wireType != 2 { 28485 return fmt.Errorf("proto: wrong wireType = %d for field SubscriptionName", wireType) 28486 } 28487 var stringLen uint64 28488 for shift := uint(0); ; shift += 7 { 28489 if shift >= 64 { 28490 return ErrIntOverflowPlan 28491 } 28492 if iNdEx >= l { 28493 return io.ErrUnexpectedEOF 28494 } 28495 b := dAtA[iNdEx] 28496 iNdEx++ 28497 stringLen |= uint64(b&0x7F) << shift 28498 if b < 0x80 { 28499 break 28500 } 28501 } 28502 intStringLen := int(stringLen) 28503 if intStringLen < 0 { 28504 return ErrInvalidLengthPlan 28505 } 28506 postIndex := iNdEx + intStringLen 28507 if postIndex < 0 { 28508 return ErrInvalidLengthPlan 28509 } 28510 if postIndex > l { 28511 return io.ErrUnexpectedEOF 28512 } 28513 m.SubscriptionName = string(dAtA[iNdEx:postIndex]) 28514 iNdEx = postIndex 28515 case 10: 28516 if wireType != 2 { 28517 return fmt.Errorf("proto: wrong wireType = %d for field PubInfo", wireType) 28518 } 28519 var msglen int 28520 for shift := uint(0); ; shift += 7 { 28521 if shift >= 64 { 28522 return ErrIntOverflowPlan 28523 } 28524 if iNdEx >= l { 28525 return io.ErrUnexpectedEOF 28526 } 28527 b := dAtA[iNdEx] 28528 iNdEx++ 28529 msglen |= int(b&0x7F) << shift 28530 if b < 0x80 { 28531 break 28532 } 28533 } 28534 if msglen < 0 { 28535 return ErrInvalidLengthPlan 28536 } 28537 postIndex := iNdEx + msglen 28538 if postIndex < 0 { 28539 return ErrInvalidLengthPlan 28540 } 28541 if postIndex > l { 28542 return io.ErrUnexpectedEOF 28543 } 28544 if m.PubInfo == nil { 28545 m.PubInfo = &PubInfo{} 28546 } 28547 if err := m.PubInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 28548 return err 28549 } 28550 iNdEx = postIndex 28551 default: 28552 iNdEx = preIndex 28553 skippy, err := skipPlan(dAtA[iNdEx:]) 28554 if err != nil { 28555 return err 28556 } 28557 if (skippy < 0) || (iNdEx+skippy) < 0 { 28558 return ErrInvalidLengthPlan 28559 } 28560 if (iNdEx + skippy) > l { 28561 return io.ErrUnexpectedEOF 28562 } 28563 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 28564 iNdEx += skippy 28565 } 28566 } 28567 28568 if iNdEx > l { 28569 return io.ErrUnexpectedEOF 28570 } 28571 return nil 28572 } 28573 func (m *PubInfo) Unmarshal(dAtA []byte) error { 28574 l := len(dAtA) 28575 iNdEx := 0 28576 for iNdEx < l { 28577 preIndex := iNdEx 28578 var wire uint64 28579 for shift := uint(0); ; shift += 7 { 28580 if shift >= 64 { 28581 return ErrIntOverflowPlan 28582 } 28583 if iNdEx >= l { 28584 return io.ErrUnexpectedEOF 28585 } 28586 b := dAtA[iNdEx] 28587 iNdEx++ 28588 wire |= uint64(b&0x7F) << shift 28589 if b < 0x80 { 28590 break 28591 } 28592 } 28593 fieldNum := int32(wire >> 3) 28594 wireType := int(wire & 0x7) 28595 if wireType == 4 { 28596 return fmt.Errorf("proto: PubInfo: wiretype end group for non-group") 28597 } 28598 if fieldNum <= 0 { 28599 return fmt.Errorf("proto: PubInfo: illegal tag %d (wire type %d)", fieldNum, wire) 28600 } 28601 switch fieldNum { 28602 case 1: 28603 if wireType != 0 { 28604 return fmt.Errorf("proto: wrong wireType = %d for field TenantId", wireType) 28605 } 28606 m.TenantId = 0 28607 for shift := uint(0); ; shift += 7 { 28608 if shift >= 64 { 28609 return ErrIntOverflowPlan 28610 } 28611 if iNdEx >= l { 28612 return io.ErrUnexpectedEOF 28613 } 28614 b := dAtA[iNdEx] 28615 iNdEx++ 28616 m.TenantId |= int32(b&0x7F) << shift 28617 if b < 0x80 { 28618 break 28619 } 28620 } 28621 default: 28622 iNdEx = preIndex 28623 skippy, err := skipPlan(dAtA[iNdEx:]) 28624 if err != nil { 28625 return err 28626 } 28627 if (skippy < 0) || (iNdEx+skippy) < 0 { 28628 return ErrInvalidLengthPlan 28629 } 28630 if (iNdEx + skippy) > l { 28631 return io.ErrUnexpectedEOF 28632 } 28633 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 28634 iNdEx += skippy 28635 } 28636 } 28637 28638 if iNdEx > l { 28639 return io.ErrUnexpectedEOF 28640 } 28641 return nil 28642 } 28643 func (m *SubscriptionMeta) Unmarshal(dAtA []byte) error { 28644 l := len(dAtA) 28645 iNdEx := 0 28646 for iNdEx < l { 28647 preIndex := iNdEx 28648 var wire uint64 28649 for shift := uint(0); ; shift += 7 { 28650 if shift >= 64 { 28651 return ErrIntOverflowPlan 28652 } 28653 if iNdEx >= l { 28654 return io.ErrUnexpectedEOF 28655 } 28656 b := dAtA[iNdEx] 28657 iNdEx++ 28658 wire |= uint64(b&0x7F) << shift 28659 if b < 0x80 { 28660 break 28661 } 28662 } 28663 fieldNum := int32(wire >> 3) 28664 wireType := int(wire & 0x7) 28665 if wireType == 4 { 28666 return fmt.Errorf("proto: SubscriptionMeta: wiretype end group for non-group") 28667 } 28668 if fieldNum <= 0 { 28669 return fmt.Errorf("proto: SubscriptionMeta: illegal tag %d (wire type %d)", fieldNum, wire) 28670 } 28671 switch fieldNum { 28672 case 1: 28673 if wireType != 2 { 28674 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 28675 } 28676 var stringLen uint64 28677 for shift := uint(0); ; shift += 7 { 28678 if shift >= 64 { 28679 return ErrIntOverflowPlan 28680 } 28681 if iNdEx >= l { 28682 return io.ErrUnexpectedEOF 28683 } 28684 b := dAtA[iNdEx] 28685 iNdEx++ 28686 stringLen |= uint64(b&0x7F) << shift 28687 if b < 0x80 { 28688 break 28689 } 28690 } 28691 intStringLen := int(stringLen) 28692 if intStringLen < 0 { 28693 return ErrInvalidLengthPlan 28694 } 28695 postIndex := iNdEx + intStringLen 28696 if postIndex < 0 { 28697 return ErrInvalidLengthPlan 28698 } 28699 if postIndex > l { 28700 return io.ErrUnexpectedEOF 28701 } 28702 m.Name = string(dAtA[iNdEx:postIndex]) 28703 iNdEx = postIndex 28704 case 2: 28705 if wireType != 0 { 28706 return fmt.Errorf("proto: wrong wireType = %d for field AccountId", wireType) 28707 } 28708 m.AccountId = 0 28709 for shift := uint(0); ; shift += 7 { 28710 if shift >= 64 { 28711 return ErrIntOverflowPlan 28712 } 28713 if iNdEx >= l { 28714 return io.ErrUnexpectedEOF 28715 } 28716 b := dAtA[iNdEx] 28717 iNdEx++ 28718 m.AccountId |= int32(b&0x7F) << shift 28719 if b < 0x80 { 28720 break 28721 } 28722 } 28723 case 3: 28724 if wireType != 2 { 28725 return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) 28726 } 28727 var stringLen uint64 28728 for shift := uint(0); ; shift += 7 { 28729 if shift >= 64 { 28730 return ErrIntOverflowPlan 28731 } 28732 if iNdEx >= l { 28733 return io.ErrUnexpectedEOF 28734 } 28735 b := dAtA[iNdEx] 28736 iNdEx++ 28737 stringLen |= uint64(b&0x7F) << shift 28738 if b < 0x80 { 28739 break 28740 } 28741 } 28742 intStringLen := int(stringLen) 28743 if intStringLen < 0 { 28744 return ErrInvalidLengthPlan 28745 } 28746 postIndex := iNdEx + intStringLen 28747 if postIndex < 0 { 28748 return ErrInvalidLengthPlan 28749 } 28750 if postIndex > l { 28751 return io.ErrUnexpectedEOF 28752 } 28753 m.DbName = string(dAtA[iNdEx:postIndex]) 28754 iNdEx = postIndex 28755 case 4: 28756 if wireType != 2 { 28757 return fmt.Errorf("proto: wrong wireType = %d for field AccountName", wireType) 28758 } 28759 var stringLen uint64 28760 for shift := uint(0); ; shift += 7 { 28761 if shift >= 64 { 28762 return ErrIntOverflowPlan 28763 } 28764 if iNdEx >= l { 28765 return io.ErrUnexpectedEOF 28766 } 28767 b := dAtA[iNdEx] 28768 iNdEx++ 28769 stringLen |= uint64(b&0x7F) << shift 28770 if b < 0x80 { 28771 break 28772 } 28773 } 28774 intStringLen := int(stringLen) 28775 if intStringLen < 0 { 28776 return ErrInvalidLengthPlan 28777 } 28778 postIndex := iNdEx + intStringLen 28779 if postIndex < 0 { 28780 return ErrInvalidLengthPlan 28781 } 28782 if postIndex > l { 28783 return io.ErrUnexpectedEOF 28784 } 28785 m.AccountName = string(dAtA[iNdEx:postIndex]) 28786 iNdEx = postIndex 28787 case 5: 28788 if wireType != 2 { 28789 return fmt.Errorf("proto: wrong wireType = %d for field SubName", wireType) 28790 } 28791 var stringLen uint64 28792 for shift := uint(0); ; shift += 7 { 28793 if shift >= 64 { 28794 return ErrIntOverflowPlan 28795 } 28796 if iNdEx >= l { 28797 return io.ErrUnexpectedEOF 28798 } 28799 b := dAtA[iNdEx] 28800 iNdEx++ 28801 stringLen |= uint64(b&0x7F) << shift 28802 if b < 0x80 { 28803 break 28804 } 28805 } 28806 intStringLen := int(stringLen) 28807 if intStringLen < 0 { 28808 return ErrInvalidLengthPlan 28809 } 28810 postIndex := iNdEx + intStringLen 28811 if postIndex < 0 { 28812 return ErrInvalidLengthPlan 28813 } 28814 if postIndex > l { 28815 return io.ErrUnexpectedEOF 28816 } 28817 m.SubName = string(dAtA[iNdEx:postIndex]) 28818 iNdEx = postIndex 28819 default: 28820 iNdEx = preIndex 28821 skippy, err := skipPlan(dAtA[iNdEx:]) 28822 if err != nil { 28823 return err 28824 } 28825 if (skippy < 0) || (iNdEx+skippy) < 0 { 28826 return ErrInvalidLengthPlan 28827 } 28828 if (iNdEx + skippy) > l { 28829 return io.ErrUnexpectedEOF 28830 } 28831 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 28832 iNdEx += skippy 28833 } 28834 } 28835 28836 if iNdEx > l { 28837 return io.ErrUnexpectedEOF 28838 } 28839 return nil 28840 } 28841 func (m *Function) Unmarshal(dAtA []byte) error { 28842 l := len(dAtA) 28843 iNdEx := 0 28844 for iNdEx < l { 28845 preIndex := iNdEx 28846 var wire uint64 28847 for shift := uint(0); ; shift += 7 { 28848 if shift >= 64 { 28849 return ErrIntOverflowPlan 28850 } 28851 if iNdEx >= l { 28852 return io.ErrUnexpectedEOF 28853 } 28854 b := dAtA[iNdEx] 28855 iNdEx++ 28856 wire |= uint64(b&0x7F) << shift 28857 if b < 0x80 { 28858 break 28859 } 28860 } 28861 fieldNum := int32(wire >> 3) 28862 wireType := int(wire & 0x7) 28863 if wireType == 4 { 28864 return fmt.Errorf("proto: Function: wiretype end group for non-group") 28865 } 28866 if fieldNum <= 0 { 28867 return fmt.Errorf("proto: Function: illegal tag %d (wire type %d)", fieldNum, wire) 28868 } 28869 switch fieldNum { 28870 case 1: 28871 if wireType != 2 { 28872 return fmt.Errorf("proto: wrong wireType = %d for field Func", wireType) 28873 } 28874 var msglen int 28875 for shift := uint(0); ; shift += 7 { 28876 if shift >= 64 { 28877 return ErrIntOverflowPlan 28878 } 28879 if iNdEx >= l { 28880 return io.ErrUnexpectedEOF 28881 } 28882 b := dAtA[iNdEx] 28883 iNdEx++ 28884 msglen |= int(b&0x7F) << shift 28885 if b < 0x80 { 28886 break 28887 } 28888 } 28889 if msglen < 0 { 28890 return ErrInvalidLengthPlan 28891 } 28892 postIndex := iNdEx + msglen 28893 if postIndex < 0 { 28894 return ErrInvalidLengthPlan 28895 } 28896 if postIndex > l { 28897 return io.ErrUnexpectedEOF 28898 } 28899 if m.Func == nil { 28900 m.Func = &ObjectRef{} 28901 } 28902 if err := m.Func.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 28903 return err 28904 } 28905 iNdEx = postIndex 28906 case 2: 28907 if wireType != 2 { 28908 return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType) 28909 } 28910 var msglen int 28911 for shift := uint(0); ; shift += 7 { 28912 if shift >= 64 { 28913 return ErrIntOverflowPlan 28914 } 28915 if iNdEx >= l { 28916 return io.ErrUnexpectedEOF 28917 } 28918 b := dAtA[iNdEx] 28919 iNdEx++ 28920 msglen |= int(b&0x7F) << shift 28921 if b < 0x80 { 28922 break 28923 } 28924 } 28925 if msglen < 0 { 28926 return ErrInvalidLengthPlan 28927 } 28928 postIndex := iNdEx + msglen 28929 if postIndex < 0 { 28930 return ErrInvalidLengthPlan 28931 } 28932 if postIndex > l { 28933 return io.ErrUnexpectedEOF 28934 } 28935 m.Args = append(m.Args, &Expr{}) 28936 if err := m.Args[len(m.Args)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 28937 return err 28938 } 28939 iNdEx = postIndex 28940 default: 28941 iNdEx = preIndex 28942 skippy, err := skipPlan(dAtA[iNdEx:]) 28943 if err != nil { 28944 return err 28945 } 28946 if (skippy < 0) || (iNdEx+skippy) < 0 { 28947 return ErrInvalidLengthPlan 28948 } 28949 if (iNdEx + skippy) > l { 28950 return io.ErrUnexpectedEOF 28951 } 28952 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 28953 iNdEx += skippy 28954 } 28955 } 28956 28957 if iNdEx > l { 28958 return io.ErrUnexpectedEOF 28959 } 28960 return nil 28961 } 28962 func (m *Expr) Unmarshal(dAtA []byte) error { 28963 l := len(dAtA) 28964 iNdEx := 0 28965 for iNdEx < l { 28966 preIndex := iNdEx 28967 var wire uint64 28968 for shift := uint(0); ; shift += 7 { 28969 if shift >= 64 { 28970 return ErrIntOverflowPlan 28971 } 28972 if iNdEx >= l { 28973 return io.ErrUnexpectedEOF 28974 } 28975 b := dAtA[iNdEx] 28976 iNdEx++ 28977 wire |= uint64(b&0x7F) << shift 28978 if b < 0x80 { 28979 break 28980 } 28981 } 28982 fieldNum := int32(wire >> 3) 28983 wireType := int(wire & 0x7) 28984 if wireType == 4 { 28985 return fmt.Errorf("proto: Expr: wiretype end group for non-group") 28986 } 28987 if fieldNum <= 0 { 28988 return fmt.Errorf("proto: Expr: illegal tag %d (wire type %d)", fieldNum, wire) 28989 } 28990 switch fieldNum { 28991 case 1: 28992 if wireType != 2 { 28993 return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType) 28994 } 28995 var msglen int 28996 for shift := uint(0); ; shift += 7 { 28997 if shift >= 64 { 28998 return ErrIntOverflowPlan 28999 } 29000 if iNdEx >= l { 29001 return io.ErrUnexpectedEOF 29002 } 29003 b := dAtA[iNdEx] 29004 iNdEx++ 29005 msglen |= int(b&0x7F) << shift 29006 if b < 0x80 { 29007 break 29008 } 29009 } 29010 if msglen < 0 { 29011 return ErrInvalidLengthPlan 29012 } 29013 postIndex := iNdEx + msglen 29014 if postIndex < 0 { 29015 return ErrInvalidLengthPlan 29016 } 29017 if postIndex > l { 29018 return io.ErrUnexpectedEOF 29019 } 29020 if err := m.Typ.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29021 return err 29022 } 29023 iNdEx = postIndex 29024 case 2: 29025 if wireType != 2 { 29026 return fmt.Errorf("proto: wrong wireType = %d for field Lit", wireType) 29027 } 29028 var msglen int 29029 for shift := uint(0); ; shift += 7 { 29030 if shift >= 64 { 29031 return ErrIntOverflowPlan 29032 } 29033 if iNdEx >= l { 29034 return io.ErrUnexpectedEOF 29035 } 29036 b := dAtA[iNdEx] 29037 iNdEx++ 29038 msglen |= int(b&0x7F) << shift 29039 if b < 0x80 { 29040 break 29041 } 29042 } 29043 if msglen < 0 { 29044 return ErrInvalidLengthPlan 29045 } 29046 postIndex := iNdEx + msglen 29047 if postIndex < 0 { 29048 return ErrInvalidLengthPlan 29049 } 29050 if postIndex > l { 29051 return io.ErrUnexpectedEOF 29052 } 29053 v := &Literal{} 29054 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29055 return err 29056 } 29057 m.Expr = &Expr_Lit{v} 29058 iNdEx = postIndex 29059 case 3: 29060 if wireType != 2 { 29061 return fmt.Errorf("proto: wrong wireType = %d for field P", wireType) 29062 } 29063 var msglen int 29064 for shift := uint(0); ; shift += 7 { 29065 if shift >= 64 { 29066 return ErrIntOverflowPlan 29067 } 29068 if iNdEx >= l { 29069 return io.ErrUnexpectedEOF 29070 } 29071 b := dAtA[iNdEx] 29072 iNdEx++ 29073 msglen |= int(b&0x7F) << shift 29074 if b < 0x80 { 29075 break 29076 } 29077 } 29078 if msglen < 0 { 29079 return ErrInvalidLengthPlan 29080 } 29081 postIndex := iNdEx + msglen 29082 if postIndex < 0 { 29083 return ErrInvalidLengthPlan 29084 } 29085 if postIndex > l { 29086 return io.ErrUnexpectedEOF 29087 } 29088 v := &ParamRef{} 29089 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29090 return err 29091 } 29092 m.Expr = &Expr_P{v} 29093 iNdEx = postIndex 29094 case 4: 29095 if wireType != 2 { 29096 return fmt.Errorf("proto: wrong wireType = %d for field V", wireType) 29097 } 29098 var msglen int 29099 for shift := uint(0); ; shift += 7 { 29100 if shift >= 64 { 29101 return ErrIntOverflowPlan 29102 } 29103 if iNdEx >= l { 29104 return io.ErrUnexpectedEOF 29105 } 29106 b := dAtA[iNdEx] 29107 iNdEx++ 29108 msglen |= int(b&0x7F) << shift 29109 if b < 0x80 { 29110 break 29111 } 29112 } 29113 if msglen < 0 { 29114 return ErrInvalidLengthPlan 29115 } 29116 postIndex := iNdEx + msglen 29117 if postIndex < 0 { 29118 return ErrInvalidLengthPlan 29119 } 29120 if postIndex > l { 29121 return io.ErrUnexpectedEOF 29122 } 29123 v := &VarRef{} 29124 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29125 return err 29126 } 29127 m.Expr = &Expr_V{v} 29128 iNdEx = postIndex 29129 case 5: 29130 if wireType != 2 { 29131 return fmt.Errorf("proto: wrong wireType = %d for field Col", wireType) 29132 } 29133 var msglen int 29134 for shift := uint(0); ; shift += 7 { 29135 if shift >= 64 { 29136 return ErrIntOverflowPlan 29137 } 29138 if iNdEx >= l { 29139 return io.ErrUnexpectedEOF 29140 } 29141 b := dAtA[iNdEx] 29142 iNdEx++ 29143 msglen |= int(b&0x7F) << shift 29144 if b < 0x80 { 29145 break 29146 } 29147 } 29148 if msglen < 0 { 29149 return ErrInvalidLengthPlan 29150 } 29151 postIndex := iNdEx + msglen 29152 if postIndex < 0 { 29153 return ErrInvalidLengthPlan 29154 } 29155 if postIndex > l { 29156 return io.ErrUnexpectedEOF 29157 } 29158 v := &ColRef{} 29159 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29160 return err 29161 } 29162 m.Expr = &Expr_Col{v} 29163 iNdEx = postIndex 29164 case 6: 29165 if wireType != 2 { 29166 return fmt.Errorf("proto: wrong wireType = %d for field Raw", wireType) 29167 } 29168 var msglen int 29169 for shift := uint(0); ; shift += 7 { 29170 if shift >= 64 { 29171 return ErrIntOverflowPlan 29172 } 29173 if iNdEx >= l { 29174 return io.ErrUnexpectedEOF 29175 } 29176 b := dAtA[iNdEx] 29177 iNdEx++ 29178 msglen |= int(b&0x7F) << shift 29179 if b < 0x80 { 29180 break 29181 } 29182 } 29183 if msglen < 0 { 29184 return ErrInvalidLengthPlan 29185 } 29186 postIndex := iNdEx + msglen 29187 if postIndex < 0 { 29188 return ErrInvalidLengthPlan 29189 } 29190 if postIndex > l { 29191 return io.ErrUnexpectedEOF 29192 } 29193 v := &RawColRef{} 29194 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29195 return err 29196 } 29197 m.Expr = &Expr_Raw{v} 29198 iNdEx = postIndex 29199 case 7: 29200 if wireType != 2 { 29201 return fmt.Errorf("proto: wrong wireType = %d for field F", wireType) 29202 } 29203 var msglen int 29204 for shift := uint(0); ; shift += 7 { 29205 if shift >= 64 { 29206 return ErrIntOverflowPlan 29207 } 29208 if iNdEx >= l { 29209 return io.ErrUnexpectedEOF 29210 } 29211 b := dAtA[iNdEx] 29212 iNdEx++ 29213 msglen |= int(b&0x7F) << shift 29214 if b < 0x80 { 29215 break 29216 } 29217 } 29218 if msglen < 0 { 29219 return ErrInvalidLengthPlan 29220 } 29221 postIndex := iNdEx + msglen 29222 if postIndex < 0 { 29223 return ErrInvalidLengthPlan 29224 } 29225 if postIndex > l { 29226 return io.ErrUnexpectedEOF 29227 } 29228 v := &Function{} 29229 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29230 return err 29231 } 29232 m.Expr = &Expr_F{v} 29233 iNdEx = postIndex 29234 case 8: 29235 if wireType != 2 { 29236 return fmt.Errorf("proto: wrong wireType = %d for field W", wireType) 29237 } 29238 var msglen int 29239 for shift := uint(0); ; shift += 7 { 29240 if shift >= 64 { 29241 return ErrIntOverflowPlan 29242 } 29243 if iNdEx >= l { 29244 return io.ErrUnexpectedEOF 29245 } 29246 b := dAtA[iNdEx] 29247 iNdEx++ 29248 msglen |= int(b&0x7F) << shift 29249 if b < 0x80 { 29250 break 29251 } 29252 } 29253 if msglen < 0 { 29254 return ErrInvalidLengthPlan 29255 } 29256 postIndex := iNdEx + msglen 29257 if postIndex < 0 { 29258 return ErrInvalidLengthPlan 29259 } 29260 if postIndex > l { 29261 return io.ErrUnexpectedEOF 29262 } 29263 v := &WindowSpec{} 29264 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29265 return err 29266 } 29267 m.Expr = &Expr_W{v} 29268 iNdEx = postIndex 29269 case 9: 29270 if wireType != 2 { 29271 return fmt.Errorf("proto: wrong wireType = %d for field Sub", wireType) 29272 } 29273 var msglen int 29274 for shift := uint(0); ; shift += 7 { 29275 if shift >= 64 { 29276 return ErrIntOverflowPlan 29277 } 29278 if iNdEx >= l { 29279 return io.ErrUnexpectedEOF 29280 } 29281 b := dAtA[iNdEx] 29282 iNdEx++ 29283 msglen |= int(b&0x7F) << shift 29284 if b < 0x80 { 29285 break 29286 } 29287 } 29288 if msglen < 0 { 29289 return ErrInvalidLengthPlan 29290 } 29291 postIndex := iNdEx + msglen 29292 if postIndex < 0 { 29293 return ErrInvalidLengthPlan 29294 } 29295 if postIndex > l { 29296 return io.ErrUnexpectedEOF 29297 } 29298 v := &SubqueryRef{} 29299 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29300 return err 29301 } 29302 m.Expr = &Expr_Sub{v} 29303 iNdEx = postIndex 29304 case 10: 29305 if wireType != 2 { 29306 return fmt.Errorf("proto: wrong wireType = %d for field Corr", wireType) 29307 } 29308 var msglen int 29309 for shift := uint(0); ; shift += 7 { 29310 if shift >= 64 { 29311 return ErrIntOverflowPlan 29312 } 29313 if iNdEx >= l { 29314 return io.ErrUnexpectedEOF 29315 } 29316 b := dAtA[iNdEx] 29317 iNdEx++ 29318 msglen |= int(b&0x7F) << shift 29319 if b < 0x80 { 29320 break 29321 } 29322 } 29323 if msglen < 0 { 29324 return ErrInvalidLengthPlan 29325 } 29326 postIndex := iNdEx + msglen 29327 if postIndex < 0 { 29328 return ErrInvalidLengthPlan 29329 } 29330 if postIndex > l { 29331 return io.ErrUnexpectedEOF 29332 } 29333 v := &CorrColRef{} 29334 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29335 return err 29336 } 29337 m.Expr = &Expr_Corr{v} 29338 iNdEx = postIndex 29339 case 11: 29340 if wireType != 2 { 29341 return fmt.Errorf("proto: wrong wireType = %d for field T", wireType) 29342 } 29343 var msglen int 29344 for shift := uint(0); ; shift += 7 { 29345 if shift >= 64 { 29346 return ErrIntOverflowPlan 29347 } 29348 if iNdEx >= l { 29349 return io.ErrUnexpectedEOF 29350 } 29351 b := dAtA[iNdEx] 29352 iNdEx++ 29353 msglen |= int(b&0x7F) << shift 29354 if b < 0x80 { 29355 break 29356 } 29357 } 29358 if msglen < 0 { 29359 return ErrInvalidLengthPlan 29360 } 29361 postIndex := iNdEx + msglen 29362 if postIndex < 0 { 29363 return ErrInvalidLengthPlan 29364 } 29365 if postIndex > l { 29366 return io.ErrUnexpectedEOF 29367 } 29368 v := &TargetType{} 29369 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29370 return err 29371 } 29372 m.Expr = &Expr_T{v} 29373 iNdEx = postIndex 29374 case 12: 29375 if wireType != 2 { 29376 return fmt.Errorf("proto: wrong wireType = %d for field List", wireType) 29377 } 29378 var msglen int 29379 for shift := uint(0); ; shift += 7 { 29380 if shift >= 64 { 29381 return ErrIntOverflowPlan 29382 } 29383 if iNdEx >= l { 29384 return io.ErrUnexpectedEOF 29385 } 29386 b := dAtA[iNdEx] 29387 iNdEx++ 29388 msglen |= int(b&0x7F) << shift 29389 if b < 0x80 { 29390 break 29391 } 29392 } 29393 if msglen < 0 { 29394 return ErrInvalidLengthPlan 29395 } 29396 postIndex := iNdEx + msglen 29397 if postIndex < 0 { 29398 return ErrInvalidLengthPlan 29399 } 29400 if postIndex > l { 29401 return io.ErrUnexpectedEOF 29402 } 29403 v := &ExprList{} 29404 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29405 return err 29406 } 29407 m.Expr = &Expr_List{v} 29408 iNdEx = postIndex 29409 case 13: 29410 if wireType != 2 { 29411 return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType) 29412 } 29413 var msglen int 29414 for shift := uint(0); ; shift += 7 { 29415 if shift >= 64 { 29416 return ErrIntOverflowPlan 29417 } 29418 if iNdEx >= l { 29419 return io.ErrUnexpectedEOF 29420 } 29421 b := dAtA[iNdEx] 29422 iNdEx++ 29423 msglen |= int(b&0x7F) << shift 29424 if b < 0x80 { 29425 break 29426 } 29427 } 29428 if msglen < 0 { 29429 return ErrInvalidLengthPlan 29430 } 29431 postIndex := iNdEx + msglen 29432 if postIndex < 0 { 29433 return ErrInvalidLengthPlan 29434 } 29435 if postIndex > l { 29436 return io.ErrUnexpectedEOF 29437 } 29438 v := &MaxValue{} 29439 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29440 return err 29441 } 29442 m.Expr = &Expr_Max{v} 29443 iNdEx = postIndex 29444 case 14: 29445 if wireType != 2 { 29446 return fmt.Errorf("proto: wrong wireType = %d for field Vec", wireType) 29447 } 29448 var msglen int 29449 for shift := uint(0); ; shift += 7 { 29450 if shift >= 64 { 29451 return ErrIntOverflowPlan 29452 } 29453 if iNdEx >= l { 29454 return io.ErrUnexpectedEOF 29455 } 29456 b := dAtA[iNdEx] 29457 iNdEx++ 29458 msglen |= int(b&0x7F) << shift 29459 if b < 0x80 { 29460 break 29461 } 29462 } 29463 if msglen < 0 { 29464 return ErrInvalidLengthPlan 29465 } 29466 postIndex := iNdEx + msglen 29467 if postIndex < 0 { 29468 return ErrInvalidLengthPlan 29469 } 29470 if postIndex > l { 29471 return io.ErrUnexpectedEOF 29472 } 29473 v := &LiteralVec{} 29474 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29475 return err 29476 } 29477 m.Expr = &Expr_Vec{v} 29478 iNdEx = postIndex 29479 case 15: 29480 if wireType != 0 { 29481 return fmt.Errorf("proto: wrong wireType = %d for field AuxId", wireType) 29482 } 29483 m.AuxId = 0 29484 for shift := uint(0); ; shift += 7 { 29485 if shift >= 64 { 29486 return ErrIntOverflowPlan 29487 } 29488 if iNdEx >= l { 29489 return io.ErrUnexpectedEOF 29490 } 29491 b := dAtA[iNdEx] 29492 iNdEx++ 29493 m.AuxId |= int32(b&0x7F) << shift 29494 if b < 0x80 { 29495 break 29496 } 29497 } 29498 case 16: 29499 if wireType != 1 { 29500 return fmt.Errorf("proto: wrong wireType = %d for field Ndv", wireType) 29501 } 29502 var v uint64 29503 if (iNdEx + 8) > l { 29504 return io.ErrUnexpectedEOF 29505 } 29506 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 29507 iNdEx += 8 29508 m.Ndv = float64(math.Float64frombits(v)) 29509 case 17: 29510 if wireType != 1 { 29511 return fmt.Errorf("proto: wrong wireType = %d for field Selectivity", wireType) 29512 } 29513 var v uint64 29514 if (iNdEx + 8) > l { 29515 return io.ErrUnexpectedEOF 29516 } 29517 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 29518 iNdEx += 8 29519 m.Selectivity = float64(math.Float64frombits(v)) 29520 default: 29521 iNdEx = preIndex 29522 skippy, err := skipPlan(dAtA[iNdEx:]) 29523 if err != nil { 29524 return err 29525 } 29526 if (skippy < 0) || (iNdEx+skippy) < 0 { 29527 return ErrInvalidLengthPlan 29528 } 29529 if (iNdEx + skippy) > l { 29530 return io.ErrUnexpectedEOF 29531 } 29532 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 29533 iNdEx += skippy 29534 } 29535 } 29536 29537 if iNdEx > l { 29538 return io.ErrUnexpectedEOF 29539 } 29540 return nil 29541 } 29542 func (m *LiteralVec) Unmarshal(dAtA []byte) error { 29543 l := len(dAtA) 29544 iNdEx := 0 29545 for iNdEx < l { 29546 preIndex := iNdEx 29547 var wire uint64 29548 for shift := uint(0); ; shift += 7 { 29549 if shift >= 64 { 29550 return ErrIntOverflowPlan 29551 } 29552 if iNdEx >= l { 29553 return io.ErrUnexpectedEOF 29554 } 29555 b := dAtA[iNdEx] 29556 iNdEx++ 29557 wire |= uint64(b&0x7F) << shift 29558 if b < 0x80 { 29559 break 29560 } 29561 } 29562 fieldNum := int32(wire >> 3) 29563 wireType := int(wire & 0x7) 29564 if wireType == 4 { 29565 return fmt.Errorf("proto: LiteralVec: wiretype end group for non-group") 29566 } 29567 if fieldNum <= 0 { 29568 return fmt.Errorf("proto: LiteralVec: illegal tag %d (wire type %d)", fieldNum, wire) 29569 } 29570 switch fieldNum { 29571 case 1: 29572 if wireType != 0 { 29573 return fmt.Errorf("proto: wrong wireType = %d for field Len", wireType) 29574 } 29575 m.Len = 0 29576 for shift := uint(0); ; shift += 7 { 29577 if shift >= 64 { 29578 return ErrIntOverflowPlan 29579 } 29580 if iNdEx >= l { 29581 return io.ErrUnexpectedEOF 29582 } 29583 b := dAtA[iNdEx] 29584 iNdEx++ 29585 m.Len |= int32(b&0x7F) << shift 29586 if b < 0x80 { 29587 break 29588 } 29589 } 29590 case 2: 29591 if wireType != 2 { 29592 return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) 29593 } 29594 var byteLen int 29595 for shift := uint(0); ; shift += 7 { 29596 if shift >= 64 { 29597 return ErrIntOverflowPlan 29598 } 29599 if iNdEx >= l { 29600 return io.ErrUnexpectedEOF 29601 } 29602 b := dAtA[iNdEx] 29603 iNdEx++ 29604 byteLen |= int(b&0x7F) << shift 29605 if b < 0x80 { 29606 break 29607 } 29608 } 29609 if byteLen < 0 { 29610 return ErrInvalidLengthPlan 29611 } 29612 postIndex := iNdEx + byteLen 29613 if postIndex < 0 { 29614 return ErrInvalidLengthPlan 29615 } 29616 if postIndex > l { 29617 return io.ErrUnexpectedEOF 29618 } 29619 m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) 29620 if m.Data == nil { 29621 m.Data = []byte{} 29622 } 29623 iNdEx = postIndex 29624 default: 29625 iNdEx = preIndex 29626 skippy, err := skipPlan(dAtA[iNdEx:]) 29627 if err != nil { 29628 return err 29629 } 29630 if (skippy < 0) || (iNdEx+skippy) < 0 { 29631 return ErrInvalidLengthPlan 29632 } 29633 if (iNdEx + skippy) > l { 29634 return io.ErrUnexpectedEOF 29635 } 29636 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 29637 iNdEx += skippy 29638 } 29639 } 29640 29641 if iNdEx > l { 29642 return io.ErrUnexpectedEOF 29643 } 29644 return nil 29645 } 29646 func (m *Decimal64) Unmarshal(dAtA []byte) error { 29647 l := len(dAtA) 29648 iNdEx := 0 29649 for iNdEx < l { 29650 preIndex := iNdEx 29651 var wire uint64 29652 for shift := uint(0); ; shift += 7 { 29653 if shift >= 64 { 29654 return ErrIntOverflowPlan 29655 } 29656 if iNdEx >= l { 29657 return io.ErrUnexpectedEOF 29658 } 29659 b := dAtA[iNdEx] 29660 iNdEx++ 29661 wire |= uint64(b&0x7F) << shift 29662 if b < 0x80 { 29663 break 29664 } 29665 } 29666 fieldNum := int32(wire >> 3) 29667 wireType := int(wire & 0x7) 29668 if wireType == 4 { 29669 return fmt.Errorf("proto: decimal64: wiretype end group for non-group") 29670 } 29671 if fieldNum <= 0 { 29672 return fmt.Errorf("proto: decimal64: illegal tag %d (wire type %d)", fieldNum, wire) 29673 } 29674 switch fieldNum { 29675 case 1: 29676 if wireType != 0 { 29677 return fmt.Errorf("proto: wrong wireType = %d for field A", wireType) 29678 } 29679 m.A = 0 29680 for shift := uint(0); ; shift += 7 { 29681 if shift >= 64 { 29682 return ErrIntOverflowPlan 29683 } 29684 if iNdEx >= l { 29685 return io.ErrUnexpectedEOF 29686 } 29687 b := dAtA[iNdEx] 29688 iNdEx++ 29689 m.A |= int64(b&0x7F) << shift 29690 if b < 0x80 { 29691 break 29692 } 29693 } 29694 default: 29695 iNdEx = preIndex 29696 skippy, err := skipPlan(dAtA[iNdEx:]) 29697 if err != nil { 29698 return err 29699 } 29700 if (skippy < 0) || (iNdEx+skippy) < 0 { 29701 return ErrInvalidLengthPlan 29702 } 29703 if (iNdEx + skippy) > l { 29704 return io.ErrUnexpectedEOF 29705 } 29706 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 29707 iNdEx += skippy 29708 } 29709 } 29710 29711 if iNdEx > l { 29712 return io.ErrUnexpectedEOF 29713 } 29714 return nil 29715 } 29716 func (m *Decimal128) Unmarshal(dAtA []byte) error { 29717 l := len(dAtA) 29718 iNdEx := 0 29719 for iNdEx < l { 29720 preIndex := iNdEx 29721 var wire uint64 29722 for shift := uint(0); ; shift += 7 { 29723 if shift >= 64 { 29724 return ErrIntOverflowPlan 29725 } 29726 if iNdEx >= l { 29727 return io.ErrUnexpectedEOF 29728 } 29729 b := dAtA[iNdEx] 29730 iNdEx++ 29731 wire |= uint64(b&0x7F) << shift 29732 if b < 0x80 { 29733 break 29734 } 29735 } 29736 fieldNum := int32(wire >> 3) 29737 wireType := int(wire & 0x7) 29738 if wireType == 4 { 29739 return fmt.Errorf("proto: decimal128: wiretype end group for non-group") 29740 } 29741 if fieldNum <= 0 { 29742 return fmt.Errorf("proto: decimal128: illegal tag %d (wire type %d)", fieldNum, wire) 29743 } 29744 switch fieldNum { 29745 case 1: 29746 if wireType != 0 { 29747 return fmt.Errorf("proto: wrong wireType = %d for field A", wireType) 29748 } 29749 m.A = 0 29750 for shift := uint(0); ; shift += 7 { 29751 if shift >= 64 { 29752 return ErrIntOverflowPlan 29753 } 29754 if iNdEx >= l { 29755 return io.ErrUnexpectedEOF 29756 } 29757 b := dAtA[iNdEx] 29758 iNdEx++ 29759 m.A |= int64(b&0x7F) << shift 29760 if b < 0x80 { 29761 break 29762 } 29763 } 29764 case 2: 29765 if wireType != 0 { 29766 return fmt.Errorf("proto: wrong wireType = %d for field B", wireType) 29767 } 29768 m.B = 0 29769 for shift := uint(0); ; shift += 7 { 29770 if shift >= 64 { 29771 return ErrIntOverflowPlan 29772 } 29773 if iNdEx >= l { 29774 return io.ErrUnexpectedEOF 29775 } 29776 b := dAtA[iNdEx] 29777 iNdEx++ 29778 m.B |= int64(b&0x7F) << shift 29779 if b < 0x80 { 29780 break 29781 } 29782 } 29783 default: 29784 iNdEx = preIndex 29785 skippy, err := skipPlan(dAtA[iNdEx:]) 29786 if err != nil { 29787 return err 29788 } 29789 if (skippy < 0) || (iNdEx+skippy) < 0 { 29790 return ErrInvalidLengthPlan 29791 } 29792 if (iNdEx + skippy) > l { 29793 return io.ErrUnexpectedEOF 29794 } 29795 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 29796 iNdEx += skippy 29797 } 29798 } 29799 29800 if iNdEx > l { 29801 return io.ErrUnexpectedEOF 29802 } 29803 return nil 29804 } 29805 func (m *ResultColDef) Unmarshal(dAtA []byte) error { 29806 l := len(dAtA) 29807 iNdEx := 0 29808 for iNdEx < l { 29809 preIndex := iNdEx 29810 var wire uint64 29811 for shift := uint(0); ; shift += 7 { 29812 if shift >= 64 { 29813 return ErrIntOverflowPlan 29814 } 29815 if iNdEx >= l { 29816 return io.ErrUnexpectedEOF 29817 } 29818 b := dAtA[iNdEx] 29819 iNdEx++ 29820 wire |= uint64(b&0x7F) << shift 29821 if b < 0x80 { 29822 break 29823 } 29824 } 29825 fieldNum := int32(wire >> 3) 29826 wireType := int(wire & 0x7) 29827 if wireType == 4 { 29828 return fmt.Errorf("proto: ResultColDef: wiretype end group for non-group") 29829 } 29830 if fieldNum <= 0 { 29831 return fmt.Errorf("proto: ResultColDef: illegal tag %d (wire type %d)", fieldNum, wire) 29832 } 29833 switch fieldNum { 29834 case 1: 29835 if wireType != 2 { 29836 return fmt.Errorf("proto: wrong wireType = %d for field ResultCols", wireType) 29837 } 29838 var msglen int 29839 for shift := uint(0); ; shift += 7 { 29840 if shift >= 64 { 29841 return ErrIntOverflowPlan 29842 } 29843 if iNdEx >= l { 29844 return io.ErrUnexpectedEOF 29845 } 29846 b := dAtA[iNdEx] 29847 iNdEx++ 29848 msglen |= int(b&0x7F) << shift 29849 if b < 0x80 { 29850 break 29851 } 29852 } 29853 if msglen < 0 { 29854 return ErrInvalidLengthPlan 29855 } 29856 postIndex := iNdEx + msglen 29857 if postIndex < 0 { 29858 return ErrInvalidLengthPlan 29859 } 29860 if postIndex > l { 29861 return io.ErrUnexpectedEOF 29862 } 29863 m.ResultCols = append(m.ResultCols, &ColDef{}) 29864 if err := m.ResultCols[len(m.ResultCols)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 29865 return err 29866 } 29867 iNdEx = postIndex 29868 default: 29869 iNdEx = preIndex 29870 skippy, err := skipPlan(dAtA[iNdEx:]) 29871 if err != nil { 29872 return err 29873 } 29874 if (skippy < 0) || (iNdEx+skippy) < 0 { 29875 return ErrInvalidLengthPlan 29876 } 29877 if (iNdEx + skippy) > l { 29878 return io.ErrUnexpectedEOF 29879 } 29880 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 29881 iNdEx += skippy 29882 } 29883 } 29884 29885 if iNdEx > l { 29886 return io.ErrUnexpectedEOF 29887 } 29888 return nil 29889 } 29890 func (m *ColDef) Unmarshal(dAtA []byte) error { 29891 l := len(dAtA) 29892 iNdEx := 0 29893 for iNdEx < l { 29894 preIndex := iNdEx 29895 var wire uint64 29896 for shift := uint(0); ; shift += 7 { 29897 if shift >= 64 { 29898 return ErrIntOverflowPlan 29899 } 29900 if iNdEx >= l { 29901 return io.ErrUnexpectedEOF 29902 } 29903 b := dAtA[iNdEx] 29904 iNdEx++ 29905 wire |= uint64(b&0x7F) << shift 29906 if b < 0x80 { 29907 break 29908 } 29909 } 29910 fieldNum := int32(wire >> 3) 29911 wireType := int(wire & 0x7) 29912 if wireType == 4 { 29913 return fmt.Errorf("proto: ColDef: wiretype end group for non-group") 29914 } 29915 if fieldNum <= 0 { 29916 return fmt.Errorf("proto: ColDef: illegal tag %d (wire type %d)", fieldNum, wire) 29917 } 29918 switch fieldNum { 29919 case 1: 29920 if wireType != 0 { 29921 return fmt.Errorf("proto: wrong wireType = %d for field ColId", wireType) 29922 } 29923 m.ColId = 0 29924 for shift := uint(0); ; shift += 7 { 29925 if shift >= 64 { 29926 return ErrIntOverflowPlan 29927 } 29928 if iNdEx >= l { 29929 return io.ErrUnexpectedEOF 29930 } 29931 b := dAtA[iNdEx] 29932 iNdEx++ 29933 m.ColId |= uint64(b&0x7F) << shift 29934 if b < 0x80 { 29935 break 29936 } 29937 } 29938 case 2: 29939 if wireType != 2 { 29940 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 29941 } 29942 var stringLen uint64 29943 for shift := uint(0); ; shift += 7 { 29944 if shift >= 64 { 29945 return ErrIntOverflowPlan 29946 } 29947 if iNdEx >= l { 29948 return io.ErrUnexpectedEOF 29949 } 29950 b := dAtA[iNdEx] 29951 iNdEx++ 29952 stringLen |= uint64(b&0x7F) << shift 29953 if b < 0x80 { 29954 break 29955 } 29956 } 29957 intStringLen := int(stringLen) 29958 if intStringLen < 0 { 29959 return ErrInvalidLengthPlan 29960 } 29961 postIndex := iNdEx + intStringLen 29962 if postIndex < 0 { 29963 return ErrInvalidLengthPlan 29964 } 29965 if postIndex > l { 29966 return io.ErrUnexpectedEOF 29967 } 29968 m.Name = string(dAtA[iNdEx:postIndex]) 29969 iNdEx = postIndex 29970 case 3: 29971 if wireType != 0 { 29972 return fmt.Errorf("proto: wrong wireType = %d for field Hidden", wireType) 29973 } 29974 var v int 29975 for shift := uint(0); ; shift += 7 { 29976 if shift >= 64 { 29977 return ErrIntOverflowPlan 29978 } 29979 if iNdEx >= l { 29980 return io.ErrUnexpectedEOF 29981 } 29982 b := dAtA[iNdEx] 29983 iNdEx++ 29984 v |= int(b&0x7F) << shift 29985 if b < 0x80 { 29986 break 29987 } 29988 } 29989 m.Hidden = bool(v != 0) 29990 case 4: 29991 if wireType != 0 { 29992 return fmt.Errorf("proto: wrong wireType = %d for field Alg", wireType) 29993 } 29994 m.Alg = 0 29995 for shift := uint(0); ; shift += 7 { 29996 if shift >= 64 { 29997 return ErrIntOverflowPlan 29998 } 29999 if iNdEx >= l { 30000 return io.ErrUnexpectedEOF 30001 } 30002 b := dAtA[iNdEx] 30003 iNdEx++ 30004 m.Alg |= CompressType(b&0x7F) << shift 30005 if b < 0x80 { 30006 break 30007 } 30008 } 30009 case 5: 30010 if wireType != 2 { 30011 return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType) 30012 } 30013 var msglen int 30014 for shift := uint(0); ; shift += 7 { 30015 if shift >= 64 { 30016 return ErrIntOverflowPlan 30017 } 30018 if iNdEx >= l { 30019 return io.ErrUnexpectedEOF 30020 } 30021 b := dAtA[iNdEx] 30022 iNdEx++ 30023 msglen |= int(b&0x7F) << shift 30024 if b < 0x80 { 30025 break 30026 } 30027 } 30028 if msglen < 0 { 30029 return ErrInvalidLengthPlan 30030 } 30031 postIndex := iNdEx + msglen 30032 if postIndex < 0 { 30033 return ErrInvalidLengthPlan 30034 } 30035 if postIndex > l { 30036 return io.ErrUnexpectedEOF 30037 } 30038 if err := m.Typ.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 30039 return err 30040 } 30041 iNdEx = postIndex 30042 case 6: 30043 if wireType != 0 { 30044 return fmt.Errorf("proto: wrong wireType = %d for field NotNull", wireType) 30045 } 30046 var v int 30047 for shift := uint(0); ; shift += 7 { 30048 if shift >= 64 { 30049 return ErrIntOverflowPlan 30050 } 30051 if iNdEx >= l { 30052 return io.ErrUnexpectedEOF 30053 } 30054 b := dAtA[iNdEx] 30055 iNdEx++ 30056 v |= int(b&0x7F) << shift 30057 if b < 0x80 { 30058 break 30059 } 30060 } 30061 m.NotNull = bool(v != 0) 30062 case 7: 30063 if wireType != 2 { 30064 return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType) 30065 } 30066 var msglen int 30067 for shift := uint(0); ; shift += 7 { 30068 if shift >= 64 { 30069 return ErrIntOverflowPlan 30070 } 30071 if iNdEx >= l { 30072 return io.ErrUnexpectedEOF 30073 } 30074 b := dAtA[iNdEx] 30075 iNdEx++ 30076 msglen |= int(b&0x7F) << shift 30077 if b < 0x80 { 30078 break 30079 } 30080 } 30081 if msglen < 0 { 30082 return ErrInvalidLengthPlan 30083 } 30084 postIndex := iNdEx + msglen 30085 if postIndex < 0 { 30086 return ErrInvalidLengthPlan 30087 } 30088 if postIndex > l { 30089 return io.ErrUnexpectedEOF 30090 } 30091 if m.Default == nil { 30092 m.Default = &Default{} 30093 } 30094 if err := m.Default.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 30095 return err 30096 } 30097 iNdEx = postIndex 30098 case 8: 30099 if wireType != 2 { 30100 return fmt.Errorf("proto: wrong wireType = %d for field Comment", wireType) 30101 } 30102 var stringLen uint64 30103 for shift := uint(0); ; shift += 7 { 30104 if shift >= 64 { 30105 return ErrIntOverflowPlan 30106 } 30107 if iNdEx >= l { 30108 return io.ErrUnexpectedEOF 30109 } 30110 b := dAtA[iNdEx] 30111 iNdEx++ 30112 stringLen |= uint64(b&0x7F) << shift 30113 if b < 0x80 { 30114 break 30115 } 30116 } 30117 intStringLen := int(stringLen) 30118 if intStringLen < 0 { 30119 return ErrInvalidLengthPlan 30120 } 30121 postIndex := iNdEx + intStringLen 30122 if postIndex < 0 { 30123 return ErrInvalidLengthPlan 30124 } 30125 if postIndex > l { 30126 return io.ErrUnexpectedEOF 30127 } 30128 m.Comment = string(dAtA[iNdEx:postIndex]) 30129 iNdEx = postIndex 30130 case 9: 30131 if wireType != 2 { 30132 return fmt.Errorf("proto: wrong wireType = %d for field OnUpdate", wireType) 30133 } 30134 var msglen int 30135 for shift := uint(0); ; shift += 7 { 30136 if shift >= 64 { 30137 return ErrIntOverflowPlan 30138 } 30139 if iNdEx >= l { 30140 return io.ErrUnexpectedEOF 30141 } 30142 b := dAtA[iNdEx] 30143 iNdEx++ 30144 msglen |= int(b&0x7F) << shift 30145 if b < 0x80 { 30146 break 30147 } 30148 } 30149 if msglen < 0 { 30150 return ErrInvalidLengthPlan 30151 } 30152 postIndex := iNdEx + msglen 30153 if postIndex < 0 { 30154 return ErrInvalidLengthPlan 30155 } 30156 if postIndex > l { 30157 return io.ErrUnexpectedEOF 30158 } 30159 if m.OnUpdate == nil { 30160 m.OnUpdate = &OnUpdate{} 30161 } 30162 if err := m.OnUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 30163 return err 30164 } 30165 iNdEx = postIndex 30166 case 10: 30167 if wireType != 0 { 30168 return fmt.Errorf("proto: wrong wireType = %d for field LowCard", wireType) 30169 } 30170 var v int 30171 for shift := uint(0); ; shift += 7 { 30172 if shift >= 64 { 30173 return ErrIntOverflowPlan 30174 } 30175 if iNdEx >= l { 30176 return io.ErrUnexpectedEOF 30177 } 30178 b := dAtA[iNdEx] 30179 iNdEx++ 30180 v |= int(b&0x7F) << shift 30181 if b < 0x80 { 30182 break 30183 } 30184 } 30185 m.LowCard = bool(v != 0) 30186 case 11: 30187 if wireType != 0 { 30188 return fmt.Errorf("proto: wrong wireType = %d for field Seqnum", wireType) 30189 } 30190 m.Seqnum = 0 30191 for shift := uint(0); ; shift += 7 { 30192 if shift >= 64 { 30193 return ErrIntOverflowPlan 30194 } 30195 if iNdEx >= l { 30196 return io.ErrUnexpectedEOF 30197 } 30198 b := dAtA[iNdEx] 30199 iNdEx++ 30200 m.Seqnum |= uint32(b&0x7F) << shift 30201 if b < 0x80 { 30202 break 30203 } 30204 } 30205 case 12: 30206 if wireType != 0 { 30207 return fmt.Errorf("proto: wrong wireType = %d for field ClusterBy", wireType) 30208 } 30209 var v int 30210 for shift := uint(0); ; shift += 7 { 30211 if shift >= 64 { 30212 return ErrIntOverflowPlan 30213 } 30214 if iNdEx >= l { 30215 return io.ErrUnexpectedEOF 30216 } 30217 b := dAtA[iNdEx] 30218 iNdEx++ 30219 v |= int(b&0x7F) << shift 30220 if b < 0x80 { 30221 break 30222 } 30223 } 30224 m.ClusterBy = bool(v != 0) 30225 case 13: 30226 if wireType != 0 { 30227 return fmt.Errorf("proto: wrong wireType = %d for field Primary", wireType) 30228 } 30229 var v int 30230 for shift := uint(0); ; shift += 7 { 30231 if shift >= 64 { 30232 return ErrIntOverflowPlan 30233 } 30234 if iNdEx >= l { 30235 return io.ErrUnexpectedEOF 30236 } 30237 b := dAtA[iNdEx] 30238 iNdEx++ 30239 v |= int(b&0x7F) << shift 30240 if b < 0x80 { 30241 break 30242 } 30243 } 30244 m.Primary = bool(v != 0) 30245 case 14: 30246 if wireType != 0 { 30247 return fmt.Errorf("proto: wrong wireType = %d for field Pkidx", wireType) 30248 } 30249 m.Pkidx = 0 30250 for shift := uint(0); ; shift += 7 { 30251 if shift >= 64 { 30252 return ErrIntOverflowPlan 30253 } 30254 if iNdEx >= l { 30255 return io.ErrUnexpectedEOF 30256 } 30257 b := dAtA[iNdEx] 30258 iNdEx++ 30259 m.Pkidx |= int32(b&0x7F) << shift 30260 if b < 0x80 { 30261 break 30262 } 30263 } 30264 case 15: 30265 if wireType != 0 { 30266 return fmt.Errorf("proto: wrong wireType = %d for field Headers", wireType) 30267 } 30268 var v int 30269 for shift := uint(0); ; shift += 7 { 30270 if shift >= 64 { 30271 return ErrIntOverflowPlan 30272 } 30273 if iNdEx >= l { 30274 return io.ErrUnexpectedEOF 30275 } 30276 b := dAtA[iNdEx] 30277 iNdEx++ 30278 v |= int(b&0x7F) << shift 30279 if b < 0x80 { 30280 break 30281 } 30282 } 30283 m.Headers = bool(v != 0) 30284 case 16: 30285 if wireType != 2 { 30286 return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) 30287 } 30288 var stringLen uint64 30289 for shift := uint(0); ; shift += 7 { 30290 if shift >= 64 { 30291 return ErrIntOverflowPlan 30292 } 30293 if iNdEx >= l { 30294 return io.ErrUnexpectedEOF 30295 } 30296 b := dAtA[iNdEx] 30297 iNdEx++ 30298 stringLen |= uint64(b&0x7F) << shift 30299 if b < 0x80 { 30300 break 30301 } 30302 } 30303 intStringLen := int(stringLen) 30304 if intStringLen < 0 { 30305 return ErrInvalidLengthPlan 30306 } 30307 postIndex := iNdEx + intStringLen 30308 if postIndex < 0 { 30309 return ErrInvalidLengthPlan 30310 } 30311 if postIndex > l { 30312 return io.ErrUnexpectedEOF 30313 } 30314 m.Header = string(dAtA[iNdEx:postIndex]) 30315 iNdEx = postIndex 30316 case 17: 30317 if wireType != 2 { 30318 return fmt.Errorf("proto: wrong wireType = %d for field TblName", wireType) 30319 } 30320 var stringLen uint64 30321 for shift := uint(0); ; shift += 7 { 30322 if shift >= 64 { 30323 return ErrIntOverflowPlan 30324 } 30325 if iNdEx >= l { 30326 return io.ErrUnexpectedEOF 30327 } 30328 b := dAtA[iNdEx] 30329 iNdEx++ 30330 stringLen |= uint64(b&0x7F) << shift 30331 if b < 0x80 { 30332 break 30333 } 30334 } 30335 intStringLen := int(stringLen) 30336 if intStringLen < 0 { 30337 return ErrInvalidLengthPlan 30338 } 30339 postIndex := iNdEx + intStringLen 30340 if postIndex < 0 { 30341 return ErrInvalidLengthPlan 30342 } 30343 if postIndex > l { 30344 return io.ErrUnexpectedEOF 30345 } 30346 m.TblName = string(dAtA[iNdEx:postIndex]) 30347 iNdEx = postIndex 30348 case 18: 30349 if wireType != 2 { 30350 return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) 30351 } 30352 var stringLen uint64 30353 for shift := uint(0); ; shift += 7 { 30354 if shift >= 64 { 30355 return ErrIntOverflowPlan 30356 } 30357 if iNdEx >= l { 30358 return io.ErrUnexpectedEOF 30359 } 30360 b := dAtA[iNdEx] 30361 iNdEx++ 30362 stringLen |= uint64(b&0x7F) << shift 30363 if b < 0x80 { 30364 break 30365 } 30366 } 30367 intStringLen := int(stringLen) 30368 if intStringLen < 0 { 30369 return ErrInvalidLengthPlan 30370 } 30371 postIndex := iNdEx + intStringLen 30372 if postIndex < 0 { 30373 return ErrInvalidLengthPlan 30374 } 30375 if postIndex > l { 30376 return io.ErrUnexpectedEOF 30377 } 30378 m.DbName = string(dAtA[iNdEx:postIndex]) 30379 iNdEx = postIndex 30380 default: 30381 iNdEx = preIndex 30382 skippy, err := skipPlan(dAtA[iNdEx:]) 30383 if err != nil { 30384 return err 30385 } 30386 if (skippy < 0) || (iNdEx+skippy) < 0 { 30387 return ErrInvalidLengthPlan 30388 } 30389 if (iNdEx + skippy) > l { 30390 return io.ErrUnexpectedEOF 30391 } 30392 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 30393 iNdEx += skippy 30394 } 30395 } 30396 30397 if iNdEx > l { 30398 return io.ErrUnexpectedEOF 30399 } 30400 return nil 30401 } 30402 func (m *Default) Unmarshal(dAtA []byte) error { 30403 l := len(dAtA) 30404 iNdEx := 0 30405 for iNdEx < l { 30406 preIndex := iNdEx 30407 var wire uint64 30408 for shift := uint(0); ; shift += 7 { 30409 if shift >= 64 { 30410 return ErrIntOverflowPlan 30411 } 30412 if iNdEx >= l { 30413 return io.ErrUnexpectedEOF 30414 } 30415 b := dAtA[iNdEx] 30416 iNdEx++ 30417 wire |= uint64(b&0x7F) << shift 30418 if b < 0x80 { 30419 break 30420 } 30421 } 30422 fieldNum := int32(wire >> 3) 30423 wireType := int(wire & 0x7) 30424 if wireType == 4 { 30425 return fmt.Errorf("proto: Default: wiretype end group for non-group") 30426 } 30427 if fieldNum <= 0 { 30428 return fmt.Errorf("proto: Default: illegal tag %d (wire type %d)", fieldNum, wire) 30429 } 30430 switch fieldNum { 30431 case 1: 30432 if wireType != 2 { 30433 return fmt.Errorf("proto: wrong wireType = %d for field Expr", wireType) 30434 } 30435 var msglen int 30436 for shift := uint(0); ; shift += 7 { 30437 if shift >= 64 { 30438 return ErrIntOverflowPlan 30439 } 30440 if iNdEx >= l { 30441 return io.ErrUnexpectedEOF 30442 } 30443 b := dAtA[iNdEx] 30444 iNdEx++ 30445 msglen |= int(b&0x7F) << shift 30446 if b < 0x80 { 30447 break 30448 } 30449 } 30450 if msglen < 0 { 30451 return ErrInvalidLengthPlan 30452 } 30453 postIndex := iNdEx + msglen 30454 if postIndex < 0 { 30455 return ErrInvalidLengthPlan 30456 } 30457 if postIndex > l { 30458 return io.ErrUnexpectedEOF 30459 } 30460 if m.Expr == nil { 30461 m.Expr = &Expr{} 30462 } 30463 if err := m.Expr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 30464 return err 30465 } 30466 iNdEx = postIndex 30467 case 2: 30468 if wireType != 2 { 30469 return fmt.Errorf("proto: wrong wireType = %d for field OriginString", wireType) 30470 } 30471 var stringLen uint64 30472 for shift := uint(0); ; shift += 7 { 30473 if shift >= 64 { 30474 return ErrIntOverflowPlan 30475 } 30476 if iNdEx >= l { 30477 return io.ErrUnexpectedEOF 30478 } 30479 b := dAtA[iNdEx] 30480 iNdEx++ 30481 stringLen |= uint64(b&0x7F) << shift 30482 if b < 0x80 { 30483 break 30484 } 30485 } 30486 intStringLen := int(stringLen) 30487 if intStringLen < 0 { 30488 return ErrInvalidLengthPlan 30489 } 30490 postIndex := iNdEx + intStringLen 30491 if postIndex < 0 { 30492 return ErrInvalidLengthPlan 30493 } 30494 if postIndex > l { 30495 return io.ErrUnexpectedEOF 30496 } 30497 m.OriginString = string(dAtA[iNdEx:postIndex]) 30498 iNdEx = postIndex 30499 case 3: 30500 if wireType != 0 { 30501 return fmt.Errorf("proto: wrong wireType = %d for field NullAbility", wireType) 30502 } 30503 var v int 30504 for shift := uint(0); ; shift += 7 { 30505 if shift >= 64 { 30506 return ErrIntOverflowPlan 30507 } 30508 if iNdEx >= l { 30509 return io.ErrUnexpectedEOF 30510 } 30511 b := dAtA[iNdEx] 30512 iNdEx++ 30513 v |= int(b&0x7F) << shift 30514 if b < 0x80 { 30515 break 30516 } 30517 } 30518 m.NullAbility = bool(v != 0) 30519 default: 30520 iNdEx = preIndex 30521 skippy, err := skipPlan(dAtA[iNdEx:]) 30522 if err != nil { 30523 return err 30524 } 30525 if (skippy < 0) || (iNdEx+skippy) < 0 { 30526 return ErrInvalidLengthPlan 30527 } 30528 if (iNdEx + skippy) > l { 30529 return io.ErrUnexpectedEOF 30530 } 30531 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 30532 iNdEx += skippy 30533 } 30534 } 30535 30536 if iNdEx > l { 30537 return io.ErrUnexpectedEOF 30538 } 30539 return nil 30540 } 30541 func (m *OnUpdate) Unmarshal(dAtA []byte) error { 30542 l := len(dAtA) 30543 iNdEx := 0 30544 for iNdEx < l { 30545 preIndex := iNdEx 30546 var wire uint64 30547 for shift := uint(0); ; shift += 7 { 30548 if shift >= 64 { 30549 return ErrIntOverflowPlan 30550 } 30551 if iNdEx >= l { 30552 return io.ErrUnexpectedEOF 30553 } 30554 b := dAtA[iNdEx] 30555 iNdEx++ 30556 wire |= uint64(b&0x7F) << shift 30557 if b < 0x80 { 30558 break 30559 } 30560 } 30561 fieldNum := int32(wire >> 3) 30562 wireType := int(wire & 0x7) 30563 if wireType == 4 { 30564 return fmt.Errorf("proto: OnUpdate: wiretype end group for non-group") 30565 } 30566 if fieldNum <= 0 { 30567 return fmt.Errorf("proto: OnUpdate: illegal tag %d (wire type %d)", fieldNum, wire) 30568 } 30569 switch fieldNum { 30570 case 1: 30571 if wireType != 2 { 30572 return fmt.Errorf("proto: wrong wireType = %d for field Expr", wireType) 30573 } 30574 var msglen int 30575 for shift := uint(0); ; shift += 7 { 30576 if shift >= 64 { 30577 return ErrIntOverflowPlan 30578 } 30579 if iNdEx >= l { 30580 return io.ErrUnexpectedEOF 30581 } 30582 b := dAtA[iNdEx] 30583 iNdEx++ 30584 msglen |= int(b&0x7F) << shift 30585 if b < 0x80 { 30586 break 30587 } 30588 } 30589 if msglen < 0 { 30590 return ErrInvalidLengthPlan 30591 } 30592 postIndex := iNdEx + msglen 30593 if postIndex < 0 { 30594 return ErrInvalidLengthPlan 30595 } 30596 if postIndex > l { 30597 return io.ErrUnexpectedEOF 30598 } 30599 if m.Expr == nil { 30600 m.Expr = &Expr{} 30601 } 30602 if err := m.Expr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 30603 return err 30604 } 30605 iNdEx = postIndex 30606 case 2: 30607 if wireType != 2 { 30608 return fmt.Errorf("proto: wrong wireType = %d for field OriginString", wireType) 30609 } 30610 var stringLen uint64 30611 for shift := uint(0); ; shift += 7 { 30612 if shift >= 64 { 30613 return ErrIntOverflowPlan 30614 } 30615 if iNdEx >= l { 30616 return io.ErrUnexpectedEOF 30617 } 30618 b := dAtA[iNdEx] 30619 iNdEx++ 30620 stringLen |= uint64(b&0x7F) << shift 30621 if b < 0x80 { 30622 break 30623 } 30624 } 30625 intStringLen := int(stringLen) 30626 if intStringLen < 0 { 30627 return ErrInvalidLengthPlan 30628 } 30629 postIndex := iNdEx + intStringLen 30630 if postIndex < 0 { 30631 return ErrInvalidLengthPlan 30632 } 30633 if postIndex > l { 30634 return io.ErrUnexpectedEOF 30635 } 30636 m.OriginString = string(dAtA[iNdEx:postIndex]) 30637 iNdEx = postIndex 30638 default: 30639 iNdEx = preIndex 30640 skippy, err := skipPlan(dAtA[iNdEx:]) 30641 if err != nil { 30642 return err 30643 } 30644 if (skippy < 0) || (iNdEx+skippy) < 0 { 30645 return ErrInvalidLengthPlan 30646 } 30647 if (iNdEx + skippy) > l { 30648 return io.ErrUnexpectedEOF 30649 } 30650 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 30651 iNdEx += skippy 30652 } 30653 } 30654 30655 if iNdEx > l { 30656 return io.ErrUnexpectedEOF 30657 } 30658 return nil 30659 } 30660 func (m *IndexOption) Unmarshal(dAtA []byte) error { 30661 l := len(dAtA) 30662 iNdEx := 0 30663 for iNdEx < l { 30664 preIndex := iNdEx 30665 var wire uint64 30666 for shift := uint(0); ; shift += 7 { 30667 if shift >= 64 { 30668 return ErrIntOverflowPlan 30669 } 30670 if iNdEx >= l { 30671 return io.ErrUnexpectedEOF 30672 } 30673 b := dAtA[iNdEx] 30674 iNdEx++ 30675 wire |= uint64(b&0x7F) << shift 30676 if b < 0x80 { 30677 break 30678 } 30679 } 30680 fieldNum := int32(wire >> 3) 30681 wireType := int(wire & 0x7) 30682 if wireType == 4 { 30683 return fmt.Errorf("proto: IndexOption: wiretype end group for non-group") 30684 } 30685 if fieldNum <= 0 { 30686 return fmt.Errorf("proto: IndexOption: illegal tag %d (wire type %d)", fieldNum, wire) 30687 } 30688 switch fieldNum { 30689 case 1: 30690 if wireType != 0 { 30691 return fmt.Errorf("proto: wrong wireType = %d for field CreateExtraTable", wireType) 30692 } 30693 var v int 30694 for shift := uint(0); ; shift += 7 { 30695 if shift >= 64 { 30696 return ErrIntOverflowPlan 30697 } 30698 if iNdEx >= l { 30699 return io.ErrUnexpectedEOF 30700 } 30701 b := dAtA[iNdEx] 30702 iNdEx++ 30703 v |= int(b&0x7F) << shift 30704 if b < 0x80 { 30705 break 30706 } 30707 } 30708 m.CreateExtraTable = bool(v != 0) 30709 default: 30710 iNdEx = preIndex 30711 skippy, err := skipPlan(dAtA[iNdEx:]) 30712 if err != nil { 30713 return err 30714 } 30715 if (skippy < 0) || (iNdEx+skippy) < 0 { 30716 return ErrInvalidLengthPlan 30717 } 30718 if (iNdEx + skippy) > l { 30719 return io.ErrUnexpectedEOF 30720 } 30721 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 30722 iNdEx += skippy 30723 } 30724 } 30725 30726 if iNdEx > l { 30727 return io.ErrUnexpectedEOF 30728 } 30729 return nil 30730 } 30731 func (m *PrimaryKeyDef) Unmarshal(dAtA []byte) error { 30732 l := len(dAtA) 30733 iNdEx := 0 30734 for iNdEx < l { 30735 preIndex := iNdEx 30736 var wire uint64 30737 for shift := uint(0); ; shift += 7 { 30738 if shift >= 64 { 30739 return ErrIntOverflowPlan 30740 } 30741 if iNdEx >= l { 30742 return io.ErrUnexpectedEOF 30743 } 30744 b := dAtA[iNdEx] 30745 iNdEx++ 30746 wire |= uint64(b&0x7F) << shift 30747 if b < 0x80 { 30748 break 30749 } 30750 } 30751 fieldNum := int32(wire >> 3) 30752 wireType := int(wire & 0x7) 30753 if wireType == 4 { 30754 return fmt.Errorf("proto: PrimaryKeyDef: wiretype end group for non-group") 30755 } 30756 if fieldNum <= 0 { 30757 return fmt.Errorf("proto: PrimaryKeyDef: illegal tag %d (wire type %d)", fieldNum, wire) 30758 } 30759 switch fieldNum { 30760 case 1: 30761 if wireType == 0 { 30762 var v uint64 30763 for shift := uint(0); ; shift += 7 { 30764 if shift >= 64 { 30765 return ErrIntOverflowPlan 30766 } 30767 if iNdEx >= l { 30768 return io.ErrUnexpectedEOF 30769 } 30770 b := dAtA[iNdEx] 30771 iNdEx++ 30772 v |= uint64(b&0x7F) << shift 30773 if b < 0x80 { 30774 break 30775 } 30776 } 30777 m.Cols = append(m.Cols, v) 30778 } else if wireType == 2 { 30779 var packedLen int 30780 for shift := uint(0); ; shift += 7 { 30781 if shift >= 64 { 30782 return ErrIntOverflowPlan 30783 } 30784 if iNdEx >= l { 30785 return io.ErrUnexpectedEOF 30786 } 30787 b := dAtA[iNdEx] 30788 iNdEx++ 30789 packedLen |= int(b&0x7F) << shift 30790 if b < 0x80 { 30791 break 30792 } 30793 } 30794 if packedLen < 0 { 30795 return ErrInvalidLengthPlan 30796 } 30797 postIndex := iNdEx + packedLen 30798 if postIndex < 0 { 30799 return ErrInvalidLengthPlan 30800 } 30801 if postIndex > l { 30802 return io.ErrUnexpectedEOF 30803 } 30804 var elementCount int 30805 var count int 30806 for _, integer := range dAtA[iNdEx:postIndex] { 30807 if integer < 128 { 30808 count++ 30809 } 30810 } 30811 elementCount = count 30812 if elementCount != 0 && len(m.Cols) == 0 { 30813 m.Cols = make([]uint64, 0, elementCount) 30814 } 30815 for iNdEx < postIndex { 30816 var v uint64 30817 for shift := uint(0); ; shift += 7 { 30818 if shift >= 64 { 30819 return ErrIntOverflowPlan 30820 } 30821 if iNdEx >= l { 30822 return io.ErrUnexpectedEOF 30823 } 30824 b := dAtA[iNdEx] 30825 iNdEx++ 30826 v |= uint64(b&0x7F) << shift 30827 if b < 0x80 { 30828 break 30829 } 30830 } 30831 m.Cols = append(m.Cols, v) 30832 } 30833 } else { 30834 return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType) 30835 } 30836 case 2: 30837 if wireType != 0 { 30838 return fmt.Errorf("proto: wrong wireType = %d for field PkeyColId", wireType) 30839 } 30840 m.PkeyColId = 0 30841 for shift := uint(0); ; shift += 7 { 30842 if shift >= 64 { 30843 return ErrIntOverflowPlan 30844 } 30845 if iNdEx >= l { 30846 return io.ErrUnexpectedEOF 30847 } 30848 b := dAtA[iNdEx] 30849 iNdEx++ 30850 m.PkeyColId |= uint64(b&0x7F) << shift 30851 if b < 0x80 { 30852 break 30853 } 30854 } 30855 case 3: 30856 if wireType != 2 { 30857 return fmt.Errorf("proto: wrong wireType = %d for field Option", wireType) 30858 } 30859 var msglen int 30860 for shift := uint(0); ; shift += 7 { 30861 if shift >= 64 { 30862 return ErrIntOverflowPlan 30863 } 30864 if iNdEx >= l { 30865 return io.ErrUnexpectedEOF 30866 } 30867 b := dAtA[iNdEx] 30868 iNdEx++ 30869 msglen |= int(b&0x7F) << shift 30870 if b < 0x80 { 30871 break 30872 } 30873 } 30874 if msglen < 0 { 30875 return ErrInvalidLengthPlan 30876 } 30877 postIndex := iNdEx + msglen 30878 if postIndex < 0 { 30879 return ErrInvalidLengthPlan 30880 } 30881 if postIndex > l { 30882 return io.ErrUnexpectedEOF 30883 } 30884 if m.Option == nil { 30885 m.Option = &IndexOption{} 30886 } 30887 if err := m.Option.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 30888 return err 30889 } 30890 iNdEx = postIndex 30891 case 4: 30892 if wireType != 2 { 30893 return fmt.Errorf("proto: wrong wireType = %d for field PkeyColName", wireType) 30894 } 30895 var stringLen uint64 30896 for shift := uint(0); ; shift += 7 { 30897 if shift >= 64 { 30898 return ErrIntOverflowPlan 30899 } 30900 if iNdEx >= l { 30901 return io.ErrUnexpectedEOF 30902 } 30903 b := dAtA[iNdEx] 30904 iNdEx++ 30905 stringLen |= uint64(b&0x7F) << shift 30906 if b < 0x80 { 30907 break 30908 } 30909 } 30910 intStringLen := int(stringLen) 30911 if intStringLen < 0 { 30912 return ErrInvalidLengthPlan 30913 } 30914 postIndex := iNdEx + intStringLen 30915 if postIndex < 0 { 30916 return ErrInvalidLengthPlan 30917 } 30918 if postIndex > l { 30919 return io.ErrUnexpectedEOF 30920 } 30921 m.PkeyColName = string(dAtA[iNdEx:postIndex]) 30922 iNdEx = postIndex 30923 case 5: 30924 if wireType != 2 { 30925 return fmt.Errorf("proto: wrong wireType = %d for field Names", wireType) 30926 } 30927 var stringLen uint64 30928 for shift := uint(0); ; shift += 7 { 30929 if shift >= 64 { 30930 return ErrIntOverflowPlan 30931 } 30932 if iNdEx >= l { 30933 return io.ErrUnexpectedEOF 30934 } 30935 b := dAtA[iNdEx] 30936 iNdEx++ 30937 stringLen |= uint64(b&0x7F) << shift 30938 if b < 0x80 { 30939 break 30940 } 30941 } 30942 intStringLen := int(stringLen) 30943 if intStringLen < 0 { 30944 return ErrInvalidLengthPlan 30945 } 30946 postIndex := iNdEx + intStringLen 30947 if postIndex < 0 { 30948 return ErrInvalidLengthPlan 30949 } 30950 if postIndex > l { 30951 return io.ErrUnexpectedEOF 30952 } 30953 m.Names = append(m.Names, string(dAtA[iNdEx:postIndex])) 30954 iNdEx = postIndex 30955 case 6: 30956 if wireType != 2 { 30957 return fmt.Errorf("proto: wrong wireType = %d for field CompPkeyCol", wireType) 30958 } 30959 var msglen int 30960 for shift := uint(0); ; shift += 7 { 30961 if shift >= 64 { 30962 return ErrIntOverflowPlan 30963 } 30964 if iNdEx >= l { 30965 return io.ErrUnexpectedEOF 30966 } 30967 b := dAtA[iNdEx] 30968 iNdEx++ 30969 msglen |= int(b&0x7F) << shift 30970 if b < 0x80 { 30971 break 30972 } 30973 } 30974 if msglen < 0 { 30975 return ErrInvalidLengthPlan 30976 } 30977 postIndex := iNdEx + msglen 30978 if postIndex < 0 { 30979 return ErrInvalidLengthPlan 30980 } 30981 if postIndex > l { 30982 return io.ErrUnexpectedEOF 30983 } 30984 if m.CompPkeyCol == nil { 30985 m.CompPkeyCol = &ColDef{} 30986 } 30987 if err := m.CompPkeyCol.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 30988 return err 30989 } 30990 iNdEx = postIndex 30991 default: 30992 iNdEx = preIndex 30993 skippy, err := skipPlan(dAtA[iNdEx:]) 30994 if err != nil { 30995 return err 30996 } 30997 if (skippy < 0) || (iNdEx+skippy) < 0 { 30998 return ErrInvalidLengthPlan 30999 } 31000 if (iNdEx + skippy) > l { 31001 return io.ErrUnexpectedEOF 31002 } 31003 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 31004 iNdEx += skippy 31005 } 31006 } 31007 31008 if iNdEx > l { 31009 return io.ErrUnexpectedEOF 31010 } 31011 return nil 31012 } 31013 func (m *IndexDef) Unmarshal(dAtA []byte) error { 31014 l := len(dAtA) 31015 iNdEx := 0 31016 for iNdEx < l { 31017 preIndex := iNdEx 31018 var wire uint64 31019 for shift := uint(0); ; shift += 7 { 31020 if shift >= 64 { 31021 return ErrIntOverflowPlan 31022 } 31023 if iNdEx >= l { 31024 return io.ErrUnexpectedEOF 31025 } 31026 b := dAtA[iNdEx] 31027 iNdEx++ 31028 wire |= uint64(b&0x7F) << shift 31029 if b < 0x80 { 31030 break 31031 } 31032 } 31033 fieldNum := int32(wire >> 3) 31034 wireType := int(wire & 0x7) 31035 if wireType == 4 { 31036 return fmt.Errorf("proto: IndexDef: wiretype end group for non-group") 31037 } 31038 if fieldNum <= 0 { 31039 return fmt.Errorf("proto: IndexDef: illegal tag %d (wire type %d)", fieldNum, wire) 31040 } 31041 switch fieldNum { 31042 case 1: 31043 if wireType != 2 { 31044 return fmt.Errorf("proto: wrong wireType = %d for field IdxId", wireType) 31045 } 31046 var stringLen uint64 31047 for shift := uint(0); ; shift += 7 { 31048 if shift >= 64 { 31049 return ErrIntOverflowPlan 31050 } 31051 if iNdEx >= l { 31052 return io.ErrUnexpectedEOF 31053 } 31054 b := dAtA[iNdEx] 31055 iNdEx++ 31056 stringLen |= uint64(b&0x7F) << shift 31057 if b < 0x80 { 31058 break 31059 } 31060 } 31061 intStringLen := int(stringLen) 31062 if intStringLen < 0 { 31063 return ErrInvalidLengthPlan 31064 } 31065 postIndex := iNdEx + intStringLen 31066 if postIndex < 0 { 31067 return ErrInvalidLengthPlan 31068 } 31069 if postIndex > l { 31070 return io.ErrUnexpectedEOF 31071 } 31072 m.IdxId = string(dAtA[iNdEx:postIndex]) 31073 iNdEx = postIndex 31074 case 2: 31075 if wireType != 2 { 31076 return fmt.Errorf("proto: wrong wireType = %d for field IndexName", wireType) 31077 } 31078 var stringLen uint64 31079 for shift := uint(0); ; shift += 7 { 31080 if shift >= 64 { 31081 return ErrIntOverflowPlan 31082 } 31083 if iNdEx >= l { 31084 return io.ErrUnexpectedEOF 31085 } 31086 b := dAtA[iNdEx] 31087 iNdEx++ 31088 stringLen |= uint64(b&0x7F) << shift 31089 if b < 0x80 { 31090 break 31091 } 31092 } 31093 intStringLen := int(stringLen) 31094 if intStringLen < 0 { 31095 return ErrInvalidLengthPlan 31096 } 31097 postIndex := iNdEx + intStringLen 31098 if postIndex < 0 { 31099 return ErrInvalidLengthPlan 31100 } 31101 if postIndex > l { 31102 return io.ErrUnexpectedEOF 31103 } 31104 m.IndexName = string(dAtA[iNdEx:postIndex]) 31105 iNdEx = postIndex 31106 case 3: 31107 if wireType != 2 { 31108 return fmt.Errorf("proto: wrong wireType = %d for field Parts", wireType) 31109 } 31110 var stringLen uint64 31111 for shift := uint(0); ; shift += 7 { 31112 if shift >= 64 { 31113 return ErrIntOverflowPlan 31114 } 31115 if iNdEx >= l { 31116 return io.ErrUnexpectedEOF 31117 } 31118 b := dAtA[iNdEx] 31119 iNdEx++ 31120 stringLen |= uint64(b&0x7F) << shift 31121 if b < 0x80 { 31122 break 31123 } 31124 } 31125 intStringLen := int(stringLen) 31126 if intStringLen < 0 { 31127 return ErrInvalidLengthPlan 31128 } 31129 postIndex := iNdEx + intStringLen 31130 if postIndex < 0 { 31131 return ErrInvalidLengthPlan 31132 } 31133 if postIndex > l { 31134 return io.ErrUnexpectedEOF 31135 } 31136 m.Parts = append(m.Parts, string(dAtA[iNdEx:postIndex])) 31137 iNdEx = postIndex 31138 case 4: 31139 if wireType != 0 { 31140 return fmt.Errorf("proto: wrong wireType = %d for field Unique", wireType) 31141 } 31142 var v int 31143 for shift := uint(0); ; shift += 7 { 31144 if shift >= 64 { 31145 return ErrIntOverflowPlan 31146 } 31147 if iNdEx >= l { 31148 return io.ErrUnexpectedEOF 31149 } 31150 b := dAtA[iNdEx] 31151 iNdEx++ 31152 v |= int(b&0x7F) << shift 31153 if b < 0x80 { 31154 break 31155 } 31156 } 31157 m.Unique = bool(v != 0) 31158 case 5: 31159 if wireType != 2 { 31160 return fmt.Errorf("proto: wrong wireType = %d for field IndexTableName", wireType) 31161 } 31162 var stringLen uint64 31163 for shift := uint(0); ; shift += 7 { 31164 if shift >= 64 { 31165 return ErrIntOverflowPlan 31166 } 31167 if iNdEx >= l { 31168 return io.ErrUnexpectedEOF 31169 } 31170 b := dAtA[iNdEx] 31171 iNdEx++ 31172 stringLen |= uint64(b&0x7F) << shift 31173 if b < 0x80 { 31174 break 31175 } 31176 } 31177 intStringLen := int(stringLen) 31178 if intStringLen < 0 { 31179 return ErrInvalidLengthPlan 31180 } 31181 postIndex := iNdEx + intStringLen 31182 if postIndex < 0 { 31183 return ErrInvalidLengthPlan 31184 } 31185 if postIndex > l { 31186 return io.ErrUnexpectedEOF 31187 } 31188 m.IndexTableName = string(dAtA[iNdEx:postIndex]) 31189 iNdEx = postIndex 31190 case 6: 31191 if wireType != 0 { 31192 return fmt.Errorf("proto: wrong wireType = %d for field TableExist", wireType) 31193 } 31194 var v int 31195 for shift := uint(0); ; shift += 7 { 31196 if shift >= 64 { 31197 return ErrIntOverflowPlan 31198 } 31199 if iNdEx >= l { 31200 return io.ErrUnexpectedEOF 31201 } 31202 b := dAtA[iNdEx] 31203 iNdEx++ 31204 v |= int(b&0x7F) << shift 31205 if b < 0x80 { 31206 break 31207 } 31208 } 31209 m.TableExist = bool(v != 0) 31210 case 7: 31211 if wireType != 2 { 31212 return fmt.Errorf("proto: wrong wireType = %d for field Comment", wireType) 31213 } 31214 var stringLen uint64 31215 for shift := uint(0); ; shift += 7 { 31216 if shift >= 64 { 31217 return ErrIntOverflowPlan 31218 } 31219 if iNdEx >= l { 31220 return io.ErrUnexpectedEOF 31221 } 31222 b := dAtA[iNdEx] 31223 iNdEx++ 31224 stringLen |= uint64(b&0x7F) << shift 31225 if b < 0x80 { 31226 break 31227 } 31228 } 31229 intStringLen := int(stringLen) 31230 if intStringLen < 0 { 31231 return ErrInvalidLengthPlan 31232 } 31233 postIndex := iNdEx + intStringLen 31234 if postIndex < 0 { 31235 return ErrInvalidLengthPlan 31236 } 31237 if postIndex > l { 31238 return io.ErrUnexpectedEOF 31239 } 31240 m.Comment = string(dAtA[iNdEx:postIndex]) 31241 iNdEx = postIndex 31242 case 8: 31243 if wireType != 0 { 31244 return fmt.Errorf("proto: wrong wireType = %d for field Visible", wireType) 31245 } 31246 var v int 31247 for shift := uint(0); ; shift += 7 { 31248 if shift >= 64 { 31249 return ErrIntOverflowPlan 31250 } 31251 if iNdEx >= l { 31252 return io.ErrUnexpectedEOF 31253 } 31254 b := dAtA[iNdEx] 31255 iNdEx++ 31256 v |= int(b&0x7F) << shift 31257 if b < 0x80 { 31258 break 31259 } 31260 } 31261 m.Visible = bool(v != 0) 31262 case 9: 31263 if wireType != 2 { 31264 return fmt.Errorf("proto: wrong wireType = %d for field Option", wireType) 31265 } 31266 var msglen int 31267 for shift := uint(0); ; shift += 7 { 31268 if shift >= 64 { 31269 return ErrIntOverflowPlan 31270 } 31271 if iNdEx >= l { 31272 return io.ErrUnexpectedEOF 31273 } 31274 b := dAtA[iNdEx] 31275 iNdEx++ 31276 msglen |= int(b&0x7F) << shift 31277 if b < 0x80 { 31278 break 31279 } 31280 } 31281 if msglen < 0 { 31282 return ErrInvalidLengthPlan 31283 } 31284 postIndex := iNdEx + msglen 31285 if postIndex < 0 { 31286 return ErrInvalidLengthPlan 31287 } 31288 if postIndex > l { 31289 return io.ErrUnexpectedEOF 31290 } 31291 if m.Option == nil { 31292 m.Option = &IndexOption{} 31293 } 31294 if err := m.Option.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 31295 return err 31296 } 31297 iNdEx = postIndex 31298 case 10: 31299 if wireType != 2 { 31300 return fmt.Errorf("proto: wrong wireType = %d for field IndexAlgo", wireType) 31301 } 31302 var stringLen uint64 31303 for shift := uint(0); ; shift += 7 { 31304 if shift >= 64 { 31305 return ErrIntOverflowPlan 31306 } 31307 if iNdEx >= l { 31308 return io.ErrUnexpectedEOF 31309 } 31310 b := dAtA[iNdEx] 31311 iNdEx++ 31312 stringLen |= uint64(b&0x7F) << shift 31313 if b < 0x80 { 31314 break 31315 } 31316 } 31317 intStringLen := int(stringLen) 31318 if intStringLen < 0 { 31319 return ErrInvalidLengthPlan 31320 } 31321 postIndex := iNdEx + intStringLen 31322 if postIndex < 0 { 31323 return ErrInvalidLengthPlan 31324 } 31325 if postIndex > l { 31326 return io.ErrUnexpectedEOF 31327 } 31328 m.IndexAlgo = string(dAtA[iNdEx:postIndex]) 31329 iNdEx = postIndex 31330 case 11: 31331 if wireType != 2 { 31332 return fmt.Errorf("proto: wrong wireType = %d for field IndexAlgoTableType", wireType) 31333 } 31334 var stringLen uint64 31335 for shift := uint(0); ; shift += 7 { 31336 if shift >= 64 { 31337 return ErrIntOverflowPlan 31338 } 31339 if iNdEx >= l { 31340 return io.ErrUnexpectedEOF 31341 } 31342 b := dAtA[iNdEx] 31343 iNdEx++ 31344 stringLen |= uint64(b&0x7F) << shift 31345 if b < 0x80 { 31346 break 31347 } 31348 } 31349 intStringLen := int(stringLen) 31350 if intStringLen < 0 { 31351 return ErrInvalidLengthPlan 31352 } 31353 postIndex := iNdEx + intStringLen 31354 if postIndex < 0 { 31355 return ErrInvalidLengthPlan 31356 } 31357 if postIndex > l { 31358 return io.ErrUnexpectedEOF 31359 } 31360 m.IndexAlgoTableType = string(dAtA[iNdEx:postIndex]) 31361 iNdEx = postIndex 31362 case 12: 31363 if wireType != 2 { 31364 return fmt.Errorf("proto: wrong wireType = %d for field IndexAlgoParams", wireType) 31365 } 31366 var stringLen uint64 31367 for shift := uint(0); ; shift += 7 { 31368 if shift >= 64 { 31369 return ErrIntOverflowPlan 31370 } 31371 if iNdEx >= l { 31372 return io.ErrUnexpectedEOF 31373 } 31374 b := dAtA[iNdEx] 31375 iNdEx++ 31376 stringLen |= uint64(b&0x7F) << shift 31377 if b < 0x80 { 31378 break 31379 } 31380 } 31381 intStringLen := int(stringLen) 31382 if intStringLen < 0 { 31383 return ErrInvalidLengthPlan 31384 } 31385 postIndex := iNdEx + intStringLen 31386 if postIndex < 0 { 31387 return ErrInvalidLengthPlan 31388 } 31389 if postIndex > l { 31390 return io.ErrUnexpectedEOF 31391 } 31392 m.IndexAlgoParams = string(dAtA[iNdEx:postIndex]) 31393 iNdEx = postIndex 31394 default: 31395 iNdEx = preIndex 31396 skippy, err := skipPlan(dAtA[iNdEx:]) 31397 if err != nil { 31398 return err 31399 } 31400 if (skippy < 0) || (iNdEx+skippy) < 0 { 31401 return ErrInvalidLengthPlan 31402 } 31403 if (iNdEx + skippy) > l { 31404 return io.ErrUnexpectedEOF 31405 } 31406 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 31407 iNdEx += skippy 31408 } 31409 } 31410 31411 if iNdEx > l { 31412 return io.ErrUnexpectedEOF 31413 } 31414 return nil 31415 } 31416 func (m *ForeignKeyDef) Unmarshal(dAtA []byte) error { 31417 l := len(dAtA) 31418 iNdEx := 0 31419 for iNdEx < l { 31420 preIndex := iNdEx 31421 var wire uint64 31422 for shift := uint(0); ; shift += 7 { 31423 if shift >= 64 { 31424 return ErrIntOverflowPlan 31425 } 31426 if iNdEx >= l { 31427 return io.ErrUnexpectedEOF 31428 } 31429 b := dAtA[iNdEx] 31430 iNdEx++ 31431 wire |= uint64(b&0x7F) << shift 31432 if b < 0x80 { 31433 break 31434 } 31435 } 31436 fieldNum := int32(wire >> 3) 31437 wireType := int(wire & 0x7) 31438 if wireType == 4 { 31439 return fmt.Errorf("proto: ForeignKeyDef: wiretype end group for non-group") 31440 } 31441 if fieldNum <= 0 { 31442 return fmt.Errorf("proto: ForeignKeyDef: illegal tag %d (wire type %d)", fieldNum, wire) 31443 } 31444 switch fieldNum { 31445 case 1: 31446 if wireType != 2 { 31447 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 31448 } 31449 var stringLen uint64 31450 for shift := uint(0); ; shift += 7 { 31451 if shift >= 64 { 31452 return ErrIntOverflowPlan 31453 } 31454 if iNdEx >= l { 31455 return io.ErrUnexpectedEOF 31456 } 31457 b := dAtA[iNdEx] 31458 iNdEx++ 31459 stringLen |= uint64(b&0x7F) << shift 31460 if b < 0x80 { 31461 break 31462 } 31463 } 31464 intStringLen := int(stringLen) 31465 if intStringLen < 0 { 31466 return ErrInvalidLengthPlan 31467 } 31468 postIndex := iNdEx + intStringLen 31469 if postIndex < 0 { 31470 return ErrInvalidLengthPlan 31471 } 31472 if postIndex > l { 31473 return io.ErrUnexpectedEOF 31474 } 31475 m.Name = string(dAtA[iNdEx:postIndex]) 31476 iNdEx = postIndex 31477 case 2: 31478 if wireType == 0 { 31479 var v uint64 31480 for shift := uint(0); ; shift += 7 { 31481 if shift >= 64 { 31482 return ErrIntOverflowPlan 31483 } 31484 if iNdEx >= l { 31485 return io.ErrUnexpectedEOF 31486 } 31487 b := dAtA[iNdEx] 31488 iNdEx++ 31489 v |= uint64(b&0x7F) << shift 31490 if b < 0x80 { 31491 break 31492 } 31493 } 31494 m.Cols = append(m.Cols, v) 31495 } else if wireType == 2 { 31496 var packedLen int 31497 for shift := uint(0); ; shift += 7 { 31498 if shift >= 64 { 31499 return ErrIntOverflowPlan 31500 } 31501 if iNdEx >= l { 31502 return io.ErrUnexpectedEOF 31503 } 31504 b := dAtA[iNdEx] 31505 iNdEx++ 31506 packedLen |= int(b&0x7F) << shift 31507 if b < 0x80 { 31508 break 31509 } 31510 } 31511 if packedLen < 0 { 31512 return ErrInvalidLengthPlan 31513 } 31514 postIndex := iNdEx + packedLen 31515 if postIndex < 0 { 31516 return ErrInvalidLengthPlan 31517 } 31518 if postIndex > l { 31519 return io.ErrUnexpectedEOF 31520 } 31521 var elementCount int 31522 var count int 31523 for _, integer := range dAtA[iNdEx:postIndex] { 31524 if integer < 128 { 31525 count++ 31526 } 31527 } 31528 elementCount = count 31529 if elementCount != 0 && len(m.Cols) == 0 { 31530 m.Cols = make([]uint64, 0, elementCount) 31531 } 31532 for iNdEx < postIndex { 31533 var v uint64 31534 for shift := uint(0); ; shift += 7 { 31535 if shift >= 64 { 31536 return ErrIntOverflowPlan 31537 } 31538 if iNdEx >= l { 31539 return io.ErrUnexpectedEOF 31540 } 31541 b := dAtA[iNdEx] 31542 iNdEx++ 31543 v |= uint64(b&0x7F) << shift 31544 if b < 0x80 { 31545 break 31546 } 31547 } 31548 m.Cols = append(m.Cols, v) 31549 } 31550 } else { 31551 return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType) 31552 } 31553 case 3: 31554 if wireType != 0 { 31555 return fmt.Errorf("proto: wrong wireType = %d for field ForeignTbl", wireType) 31556 } 31557 m.ForeignTbl = 0 31558 for shift := uint(0); ; shift += 7 { 31559 if shift >= 64 { 31560 return ErrIntOverflowPlan 31561 } 31562 if iNdEx >= l { 31563 return io.ErrUnexpectedEOF 31564 } 31565 b := dAtA[iNdEx] 31566 iNdEx++ 31567 m.ForeignTbl |= uint64(b&0x7F) << shift 31568 if b < 0x80 { 31569 break 31570 } 31571 } 31572 case 4: 31573 if wireType == 0 { 31574 var v uint64 31575 for shift := uint(0); ; shift += 7 { 31576 if shift >= 64 { 31577 return ErrIntOverflowPlan 31578 } 31579 if iNdEx >= l { 31580 return io.ErrUnexpectedEOF 31581 } 31582 b := dAtA[iNdEx] 31583 iNdEx++ 31584 v |= uint64(b&0x7F) << shift 31585 if b < 0x80 { 31586 break 31587 } 31588 } 31589 m.ForeignCols = append(m.ForeignCols, v) 31590 } else if wireType == 2 { 31591 var packedLen int 31592 for shift := uint(0); ; shift += 7 { 31593 if shift >= 64 { 31594 return ErrIntOverflowPlan 31595 } 31596 if iNdEx >= l { 31597 return io.ErrUnexpectedEOF 31598 } 31599 b := dAtA[iNdEx] 31600 iNdEx++ 31601 packedLen |= int(b&0x7F) << shift 31602 if b < 0x80 { 31603 break 31604 } 31605 } 31606 if packedLen < 0 { 31607 return ErrInvalidLengthPlan 31608 } 31609 postIndex := iNdEx + packedLen 31610 if postIndex < 0 { 31611 return ErrInvalidLengthPlan 31612 } 31613 if postIndex > l { 31614 return io.ErrUnexpectedEOF 31615 } 31616 var elementCount int 31617 var count int 31618 for _, integer := range dAtA[iNdEx:postIndex] { 31619 if integer < 128 { 31620 count++ 31621 } 31622 } 31623 elementCount = count 31624 if elementCount != 0 && len(m.ForeignCols) == 0 { 31625 m.ForeignCols = make([]uint64, 0, elementCount) 31626 } 31627 for iNdEx < postIndex { 31628 var v uint64 31629 for shift := uint(0); ; shift += 7 { 31630 if shift >= 64 { 31631 return ErrIntOverflowPlan 31632 } 31633 if iNdEx >= l { 31634 return io.ErrUnexpectedEOF 31635 } 31636 b := dAtA[iNdEx] 31637 iNdEx++ 31638 v |= uint64(b&0x7F) << shift 31639 if b < 0x80 { 31640 break 31641 } 31642 } 31643 m.ForeignCols = append(m.ForeignCols, v) 31644 } 31645 } else { 31646 return fmt.Errorf("proto: wrong wireType = %d for field ForeignCols", wireType) 31647 } 31648 case 5: 31649 if wireType != 0 { 31650 return fmt.Errorf("proto: wrong wireType = %d for field OnDelete", wireType) 31651 } 31652 m.OnDelete = 0 31653 for shift := uint(0); ; shift += 7 { 31654 if shift >= 64 { 31655 return ErrIntOverflowPlan 31656 } 31657 if iNdEx >= l { 31658 return io.ErrUnexpectedEOF 31659 } 31660 b := dAtA[iNdEx] 31661 iNdEx++ 31662 m.OnDelete |= ForeignKeyDef_RefAction(b&0x7F) << shift 31663 if b < 0x80 { 31664 break 31665 } 31666 } 31667 case 6: 31668 if wireType != 0 { 31669 return fmt.Errorf("proto: wrong wireType = %d for field OnUpdate", wireType) 31670 } 31671 m.OnUpdate = 0 31672 for shift := uint(0); ; shift += 7 { 31673 if shift >= 64 { 31674 return ErrIntOverflowPlan 31675 } 31676 if iNdEx >= l { 31677 return io.ErrUnexpectedEOF 31678 } 31679 b := dAtA[iNdEx] 31680 iNdEx++ 31681 m.OnUpdate |= ForeignKeyDef_RefAction(b&0x7F) << shift 31682 if b < 0x80 { 31683 break 31684 } 31685 } 31686 default: 31687 iNdEx = preIndex 31688 skippy, err := skipPlan(dAtA[iNdEx:]) 31689 if err != nil { 31690 return err 31691 } 31692 if (skippy < 0) || (iNdEx+skippy) < 0 { 31693 return ErrInvalidLengthPlan 31694 } 31695 if (iNdEx + skippy) > l { 31696 return io.ErrUnexpectedEOF 31697 } 31698 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 31699 iNdEx += skippy 31700 } 31701 } 31702 31703 if iNdEx > l { 31704 return io.ErrUnexpectedEOF 31705 } 31706 return nil 31707 } 31708 func (m *CheckDef) Unmarshal(dAtA []byte) error { 31709 l := len(dAtA) 31710 iNdEx := 0 31711 for iNdEx < l { 31712 preIndex := iNdEx 31713 var wire uint64 31714 for shift := uint(0); ; shift += 7 { 31715 if shift >= 64 { 31716 return ErrIntOverflowPlan 31717 } 31718 if iNdEx >= l { 31719 return io.ErrUnexpectedEOF 31720 } 31721 b := dAtA[iNdEx] 31722 iNdEx++ 31723 wire |= uint64(b&0x7F) << shift 31724 if b < 0x80 { 31725 break 31726 } 31727 } 31728 fieldNum := int32(wire >> 3) 31729 wireType := int(wire & 0x7) 31730 if wireType == 4 { 31731 return fmt.Errorf("proto: CheckDef: wiretype end group for non-group") 31732 } 31733 if fieldNum <= 0 { 31734 return fmt.Errorf("proto: CheckDef: illegal tag %d (wire type %d)", fieldNum, wire) 31735 } 31736 switch fieldNum { 31737 case 1: 31738 if wireType != 2 { 31739 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 31740 } 31741 var stringLen uint64 31742 for shift := uint(0); ; shift += 7 { 31743 if shift >= 64 { 31744 return ErrIntOverflowPlan 31745 } 31746 if iNdEx >= l { 31747 return io.ErrUnexpectedEOF 31748 } 31749 b := dAtA[iNdEx] 31750 iNdEx++ 31751 stringLen |= uint64(b&0x7F) << shift 31752 if b < 0x80 { 31753 break 31754 } 31755 } 31756 intStringLen := int(stringLen) 31757 if intStringLen < 0 { 31758 return ErrInvalidLengthPlan 31759 } 31760 postIndex := iNdEx + intStringLen 31761 if postIndex < 0 { 31762 return ErrInvalidLengthPlan 31763 } 31764 if postIndex > l { 31765 return io.ErrUnexpectedEOF 31766 } 31767 m.Name = string(dAtA[iNdEx:postIndex]) 31768 iNdEx = postIndex 31769 case 2: 31770 if wireType != 2 { 31771 return fmt.Errorf("proto: wrong wireType = %d for field Check", wireType) 31772 } 31773 var msglen int 31774 for shift := uint(0); ; shift += 7 { 31775 if shift >= 64 { 31776 return ErrIntOverflowPlan 31777 } 31778 if iNdEx >= l { 31779 return io.ErrUnexpectedEOF 31780 } 31781 b := dAtA[iNdEx] 31782 iNdEx++ 31783 msglen |= int(b&0x7F) << shift 31784 if b < 0x80 { 31785 break 31786 } 31787 } 31788 if msglen < 0 { 31789 return ErrInvalidLengthPlan 31790 } 31791 postIndex := iNdEx + msglen 31792 if postIndex < 0 { 31793 return ErrInvalidLengthPlan 31794 } 31795 if postIndex > l { 31796 return io.ErrUnexpectedEOF 31797 } 31798 if m.Check == nil { 31799 m.Check = &Expr{} 31800 } 31801 if err := m.Check.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 31802 return err 31803 } 31804 iNdEx = postIndex 31805 default: 31806 iNdEx = preIndex 31807 skippy, err := skipPlan(dAtA[iNdEx:]) 31808 if err != nil { 31809 return err 31810 } 31811 if (skippy < 0) || (iNdEx+skippy) < 0 { 31812 return ErrInvalidLengthPlan 31813 } 31814 if (iNdEx + skippy) > l { 31815 return io.ErrUnexpectedEOF 31816 } 31817 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 31818 iNdEx += skippy 31819 } 31820 } 31821 31822 if iNdEx > l { 31823 return io.ErrUnexpectedEOF 31824 } 31825 return nil 31826 } 31827 func (m *ClusterByDef) Unmarshal(dAtA []byte) error { 31828 l := len(dAtA) 31829 iNdEx := 0 31830 for iNdEx < l { 31831 preIndex := iNdEx 31832 var wire uint64 31833 for shift := uint(0); ; shift += 7 { 31834 if shift >= 64 { 31835 return ErrIntOverflowPlan 31836 } 31837 if iNdEx >= l { 31838 return io.ErrUnexpectedEOF 31839 } 31840 b := dAtA[iNdEx] 31841 iNdEx++ 31842 wire |= uint64(b&0x7F) << shift 31843 if b < 0x80 { 31844 break 31845 } 31846 } 31847 fieldNum := int32(wire >> 3) 31848 wireType := int(wire & 0x7) 31849 if wireType == 4 { 31850 return fmt.Errorf("proto: ClusterByDef: wiretype end group for non-group") 31851 } 31852 if fieldNum <= 0 { 31853 return fmt.Errorf("proto: ClusterByDef: illegal tag %d (wire type %d)", fieldNum, wire) 31854 } 31855 switch fieldNum { 31856 case 1: 31857 if wireType != 2 { 31858 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 31859 } 31860 var stringLen uint64 31861 for shift := uint(0); ; shift += 7 { 31862 if shift >= 64 { 31863 return ErrIntOverflowPlan 31864 } 31865 if iNdEx >= l { 31866 return io.ErrUnexpectedEOF 31867 } 31868 b := dAtA[iNdEx] 31869 iNdEx++ 31870 stringLen |= uint64(b&0x7F) << shift 31871 if b < 0x80 { 31872 break 31873 } 31874 } 31875 intStringLen := int(stringLen) 31876 if intStringLen < 0 { 31877 return ErrInvalidLengthPlan 31878 } 31879 postIndex := iNdEx + intStringLen 31880 if postIndex < 0 { 31881 return ErrInvalidLengthPlan 31882 } 31883 if postIndex > l { 31884 return io.ErrUnexpectedEOF 31885 } 31886 m.Name = string(dAtA[iNdEx:postIndex]) 31887 iNdEx = postIndex 31888 case 2: 31889 if wireType != 2 { 31890 return fmt.Errorf("proto: wrong wireType = %d for field CompCbkeyCol", wireType) 31891 } 31892 var msglen int 31893 for shift := uint(0); ; shift += 7 { 31894 if shift >= 64 { 31895 return ErrIntOverflowPlan 31896 } 31897 if iNdEx >= l { 31898 return io.ErrUnexpectedEOF 31899 } 31900 b := dAtA[iNdEx] 31901 iNdEx++ 31902 msglen |= int(b&0x7F) << shift 31903 if b < 0x80 { 31904 break 31905 } 31906 } 31907 if msglen < 0 { 31908 return ErrInvalidLengthPlan 31909 } 31910 postIndex := iNdEx + msglen 31911 if postIndex < 0 { 31912 return ErrInvalidLengthPlan 31913 } 31914 if postIndex > l { 31915 return io.ErrUnexpectedEOF 31916 } 31917 if m.CompCbkeyCol == nil { 31918 m.CompCbkeyCol = &ColDef{} 31919 } 31920 if err := m.CompCbkeyCol.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 31921 return err 31922 } 31923 iNdEx = postIndex 31924 default: 31925 iNdEx = preIndex 31926 skippy, err := skipPlan(dAtA[iNdEx:]) 31927 if err != nil { 31928 return err 31929 } 31930 if (skippy < 0) || (iNdEx+skippy) < 0 { 31931 return ErrInvalidLengthPlan 31932 } 31933 if (iNdEx + skippy) > l { 31934 return io.ErrUnexpectedEOF 31935 } 31936 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 31937 iNdEx += skippy 31938 } 31939 } 31940 31941 if iNdEx > l { 31942 return io.ErrUnexpectedEOF 31943 } 31944 return nil 31945 } 31946 func (m *PropertyDef) Unmarshal(dAtA []byte) error { 31947 l := len(dAtA) 31948 iNdEx := 0 31949 for iNdEx < l { 31950 preIndex := iNdEx 31951 var wire uint64 31952 for shift := uint(0); ; shift += 7 { 31953 if shift >= 64 { 31954 return ErrIntOverflowPlan 31955 } 31956 if iNdEx >= l { 31957 return io.ErrUnexpectedEOF 31958 } 31959 b := dAtA[iNdEx] 31960 iNdEx++ 31961 wire |= uint64(b&0x7F) << shift 31962 if b < 0x80 { 31963 break 31964 } 31965 } 31966 fieldNum := int32(wire >> 3) 31967 wireType := int(wire & 0x7) 31968 if wireType == 4 { 31969 return fmt.Errorf("proto: PropertyDef: wiretype end group for non-group") 31970 } 31971 if fieldNum <= 0 { 31972 return fmt.Errorf("proto: PropertyDef: illegal tag %d (wire type %d)", fieldNum, wire) 31973 } 31974 switch fieldNum { 31975 case 1: 31976 if wireType != 2 { 31977 return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) 31978 } 31979 var stringLen uint64 31980 for shift := uint(0); ; shift += 7 { 31981 if shift >= 64 { 31982 return ErrIntOverflowPlan 31983 } 31984 if iNdEx >= l { 31985 return io.ErrUnexpectedEOF 31986 } 31987 b := dAtA[iNdEx] 31988 iNdEx++ 31989 stringLen |= uint64(b&0x7F) << shift 31990 if b < 0x80 { 31991 break 31992 } 31993 } 31994 intStringLen := int(stringLen) 31995 if intStringLen < 0 { 31996 return ErrInvalidLengthPlan 31997 } 31998 postIndex := iNdEx + intStringLen 31999 if postIndex < 0 { 32000 return ErrInvalidLengthPlan 32001 } 32002 if postIndex > l { 32003 return io.ErrUnexpectedEOF 32004 } 32005 m.Key = string(dAtA[iNdEx:postIndex]) 32006 iNdEx = postIndex 32007 case 2: 32008 if wireType != 2 { 32009 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 32010 } 32011 var stringLen uint64 32012 for shift := uint(0); ; shift += 7 { 32013 if shift >= 64 { 32014 return ErrIntOverflowPlan 32015 } 32016 if iNdEx >= l { 32017 return io.ErrUnexpectedEOF 32018 } 32019 b := dAtA[iNdEx] 32020 iNdEx++ 32021 stringLen |= uint64(b&0x7F) << shift 32022 if b < 0x80 { 32023 break 32024 } 32025 } 32026 intStringLen := int(stringLen) 32027 if intStringLen < 0 { 32028 return ErrInvalidLengthPlan 32029 } 32030 postIndex := iNdEx + intStringLen 32031 if postIndex < 0 { 32032 return ErrInvalidLengthPlan 32033 } 32034 if postIndex > l { 32035 return io.ErrUnexpectedEOF 32036 } 32037 m.Value = string(dAtA[iNdEx:postIndex]) 32038 iNdEx = postIndex 32039 default: 32040 iNdEx = preIndex 32041 skippy, err := skipPlan(dAtA[iNdEx:]) 32042 if err != nil { 32043 return err 32044 } 32045 if (skippy < 0) || (iNdEx+skippy) < 0 { 32046 return ErrInvalidLengthPlan 32047 } 32048 if (iNdEx + skippy) > l { 32049 return io.ErrUnexpectedEOF 32050 } 32051 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 32052 iNdEx += skippy 32053 } 32054 } 32055 32056 if iNdEx > l { 32057 return io.ErrUnexpectedEOF 32058 } 32059 return nil 32060 } 32061 func (m *Property) Unmarshal(dAtA []byte) error { 32062 l := len(dAtA) 32063 iNdEx := 0 32064 for iNdEx < l { 32065 preIndex := iNdEx 32066 var wire uint64 32067 for shift := uint(0); ; shift += 7 { 32068 if shift >= 64 { 32069 return ErrIntOverflowPlan 32070 } 32071 if iNdEx >= l { 32072 return io.ErrUnexpectedEOF 32073 } 32074 b := dAtA[iNdEx] 32075 iNdEx++ 32076 wire |= uint64(b&0x7F) << shift 32077 if b < 0x80 { 32078 break 32079 } 32080 } 32081 fieldNum := int32(wire >> 3) 32082 wireType := int(wire & 0x7) 32083 if wireType == 4 { 32084 return fmt.Errorf("proto: Property: wiretype end group for non-group") 32085 } 32086 if fieldNum <= 0 { 32087 return fmt.Errorf("proto: Property: illegal tag %d (wire type %d)", fieldNum, wire) 32088 } 32089 switch fieldNum { 32090 case 1: 32091 if wireType != 2 { 32092 return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) 32093 } 32094 var stringLen uint64 32095 for shift := uint(0); ; shift += 7 { 32096 if shift >= 64 { 32097 return ErrIntOverflowPlan 32098 } 32099 if iNdEx >= l { 32100 return io.ErrUnexpectedEOF 32101 } 32102 b := dAtA[iNdEx] 32103 iNdEx++ 32104 stringLen |= uint64(b&0x7F) << shift 32105 if b < 0x80 { 32106 break 32107 } 32108 } 32109 intStringLen := int(stringLen) 32110 if intStringLen < 0 { 32111 return ErrInvalidLengthPlan 32112 } 32113 postIndex := iNdEx + intStringLen 32114 if postIndex < 0 { 32115 return ErrInvalidLengthPlan 32116 } 32117 if postIndex > l { 32118 return io.ErrUnexpectedEOF 32119 } 32120 m.Key = string(dAtA[iNdEx:postIndex]) 32121 iNdEx = postIndex 32122 case 2: 32123 if wireType != 2 { 32124 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 32125 } 32126 var stringLen uint64 32127 for shift := uint(0); ; shift += 7 { 32128 if shift >= 64 { 32129 return ErrIntOverflowPlan 32130 } 32131 if iNdEx >= l { 32132 return io.ErrUnexpectedEOF 32133 } 32134 b := dAtA[iNdEx] 32135 iNdEx++ 32136 stringLen |= uint64(b&0x7F) << shift 32137 if b < 0x80 { 32138 break 32139 } 32140 } 32141 intStringLen := int(stringLen) 32142 if intStringLen < 0 { 32143 return ErrInvalidLengthPlan 32144 } 32145 postIndex := iNdEx + intStringLen 32146 if postIndex < 0 { 32147 return ErrInvalidLengthPlan 32148 } 32149 if postIndex > l { 32150 return io.ErrUnexpectedEOF 32151 } 32152 m.Value = string(dAtA[iNdEx:postIndex]) 32153 iNdEx = postIndex 32154 default: 32155 iNdEx = preIndex 32156 skippy, err := skipPlan(dAtA[iNdEx:]) 32157 if err != nil { 32158 return err 32159 } 32160 if (skippy < 0) || (iNdEx+skippy) < 0 { 32161 return ErrInvalidLengthPlan 32162 } 32163 if (iNdEx + skippy) > l { 32164 return io.ErrUnexpectedEOF 32165 } 32166 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 32167 iNdEx += skippy 32168 } 32169 } 32170 32171 if iNdEx > l { 32172 return io.ErrUnexpectedEOF 32173 } 32174 return nil 32175 } 32176 func (m *PropertiesDef) Unmarshal(dAtA []byte) error { 32177 l := len(dAtA) 32178 iNdEx := 0 32179 for iNdEx < l { 32180 preIndex := iNdEx 32181 var wire uint64 32182 for shift := uint(0); ; shift += 7 { 32183 if shift >= 64 { 32184 return ErrIntOverflowPlan 32185 } 32186 if iNdEx >= l { 32187 return io.ErrUnexpectedEOF 32188 } 32189 b := dAtA[iNdEx] 32190 iNdEx++ 32191 wire |= uint64(b&0x7F) << shift 32192 if b < 0x80 { 32193 break 32194 } 32195 } 32196 fieldNum := int32(wire >> 3) 32197 wireType := int(wire & 0x7) 32198 if wireType == 4 { 32199 return fmt.Errorf("proto: PropertiesDef: wiretype end group for non-group") 32200 } 32201 if fieldNum <= 0 { 32202 return fmt.Errorf("proto: PropertiesDef: illegal tag %d (wire type %d)", fieldNum, wire) 32203 } 32204 switch fieldNum { 32205 case 1: 32206 if wireType != 2 { 32207 return fmt.Errorf("proto: wrong wireType = %d for field Properties", wireType) 32208 } 32209 var msglen int 32210 for shift := uint(0); ; shift += 7 { 32211 if shift >= 64 { 32212 return ErrIntOverflowPlan 32213 } 32214 if iNdEx >= l { 32215 return io.ErrUnexpectedEOF 32216 } 32217 b := dAtA[iNdEx] 32218 iNdEx++ 32219 msglen |= int(b&0x7F) << shift 32220 if b < 0x80 { 32221 break 32222 } 32223 } 32224 if msglen < 0 { 32225 return ErrInvalidLengthPlan 32226 } 32227 postIndex := iNdEx + msglen 32228 if postIndex < 0 { 32229 return ErrInvalidLengthPlan 32230 } 32231 if postIndex > l { 32232 return io.ErrUnexpectedEOF 32233 } 32234 m.Properties = append(m.Properties, &Property{}) 32235 if err := m.Properties[len(m.Properties)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 32236 return err 32237 } 32238 iNdEx = postIndex 32239 default: 32240 iNdEx = preIndex 32241 skippy, err := skipPlan(dAtA[iNdEx:]) 32242 if err != nil { 32243 return err 32244 } 32245 if (skippy < 0) || (iNdEx+skippy) < 0 { 32246 return ErrInvalidLengthPlan 32247 } 32248 if (iNdEx + skippy) > l { 32249 return io.ErrUnexpectedEOF 32250 } 32251 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 32252 iNdEx += skippy 32253 } 32254 } 32255 32256 if iNdEx > l { 32257 return io.ErrUnexpectedEOF 32258 } 32259 return nil 32260 } 32261 func (m *PartitionByDef) Unmarshal(dAtA []byte) error { 32262 l := len(dAtA) 32263 iNdEx := 0 32264 for iNdEx < l { 32265 preIndex := iNdEx 32266 var wire uint64 32267 for shift := uint(0); ; shift += 7 { 32268 if shift >= 64 { 32269 return ErrIntOverflowPlan 32270 } 32271 if iNdEx >= l { 32272 return io.ErrUnexpectedEOF 32273 } 32274 b := dAtA[iNdEx] 32275 iNdEx++ 32276 wire |= uint64(b&0x7F) << shift 32277 if b < 0x80 { 32278 break 32279 } 32280 } 32281 fieldNum := int32(wire >> 3) 32282 wireType := int(wire & 0x7) 32283 if wireType == 4 { 32284 return fmt.Errorf("proto: PartitionByDef: wiretype end group for non-group") 32285 } 32286 if fieldNum <= 0 { 32287 return fmt.Errorf("proto: PartitionByDef: illegal tag %d (wire type %d)", fieldNum, wire) 32288 } 32289 switch fieldNum { 32290 case 1: 32291 if wireType != 0 { 32292 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 32293 } 32294 m.Type = 0 32295 for shift := uint(0); ; shift += 7 { 32296 if shift >= 64 { 32297 return ErrIntOverflowPlan 32298 } 32299 if iNdEx >= l { 32300 return io.ErrUnexpectedEOF 32301 } 32302 b := dAtA[iNdEx] 32303 iNdEx++ 32304 m.Type |= PartitionType(b&0x7F) << shift 32305 if b < 0x80 { 32306 break 32307 } 32308 } 32309 case 2: 32310 if wireType != 2 { 32311 return fmt.Errorf("proto: wrong wireType = %d for field PartitionExpr", wireType) 32312 } 32313 var msglen int 32314 for shift := uint(0); ; shift += 7 { 32315 if shift >= 64 { 32316 return ErrIntOverflowPlan 32317 } 32318 if iNdEx >= l { 32319 return io.ErrUnexpectedEOF 32320 } 32321 b := dAtA[iNdEx] 32322 iNdEx++ 32323 msglen |= int(b&0x7F) << shift 32324 if b < 0x80 { 32325 break 32326 } 32327 } 32328 if msglen < 0 { 32329 return ErrInvalidLengthPlan 32330 } 32331 postIndex := iNdEx + msglen 32332 if postIndex < 0 { 32333 return ErrInvalidLengthPlan 32334 } 32335 if postIndex > l { 32336 return io.ErrUnexpectedEOF 32337 } 32338 if m.PartitionExpr == nil { 32339 m.PartitionExpr = &PartitionExpr{} 32340 } 32341 if err := m.PartitionExpr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 32342 return err 32343 } 32344 iNdEx = postIndex 32345 case 3: 32346 if wireType != 2 { 32347 return fmt.Errorf("proto: wrong wireType = %d for field PartitionExpression", wireType) 32348 } 32349 var msglen int 32350 for shift := uint(0); ; shift += 7 { 32351 if shift >= 64 { 32352 return ErrIntOverflowPlan 32353 } 32354 if iNdEx >= l { 32355 return io.ErrUnexpectedEOF 32356 } 32357 b := dAtA[iNdEx] 32358 iNdEx++ 32359 msglen |= int(b&0x7F) << shift 32360 if b < 0x80 { 32361 break 32362 } 32363 } 32364 if msglen < 0 { 32365 return ErrInvalidLengthPlan 32366 } 32367 postIndex := iNdEx + msglen 32368 if postIndex < 0 { 32369 return ErrInvalidLengthPlan 32370 } 32371 if postIndex > l { 32372 return io.ErrUnexpectedEOF 32373 } 32374 if m.PartitionExpression == nil { 32375 m.PartitionExpression = &Expr{} 32376 } 32377 if err := m.PartitionExpression.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 32378 return err 32379 } 32380 iNdEx = postIndex 32381 case 4: 32382 if wireType != 2 { 32383 return fmt.Errorf("proto: wrong wireType = %d for field PartitionColumns", wireType) 32384 } 32385 var msglen int 32386 for shift := uint(0); ; shift += 7 { 32387 if shift >= 64 { 32388 return ErrIntOverflowPlan 32389 } 32390 if iNdEx >= l { 32391 return io.ErrUnexpectedEOF 32392 } 32393 b := dAtA[iNdEx] 32394 iNdEx++ 32395 msglen |= int(b&0x7F) << shift 32396 if b < 0x80 { 32397 break 32398 } 32399 } 32400 if msglen < 0 { 32401 return ErrInvalidLengthPlan 32402 } 32403 postIndex := iNdEx + msglen 32404 if postIndex < 0 { 32405 return ErrInvalidLengthPlan 32406 } 32407 if postIndex > l { 32408 return io.ErrUnexpectedEOF 32409 } 32410 if m.PartitionColumns == nil { 32411 m.PartitionColumns = &PartitionColumns{} 32412 } 32413 if err := m.PartitionColumns.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 32414 return err 32415 } 32416 iNdEx = postIndex 32417 case 5: 32418 if wireType != 0 { 32419 return fmt.Errorf("proto: wrong wireType = %d for field PartitionNum", wireType) 32420 } 32421 m.PartitionNum = 0 32422 for shift := uint(0); ; shift += 7 { 32423 if shift >= 64 { 32424 return ErrIntOverflowPlan 32425 } 32426 if iNdEx >= l { 32427 return io.ErrUnexpectedEOF 32428 } 32429 b := dAtA[iNdEx] 32430 iNdEx++ 32431 m.PartitionNum |= uint64(b&0x7F) << shift 32432 if b < 0x80 { 32433 break 32434 } 32435 } 32436 case 6: 32437 if wireType != 2 { 32438 return fmt.Errorf("proto: wrong wireType = %d for field Partitions", wireType) 32439 } 32440 var msglen int 32441 for shift := uint(0); ; shift += 7 { 32442 if shift >= 64 { 32443 return ErrIntOverflowPlan 32444 } 32445 if iNdEx >= l { 32446 return io.ErrUnexpectedEOF 32447 } 32448 b := dAtA[iNdEx] 32449 iNdEx++ 32450 msglen |= int(b&0x7F) << shift 32451 if b < 0x80 { 32452 break 32453 } 32454 } 32455 if msglen < 0 { 32456 return ErrInvalidLengthPlan 32457 } 32458 postIndex := iNdEx + msglen 32459 if postIndex < 0 { 32460 return ErrInvalidLengthPlan 32461 } 32462 if postIndex > l { 32463 return io.ErrUnexpectedEOF 32464 } 32465 m.Partitions = append(m.Partitions, &PartitionItem{}) 32466 if err := m.Partitions[len(m.Partitions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 32467 return err 32468 } 32469 iNdEx = postIndex 32470 case 7: 32471 if wireType != 0 { 32472 return fmt.Errorf("proto: wrong wireType = %d for field Algorithm", wireType) 32473 } 32474 m.Algorithm = 0 32475 for shift := uint(0); ; shift += 7 { 32476 if shift >= 64 { 32477 return ErrIntOverflowPlan 32478 } 32479 if iNdEx >= l { 32480 return io.ErrUnexpectedEOF 32481 } 32482 b := dAtA[iNdEx] 32483 iNdEx++ 32484 m.Algorithm |= int64(b&0x7F) << shift 32485 if b < 0x80 { 32486 break 32487 } 32488 } 32489 case 8: 32490 if wireType != 0 { 32491 return fmt.Errorf("proto: wrong wireType = %d for field IsSubPartition", wireType) 32492 } 32493 var v int 32494 for shift := uint(0); ; shift += 7 { 32495 if shift >= 64 { 32496 return ErrIntOverflowPlan 32497 } 32498 if iNdEx >= l { 32499 return io.ErrUnexpectedEOF 32500 } 32501 b := dAtA[iNdEx] 32502 iNdEx++ 32503 v |= int(b&0x7F) << shift 32504 if b < 0x80 { 32505 break 32506 } 32507 } 32508 m.IsSubPartition = bool(v != 0) 32509 case 9: 32510 if wireType != 2 { 32511 return fmt.Errorf("proto: wrong wireType = %d for field PartitionMsg", wireType) 32512 } 32513 var stringLen uint64 32514 for shift := uint(0); ; shift += 7 { 32515 if shift >= 64 { 32516 return ErrIntOverflowPlan 32517 } 32518 if iNdEx >= l { 32519 return io.ErrUnexpectedEOF 32520 } 32521 b := dAtA[iNdEx] 32522 iNdEx++ 32523 stringLen |= uint64(b&0x7F) << shift 32524 if b < 0x80 { 32525 break 32526 } 32527 } 32528 intStringLen := int(stringLen) 32529 if intStringLen < 0 { 32530 return ErrInvalidLengthPlan 32531 } 32532 postIndex := iNdEx + intStringLen 32533 if postIndex < 0 { 32534 return ErrInvalidLengthPlan 32535 } 32536 if postIndex > l { 32537 return io.ErrUnexpectedEOF 32538 } 32539 m.PartitionMsg = string(dAtA[iNdEx:postIndex]) 32540 iNdEx = postIndex 32541 case 10: 32542 if wireType != 2 { 32543 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTableNames", wireType) 32544 } 32545 var stringLen uint64 32546 for shift := uint(0); ; shift += 7 { 32547 if shift >= 64 { 32548 return ErrIntOverflowPlan 32549 } 32550 if iNdEx >= l { 32551 return io.ErrUnexpectedEOF 32552 } 32553 b := dAtA[iNdEx] 32554 iNdEx++ 32555 stringLen |= uint64(b&0x7F) << shift 32556 if b < 0x80 { 32557 break 32558 } 32559 } 32560 intStringLen := int(stringLen) 32561 if intStringLen < 0 { 32562 return ErrInvalidLengthPlan 32563 } 32564 postIndex := iNdEx + intStringLen 32565 if postIndex < 0 { 32566 return ErrInvalidLengthPlan 32567 } 32568 if postIndex > l { 32569 return io.ErrUnexpectedEOF 32570 } 32571 m.PartitionTableNames = append(m.PartitionTableNames, string(dAtA[iNdEx:postIndex])) 32572 iNdEx = postIndex 32573 default: 32574 iNdEx = preIndex 32575 skippy, err := skipPlan(dAtA[iNdEx:]) 32576 if err != nil { 32577 return err 32578 } 32579 if (skippy < 0) || (iNdEx+skippy) < 0 { 32580 return ErrInvalidLengthPlan 32581 } 32582 if (iNdEx + skippy) > l { 32583 return io.ErrUnexpectedEOF 32584 } 32585 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 32586 iNdEx += skippy 32587 } 32588 } 32589 32590 if iNdEx > l { 32591 return io.ErrUnexpectedEOF 32592 } 32593 return nil 32594 } 32595 func (m *PartitionExpr) Unmarshal(dAtA []byte) error { 32596 l := len(dAtA) 32597 iNdEx := 0 32598 for iNdEx < l { 32599 preIndex := iNdEx 32600 var wire uint64 32601 for shift := uint(0); ; shift += 7 { 32602 if shift >= 64 { 32603 return ErrIntOverflowPlan 32604 } 32605 if iNdEx >= l { 32606 return io.ErrUnexpectedEOF 32607 } 32608 b := dAtA[iNdEx] 32609 iNdEx++ 32610 wire |= uint64(b&0x7F) << shift 32611 if b < 0x80 { 32612 break 32613 } 32614 } 32615 fieldNum := int32(wire >> 3) 32616 wireType := int(wire & 0x7) 32617 if wireType == 4 { 32618 return fmt.Errorf("proto: PartitionExpr: wiretype end group for non-group") 32619 } 32620 if fieldNum <= 0 { 32621 return fmt.Errorf("proto: PartitionExpr: illegal tag %d (wire type %d)", fieldNum, wire) 32622 } 32623 switch fieldNum { 32624 case 1: 32625 if wireType != 2 { 32626 return fmt.Errorf("proto: wrong wireType = %d for field Expr", wireType) 32627 } 32628 var msglen int 32629 for shift := uint(0); ; shift += 7 { 32630 if shift >= 64 { 32631 return ErrIntOverflowPlan 32632 } 32633 if iNdEx >= l { 32634 return io.ErrUnexpectedEOF 32635 } 32636 b := dAtA[iNdEx] 32637 iNdEx++ 32638 msglen |= int(b&0x7F) << shift 32639 if b < 0x80 { 32640 break 32641 } 32642 } 32643 if msglen < 0 { 32644 return ErrInvalidLengthPlan 32645 } 32646 postIndex := iNdEx + msglen 32647 if postIndex < 0 { 32648 return ErrInvalidLengthPlan 32649 } 32650 if postIndex > l { 32651 return io.ErrUnexpectedEOF 32652 } 32653 if m.Expr == nil { 32654 m.Expr = &Expr{} 32655 } 32656 if err := m.Expr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 32657 return err 32658 } 32659 iNdEx = postIndex 32660 case 2: 32661 if wireType != 2 { 32662 return fmt.Errorf("proto: wrong wireType = %d for field ExprStr", wireType) 32663 } 32664 var stringLen uint64 32665 for shift := uint(0); ; shift += 7 { 32666 if shift >= 64 { 32667 return ErrIntOverflowPlan 32668 } 32669 if iNdEx >= l { 32670 return io.ErrUnexpectedEOF 32671 } 32672 b := dAtA[iNdEx] 32673 iNdEx++ 32674 stringLen |= uint64(b&0x7F) << shift 32675 if b < 0x80 { 32676 break 32677 } 32678 } 32679 intStringLen := int(stringLen) 32680 if intStringLen < 0 { 32681 return ErrInvalidLengthPlan 32682 } 32683 postIndex := iNdEx + intStringLen 32684 if postIndex < 0 { 32685 return ErrInvalidLengthPlan 32686 } 32687 if postIndex > l { 32688 return io.ErrUnexpectedEOF 32689 } 32690 m.ExprStr = string(dAtA[iNdEx:postIndex]) 32691 iNdEx = postIndex 32692 default: 32693 iNdEx = preIndex 32694 skippy, err := skipPlan(dAtA[iNdEx:]) 32695 if err != nil { 32696 return err 32697 } 32698 if (skippy < 0) || (iNdEx+skippy) < 0 { 32699 return ErrInvalidLengthPlan 32700 } 32701 if (iNdEx + skippy) > l { 32702 return io.ErrUnexpectedEOF 32703 } 32704 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 32705 iNdEx += skippy 32706 } 32707 } 32708 32709 if iNdEx > l { 32710 return io.ErrUnexpectedEOF 32711 } 32712 return nil 32713 } 32714 func (m *PartitionColumns) Unmarshal(dAtA []byte) error { 32715 l := len(dAtA) 32716 iNdEx := 0 32717 for iNdEx < l { 32718 preIndex := iNdEx 32719 var wire uint64 32720 for shift := uint(0); ; shift += 7 { 32721 if shift >= 64 { 32722 return ErrIntOverflowPlan 32723 } 32724 if iNdEx >= l { 32725 return io.ErrUnexpectedEOF 32726 } 32727 b := dAtA[iNdEx] 32728 iNdEx++ 32729 wire |= uint64(b&0x7F) << shift 32730 if b < 0x80 { 32731 break 32732 } 32733 } 32734 fieldNum := int32(wire >> 3) 32735 wireType := int(wire & 0x7) 32736 if wireType == 4 { 32737 return fmt.Errorf("proto: PartitionColumns: wiretype end group for non-group") 32738 } 32739 if fieldNum <= 0 { 32740 return fmt.Errorf("proto: PartitionColumns: illegal tag %d (wire type %d)", fieldNum, wire) 32741 } 32742 switch fieldNum { 32743 case 1: 32744 if wireType != 2 { 32745 return fmt.Errorf("proto: wrong wireType = %d for field Columns", wireType) 32746 } 32747 var msglen int 32748 for shift := uint(0); ; shift += 7 { 32749 if shift >= 64 { 32750 return ErrIntOverflowPlan 32751 } 32752 if iNdEx >= l { 32753 return io.ErrUnexpectedEOF 32754 } 32755 b := dAtA[iNdEx] 32756 iNdEx++ 32757 msglen |= int(b&0x7F) << shift 32758 if b < 0x80 { 32759 break 32760 } 32761 } 32762 if msglen < 0 { 32763 return ErrInvalidLengthPlan 32764 } 32765 postIndex := iNdEx + msglen 32766 if postIndex < 0 { 32767 return ErrInvalidLengthPlan 32768 } 32769 if postIndex > l { 32770 return io.ErrUnexpectedEOF 32771 } 32772 m.Columns = append(m.Columns, &Expr{}) 32773 if err := m.Columns[len(m.Columns)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 32774 return err 32775 } 32776 iNdEx = postIndex 32777 case 2: 32778 if wireType != 2 { 32779 return fmt.Errorf("proto: wrong wireType = %d for field PartitionColumns", wireType) 32780 } 32781 var stringLen uint64 32782 for shift := uint(0); ; shift += 7 { 32783 if shift >= 64 { 32784 return ErrIntOverflowPlan 32785 } 32786 if iNdEx >= l { 32787 return io.ErrUnexpectedEOF 32788 } 32789 b := dAtA[iNdEx] 32790 iNdEx++ 32791 stringLen |= uint64(b&0x7F) << shift 32792 if b < 0x80 { 32793 break 32794 } 32795 } 32796 intStringLen := int(stringLen) 32797 if intStringLen < 0 { 32798 return ErrInvalidLengthPlan 32799 } 32800 postIndex := iNdEx + intStringLen 32801 if postIndex < 0 { 32802 return ErrInvalidLengthPlan 32803 } 32804 if postIndex > l { 32805 return io.ErrUnexpectedEOF 32806 } 32807 m.PartitionColumns = append(m.PartitionColumns, string(dAtA[iNdEx:postIndex])) 32808 iNdEx = postIndex 32809 default: 32810 iNdEx = preIndex 32811 skippy, err := skipPlan(dAtA[iNdEx:]) 32812 if err != nil { 32813 return err 32814 } 32815 if (skippy < 0) || (iNdEx+skippy) < 0 { 32816 return ErrInvalidLengthPlan 32817 } 32818 if (iNdEx + skippy) > l { 32819 return io.ErrUnexpectedEOF 32820 } 32821 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 32822 iNdEx += skippy 32823 } 32824 } 32825 32826 if iNdEx > l { 32827 return io.ErrUnexpectedEOF 32828 } 32829 return nil 32830 } 32831 func (m *PartitionItem) Unmarshal(dAtA []byte) error { 32832 l := len(dAtA) 32833 iNdEx := 0 32834 for iNdEx < l { 32835 preIndex := iNdEx 32836 var wire uint64 32837 for shift := uint(0); ; shift += 7 { 32838 if shift >= 64 { 32839 return ErrIntOverflowPlan 32840 } 32841 if iNdEx >= l { 32842 return io.ErrUnexpectedEOF 32843 } 32844 b := dAtA[iNdEx] 32845 iNdEx++ 32846 wire |= uint64(b&0x7F) << shift 32847 if b < 0x80 { 32848 break 32849 } 32850 } 32851 fieldNum := int32(wire >> 3) 32852 wireType := int(wire & 0x7) 32853 if wireType == 4 { 32854 return fmt.Errorf("proto: PartitionItem: wiretype end group for non-group") 32855 } 32856 if fieldNum <= 0 { 32857 return fmt.Errorf("proto: PartitionItem: illegal tag %d (wire type %d)", fieldNum, wire) 32858 } 32859 switch fieldNum { 32860 case 1: 32861 if wireType != 2 { 32862 return fmt.Errorf("proto: wrong wireType = %d for field PartitionName", wireType) 32863 } 32864 var stringLen uint64 32865 for shift := uint(0); ; shift += 7 { 32866 if shift >= 64 { 32867 return ErrIntOverflowPlan 32868 } 32869 if iNdEx >= l { 32870 return io.ErrUnexpectedEOF 32871 } 32872 b := dAtA[iNdEx] 32873 iNdEx++ 32874 stringLen |= uint64(b&0x7F) << shift 32875 if b < 0x80 { 32876 break 32877 } 32878 } 32879 intStringLen := int(stringLen) 32880 if intStringLen < 0 { 32881 return ErrInvalidLengthPlan 32882 } 32883 postIndex := iNdEx + intStringLen 32884 if postIndex < 0 { 32885 return ErrInvalidLengthPlan 32886 } 32887 if postIndex > l { 32888 return io.ErrUnexpectedEOF 32889 } 32890 m.PartitionName = string(dAtA[iNdEx:postIndex]) 32891 iNdEx = postIndex 32892 case 2: 32893 if wireType != 0 { 32894 return fmt.Errorf("proto: wrong wireType = %d for field OrdinalPosition", wireType) 32895 } 32896 m.OrdinalPosition = 0 32897 for shift := uint(0); ; shift += 7 { 32898 if shift >= 64 { 32899 return ErrIntOverflowPlan 32900 } 32901 if iNdEx >= l { 32902 return io.ErrUnexpectedEOF 32903 } 32904 b := dAtA[iNdEx] 32905 iNdEx++ 32906 m.OrdinalPosition |= uint32(b&0x7F) << shift 32907 if b < 0x80 { 32908 break 32909 } 32910 } 32911 case 3: 32912 if wireType != 2 { 32913 return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) 32914 } 32915 var stringLen uint64 32916 for shift := uint(0); ; shift += 7 { 32917 if shift >= 64 { 32918 return ErrIntOverflowPlan 32919 } 32920 if iNdEx >= l { 32921 return io.ErrUnexpectedEOF 32922 } 32923 b := dAtA[iNdEx] 32924 iNdEx++ 32925 stringLen |= uint64(b&0x7F) << shift 32926 if b < 0x80 { 32927 break 32928 } 32929 } 32930 intStringLen := int(stringLen) 32931 if intStringLen < 0 { 32932 return ErrInvalidLengthPlan 32933 } 32934 postIndex := iNdEx + intStringLen 32935 if postIndex < 0 { 32936 return ErrInvalidLengthPlan 32937 } 32938 if postIndex > l { 32939 return io.ErrUnexpectedEOF 32940 } 32941 m.Description = string(dAtA[iNdEx:postIndex]) 32942 iNdEx = postIndex 32943 case 4: 32944 if wireType != 2 { 32945 return fmt.Errorf("proto: wrong wireType = %d for field Comment", wireType) 32946 } 32947 var stringLen uint64 32948 for shift := uint(0); ; shift += 7 { 32949 if shift >= 64 { 32950 return ErrIntOverflowPlan 32951 } 32952 if iNdEx >= l { 32953 return io.ErrUnexpectedEOF 32954 } 32955 b := dAtA[iNdEx] 32956 iNdEx++ 32957 stringLen |= uint64(b&0x7F) << shift 32958 if b < 0x80 { 32959 break 32960 } 32961 } 32962 intStringLen := int(stringLen) 32963 if intStringLen < 0 { 32964 return ErrInvalidLengthPlan 32965 } 32966 postIndex := iNdEx + intStringLen 32967 if postIndex < 0 { 32968 return ErrInvalidLengthPlan 32969 } 32970 if postIndex > l { 32971 return io.ErrUnexpectedEOF 32972 } 32973 m.Comment = string(dAtA[iNdEx:postIndex]) 32974 iNdEx = postIndex 32975 case 5: 32976 if wireType != 2 { 32977 return fmt.Errorf("proto: wrong wireType = %d for field LessThan", wireType) 32978 } 32979 var msglen int 32980 for shift := uint(0); ; shift += 7 { 32981 if shift >= 64 { 32982 return ErrIntOverflowPlan 32983 } 32984 if iNdEx >= l { 32985 return io.ErrUnexpectedEOF 32986 } 32987 b := dAtA[iNdEx] 32988 iNdEx++ 32989 msglen |= int(b&0x7F) << shift 32990 if b < 0x80 { 32991 break 32992 } 32993 } 32994 if msglen < 0 { 32995 return ErrInvalidLengthPlan 32996 } 32997 postIndex := iNdEx + msglen 32998 if postIndex < 0 { 32999 return ErrInvalidLengthPlan 33000 } 33001 if postIndex > l { 33002 return io.ErrUnexpectedEOF 33003 } 33004 m.LessThan = append(m.LessThan, &Expr{}) 33005 if err := m.LessThan[len(m.LessThan)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33006 return err 33007 } 33008 iNdEx = postIndex 33009 case 6: 33010 if wireType != 2 { 33011 return fmt.Errorf("proto: wrong wireType = %d for field InValues", wireType) 33012 } 33013 var msglen int 33014 for shift := uint(0); ; shift += 7 { 33015 if shift >= 64 { 33016 return ErrIntOverflowPlan 33017 } 33018 if iNdEx >= l { 33019 return io.ErrUnexpectedEOF 33020 } 33021 b := dAtA[iNdEx] 33022 iNdEx++ 33023 msglen |= int(b&0x7F) << shift 33024 if b < 0x80 { 33025 break 33026 } 33027 } 33028 if msglen < 0 { 33029 return ErrInvalidLengthPlan 33030 } 33031 postIndex := iNdEx + msglen 33032 if postIndex < 0 { 33033 return ErrInvalidLengthPlan 33034 } 33035 if postIndex > l { 33036 return io.ErrUnexpectedEOF 33037 } 33038 m.InValues = append(m.InValues, &Expr{}) 33039 if err := m.InValues[len(m.InValues)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33040 return err 33041 } 33042 iNdEx = postIndex 33043 case 7: 33044 if wireType != 2 { 33045 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTableName", wireType) 33046 } 33047 var stringLen uint64 33048 for shift := uint(0); ; shift += 7 { 33049 if shift >= 64 { 33050 return ErrIntOverflowPlan 33051 } 33052 if iNdEx >= l { 33053 return io.ErrUnexpectedEOF 33054 } 33055 b := dAtA[iNdEx] 33056 iNdEx++ 33057 stringLen |= uint64(b&0x7F) << shift 33058 if b < 0x80 { 33059 break 33060 } 33061 } 33062 intStringLen := int(stringLen) 33063 if intStringLen < 0 { 33064 return ErrInvalidLengthPlan 33065 } 33066 postIndex := iNdEx + intStringLen 33067 if postIndex < 0 { 33068 return ErrInvalidLengthPlan 33069 } 33070 if postIndex > l { 33071 return io.ErrUnexpectedEOF 33072 } 33073 m.PartitionTableName = string(dAtA[iNdEx:postIndex]) 33074 iNdEx = postIndex 33075 default: 33076 iNdEx = preIndex 33077 skippy, err := skipPlan(dAtA[iNdEx:]) 33078 if err != nil { 33079 return err 33080 } 33081 if (skippy < 0) || (iNdEx+skippy) < 0 { 33082 return ErrInvalidLengthPlan 33083 } 33084 if (iNdEx + skippy) > l { 33085 return io.ErrUnexpectedEOF 33086 } 33087 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 33088 iNdEx += skippy 33089 } 33090 } 33091 33092 if iNdEx > l { 33093 return io.ErrUnexpectedEOF 33094 } 33095 return nil 33096 } 33097 func (m *ViewDef) Unmarshal(dAtA []byte) error { 33098 l := len(dAtA) 33099 iNdEx := 0 33100 for iNdEx < l { 33101 preIndex := iNdEx 33102 var wire uint64 33103 for shift := uint(0); ; shift += 7 { 33104 if shift >= 64 { 33105 return ErrIntOverflowPlan 33106 } 33107 if iNdEx >= l { 33108 return io.ErrUnexpectedEOF 33109 } 33110 b := dAtA[iNdEx] 33111 iNdEx++ 33112 wire |= uint64(b&0x7F) << shift 33113 if b < 0x80 { 33114 break 33115 } 33116 } 33117 fieldNum := int32(wire >> 3) 33118 wireType := int(wire & 0x7) 33119 if wireType == 4 { 33120 return fmt.Errorf("proto: ViewDef: wiretype end group for non-group") 33121 } 33122 if fieldNum <= 0 { 33123 return fmt.Errorf("proto: ViewDef: illegal tag %d (wire type %d)", fieldNum, wire) 33124 } 33125 switch fieldNum { 33126 case 1: 33127 if wireType != 2 { 33128 return fmt.Errorf("proto: wrong wireType = %d for field View", wireType) 33129 } 33130 var stringLen uint64 33131 for shift := uint(0); ; shift += 7 { 33132 if shift >= 64 { 33133 return ErrIntOverflowPlan 33134 } 33135 if iNdEx >= l { 33136 return io.ErrUnexpectedEOF 33137 } 33138 b := dAtA[iNdEx] 33139 iNdEx++ 33140 stringLen |= uint64(b&0x7F) << shift 33141 if b < 0x80 { 33142 break 33143 } 33144 } 33145 intStringLen := int(stringLen) 33146 if intStringLen < 0 { 33147 return ErrInvalidLengthPlan 33148 } 33149 postIndex := iNdEx + intStringLen 33150 if postIndex < 0 { 33151 return ErrInvalidLengthPlan 33152 } 33153 if postIndex > l { 33154 return io.ErrUnexpectedEOF 33155 } 33156 m.View = string(dAtA[iNdEx:postIndex]) 33157 iNdEx = postIndex 33158 default: 33159 iNdEx = preIndex 33160 skippy, err := skipPlan(dAtA[iNdEx:]) 33161 if err != nil { 33162 return err 33163 } 33164 if (skippy < 0) || (iNdEx+skippy) < 0 { 33165 return ErrInvalidLengthPlan 33166 } 33167 if (iNdEx + skippy) > l { 33168 return io.ErrUnexpectedEOF 33169 } 33170 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 33171 iNdEx += skippy 33172 } 33173 } 33174 33175 if iNdEx > l { 33176 return io.ErrUnexpectedEOF 33177 } 33178 return nil 33179 } 33180 func (m *TableDef) Unmarshal(dAtA []byte) error { 33181 l := len(dAtA) 33182 iNdEx := 0 33183 for iNdEx < l { 33184 preIndex := iNdEx 33185 var wire uint64 33186 for shift := uint(0); ; shift += 7 { 33187 if shift >= 64 { 33188 return ErrIntOverflowPlan 33189 } 33190 if iNdEx >= l { 33191 return io.ErrUnexpectedEOF 33192 } 33193 b := dAtA[iNdEx] 33194 iNdEx++ 33195 wire |= uint64(b&0x7F) << shift 33196 if b < 0x80 { 33197 break 33198 } 33199 } 33200 fieldNum := int32(wire >> 3) 33201 wireType := int(wire & 0x7) 33202 if wireType == 4 { 33203 return fmt.Errorf("proto: TableDef: wiretype end group for non-group") 33204 } 33205 if fieldNum <= 0 { 33206 return fmt.Errorf("proto: TableDef: illegal tag %d (wire type %d)", fieldNum, wire) 33207 } 33208 switch fieldNum { 33209 case 1: 33210 if wireType != 0 { 33211 return fmt.Errorf("proto: wrong wireType = %d for field TblId", wireType) 33212 } 33213 m.TblId = 0 33214 for shift := uint(0); ; shift += 7 { 33215 if shift >= 64 { 33216 return ErrIntOverflowPlan 33217 } 33218 if iNdEx >= l { 33219 return io.ErrUnexpectedEOF 33220 } 33221 b := dAtA[iNdEx] 33222 iNdEx++ 33223 m.TblId |= uint64(b&0x7F) << shift 33224 if b < 0x80 { 33225 break 33226 } 33227 } 33228 case 2: 33229 if wireType != 2 { 33230 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 33231 } 33232 var stringLen uint64 33233 for shift := uint(0); ; shift += 7 { 33234 if shift >= 64 { 33235 return ErrIntOverflowPlan 33236 } 33237 if iNdEx >= l { 33238 return io.ErrUnexpectedEOF 33239 } 33240 b := dAtA[iNdEx] 33241 iNdEx++ 33242 stringLen |= uint64(b&0x7F) << shift 33243 if b < 0x80 { 33244 break 33245 } 33246 } 33247 intStringLen := int(stringLen) 33248 if intStringLen < 0 { 33249 return ErrInvalidLengthPlan 33250 } 33251 postIndex := iNdEx + intStringLen 33252 if postIndex < 0 { 33253 return ErrInvalidLengthPlan 33254 } 33255 if postIndex > l { 33256 return io.ErrUnexpectedEOF 33257 } 33258 m.Name = string(dAtA[iNdEx:postIndex]) 33259 iNdEx = postIndex 33260 case 3: 33261 if wireType != 0 { 33262 return fmt.Errorf("proto: wrong wireType = %d for field Hidden", wireType) 33263 } 33264 var v int 33265 for shift := uint(0); ; shift += 7 { 33266 if shift >= 64 { 33267 return ErrIntOverflowPlan 33268 } 33269 if iNdEx >= l { 33270 return io.ErrUnexpectedEOF 33271 } 33272 b := dAtA[iNdEx] 33273 iNdEx++ 33274 v |= int(b&0x7F) << shift 33275 if b < 0x80 { 33276 break 33277 } 33278 } 33279 m.Hidden = bool(v != 0) 33280 case 4: 33281 if wireType != 2 { 33282 return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType) 33283 } 33284 var msglen int 33285 for shift := uint(0); ; shift += 7 { 33286 if shift >= 64 { 33287 return ErrIntOverflowPlan 33288 } 33289 if iNdEx >= l { 33290 return io.ErrUnexpectedEOF 33291 } 33292 b := dAtA[iNdEx] 33293 iNdEx++ 33294 msglen |= int(b&0x7F) << shift 33295 if b < 0x80 { 33296 break 33297 } 33298 } 33299 if msglen < 0 { 33300 return ErrInvalidLengthPlan 33301 } 33302 postIndex := iNdEx + msglen 33303 if postIndex < 0 { 33304 return ErrInvalidLengthPlan 33305 } 33306 if postIndex > l { 33307 return io.ErrUnexpectedEOF 33308 } 33309 m.Cols = append(m.Cols, &ColDef{}) 33310 if err := m.Cols[len(m.Cols)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33311 return err 33312 } 33313 iNdEx = postIndex 33314 case 5: 33315 if wireType != 2 { 33316 return fmt.Errorf("proto: wrong wireType = %d for field TableType", wireType) 33317 } 33318 var stringLen uint64 33319 for shift := uint(0); ; shift += 7 { 33320 if shift >= 64 { 33321 return ErrIntOverflowPlan 33322 } 33323 if iNdEx >= l { 33324 return io.ErrUnexpectedEOF 33325 } 33326 b := dAtA[iNdEx] 33327 iNdEx++ 33328 stringLen |= uint64(b&0x7F) << shift 33329 if b < 0x80 { 33330 break 33331 } 33332 } 33333 intStringLen := int(stringLen) 33334 if intStringLen < 0 { 33335 return ErrInvalidLengthPlan 33336 } 33337 postIndex := iNdEx + intStringLen 33338 if postIndex < 0 { 33339 return ErrInvalidLengthPlan 33340 } 33341 if postIndex > l { 33342 return io.ErrUnexpectedEOF 33343 } 33344 m.TableType = string(dAtA[iNdEx:postIndex]) 33345 iNdEx = postIndex 33346 case 6: 33347 if wireType != 2 { 33348 return fmt.Errorf("proto: wrong wireType = %d for field Createsql", wireType) 33349 } 33350 var stringLen uint64 33351 for shift := uint(0); ; shift += 7 { 33352 if shift >= 64 { 33353 return ErrIntOverflowPlan 33354 } 33355 if iNdEx >= l { 33356 return io.ErrUnexpectedEOF 33357 } 33358 b := dAtA[iNdEx] 33359 iNdEx++ 33360 stringLen |= uint64(b&0x7F) << shift 33361 if b < 0x80 { 33362 break 33363 } 33364 } 33365 intStringLen := int(stringLen) 33366 if intStringLen < 0 { 33367 return ErrInvalidLengthPlan 33368 } 33369 postIndex := iNdEx + intStringLen 33370 if postIndex < 0 { 33371 return ErrInvalidLengthPlan 33372 } 33373 if postIndex > l { 33374 return io.ErrUnexpectedEOF 33375 } 33376 m.Createsql = string(dAtA[iNdEx:postIndex]) 33377 iNdEx = postIndex 33378 case 7: 33379 if wireType != 2 { 33380 return fmt.Errorf("proto: wrong wireType = %d for field TblFunc", wireType) 33381 } 33382 var msglen int 33383 for shift := uint(0); ; shift += 7 { 33384 if shift >= 64 { 33385 return ErrIntOverflowPlan 33386 } 33387 if iNdEx >= l { 33388 return io.ErrUnexpectedEOF 33389 } 33390 b := dAtA[iNdEx] 33391 iNdEx++ 33392 msglen |= int(b&0x7F) << shift 33393 if b < 0x80 { 33394 break 33395 } 33396 } 33397 if msglen < 0 { 33398 return ErrInvalidLengthPlan 33399 } 33400 postIndex := iNdEx + msglen 33401 if postIndex < 0 { 33402 return ErrInvalidLengthPlan 33403 } 33404 if postIndex > l { 33405 return io.ErrUnexpectedEOF 33406 } 33407 if m.TblFunc == nil { 33408 m.TblFunc = &TableFunction{} 33409 } 33410 if err := m.TblFunc.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33411 return err 33412 } 33413 iNdEx = postIndex 33414 case 8: 33415 if wireType != 0 { 33416 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 33417 } 33418 m.Version = 0 33419 for shift := uint(0); ; shift += 7 { 33420 if shift >= 64 { 33421 return ErrIntOverflowPlan 33422 } 33423 if iNdEx >= l { 33424 return io.ErrUnexpectedEOF 33425 } 33426 b := dAtA[iNdEx] 33427 iNdEx++ 33428 m.Version |= uint32(b&0x7F) << shift 33429 if b < 0x80 { 33430 break 33431 } 33432 } 33433 case 11: 33434 if wireType != 2 { 33435 return fmt.Errorf("proto: wrong wireType = %d for field Pkey", wireType) 33436 } 33437 var msglen int 33438 for shift := uint(0); ; shift += 7 { 33439 if shift >= 64 { 33440 return ErrIntOverflowPlan 33441 } 33442 if iNdEx >= l { 33443 return io.ErrUnexpectedEOF 33444 } 33445 b := dAtA[iNdEx] 33446 iNdEx++ 33447 msglen |= int(b&0x7F) << shift 33448 if b < 0x80 { 33449 break 33450 } 33451 } 33452 if msglen < 0 { 33453 return ErrInvalidLengthPlan 33454 } 33455 postIndex := iNdEx + msglen 33456 if postIndex < 0 { 33457 return ErrInvalidLengthPlan 33458 } 33459 if postIndex > l { 33460 return io.ErrUnexpectedEOF 33461 } 33462 if m.Pkey == nil { 33463 m.Pkey = &PrimaryKeyDef{} 33464 } 33465 if err := m.Pkey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33466 return err 33467 } 33468 iNdEx = postIndex 33469 case 12: 33470 if wireType != 2 { 33471 return fmt.Errorf("proto: wrong wireType = %d for field Indexes", wireType) 33472 } 33473 var msglen int 33474 for shift := uint(0); ; shift += 7 { 33475 if shift >= 64 { 33476 return ErrIntOverflowPlan 33477 } 33478 if iNdEx >= l { 33479 return io.ErrUnexpectedEOF 33480 } 33481 b := dAtA[iNdEx] 33482 iNdEx++ 33483 msglen |= int(b&0x7F) << shift 33484 if b < 0x80 { 33485 break 33486 } 33487 } 33488 if msglen < 0 { 33489 return ErrInvalidLengthPlan 33490 } 33491 postIndex := iNdEx + msglen 33492 if postIndex < 0 { 33493 return ErrInvalidLengthPlan 33494 } 33495 if postIndex > l { 33496 return io.ErrUnexpectedEOF 33497 } 33498 m.Indexes = append(m.Indexes, &IndexDef{}) 33499 if err := m.Indexes[len(m.Indexes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33500 return err 33501 } 33502 iNdEx = postIndex 33503 case 13: 33504 if wireType != 2 { 33505 return fmt.Errorf("proto: wrong wireType = %d for field Fkeys", wireType) 33506 } 33507 var msglen int 33508 for shift := uint(0); ; shift += 7 { 33509 if shift >= 64 { 33510 return ErrIntOverflowPlan 33511 } 33512 if iNdEx >= l { 33513 return io.ErrUnexpectedEOF 33514 } 33515 b := dAtA[iNdEx] 33516 iNdEx++ 33517 msglen |= int(b&0x7F) << shift 33518 if b < 0x80 { 33519 break 33520 } 33521 } 33522 if msglen < 0 { 33523 return ErrInvalidLengthPlan 33524 } 33525 postIndex := iNdEx + msglen 33526 if postIndex < 0 { 33527 return ErrInvalidLengthPlan 33528 } 33529 if postIndex > l { 33530 return io.ErrUnexpectedEOF 33531 } 33532 m.Fkeys = append(m.Fkeys, &ForeignKeyDef{}) 33533 if err := m.Fkeys[len(m.Fkeys)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33534 return err 33535 } 33536 iNdEx = postIndex 33537 case 14: 33538 if wireType == 0 { 33539 var v uint64 33540 for shift := uint(0); ; shift += 7 { 33541 if shift >= 64 { 33542 return ErrIntOverflowPlan 33543 } 33544 if iNdEx >= l { 33545 return io.ErrUnexpectedEOF 33546 } 33547 b := dAtA[iNdEx] 33548 iNdEx++ 33549 v |= uint64(b&0x7F) << shift 33550 if b < 0x80 { 33551 break 33552 } 33553 } 33554 m.RefChildTbls = append(m.RefChildTbls, v) 33555 } else if wireType == 2 { 33556 var packedLen int 33557 for shift := uint(0); ; shift += 7 { 33558 if shift >= 64 { 33559 return ErrIntOverflowPlan 33560 } 33561 if iNdEx >= l { 33562 return io.ErrUnexpectedEOF 33563 } 33564 b := dAtA[iNdEx] 33565 iNdEx++ 33566 packedLen |= int(b&0x7F) << shift 33567 if b < 0x80 { 33568 break 33569 } 33570 } 33571 if packedLen < 0 { 33572 return ErrInvalidLengthPlan 33573 } 33574 postIndex := iNdEx + packedLen 33575 if postIndex < 0 { 33576 return ErrInvalidLengthPlan 33577 } 33578 if postIndex > l { 33579 return io.ErrUnexpectedEOF 33580 } 33581 var elementCount int 33582 var count int 33583 for _, integer := range dAtA[iNdEx:postIndex] { 33584 if integer < 128 { 33585 count++ 33586 } 33587 } 33588 elementCount = count 33589 if elementCount != 0 && len(m.RefChildTbls) == 0 { 33590 m.RefChildTbls = make([]uint64, 0, elementCount) 33591 } 33592 for iNdEx < postIndex { 33593 var v uint64 33594 for shift := uint(0); ; shift += 7 { 33595 if shift >= 64 { 33596 return ErrIntOverflowPlan 33597 } 33598 if iNdEx >= l { 33599 return io.ErrUnexpectedEOF 33600 } 33601 b := dAtA[iNdEx] 33602 iNdEx++ 33603 v |= uint64(b&0x7F) << shift 33604 if b < 0x80 { 33605 break 33606 } 33607 } 33608 m.RefChildTbls = append(m.RefChildTbls, v) 33609 } 33610 } else { 33611 return fmt.Errorf("proto: wrong wireType = %d for field RefChildTbls", wireType) 33612 } 33613 case 15: 33614 if wireType != 2 { 33615 return fmt.Errorf("proto: wrong wireType = %d for field Checks", wireType) 33616 } 33617 var msglen int 33618 for shift := uint(0); ; shift += 7 { 33619 if shift >= 64 { 33620 return ErrIntOverflowPlan 33621 } 33622 if iNdEx >= l { 33623 return io.ErrUnexpectedEOF 33624 } 33625 b := dAtA[iNdEx] 33626 iNdEx++ 33627 msglen |= int(b&0x7F) << shift 33628 if b < 0x80 { 33629 break 33630 } 33631 } 33632 if msglen < 0 { 33633 return ErrInvalidLengthPlan 33634 } 33635 postIndex := iNdEx + msglen 33636 if postIndex < 0 { 33637 return ErrInvalidLengthPlan 33638 } 33639 if postIndex > l { 33640 return io.ErrUnexpectedEOF 33641 } 33642 m.Checks = append(m.Checks, &CheckDef{}) 33643 if err := m.Checks[len(m.Checks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33644 return err 33645 } 33646 iNdEx = postIndex 33647 case 21: 33648 if wireType != 2 { 33649 return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType) 33650 } 33651 var msglen int 33652 for shift := uint(0); ; shift += 7 { 33653 if shift >= 64 { 33654 return ErrIntOverflowPlan 33655 } 33656 if iNdEx >= l { 33657 return io.ErrUnexpectedEOF 33658 } 33659 b := dAtA[iNdEx] 33660 iNdEx++ 33661 msglen |= int(b&0x7F) << shift 33662 if b < 0x80 { 33663 break 33664 } 33665 } 33666 if msglen < 0 { 33667 return ErrInvalidLengthPlan 33668 } 33669 postIndex := iNdEx + msglen 33670 if postIndex < 0 { 33671 return ErrInvalidLengthPlan 33672 } 33673 if postIndex > l { 33674 return io.ErrUnexpectedEOF 33675 } 33676 if m.Partition == nil { 33677 m.Partition = &PartitionByDef{} 33678 } 33679 if err := m.Partition.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33680 return err 33681 } 33682 iNdEx = postIndex 33683 case 22: 33684 if wireType != 2 { 33685 return fmt.Errorf("proto: wrong wireType = %d for field ClusterBy", wireType) 33686 } 33687 var msglen int 33688 for shift := uint(0); ; shift += 7 { 33689 if shift >= 64 { 33690 return ErrIntOverflowPlan 33691 } 33692 if iNdEx >= l { 33693 return io.ErrUnexpectedEOF 33694 } 33695 b := dAtA[iNdEx] 33696 iNdEx++ 33697 msglen |= int(b&0x7F) << shift 33698 if b < 0x80 { 33699 break 33700 } 33701 } 33702 if msglen < 0 { 33703 return ErrInvalidLengthPlan 33704 } 33705 postIndex := iNdEx + msglen 33706 if postIndex < 0 { 33707 return ErrInvalidLengthPlan 33708 } 33709 if postIndex > l { 33710 return io.ErrUnexpectedEOF 33711 } 33712 if m.ClusterBy == nil { 33713 m.ClusterBy = &ClusterByDef{} 33714 } 33715 if err := m.ClusterBy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33716 return err 33717 } 33718 iNdEx = postIndex 33719 case 23: 33720 if wireType != 2 { 33721 return fmt.Errorf("proto: wrong wireType = %d for field Props", wireType) 33722 } 33723 var msglen int 33724 for shift := uint(0); ; shift += 7 { 33725 if shift >= 64 { 33726 return ErrIntOverflowPlan 33727 } 33728 if iNdEx >= l { 33729 return io.ErrUnexpectedEOF 33730 } 33731 b := dAtA[iNdEx] 33732 iNdEx++ 33733 msglen |= int(b&0x7F) << shift 33734 if b < 0x80 { 33735 break 33736 } 33737 } 33738 if msglen < 0 { 33739 return ErrInvalidLengthPlan 33740 } 33741 postIndex := iNdEx + msglen 33742 if postIndex < 0 { 33743 return ErrInvalidLengthPlan 33744 } 33745 if postIndex > l { 33746 return io.ErrUnexpectedEOF 33747 } 33748 m.Props = append(m.Props, &PropertyDef{}) 33749 if err := m.Props[len(m.Props)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33750 return err 33751 } 33752 iNdEx = postIndex 33753 case 24: 33754 if wireType != 2 { 33755 return fmt.Errorf("proto: wrong wireType = %d for field ViewSql", wireType) 33756 } 33757 var msglen int 33758 for shift := uint(0); ; shift += 7 { 33759 if shift >= 64 { 33760 return ErrIntOverflowPlan 33761 } 33762 if iNdEx >= l { 33763 return io.ErrUnexpectedEOF 33764 } 33765 b := dAtA[iNdEx] 33766 iNdEx++ 33767 msglen |= int(b&0x7F) << shift 33768 if b < 0x80 { 33769 break 33770 } 33771 } 33772 if msglen < 0 { 33773 return ErrInvalidLengthPlan 33774 } 33775 postIndex := iNdEx + msglen 33776 if postIndex < 0 { 33777 return ErrInvalidLengthPlan 33778 } 33779 if postIndex > l { 33780 return io.ErrUnexpectedEOF 33781 } 33782 if m.ViewSql == nil { 33783 m.ViewSql = &ViewDef{} 33784 } 33785 if err := m.ViewSql.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33786 return err 33787 } 33788 iNdEx = postIndex 33789 case 25: 33790 if wireType != 2 { 33791 return fmt.Errorf("proto: wrong wireType = %d for field Defs", wireType) 33792 } 33793 var msglen int 33794 for shift := uint(0); ; shift += 7 { 33795 if shift >= 64 { 33796 return ErrIntOverflowPlan 33797 } 33798 if iNdEx >= l { 33799 return io.ErrUnexpectedEOF 33800 } 33801 b := dAtA[iNdEx] 33802 iNdEx++ 33803 msglen |= int(b&0x7F) << shift 33804 if b < 0x80 { 33805 break 33806 } 33807 } 33808 if msglen < 0 { 33809 return ErrInvalidLengthPlan 33810 } 33811 postIndex := iNdEx + msglen 33812 if postIndex < 0 { 33813 return ErrInvalidLengthPlan 33814 } 33815 if postIndex > l { 33816 return io.ErrUnexpectedEOF 33817 } 33818 m.Defs = append(m.Defs, &TableDef_DefType{}) 33819 if err := m.Defs[len(m.Defs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 33820 return err 33821 } 33822 iNdEx = postIndex 33823 case 26: 33824 if wireType != 2 { 33825 return fmt.Errorf("proto: wrong wireType = %d for field Name2ColIndex", wireType) 33826 } 33827 var msglen int 33828 for shift := uint(0); ; shift += 7 { 33829 if shift >= 64 { 33830 return ErrIntOverflowPlan 33831 } 33832 if iNdEx >= l { 33833 return io.ErrUnexpectedEOF 33834 } 33835 b := dAtA[iNdEx] 33836 iNdEx++ 33837 msglen |= int(b&0x7F) << shift 33838 if b < 0x80 { 33839 break 33840 } 33841 } 33842 if msglen < 0 { 33843 return ErrInvalidLengthPlan 33844 } 33845 postIndex := iNdEx + msglen 33846 if postIndex < 0 { 33847 return ErrInvalidLengthPlan 33848 } 33849 if postIndex > l { 33850 return io.ErrUnexpectedEOF 33851 } 33852 if m.Name2ColIndex == nil { 33853 m.Name2ColIndex = make(map[string]int32) 33854 } 33855 var mapkey string 33856 var mapvalue int32 33857 for iNdEx < postIndex { 33858 entryPreIndex := iNdEx 33859 var wire uint64 33860 for shift := uint(0); ; shift += 7 { 33861 if shift >= 64 { 33862 return ErrIntOverflowPlan 33863 } 33864 if iNdEx >= l { 33865 return io.ErrUnexpectedEOF 33866 } 33867 b := dAtA[iNdEx] 33868 iNdEx++ 33869 wire |= uint64(b&0x7F) << shift 33870 if b < 0x80 { 33871 break 33872 } 33873 } 33874 fieldNum := int32(wire >> 3) 33875 if fieldNum == 1 { 33876 var stringLenmapkey uint64 33877 for shift := uint(0); ; shift += 7 { 33878 if shift >= 64 { 33879 return ErrIntOverflowPlan 33880 } 33881 if iNdEx >= l { 33882 return io.ErrUnexpectedEOF 33883 } 33884 b := dAtA[iNdEx] 33885 iNdEx++ 33886 stringLenmapkey |= uint64(b&0x7F) << shift 33887 if b < 0x80 { 33888 break 33889 } 33890 } 33891 intStringLenmapkey := int(stringLenmapkey) 33892 if intStringLenmapkey < 0 { 33893 return ErrInvalidLengthPlan 33894 } 33895 postStringIndexmapkey := iNdEx + intStringLenmapkey 33896 if postStringIndexmapkey < 0 { 33897 return ErrInvalidLengthPlan 33898 } 33899 if postStringIndexmapkey > l { 33900 return io.ErrUnexpectedEOF 33901 } 33902 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 33903 iNdEx = postStringIndexmapkey 33904 } else if fieldNum == 2 { 33905 for shift := uint(0); ; shift += 7 { 33906 if shift >= 64 { 33907 return ErrIntOverflowPlan 33908 } 33909 if iNdEx >= l { 33910 return io.ErrUnexpectedEOF 33911 } 33912 b := dAtA[iNdEx] 33913 iNdEx++ 33914 mapvalue |= int32(b&0x7F) << shift 33915 if b < 0x80 { 33916 break 33917 } 33918 } 33919 } else { 33920 iNdEx = entryPreIndex 33921 skippy, err := skipPlan(dAtA[iNdEx:]) 33922 if err != nil { 33923 return err 33924 } 33925 if (skippy < 0) || (iNdEx+skippy) < 0 { 33926 return ErrInvalidLengthPlan 33927 } 33928 if (iNdEx + skippy) > postIndex { 33929 return io.ErrUnexpectedEOF 33930 } 33931 iNdEx += skippy 33932 } 33933 } 33934 m.Name2ColIndex[mapkey] = mapvalue 33935 iNdEx = postIndex 33936 case 27: 33937 if wireType != 0 { 33938 return fmt.Errorf("proto: wrong wireType = %d for field IsLocked", wireType) 33939 } 33940 var v int 33941 for shift := uint(0); ; shift += 7 { 33942 if shift >= 64 { 33943 return ErrIntOverflowPlan 33944 } 33945 if iNdEx >= l { 33946 return io.ErrUnexpectedEOF 33947 } 33948 b := dAtA[iNdEx] 33949 iNdEx++ 33950 v |= int(b&0x7F) << shift 33951 if b < 0x80 { 33952 break 33953 } 33954 } 33955 m.IsLocked = bool(v != 0) 33956 case 28: 33957 if wireType != 0 { 33958 return fmt.Errorf("proto: wrong wireType = %d for field TableLockType", wireType) 33959 } 33960 m.TableLockType = 0 33961 for shift := uint(0); ; shift += 7 { 33962 if shift >= 64 { 33963 return ErrIntOverflowPlan 33964 } 33965 if iNdEx >= l { 33966 return io.ErrUnexpectedEOF 33967 } 33968 b := dAtA[iNdEx] 33969 iNdEx++ 33970 m.TableLockType |= TableLockType(b&0x7F) << shift 33971 if b < 0x80 { 33972 break 33973 } 33974 } 33975 case 29: 33976 if wireType != 0 { 33977 return fmt.Errorf("proto: wrong wireType = %d for field IsTemporary", wireType) 33978 } 33979 var v int 33980 for shift := uint(0); ; shift += 7 { 33981 if shift >= 64 { 33982 return ErrIntOverflowPlan 33983 } 33984 if iNdEx >= l { 33985 return io.ErrUnexpectedEOF 33986 } 33987 b := dAtA[iNdEx] 33988 iNdEx++ 33989 v |= int(b&0x7F) << shift 33990 if b < 0x80 { 33991 break 33992 } 33993 } 33994 m.IsTemporary = bool(v != 0) 33995 case 30: 33996 if wireType != 0 { 33997 return fmt.Errorf("proto: wrong wireType = %d for field AutoIncrOffset", wireType) 33998 } 33999 m.AutoIncrOffset = 0 34000 for shift := uint(0); ; shift += 7 { 34001 if shift >= 64 { 34002 return ErrIntOverflowPlan 34003 } 34004 if iNdEx >= l { 34005 return io.ErrUnexpectedEOF 34006 } 34007 b := dAtA[iNdEx] 34008 iNdEx++ 34009 m.AutoIncrOffset |= uint64(b&0x7F) << shift 34010 if b < 0x80 { 34011 break 34012 } 34013 } 34014 case 31: 34015 if wireType != 0 { 34016 return fmt.Errorf("proto: wrong wireType = %d for field IsDynamic", wireType) 34017 } 34018 var v int 34019 for shift := uint(0); ; shift += 7 { 34020 if shift >= 64 { 34021 return ErrIntOverflowPlan 34022 } 34023 if iNdEx >= l { 34024 return io.ErrUnexpectedEOF 34025 } 34026 b := dAtA[iNdEx] 34027 iNdEx++ 34028 v |= int(b&0x7F) << shift 34029 if b < 0x80 { 34030 break 34031 } 34032 } 34033 m.IsDynamic = bool(v != 0) 34034 case 32: 34035 if wireType != 2 { 34036 return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) 34037 } 34038 var stringLen uint64 34039 for shift := uint(0); ; shift += 7 { 34040 if shift >= 64 { 34041 return ErrIntOverflowPlan 34042 } 34043 if iNdEx >= l { 34044 return io.ErrUnexpectedEOF 34045 } 34046 b := dAtA[iNdEx] 34047 iNdEx++ 34048 stringLen |= uint64(b&0x7F) << shift 34049 if b < 0x80 { 34050 break 34051 } 34052 } 34053 intStringLen := int(stringLen) 34054 if intStringLen < 0 { 34055 return ErrInvalidLengthPlan 34056 } 34057 postIndex := iNdEx + intStringLen 34058 if postIndex < 0 { 34059 return ErrInvalidLengthPlan 34060 } 34061 if postIndex > l { 34062 return io.ErrUnexpectedEOF 34063 } 34064 m.DbName = string(dAtA[iNdEx:postIndex]) 34065 iNdEx = postIndex 34066 default: 34067 iNdEx = preIndex 34068 skippy, err := skipPlan(dAtA[iNdEx:]) 34069 if err != nil { 34070 return err 34071 } 34072 if (skippy < 0) || (iNdEx+skippy) < 0 { 34073 return ErrInvalidLengthPlan 34074 } 34075 if (iNdEx + skippy) > l { 34076 return io.ErrUnexpectedEOF 34077 } 34078 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 34079 iNdEx += skippy 34080 } 34081 } 34082 34083 if iNdEx > l { 34084 return io.ErrUnexpectedEOF 34085 } 34086 return nil 34087 } 34088 func (m *TableDef_DefType) Unmarshal(dAtA []byte) error { 34089 l := len(dAtA) 34090 iNdEx := 0 34091 for iNdEx < l { 34092 preIndex := iNdEx 34093 var wire uint64 34094 for shift := uint(0); ; shift += 7 { 34095 if shift >= 64 { 34096 return ErrIntOverflowPlan 34097 } 34098 if iNdEx >= l { 34099 return io.ErrUnexpectedEOF 34100 } 34101 b := dAtA[iNdEx] 34102 iNdEx++ 34103 wire |= uint64(b&0x7F) << shift 34104 if b < 0x80 { 34105 break 34106 } 34107 } 34108 fieldNum := int32(wire >> 3) 34109 wireType := int(wire & 0x7) 34110 if wireType == 4 { 34111 return fmt.Errorf("proto: DefType: wiretype end group for non-group") 34112 } 34113 if fieldNum <= 0 { 34114 return fmt.Errorf("proto: DefType: illegal tag %d (wire type %d)", fieldNum, wire) 34115 } 34116 switch fieldNum { 34117 case 1: 34118 if wireType != 2 { 34119 return fmt.Errorf("proto: wrong wireType = %d for field Properties", wireType) 34120 } 34121 var msglen int 34122 for shift := uint(0); ; shift += 7 { 34123 if shift >= 64 { 34124 return ErrIntOverflowPlan 34125 } 34126 if iNdEx >= l { 34127 return io.ErrUnexpectedEOF 34128 } 34129 b := dAtA[iNdEx] 34130 iNdEx++ 34131 msglen |= int(b&0x7F) << shift 34132 if b < 0x80 { 34133 break 34134 } 34135 } 34136 if msglen < 0 { 34137 return ErrInvalidLengthPlan 34138 } 34139 postIndex := iNdEx + msglen 34140 if postIndex < 0 { 34141 return ErrInvalidLengthPlan 34142 } 34143 if postIndex > l { 34144 return io.ErrUnexpectedEOF 34145 } 34146 v := &PropertiesDef{} 34147 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 34148 return err 34149 } 34150 m.Def = &TableDef_DefType_Properties{v} 34151 iNdEx = postIndex 34152 default: 34153 iNdEx = preIndex 34154 skippy, err := skipPlan(dAtA[iNdEx:]) 34155 if err != nil { 34156 return err 34157 } 34158 if (skippy < 0) || (iNdEx+skippy) < 0 { 34159 return ErrInvalidLengthPlan 34160 } 34161 if (iNdEx + skippy) > l { 34162 return io.ErrUnexpectedEOF 34163 } 34164 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 34165 iNdEx += skippy 34166 } 34167 } 34168 34169 if iNdEx > l { 34170 return io.ErrUnexpectedEOF 34171 } 34172 return nil 34173 } 34174 func (m *TableFunction) Unmarshal(dAtA []byte) error { 34175 l := len(dAtA) 34176 iNdEx := 0 34177 for iNdEx < l { 34178 preIndex := iNdEx 34179 var wire uint64 34180 for shift := uint(0); ; shift += 7 { 34181 if shift >= 64 { 34182 return ErrIntOverflowPlan 34183 } 34184 if iNdEx >= l { 34185 return io.ErrUnexpectedEOF 34186 } 34187 b := dAtA[iNdEx] 34188 iNdEx++ 34189 wire |= uint64(b&0x7F) << shift 34190 if b < 0x80 { 34191 break 34192 } 34193 } 34194 fieldNum := int32(wire >> 3) 34195 wireType := int(wire & 0x7) 34196 if wireType == 4 { 34197 return fmt.Errorf("proto: TableFunction: wiretype end group for non-group") 34198 } 34199 if fieldNum <= 0 { 34200 return fmt.Errorf("proto: TableFunction: illegal tag %d (wire type %d)", fieldNum, wire) 34201 } 34202 switch fieldNum { 34203 case 1: 34204 if wireType != 2 { 34205 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 34206 } 34207 var stringLen uint64 34208 for shift := uint(0); ; shift += 7 { 34209 if shift >= 64 { 34210 return ErrIntOverflowPlan 34211 } 34212 if iNdEx >= l { 34213 return io.ErrUnexpectedEOF 34214 } 34215 b := dAtA[iNdEx] 34216 iNdEx++ 34217 stringLen |= uint64(b&0x7F) << shift 34218 if b < 0x80 { 34219 break 34220 } 34221 } 34222 intStringLen := int(stringLen) 34223 if intStringLen < 0 { 34224 return ErrInvalidLengthPlan 34225 } 34226 postIndex := iNdEx + intStringLen 34227 if postIndex < 0 { 34228 return ErrInvalidLengthPlan 34229 } 34230 if postIndex > l { 34231 return io.ErrUnexpectedEOF 34232 } 34233 m.Name = string(dAtA[iNdEx:postIndex]) 34234 iNdEx = postIndex 34235 case 2: 34236 if wireType != 2 { 34237 return fmt.Errorf("proto: wrong wireType = %d for field Param", wireType) 34238 } 34239 var byteLen int 34240 for shift := uint(0); ; shift += 7 { 34241 if shift >= 64 { 34242 return ErrIntOverflowPlan 34243 } 34244 if iNdEx >= l { 34245 return io.ErrUnexpectedEOF 34246 } 34247 b := dAtA[iNdEx] 34248 iNdEx++ 34249 byteLen |= int(b&0x7F) << shift 34250 if b < 0x80 { 34251 break 34252 } 34253 } 34254 if byteLen < 0 { 34255 return ErrInvalidLengthPlan 34256 } 34257 postIndex := iNdEx + byteLen 34258 if postIndex < 0 { 34259 return ErrInvalidLengthPlan 34260 } 34261 if postIndex > l { 34262 return io.ErrUnexpectedEOF 34263 } 34264 m.Param = append(m.Param[:0], dAtA[iNdEx:postIndex]...) 34265 if m.Param == nil { 34266 m.Param = []byte{} 34267 } 34268 iNdEx = postIndex 34269 default: 34270 iNdEx = preIndex 34271 skippy, err := skipPlan(dAtA[iNdEx:]) 34272 if err != nil { 34273 return err 34274 } 34275 if (skippy < 0) || (iNdEx+skippy) < 0 { 34276 return ErrInvalidLengthPlan 34277 } 34278 if (iNdEx + skippy) > l { 34279 return io.ErrUnexpectedEOF 34280 } 34281 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 34282 iNdEx += skippy 34283 } 34284 } 34285 34286 if iNdEx > l { 34287 return io.ErrUnexpectedEOF 34288 } 34289 return nil 34290 } 34291 func (m *HashMapStats) Unmarshal(dAtA []byte) error { 34292 l := len(dAtA) 34293 iNdEx := 0 34294 for iNdEx < l { 34295 preIndex := iNdEx 34296 var wire uint64 34297 for shift := uint(0); ; shift += 7 { 34298 if shift >= 64 { 34299 return ErrIntOverflowPlan 34300 } 34301 if iNdEx >= l { 34302 return io.ErrUnexpectedEOF 34303 } 34304 b := dAtA[iNdEx] 34305 iNdEx++ 34306 wire |= uint64(b&0x7F) << shift 34307 if b < 0x80 { 34308 break 34309 } 34310 } 34311 fieldNum := int32(wire >> 3) 34312 wireType := int(wire & 0x7) 34313 if wireType == 4 { 34314 return fmt.Errorf("proto: HashMapStats: wiretype end group for non-group") 34315 } 34316 if fieldNum <= 0 { 34317 return fmt.Errorf("proto: HashMapStats: illegal tag %d (wire type %d)", fieldNum, wire) 34318 } 34319 switch fieldNum { 34320 case 1: 34321 if wireType != 1 { 34322 return fmt.Errorf("proto: wrong wireType = %d for field HashmapSize", wireType) 34323 } 34324 var v uint64 34325 if (iNdEx + 8) > l { 34326 return io.ErrUnexpectedEOF 34327 } 34328 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 34329 iNdEx += 8 34330 m.HashmapSize = float64(math.Float64frombits(v)) 34331 case 2: 34332 if wireType != 0 { 34333 return fmt.Errorf("proto: wrong wireType = %d for field HashOnPK", wireType) 34334 } 34335 var v int 34336 for shift := uint(0); ; shift += 7 { 34337 if shift >= 64 { 34338 return ErrIntOverflowPlan 34339 } 34340 if iNdEx >= l { 34341 return io.ErrUnexpectedEOF 34342 } 34343 b := dAtA[iNdEx] 34344 iNdEx++ 34345 v |= int(b&0x7F) << shift 34346 if b < 0x80 { 34347 break 34348 } 34349 } 34350 m.HashOnPK = bool(v != 0) 34351 case 3: 34352 if wireType != 0 { 34353 return fmt.Errorf("proto: wrong wireType = %d for field Shuffle", wireType) 34354 } 34355 var v int 34356 for shift := uint(0); ; shift += 7 { 34357 if shift >= 64 { 34358 return ErrIntOverflowPlan 34359 } 34360 if iNdEx >= l { 34361 return io.ErrUnexpectedEOF 34362 } 34363 b := dAtA[iNdEx] 34364 iNdEx++ 34365 v |= int(b&0x7F) << shift 34366 if b < 0x80 { 34367 break 34368 } 34369 } 34370 m.Shuffle = bool(v != 0) 34371 case 4: 34372 if wireType != 0 { 34373 return fmt.Errorf("proto: wrong wireType = %d for field ShuffleColIdx", wireType) 34374 } 34375 m.ShuffleColIdx = 0 34376 for shift := uint(0); ; shift += 7 { 34377 if shift >= 64 { 34378 return ErrIntOverflowPlan 34379 } 34380 if iNdEx >= l { 34381 return io.ErrUnexpectedEOF 34382 } 34383 b := dAtA[iNdEx] 34384 iNdEx++ 34385 m.ShuffleColIdx |= int32(b&0x7F) << shift 34386 if b < 0x80 { 34387 break 34388 } 34389 } 34390 case 5: 34391 if wireType != 0 { 34392 return fmt.Errorf("proto: wrong wireType = %d for field ShuffleType", wireType) 34393 } 34394 m.ShuffleType = 0 34395 for shift := uint(0); ; shift += 7 { 34396 if shift >= 64 { 34397 return ErrIntOverflowPlan 34398 } 34399 if iNdEx >= l { 34400 return io.ErrUnexpectedEOF 34401 } 34402 b := dAtA[iNdEx] 34403 iNdEx++ 34404 m.ShuffleType |= ShuffleType(b&0x7F) << shift 34405 if b < 0x80 { 34406 break 34407 } 34408 } 34409 case 6: 34410 if wireType != 0 { 34411 return fmt.Errorf("proto: wrong wireType = %d for field ShuffleTypeForMultiCN", wireType) 34412 } 34413 m.ShuffleTypeForMultiCN = 0 34414 for shift := uint(0); ; shift += 7 { 34415 if shift >= 64 { 34416 return ErrIntOverflowPlan 34417 } 34418 if iNdEx >= l { 34419 return io.ErrUnexpectedEOF 34420 } 34421 b := dAtA[iNdEx] 34422 iNdEx++ 34423 m.ShuffleTypeForMultiCN |= ShuffleTypeForMultiCN(b&0x7F) << shift 34424 if b < 0x80 { 34425 break 34426 } 34427 } 34428 case 7: 34429 if wireType != 0 { 34430 return fmt.Errorf("proto: wrong wireType = %d for field ShuffleColMin", wireType) 34431 } 34432 m.ShuffleColMin = 0 34433 for shift := uint(0); ; shift += 7 { 34434 if shift >= 64 { 34435 return ErrIntOverflowPlan 34436 } 34437 if iNdEx >= l { 34438 return io.ErrUnexpectedEOF 34439 } 34440 b := dAtA[iNdEx] 34441 iNdEx++ 34442 m.ShuffleColMin |= int64(b&0x7F) << shift 34443 if b < 0x80 { 34444 break 34445 } 34446 } 34447 case 8: 34448 if wireType != 0 { 34449 return fmt.Errorf("proto: wrong wireType = %d for field ShuffleColMax", wireType) 34450 } 34451 m.ShuffleColMax = 0 34452 for shift := uint(0); ; shift += 7 { 34453 if shift >= 64 { 34454 return ErrIntOverflowPlan 34455 } 34456 if iNdEx >= l { 34457 return io.ErrUnexpectedEOF 34458 } 34459 b := dAtA[iNdEx] 34460 iNdEx++ 34461 m.ShuffleColMax |= int64(b&0x7F) << shift 34462 if b < 0x80 { 34463 break 34464 } 34465 } 34466 case 9: 34467 if wireType != 0 { 34468 return fmt.Errorf("proto: wrong wireType = %d for field ShuffleMethod", wireType) 34469 } 34470 m.ShuffleMethod = 0 34471 for shift := uint(0); ; shift += 7 { 34472 if shift >= 64 { 34473 return ErrIntOverflowPlan 34474 } 34475 if iNdEx >= l { 34476 return io.ErrUnexpectedEOF 34477 } 34478 b := dAtA[iNdEx] 34479 iNdEx++ 34480 m.ShuffleMethod |= ShuffleMethod(b&0x7F) << shift 34481 if b < 0x80 { 34482 break 34483 } 34484 } 34485 case 10: 34486 if wireType != 0 { 34487 return fmt.Errorf("proto: wrong wireType = %d for field Nullcnt", wireType) 34488 } 34489 m.Nullcnt = 0 34490 for shift := uint(0); ; shift += 7 { 34491 if shift >= 64 { 34492 return ErrIntOverflowPlan 34493 } 34494 if iNdEx >= l { 34495 return io.ErrUnexpectedEOF 34496 } 34497 b := dAtA[iNdEx] 34498 iNdEx++ 34499 m.Nullcnt |= int64(b&0x7F) << shift 34500 if b < 0x80 { 34501 break 34502 } 34503 } 34504 case 11: 34505 if wireType == 1 { 34506 var v uint64 34507 if (iNdEx + 8) > l { 34508 return io.ErrUnexpectedEOF 34509 } 34510 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 34511 iNdEx += 8 34512 v2 := float64(math.Float64frombits(v)) 34513 m.Ranges = append(m.Ranges, v2) 34514 } else if wireType == 2 { 34515 var packedLen int 34516 for shift := uint(0); ; shift += 7 { 34517 if shift >= 64 { 34518 return ErrIntOverflowPlan 34519 } 34520 if iNdEx >= l { 34521 return io.ErrUnexpectedEOF 34522 } 34523 b := dAtA[iNdEx] 34524 iNdEx++ 34525 packedLen |= int(b&0x7F) << shift 34526 if b < 0x80 { 34527 break 34528 } 34529 } 34530 if packedLen < 0 { 34531 return ErrInvalidLengthPlan 34532 } 34533 postIndex := iNdEx + packedLen 34534 if postIndex < 0 { 34535 return ErrInvalidLengthPlan 34536 } 34537 if postIndex > l { 34538 return io.ErrUnexpectedEOF 34539 } 34540 var elementCount int 34541 elementCount = packedLen / 8 34542 if elementCount != 0 && len(m.Ranges) == 0 { 34543 m.Ranges = make([]float64, 0, elementCount) 34544 } 34545 for iNdEx < postIndex { 34546 var v uint64 34547 if (iNdEx + 8) > l { 34548 return io.ErrUnexpectedEOF 34549 } 34550 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 34551 iNdEx += 8 34552 v2 := float64(math.Float64frombits(v)) 34553 m.Ranges = append(m.Ranges, v2) 34554 } 34555 } else { 34556 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType) 34557 } 34558 default: 34559 iNdEx = preIndex 34560 skippy, err := skipPlan(dAtA[iNdEx:]) 34561 if err != nil { 34562 return err 34563 } 34564 if (skippy < 0) || (iNdEx+skippy) < 0 { 34565 return ErrInvalidLengthPlan 34566 } 34567 if (iNdEx + skippy) > l { 34568 return io.ErrUnexpectedEOF 34569 } 34570 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 34571 iNdEx += skippy 34572 } 34573 } 34574 34575 if iNdEx > l { 34576 return io.ErrUnexpectedEOF 34577 } 34578 return nil 34579 } 34580 func (m *Stats) Unmarshal(dAtA []byte) error { 34581 l := len(dAtA) 34582 iNdEx := 0 34583 for iNdEx < l { 34584 preIndex := iNdEx 34585 var wire uint64 34586 for shift := uint(0); ; shift += 7 { 34587 if shift >= 64 { 34588 return ErrIntOverflowPlan 34589 } 34590 if iNdEx >= l { 34591 return io.ErrUnexpectedEOF 34592 } 34593 b := dAtA[iNdEx] 34594 iNdEx++ 34595 wire |= uint64(b&0x7F) << shift 34596 if b < 0x80 { 34597 break 34598 } 34599 } 34600 fieldNum := int32(wire >> 3) 34601 wireType := int(wire & 0x7) 34602 if wireType == 4 { 34603 return fmt.Errorf("proto: Stats: wiretype end group for non-group") 34604 } 34605 if fieldNum <= 0 { 34606 return fmt.Errorf("proto: Stats: illegal tag %d (wire type %d)", fieldNum, wire) 34607 } 34608 switch fieldNum { 34609 case 1: 34610 if wireType != 0 { 34611 return fmt.Errorf("proto: wrong wireType = %d for field BlockNum", wireType) 34612 } 34613 m.BlockNum = 0 34614 for shift := uint(0); ; shift += 7 { 34615 if shift >= 64 { 34616 return ErrIntOverflowPlan 34617 } 34618 if iNdEx >= l { 34619 return io.ErrUnexpectedEOF 34620 } 34621 b := dAtA[iNdEx] 34622 iNdEx++ 34623 m.BlockNum |= int32(b&0x7F) << shift 34624 if b < 0x80 { 34625 break 34626 } 34627 } 34628 case 2: 34629 if wireType != 1 { 34630 return fmt.Errorf("proto: wrong wireType = %d for field Cost", wireType) 34631 } 34632 var v uint64 34633 if (iNdEx + 8) > l { 34634 return io.ErrUnexpectedEOF 34635 } 34636 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 34637 iNdEx += 8 34638 m.Cost = float64(math.Float64frombits(v)) 34639 case 3: 34640 if wireType != 1 { 34641 return fmt.Errorf("proto: wrong wireType = %d for field Outcnt", wireType) 34642 } 34643 var v uint64 34644 if (iNdEx + 8) > l { 34645 return io.ErrUnexpectedEOF 34646 } 34647 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 34648 iNdEx += 8 34649 m.Outcnt = float64(math.Float64frombits(v)) 34650 case 4: 34651 if wireType != 1 { 34652 return fmt.Errorf("proto: wrong wireType = %d for field Rowsize", wireType) 34653 } 34654 var v uint64 34655 if (iNdEx + 8) > l { 34656 return io.ErrUnexpectedEOF 34657 } 34658 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 34659 iNdEx += 8 34660 m.Rowsize = float64(math.Float64frombits(v)) 34661 case 5: 34662 if wireType != 1 { 34663 return fmt.Errorf("proto: wrong wireType = %d for field TableCnt", wireType) 34664 } 34665 var v uint64 34666 if (iNdEx + 8) > l { 34667 return io.ErrUnexpectedEOF 34668 } 34669 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 34670 iNdEx += 8 34671 m.TableCnt = float64(math.Float64frombits(v)) 34672 case 6: 34673 if wireType != 1 { 34674 return fmt.Errorf("proto: wrong wireType = %d for field Selectivity", wireType) 34675 } 34676 var v uint64 34677 if (iNdEx + 8) > l { 34678 return io.ErrUnexpectedEOF 34679 } 34680 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 34681 iNdEx += 8 34682 m.Selectivity = float64(math.Float64frombits(v)) 34683 case 7: 34684 if wireType != 0 { 34685 return fmt.Errorf("proto: wrong wireType = %d for field ForceOneCN", wireType) 34686 } 34687 var v int 34688 for shift := uint(0); ; shift += 7 { 34689 if shift >= 64 { 34690 return ErrIntOverflowPlan 34691 } 34692 if iNdEx >= l { 34693 return io.ErrUnexpectedEOF 34694 } 34695 b := dAtA[iNdEx] 34696 iNdEx++ 34697 v |= int(b&0x7F) << shift 34698 if b < 0x80 { 34699 break 34700 } 34701 } 34702 m.ForceOneCN = bool(v != 0) 34703 case 8: 34704 if wireType != 2 { 34705 return fmt.Errorf("proto: wrong wireType = %d for field HashmapStats", wireType) 34706 } 34707 var msglen int 34708 for shift := uint(0); ; shift += 7 { 34709 if shift >= 64 { 34710 return ErrIntOverflowPlan 34711 } 34712 if iNdEx >= l { 34713 return io.ErrUnexpectedEOF 34714 } 34715 b := dAtA[iNdEx] 34716 iNdEx++ 34717 msglen |= int(b&0x7F) << shift 34718 if b < 0x80 { 34719 break 34720 } 34721 } 34722 if msglen < 0 { 34723 return ErrInvalidLengthPlan 34724 } 34725 postIndex := iNdEx + msglen 34726 if postIndex < 0 { 34727 return ErrInvalidLengthPlan 34728 } 34729 if postIndex > l { 34730 return io.ErrUnexpectedEOF 34731 } 34732 if m.HashmapStats == nil { 34733 m.HashmapStats = &HashMapStats{} 34734 } 34735 if err := m.HashmapStats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 34736 return err 34737 } 34738 iNdEx = postIndex 34739 default: 34740 iNdEx = preIndex 34741 skippy, err := skipPlan(dAtA[iNdEx:]) 34742 if err != nil { 34743 return err 34744 } 34745 if (skippy < 0) || (iNdEx+skippy) < 0 { 34746 return ErrInvalidLengthPlan 34747 } 34748 if (iNdEx + skippy) > l { 34749 return io.ErrUnexpectedEOF 34750 } 34751 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 34752 iNdEx += skippy 34753 } 34754 } 34755 34756 if iNdEx > l { 34757 return io.ErrUnexpectedEOF 34758 } 34759 return nil 34760 } 34761 func (m *RowsetExpr) Unmarshal(dAtA []byte) error { 34762 l := len(dAtA) 34763 iNdEx := 0 34764 for iNdEx < l { 34765 preIndex := iNdEx 34766 var wire uint64 34767 for shift := uint(0); ; shift += 7 { 34768 if shift >= 64 { 34769 return ErrIntOverflowPlan 34770 } 34771 if iNdEx >= l { 34772 return io.ErrUnexpectedEOF 34773 } 34774 b := dAtA[iNdEx] 34775 iNdEx++ 34776 wire |= uint64(b&0x7F) << shift 34777 if b < 0x80 { 34778 break 34779 } 34780 } 34781 fieldNum := int32(wire >> 3) 34782 wireType := int(wire & 0x7) 34783 if wireType == 4 { 34784 return fmt.Errorf("proto: RowsetExpr: wiretype end group for non-group") 34785 } 34786 if fieldNum <= 0 { 34787 return fmt.Errorf("proto: RowsetExpr: illegal tag %d (wire type %d)", fieldNum, wire) 34788 } 34789 switch fieldNum { 34790 case 1: 34791 if wireType != 0 { 34792 return fmt.Errorf("proto: wrong wireType = %d for field RowPos", wireType) 34793 } 34794 m.RowPos = 0 34795 for shift := uint(0); ; shift += 7 { 34796 if shift >= 64 { 34797 return ErrIntOverflowPlan 34798 } 34799 if iNdEx >= l { 34800 return io.ErrUnexpectedEOF 34801 } 34802 b := dAtA[iNdEx] 34803 iNdEx++ 34804 m.RowPos |= int32(b&0x7F) << shift 34805 if b < 0x80 { 34806 break 34807 } 34808 } 34809 case 2: 34810 if wireType != 0 { 34811 return fmt.Errorf("proto: wrong wireType = %d for field Pos", wireType) 34812 } 34813 m.Pos = 0 34814 for shift := uint(0); ; shift += 7 { 34815 if shift >= 64 { 34816 return ErrIntOverflowPlan 34817 } 34818 if iNdEx >= l { 34819 return io.ErrUnexpectedEOF 34820 } 34821 b := dAtA[iNdEx] 34822 iNdEx++ 34823 m.Pos |= int32(b&0x7F) << shift 34824 if b < 0x80 { 34825 break 34826 } 34827 } 34828 case 3: 34829 if wireType != 2 { 34830 return fmt.Errorf("proto: wrong wireType = %d for field Expr", wireType) 34831 } 34832 var msglen int 34833 for shift := uint(0); ; shift += 7 { 34834 if shift >= 64 { 34835 return ErrIntOverflowPlan 34836 } 34837 if iNdEx >= l { 34838 return io.ErrUnexpectedEOF 34839 } 34840 b := dAtA[iNdEx] 34841 iNdEx++ 34842 msglen |= int(b&0x7F) << shift 34843 if b < 0x80 { 34844 break 34845 } 34846 } 34847 if msglen < 0 { 34848 return ErrInvalidLengthPlan 34849 } 34850 postIndex := iNdEx + msglen 34851 if postIndex < 0 { 34852 return ErrInvalidLengthPlan 34853 } 34854 if postIndex > l { 34855 return io.ErrUnexpectedEOF 34856 } 34857 if m.Expr == nil { 34858 m.Expr = &Expr{} 34859 } 34860 if err := m.Expr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 34861 return err 34862 } 34863 iNdEx = postIndex 34864 default: 34865 iNdEx = preIndex 34866 skippy, err := skipPlan(dAtA[iNdEx:]) 34867 if err != nil { 34868 return err 34869 } 34870 if (skippy < 0) || (iNdEx+skippy) < 0 { 34871 return ErrInvalidLengthPlan 34872 } 34873 if (iNdEx + skippy) > l { 34874 return io.ErrUnexpectedEOF 34875 } 34876 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 34877 iNdEx += skippy 34878 } 34879 } 34880 34881 if iNdEx > l { 34882 return io.ErrUnexpectedEOF 34883 } 34884 return nil 34885 } 34886 func (m *ColData) Unmarshal(dAtA []byte) error { 34887 l := len(dAtA) 34888 iNdEx := 0 34889 for iNdEx < l { 34890 preIndex := iNdEx 34891 var wire uint64 34892 for shift := uint(0); ; shift += 7 { 34893 if shift >= 64 { 34894 return ErrIntOverflowPlan 34895 } 34896 if iNdEx >= l { 34897 return io.ErrUnexpectedEOF 34898 } 34899 b := dAtA[iNdEx] 34900 iNdEx++ 34901 wire |= uint64(b&0x7F) << shift 34902 if b < 0x80 { 34903 break 34904 } 34905 } 34906 fieldNum := int32(wire >> 3) 34907 wireType := int(wire & 0x7) 34908 if wireType == 4 { 34909 return fmt.Errorf("proto: ColData: wiretype end group for non-group") 34910 } 34911 if fieldNum <= 0 { 34912 return fmt.Errorf("proto: ColData: illegal tag %d (wire type %d)", fieldNum, wire) 34913 } 34914 switch fieldNum { 34915 case 1: 34916 if wireType != 2 { 34917 return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) 34918 } 34919 var msglen int 34920 for shift := uint(0); ; shift += 7 { 34921 if shift >= 64 { 34922 return ErrIntOverflowPlan 34923 } 34924 if iNdEx >= l { 34925 return io.ErrUnexpectedEOF 34926 } 34927 b := dAtA[iNdEx] 34928 iNdEx++ 34929 msglen |= int(b&0x7F) << shift 34930 if b < 0x80 { 34931 break 34932 } 34933 } 34934 if msglen < 0 { 34935 return ErrInvalidLengthPlan 34936 } 34937 postIndex := iNdEx + msglen 34938 if postIndex < 0 { 34939 return ErrInvalidLengthPlan 34940 } 34941 if postIndex > l { 34942 return io.ErrUnexpectedEOF 34943 } 34944 m.Data = append(m.Data, &RowsetExpr{}) 34945 if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 34946 return err 34947 } 34948 iNdEx = postIndex 34949 default: 34950 iNdEx = preIndex 34951 skippy, err := skipPlan(dAtA[iNdEx:]) 34952 if err != nil { 34953 return err 34954 } 34955 if (skippy < 0) || (iNdEx+skippy) < 0 { 34956 return ErrInvalidLengthPlan 34957 } 34958 if (iNdEx + skippy) > l { 34959 return io.ErrUnexpectedEOF 34960 } 34961 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 34962 iNdEx += skippy 34963 } 34964 } 34965 34966 if iNdEx > l { 34967 return io.ErrUnexpectedEOF 34968 } 34969 return nil 34970 } 34971 func (m *RowsetData) Unmarshal(dAtA []byte) error { 34972 l := len(dAtA) 34973 iNdEx := 0 34974 for iNdEx < l { 34975 preIndex := iNdEx 34976 var wire uint64 34977 for shift := uint(0); ; shift += 7 { 34978 if shift >= 64 { 34979 return ErrIntOverflowPlan 34980 } 34981 if iNdEx >= l { 34982 return io.ErrUnexpectedEOF 34983 } 34984 b := dAtA[iNdEx] 34985 iNdEx++ 34986 wire |= uint64(b&0x7F) << shift 34987 if b < 0x80 { 34988 break 34989 } 34990 } 34991 fieldNum := int32(wire >> 3) 34992 wireType := int(wire & 0x7) 34993 if wireType == 4 { 34994 return fmt.Errorf("proto: RowsetData: wiretype end group for non-group") 34995 } 34996 if fieldNum <= 0 { 34997 return fmt.Errorf("proto: RowsetData: illegal tag %d (wire type %d)", fieldNum, wire) 34998 } 34999 switch fieldNum { 35000 case 1: 35001 if wireType != 2 { 35002 return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType) 35003 } 35004 var msglen int 35005 for shift := uint(0); ; shift += 7 { 35006 if shift >= 64 { 35007 return ErrIntOverflowPlan 35008 } 35009 if iNdEx >= l { 35010 return io.ErrUnexpectedEOF 35011 } 35012 b := dAtA[iNdEx] 35013 iNdEx++ 35014 msglen |= int(b&0x7F) << shift 35015 if b < 0x80 { 35016 break 35017 } 35018 } 35019 if msglen < 0 { 35020 return ErrInvalidLengthPlan 35021 } 35022 postIndex := iNdEx + msglen 35023 if postIndex < 0 { 35024 return ErrInvalidLengthPlan 35025 } 35026 if postIndex > l { 35027 return io.ErrUnexpectedEOF 35028 } 35029 m.Cols = append(m.Cols, &ColData{}) 35030 if err := m.Cols[len(m.Cols)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 35031 return err 35032 } 35033 iNdEx = postIndex 35034 case 2: 35035 if wireType != 0 { 35036 return fmt.Errorf("proto: wrong wireType = %d for field RowCount", wireType) 35037 } 35038 m.RowCount = 0 35039 for shift := uint(0); ; shift += 7 { 35040 if shift >= 64 { 35041 return ErrIntOverflowPlan 35042 } 35043 if iNdEx >= l { 35044 return io.ErrUnexpectedEOF 35045 } 35046 b := dAtA[iNdEx] 35047 iNdEx++ 35048 m.RowCount |= int32(b&0x7F) << shift 35049 if b < 0x80 { 35050 break 35051 } 35052 } 35053 default: 35054 iNdEx = preIndex 35055 skippy, err := skipPlan(dAtA[iNdEx:]) 35056 if err != nil { 35057 return err 35058 } 35059 if (skippy < 0) || (iNdEx+skippy) < 0 { 35060 return ErrInvalidLengthPlan 35061 } 35062 if (iNdEx + skippy) > l { 35063 return io.ErrUnexpectedEOF 35064 } 35065 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 35066 iNdEx += skippy 35067 } 35068 } 35069 35070 if iNdEx > l { 35071 return io.ErrUnexpectedEOF 35072 } 35073 return nil 35074 } 35075 func (m *OrderBySpec) Unmarshal(dAtA []byte) error { 35076 l := len(dAtA) 35077 iNdEx := 0 35078 for iNdEx < l { 35079 preIndex := iNdEx 35080 var wire uint64 35081 for shift := uint(0); ; shift += 7 { 35082 if shift >= 64 { 35083 return ErrIntOverflowPlan 35084 } 35085 if iNdEx >= l { 35086 return io.ErrUnexpectedEOF 35087 } 35088 b := dAtA[iNdEx] 35089 iNdEx++ 35090 wire |= uint64(b&0x7F) << shift 35091 if b < 0x80 { 35092 break 35093 } 35094 } 35095 fieldNum := int32(wire >> 3) 35096 wireType := int(wire & 0x7) 35097 if wireType == 4 { 35098 return fmt.Errorf("proto: OrderBySpec: wiretype end group for non-group") 35099 } 35100 if fieldNum <= 0 { 35101 return fmt.Errorf("proto: OrderBySpec: illegal tag %d (wire type %d)", fieldNum, wire) 35102 } 35103 switch fieldNum { 35104 case 1: 35105 if wireType != 2 { 35106 return fmt.Errorf("proto: wrong wireType = %d for field Expr", wireType) 35107 } 35108 var msglen int 35109 for shift := uint(0); ; shift += 7 { 35110 if shift >= 64 { 35111 return ErrIntOverflowPlan 35112 } 35113 if iNdEx >= l { 35114 return io.ErrUnexpectedEOF 35115 } 35116 b := dAtA[iNdEx] 35117 iNdEx++ 35118 msglen |= int(b&0x7F) << shift 35119 if b < 0x80 { 35120 break 35121 } 35122 } 35123 if msglen < 0 { 35124 return ErrInvalidLengthPlan 35125 } 35126 postIndex := iNdEx + msglen 35127 if postIndex < 0 { 35128 return ErrInvalidLengthPlan 35129 } 35130 if postIndex > l { 35131 return io.ErrUnexpectedEOF 35132 } 35133 if m.Expr == nil { 35134 m.Expr = &Expr{} 35135 } 35136 if err := m.Expr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 35137 return err 35138 } 35139 iNdEx = postIndex 35140 case 2: 35141 if wireType != 2 { 35142 return fmt.Errorf("proto: wrong wireType = %d for field Collation", wireType) 35143 } 35144 var stringLen uint64 35145 for shift := uint(0); ; shift += 7 { 35146 if shift >= 64 { 35147 return ErrIntOverflowPlan 35148 } 35149 if iNdEx >= l { 35150 return io.ErrUnexpectedEOF 35151 } 35152 b := dAtA[iNdEx] 35153 iNdEx++ 35154 stringLen |= uint64(b&0x7F) << shift 35155 if b < 0x80 { 35156 break 35157 } 35158 } 35159 intStringLen := int(stringLen) 35160 if intStringLen < 0 { 35161 return ErrInvalidLengthPlan 35162 } 35163 postIndex := iNdEx + intStringLen 35164 if postIndex < 0 { 35165 return ErrInvalidLengthPlan 35166 } 35167 if postIndex > l { 35168 return io.ErrUnexpectedEOF 35169 } 35170 m.Collation = string(dAtA[iNdEx:postIndex]) 35171 iNdEx = postIndex 35172 case 3: 35173 if wireType != 0 { 35174 return fmt.Errorf("proto: wrong wireType = %d for field Flag", wireType) 35175 } 35176 m.Flag = 0 35177 for shift := uint(0); ; shift += 7 { 35178 if shift >= 64 { 35179 return ErrIntOverflowPlan 35180 } 35181 if iNdEx >= l { 35182 return io.ErrUnexpectedEOF 35183 } 35184 b := dAtA[iNdEx] 35185 iNdEx++ 35186 m.Flag |= OrderBySpec_OrderByFlag(b&0x7F) << shift 35187 if b < 0x80 { 35188 break 35189 } 35190 } 35191 default: 35192 iNdEx = preIndex 35193 skippy, err := skipPlan(dAtA[iNdEx:]) 35194 if err != nil { 35195 return err 35196 } 35197 if (skippy < 0) || (iNdEx+skippy) < 0 { 35198 return ErrInvalidLengthPlan 35199 } 35200 if (iNdEx + skippy) > l { 35201 return io.ErrUnexpectedEOF 35202 } 35203 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 35204 iNdEx += skippy 35205 } 35206 } 35207 35208 if iNdEx > l { 35209 return io.ErrUnexpectedEOF 35210 } 35211 return nil 35212 } 35213 func (m *WindowSpec) Unmarshal(dAtA []byte) error { 35214 l := len(dAtA) 35215 iNdEx := 0 35216 for iNdEx < l { 35217 preIndex := iNdEx 35218 var wire uint64 35219 for shift := uint(0); ; shift += 7 { 35220 if shift >= 64 { 35221 return ErrIntOverflowPlan 35222 } 35223 if iNdEx >= l { 35224 return io.ErrUnexpectedEOF 35225 } 35226 b := dAtA[iNdEx] 35227 iNdEx++ 35228 wire |= uint64(b&0x7F) << shift 35229 if b < 0x80 { 35230 break 35231 } 35232 } 35233 fieldNum := int32(wire >> 3) 35234 wireType := int(wire & 0x7) 35235 if wireType == 4 { 35236 return fmt.Errorf("proto: WindowSpec: wiretype end group for non-group") 35237 } 35238 if fieldNum <= 0 { 35239 return fmt.Errorf("proto: WindowSpec: illegal tag %d (wire type %d)", fieldNum, wire) 35240 } 35241 switch fieldNum { 35242 case 1: 35243 if wireType != 2 { 35244 return fmt.Errorf("proto: wrong wireType = %d for field WindowFunc", wireType) 35245 } 35246 var msglen int 35247 for shift := uint(0); ; shift += 7 { 35248 if shift >= 64 { 35249 return ErrIntOverflowPlan 35250 } 35251 if iNdEx >= l { 35252 return io.ErrUnexpectedEOF 35253 } 35254 b := dAtA[iNdEx] 35255 iNdEx++ 35256 msglen |= int(b&0x7F) << shift 35257 if b < 0x80 { 35258 break 35259 } 35260 } 35261 if msglen < 0 { 35262 return ErrInvalidLengthPlan 35263 } 35264 postIndex := iNdEx + msglen 35265 if postIndex < 0 { 35266 return ErrInvalidLengthPlan 35267 } 35268 if postIndex > l { 35269 return io.ErrUnexpectedEOF 35270 } 35271 if m.WindowFunc == nil { 35272 m.WindowFunc = &Expr{} 35273 } 35274 if err := m.WindowFunc.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 35275 return err 35276 } 35277 iNdEx = postIndex 35278 case 2: 35279 if wireType != 2 { 35280 return fmt.Errorf("proto: wrong wireType = %d for field PartitionBy", wireType) 35281 } 35282 var msglen int 35283 for shift := uint(0); ; shift += 7 { 35284 if shift >= 64 { 35285 return ErrIntOverflowPlan 35286 } 35287 if iNdEx >= l { 35288 return io.ErrUnexpectedEOF 35289 } 35290 b := dAtA[iNdEx] 35291 iNdEx++ 35292 msglen |= int(b&0x7F) << shift 35293 if b < 0x80 { 35294 break 35295 } 35296 } 35297 if msglen < 0 { 35298 return ErrInvalidLengthPlan 35299 } 35300 postIndex := iNdEx + msglen 35301 if postIndex < 0 { 35302 return ErrInvalidLengthPlan 35303 } 35304 if postIndex > l { 35305 return io.ErrUnexpectedEOF 35306 } 35307 m.PartitionBy = append(m.PartitionBy, &Expr{}) 35308 if err := m.PartitionBy[len(m.PartitionBy)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 35309 return err 35310 } 35311 iNdEx = postIndex 35312 case 3: 35313 if wireType != 2 { 35314 return fmt.Errorf("proto: wrong wireType = %d for field OrderBy", wireType) 35315 } 35316 var msglen int 35317 for shift := uint(0); ; shift += 7 { 35318 if shift >= 64 { 35319 return ErrIntOverflowPlan 35320 } 35321 if iNdEx >= l { 35322 return io.ErrUnexpectedEOF 35323 } 35324 b := dAtA[iNdEx] 35325 iNdEx++ 35326 msglen |= int(b&0x7F) << shift 35327 if b < 0x80 { 35328 break 35329 } 35330 } 35331 if msglen < 0 { 35332 return ErrInvalidLengthPlan 35333 } 35334 postIndex := iNdEx + msglen 35335 if postIndex < 0 { 35336 return ErrInvalidLengthPlan 35337 } 35338 if postIndex > l { 35339 return io.ErrUnexpectedEOF 35340 } 35341 m.OrderBy = append(m.OrderBy, &OrderBySpec{}) 35342 if err := m.OrderBy[len(m.OrderBy)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 35343 return err 35344 } 35345 iNdEx = postIndex 35346 case 4: 35347 if wireType != 2 { 35348 return fmt.Errorf("proto: wrong wireType = %d for field Frame", wireType) 35349 } 35350 var msglen int 35351 for shift := uint(0); ; shift += 7 { 35352 if shift >= 64 { 35353 return ErrIntOverflowPlan 35354 } 35355 if iNdEx >= l { 35356 return io.ErrUnexpectedEOF 35357 } 35358 b := dAtA[iNdEx] 35359 iNdEx++ 35360 msglen |= int(b&0x7F) << shift 35361 if b < 0x80 { 35362 break 35363 } 35364 } 35365 if msglen < 0 { 35366 return ErrInvalidLengthPlan 35367 } 35368 postIndex := iNdEx + msglen 35369 if postIndex < 0 { 35370 return ErrInvalidLengthPlan 35371 } 35372 if postIndex > l { 35373 return io.ErrUnexpectedEOF 35374 } 35375 if m.Frame == nil { 35376 m.Frame = &FrameClause{} 35377 } 35378 if err := m.Frame.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 35379 return err 35380 } 35381 iNdEx = postIndex 35382 case 5: 35383 if wireType != 2 { 35384 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 35385 } 35386 var stringLen uint64 35387 for shift := uint(0); ; shift += 7 { 35388 if shift >= 64 { 35389 return ErrIntOverflowPlan 35390 } 35391 if iNdEx >= l { 35392 return io.ErrUnexpectedEOF 35393 } 35394 b := dAtA[iNdEx] 35395 iNdEx++ 35396 stringLen |= uint64(b&0x7F) << shift 35397 if b < 0x80 { 35398 break 35399 } 35400 } 35401 intStringLen := int(stringLen) 35402 if intStringLen < 0 { 35403 return ErrInvalidLengthPlan 35404 } 35405 postIndex := iNdEx + intStringLen 35406 if postIndex < 0 { 35407 return ErrInvalidLengthPlan 35408 } 35409 if postIndex > l { 35410 return io.ErrUnexpectedEOF 35411 } 35412 m.Name = string(dAtA[iNdEx:postIndex]) 35413 iNdEx = postIndex 35414 default: 35415 iNdEx = preIndex 35416 skippy, err := skipPlan(dAtA[iNdEx:]) 35417 if err != nil { 35418 return err 35419 } 35420 if (skippy < 0) || (iNdEx+skippy) < 0 { 35421 return ErrInvalidLengthPlan 35422 } 35423 if (iNdEx + skippy) > l { 35424 return io.ErrUnexpectedEOF 35425 } 35426 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 35427 iNdEx += skippy 35428 } 35429 } 35430 35431 if iNdEx > l { 35432 return io.ErrUnexpectedEOF 35433 } 35434 return nil 35435 } 35436 func (m *SampleFuncSpec) Unmarshal(dAtA []byte) error { 35437 l := len(dAtA) 35438 iNdEx := 0 35439 for iNdEx < l { 35440 preIndex := iNdEx 35441 var wire uint64 35442 for shift := uint(0); ; shift += 7 { 35443 if shift >= 64 { 35444 return ErrIntOverflowPlan 35445 } 35446 if iNdEx >= l { 35447 return io.ErrUnexpectedEOF 35448 } 35449 b := dAtA[iNdEx] 35450 iNdEx++ 35451 wire |= uint64(b&0x7F) << shift 35452 if b < 0x80 { 35453 break 35454 } 35455 } 35456 fieldNum := int32(wire >> 3) 35457 wireType := int(wire & 0x7) 35458 if wireType == 4 { 35459 return fmt.Errorf("proto: SampleFuncSpec: wiretype end group for non-group") 35460 } 35461 if fieldNum <= 0 { 35462 return fmt.Errorf("proto: SampleFuncSpec: illegal tag %d (wire type %d)", fieldNum, wire) 35463 } 35464 switch fieldNum { 35465 case 1: 35466 if wireType != 0 { 35467 return fmt.Errorf("proto: wrong wireType = %d for field Rows", wireType) 35468 } 35469 m.Rows = 0 35470 for shift := uint(0); ; shift += 7 { 35471 if shift >= 64 { 35472 return ErrIntOverflowPlan 35473 } 35474 if iNdEx >= l { 35475 return io.ErrUnexpectedEOF 35476 } 35477 b := dAtA[iNdEx] 35478 iNdEx++ 35479 m.Rows |= int32(b&0x7F) << shift 35480 if b < 0x80 { 35481 break 35482 } 35483 } 35484 case 2: 35485 if wireType != 1 { 35486 return fmt.Errorf("proto: wrong wireType = %d for field Percent", wireType) 35487 } 35488 var v uint64 35489 if (iNdEx + 8) > l { 35490 return io.ErrUnexpectedEOF 35491 } 35492 v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) 35493 iNdEx += 8 35494 m.Percent = float64(math.Float64frombits(v)) 35495 case 3: 35496 if wireType != 0 { 35497 return fmt.Errorf("proto: wrong wireType = %d for field UsingRow", wireType) 35498 } 35499 var v int 35500 for shift := uint(0); ; shift += 7 { 35501 if shift >= 64 { 35502 return ErrIntOverflowPlan 35503 } 35504 if iNdEx >= l { 35505 return io.ErrUnexpectedEOF 35506 } 35507 b := dAtA[iNdEx] 35508 iNdEx++ 35509 v |= int(b&0x7F) << shift 35510 if b < 0x80 { 35511 break 35512 } 35513 } 35514 m.UsingRow = bool(v != 0) 35515 default: 35516 iNdEx = preIndex 35517 skippy, err := skipPlan(dAtA[iNdEx:]) 35518 if err != nil { 35519 return err 35520 } 35521 if (skippy < 0) || (iNdEx+skippy) < 0 { 35522 return ErrInvalidLengthPlan 35523 } 35524 if (iNdEx + skippy) > l { 35525 return io.ErrUnexpectedEOF 35526 } 35527 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 35528 iNdEx += skippy 35529 } 35530 } 35531 35532 if iNdEx > l { 35533 return io.ErrUnexpectedEOF 35534 } 35535 return nil 35536 } 35537 func (m *FrameClause) Unmarshal(dAtA []byte) error { 35538 l := len(dAtA) 35539 iNdEx := 0 35540 for iNdEx < l { 35541 preIndex := iNdEx 35542 var wire uint64 35543 for shift := uint(0); ; shift += 7 { 35544 if shift >= 64 { 35545 return ErrIntOverflowPlan 35546 } 35547 if iNdEx >= l { 35548 return io.ErrUnexpectedEOF 35549 } 35550 b := dAtA[iNdEx] 35551 iNdEx++ 35552 wire |= uint64(b&0x7F) << shift 35553 if b < 0x80 { 35554 break 35555 } 35556 } 35557 fieldNum := int32(wire >> 3) 35558 wireType := int(wire & 0x7) 35559 if wireType == 4 { 35560 return fmt.Errorf("proto: FrameClause: wiretype end group for non-group") 35561 } 35562 if fieldNum <= 0 { 35563 return fmt.Errorf("proto: FrameClause: illegal tag %d (wire type %d)", fieldNum, wire) 35564 } 35565 switch fieldNum { 35566 case 1: 35567 if wireType != 0 { 35568 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 35569 } 35570 m.Type = 0 35571 for shift := uint(0); ; shift += 7 { 35572 if shift >= 64 { 35573 return ErrIntOverflowPlan 35574 } 35575 if iNdEx >= l { 35576 return io.ErrUnexpectedEOF 35577 } 35578 b := dAtA[iNdEx] 35579 iNdEx++ 35580 m.Type |= FrameClause_FrameType(b&0x7F) << shift 35581 if b < 0x80 { 35582 break 35583 } 35584 } 35585 case 2: 35586 if wireType != 2 { 35587 return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType) 35588 } 35589 var msglen int 35590 for shift := uint(0); ; shift += 7 { 35591 if shift >= 64 { 35592 return ErrIntOverflowPlan 35593 } 35594 if iNdEx >= l { 35595 return io.ErrUnexpectedEOF 35596 } 35597 b := dAtA[iNdEx] 35598 iNdEx++ 35599 msglen |= int(b&0x7F) << shift 35600 if b < 0x80 { 35601 break 35602 } 35603 } 35604 if msglen < 0 { 35605 return ErrInvalidLengthPlan 35606 } 35607 postIndex := iNdEx + msglen 35608 if postIndex < 0 { 35609 return ErrInvalidLengthPlan 35610 } 35611 if postIndex > l { 35612 return io.ErrUnexpectedEOF 35613 } 35614 if m.Start == nil { 35615 m.Start = &FrameBound{} 35616 } 35617 if err := m.Start.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 35618 return err 35619 } 35620 iNdEx = postIndex 35621 case 3: 35622 if wireType != 2 { 35623 return fmt.Errorf("proto: wrong wireType = %d for field End", wireType) 35624 } 35625 var msglen int 35626 for shift := uint(0); ; shift += 7 { 35627 if shift >= 64 { 35628 return ErrIntOverflowPlan 35629 } 35630 if iNdEx >= l { 35631 return io.ErrUnexpectedEOF 35632 } 35633 b := dAtA[iNdEx] 35634 iNdEx++ 35635 msglen |= int(b&0x7F) << shift 35636 if b < 0x80 { 35637 break 35638 } 35639 } 35640 if msglen < 0 { 35641 return ErrInvalidLengthPlan 35642 } 35643 postIndex := iNdEx + msglen 35644 if postIndex < 0 { 35645 return ErrInvalidLengthPlan 35646 } 35647 if postIndex > l { 35648 return io.ErrUnexpectedEOF 35649 } 35650 if m.End == nil { 35651 m.End = &FrameBound{} 35652 } 35653 if err := m.End.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 35654 return err 35655 } 35656 iNdEx = postIndex 35657 default: 35658 iNdEx = preIndex 35659 skippy, err := skipPlan(dAtA[iNdEx:]) 35660 if err != nil { 35661 return err 35662 } 35663 if (skippy < 0) || (iNdEx+skippy) < 0 { 35664 return ErrInvalidLengthPlan 35665 } 35666 if (iNdEx + skippy) > l { 35667 return io.ErrUnexpectedEOF 35668 } 35669 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 35670 iNdEx += skippy 35671 } 35672 } 35673 35674 if iNdEx > l { 35675 return io.ErrUnexpectedEOF 35676 } 35677 return nil 35678 } 35679 func (m *FrameBound) Unmarshal(dAtA []byte) error { 35680 l := len(dAtA) 35681 iNdEx := 0 35682 for iNdEx < l { 35683 preIndex := iNdEx 35684 var wire uint64 35685 for shift := uint(0); ; shift += 7 { 35686 if shift >= 64 { 35687 return ErrIntOverflowPlan 35688 } 35689 if iNdEx >= l { 35690 return io.ErrUnexpectedEOF 35691 } 35692 b := dAtA[iNdEx] 35693 iNdEx++ 35694 wire |= uint64(b&0x7F) << shift 35695 if b < 0x80 { 35696 break 35697 } 35698 } 35699 fieldNum := int32(wire >> 3) 35700 wireType := int(wire & 0x7) 35701 if wireType == 4 { 35702 return fmt.Errorf("proto: FrameBound: wiretype end group for non-group") 35703 } 35704 if fieldNum <= 0 { 35705 return fmt.Errorf("proto: FrameBound: illegal tag %d (wire type %d)", fieldNum, wire) 35706 } 35707 switch fieldNum { 35708 case 1: 35709 if wireType != 0 { 35710 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 35711 } 35712 m.Type = 0 35713 for shift := uint(0); ; shift += 7 { 35714 if shift >= 64 { 35715 return ErrIntOverflowPlan 35716 } 35717 if iNdEx >= l { 35718 return io.ErrUnexpectedEOF 35719 } 35720 b := dAtA[iNdEx] 35721 iNdEx++ 35722 m.Type |= FrameBound_BoundType(b&0x7F) << shift 35723 if b < 0x80 { 35724 break 35725 } 35726 } 35727 case 2: 35728 if wireType != 0 { 35729 return fmt.Errorf("proto: wrong wireType = %d for field UnBounded", wireType) 35730 } 35731 var v int 35732 for shift := uint(0); ; shift += 7 { 35733 if shift >= 64 { 35734 return ErrIntOverflowPlan 35735 } 35736 if iNdEx >= l { 35737 return io.ErrUnexpectedEOF 35738 } 35739 b := dAtA[iNdEx] 35740 iNdEx++ 35741 v |= int(b&0x7F) << shift 35742 if b < 0x80 { 35743 break 35744 } 35745 } 35746 m.UnBounded = bool(v != 0) 35747 case 3: 35748 if wireType != 2 { 35749 return fmt.Errorf("proto: wrong wireType = %d for field Val", wireType) 35750 } 35751 var msglen int 35752 for shift := uint(0); ; shift += 7 { 35753 if shift >= 64 { 35754 return ErrIntOverflowPlan 35755 } 35756 if iNdEx >= l { 35757 return io.ErrUnexpectedEOF 35758 } 35759 b := dAtA[iNdEx] 35760 iNdEx++ 35761 msglen |= int(b&0x7F) << shift 35762 if b < 0x80 { 35763 break 35764 } 35765 } 35766 if msglen < 0 { 35767 return ErrInvalidLengthPlan 35768 } 35769 postIndex := iNdEx + msglen 35770 if postIndex < 0 { 35771 return ErrInvalidLengthPlan 35772 } 35773 if postIndex > l { 35774 return io.ErrUnexpectedEOF 35775 } 35776 if m.Val == nil { 35777 m.Val = &Expr{} 35778 } 35779 if err := m.Val.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 35780 return err 35781 } 35782 iNdEx = postIndex 35783 default: 35784 iNdEx = preIndex 35785 skippy, err := skipPlan(dAtA[iNdEx:]) 35786 if err != nil { 35787 return err 35788 } 35789 if (skippy < 0) || (iNdEx+skippy) < 0 { 35790 return ErrInvalidLengthPlan 35791 } 35792 if (iNdEx + skippy) > l { 35793 return io.ErrUnexpectedEOF 35794 } 35795 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 35796 iNdEx += skippy 35797 } 35798 } 35799 35800 if iNdEx > l { 35801 return io.ErrUnexpectedEOF 35802 } 35803 return nil 35804 } 35805 func (m *OnDuplicateKeyCtx) Unmarshal(dAtA []byte) error { 35806 l := len(dAtA) 35807 iNdEx := 0 35808 for iNdEx < l { 35809 preIndex := iNdEx 35810 var wire uint64 35811 for shift := uint(0); ; shift += 7 { 35812 if shift >= 64 { 35813 return ErrIntOverflowPlan 35814 } 35815 if iNdEx >= l { 35816 return io.ErrUnexpectedEOF 35817 } 35818 b := dAtA[iNdEx] 35819 iNdEx++ 35820 wire |= uint64(b&0x7F) << shift 35821 if b < 0x80 { 35822 break 35823 } 35824 } 35825 fieldNum := int32(wire >> 3) 35826 wireType := int(wire & 0x7) 35827 if wireType == 4 { 35828 return fmt.Errorf("proto: OnDuplicateKeyCtx: wiretype end group for non-group") 35829 } 35830 if fieldNum <= 0 { 35831 return fmt.Errorf("proto: OnDuplicateKeyCtx: illegal tag %d (wire type %d)", fieldNum, wire) 35832 } 35833 switch fieldNum { 35834 case 1: 35835 if wireType != 2 { 35836 return fmt.Errorf("proto: wrong wireType = %d for field Attrs", wireType) 35837 } 35838 var stringLen uint64 35839 for shift := uint(0); ; shift += 7 { 35840 if shift >= 64 { 35841 return ErrIntOverflowPlan 35842 } 35843 if iNdEx >= l { 35844 return io.ErrUnexpectedEOF 35845 } 35846 b := dAtA[iNdEx] 35847 iNdEx++ 35848 stringLen |= uint64(b&0x7F) << shift 35849 if b < 0x80 { 35850 break 35851 } 35852 } 35853 intStringLen := int(stringLen) 35854 if intStringLen < 0 { 35855 return ErrInvalidLengthPlan 35856 } 35857 postIndex := iNdEx + intStringLen 35858 if postIndex < 0 { 35859 return ErrInvalidLengthPlan 35860 } 35861 if postIndex > l { 35862 return io.ErrUnexpectedEOF 35863 } 35864 m.Attrs = append(m.Attrs, string(dAtA[iNdEx:postIndex])) 35865 iNdEx = postIndex 35866 case 2: 35867 if wireType != 0 { 35868 return fmt.Errorf("proto: wrong wireType = %d for field InsertColCount", wireType) 35869 } 35870 m.InsertColCount = 0 35871 for shift := uint(0); ; shift += 7 { 35872 if shift >= 64 { 35873 return ErrIntOverflowPlan 35874 } 35875 if iNdEx >= l { 35876 return io.ErrUnexpectedEOF 35877 } 35878 b := dAtA[iNdEx] 35879 iNdEx++ 35880 m.InsertColCount |= int32(b&0x7F) << shift 35881 if b < 0x80 { 35882 break 35883 } 35884 } 35885 case 3: 35886 if wireType != 2 { 35887 return fmt.Errorf("proto: wrong wireType = %d for field UniqueColCheckExpr", wireType) 35888 } 35889 var msglen int 35890 for shift := uint(0); ; shift += 7 { 35891 if shift >= 64 { 35892 return ErrIntOverflowPlan 35893 } 35894 if iNdEx >= l { 35895 return io.ErrUnexpectedEOF 35896 } 35897 b := dAtA[iNdEx] 35898 iNdEx++ 35899 msglen |= int(b&0x7F) << shift 35900 if b < 0x80 { 35901 break 35902 } 35903 } 35904 if msglen < 0 { 35905 return ErrInvalidLengthPlan 35906 } 35907 postIndex := iNdEx + msglen 35908 if postIndex < 0 { 35909 return ErrInvalidLengthPlan 35910 } 35911 if postIndex > l { 35912 return io.ErrUnexpectedEOF 35913 } 35914 m.UniqueColCheckExpr = append(m.UniqueColCheckExpr, &Expr{}) 35915 if err := m.UniqueColCheckExpr[len(m.UniqueColCheckExpr)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 35916 return err 35917 } 35918 iNdEx = postIndex 35919 case 4: 35920 if wireType != 2 { 35921 return fmt.Errorf("proto: wrong wireType = %d for field UniqueCols", wireType) 35922 } 35923 var stringLen uint64 35924 for shift := uint(0); ; shift += 7 { 35925 if shift >= 64 { 35926 return ErrIntOverflowPlan 35927 } 35928 if iNdEx >= l { 35929 return io.ErrUnexpectedEOF 35930 } 35931 b := dAtA[iNdEx] 35932 iNdEx++ 35933 stringLen |= uint64(b&0x7F) << shift 35934 if b < 0x80 { 35935 break 35936 } 35937 } 35938 intStringLen := int(stringLen) 35939 if intStringLen < 0 { 35940 return ErrInvalidLengthPlan 35941 } 35942 postIndex := iNdEx + intStringLen 35943 if postIndex < 0 { 35944 return ErrInvalidLengthPlan 35945 } 35946 if postIndex > l { 35947 return io.ErrUnexpectedEOF 35948 } 35949 m.UniqueCols = append(m.UniqueCols, string(dAtA[iNdEx:postIndex])) 35950 iNdEx = postIndex 35951 case 5: 35952 if wireType == 0 { 35953 var v int32 35954 for shift := uint(0); ; shift += 7 { 35955 if shift >= 64 { 35956 return ErrIntOverflowPlan 35957 } 35958 if iNdEx >= l { 35959 return io.ErrUnexpectedEOF 35960 } 35961 b := dAtA[iNdEx] 35962 iNdEx++ 35963 v |= int32(b&0x7F) << shift 35964 if b < 0x80 { 35965 break 35966 } 35967 } 35968 m.OnDuplicateIdx = append(m.OnDuplicateIdx, v) 35969 } else if wireType == 2 { 35970 var packedLen int 35971 for shift := uint(0); ; shift += 7 { 35972 if shift >= 64 { 35973 return ErrIntOverflowPlan 35974 } 35975 if iNdEx >= l { 35976 return io.ErrUnexpectedEOF 35977 } 35978 b := dAtA[iNdEx] 35979 iNdEx++ 35980 packedLen |= int(b&0x7F) << shift 35981 if b < 0x80 { 35982 break 35983 } 35984 } 35985 if packedLen < 0 { 35986 return ErrInvalidLengthPlan 35987 } 35988 postIndex := iNdEx + packedLen 35989 if postIndex < 0 { 35990 return ErrInvalidLengthPlan 35991 } 35992 if postIndex > l { 35993 return io.ErrUnexpectedEOF 35994 } 35995 var elementCount int 35996 var count int 35997 for _, integer := range dAtA[iNdEx:postIndex] { 35998 if integer < 128 { 35999 count++ 36000 } 36001 } 36002 elementCount = count 36003 if elementCount != 0 && len(m.OnDuplicateIdx) == 0 { 36004 m.OnDuplicateIdx = make([]int32, 0, elementCount) 36005 } 36006 for iNdEx < postIndex { 36007 var v int32 36008 for shift := uint(0); ; shift += 7 { 36009 if shift >= 64 { 36010 return ErrIntOverflowPlan 36011 } 36012 if iNdEx >= l { 36013 return io.ErrUnexpectedEOF 36014 } 36015 b := dAtA[iNdEx] 36016 iNdEx++ 36017 v |= int32(b&0x7F) << shift 36018 if b < 0x80 { 36019 break 36020 } 36021 } 36022 m.OnDuplicateIdx = append(m.OnDuplicateIdx, v) 36023 } 36024 } else { 36025 return fmt.Errorf("proto: wrong wireType = %d for field OnDuplicateIdx", wireType) 36026 } 36027 case 6: 36028 if wireType != 2 { 36029 return fmt.Errorf("proto: wrong wireType = %d for field OnDuplicateExpr", wireType) 36030 } 36031 var msglen int 36032 for shift := uint(0); ; shift += 7 { 36033 if shift >= 64 { 36034 return ErrIntOverflowPlan 36035 } 36036 if iNdEx >= l { 36037 return io.ErrUnexpectedEOF 36038 } 36039 b := dAtA[iNdEx] 36040 iNdEx++ 36041 msglen |= int(b&0x7F) << shift 36042 if b < 0x80 { 36043 break 36044 } 36045 } 36046 if msglen < 0 { 36047 return ErrInvalidLengthPlan 36048 } 36049 postIndex := iNdEx + msglen 36050 if postIndex < 0 { 36051 return ErrInvalidLengthPlan 36052 } 36053 if postIndex > l { 36054 return io.ErrUnexpectedEOF 36055 } 36056 if m.OnDuplicateExpr == nil { 36057 m.OnDuplicateExpr = make(map[string]*Expr) 36058 } 36059 var mapkey string 36060 var mapvalue *Expr 36061 for iNdEx < postIndex { 36062 entryPreIndex := iNdEx 36063 var wire uint64 36064 for shift := uint(0); ; shift += 7 { 36065 if shift >= 64 { 36066 return ErrIntOverflowPlan 36067 } 36068 if iNdEx >= l { 36069 return io.ErrUnexpectedEOF 36070 } 36071 b := dAtA[iNdEx] 36072 iNdEx++ 36073 wire |= uint64(b&0x7F) << shift 36074 if b < 0x80 { 36075 break 36076 } 36077 } 36078 fieldNum := int32(wire >> 3) 36079 if fieldNum == 1 { 36080 var stringLenmapkey uint64 36081 for shift := uint(0); ; shift += 7 { 36082 if shift >= 64 { 36083 return ErrIntOverflowPlan 36084 } 36085 if iNdEx >= l { 36086 return io.ErrUnexpectedEOF 36087 } 36088 b := dAtA[iNdEx] 36089 iNdEx++ 36090 stringLenmapkey |= uint64(b&0x7F) << shift 36091 if b < 0x80 { 36092 break 36093 } 36094 } 36095 intStringLenmapkey := int(stringLenmapkey) 36096 if intStringLenmapkey < 0 { 36097 return ErrInvalidLengthPlan 36098 } 36099 postStringIndexmapkey := iNdEx + intStringLenmapkey 36100 if postStringIndexmapkey < 0 { 36101 return ErrInvalidLengthPlan 36102 } 36103 if postStringIndexmapkey > l { 36104 return io.ErrUnexpectedEOF 36105 } 36106 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 36107 iNdEx = postStringIndexmapkey 36108 } else if fieldNum == 2 { 36109 var mapmsglen int 36110 for shift := uint(0); ; shift += 7 { 36111 if shift >= 64 { 36112 return ErrIntOverflowPlan 36113 } 36114 if iNdEx >= l { 36115 return io.ErrUnexpectedEOF 36116 } 36117 b := dAtA[iNdEx] 36118 iNdEx++ 36119 mapmsglen |= int(b&0x7F) << shift 36120 if b < 0x80 { 36121 break 36122 } 36123 } 36124 if mapmsglen < 0 { 36125 return ErrInvalidLengthPlan 36126 } 36127 postmsgIndex := iNdEx + mapmsglen 36128 if postmsgIndex < 0 { 36129 return ErrInvalidLengthPlan 36130 } 36131 if postmsgIndex > l { 36132 return io.ErrUnexpectedEOF 36133 } 36134 mapvalue = &Expr{} 36135 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 36136 return err 36137 } 36138 iNdEx = postmsgIndex 36139 } else { 36140 iNdEx = entryPreIndex 36141 skippy, err := skipPlan(dAtA[iNdEx:]) 36142 if err != nil { 36143 return err 36144 } 36145 if (skippy < 0) || (iNdEx+skippy) < 0 { 36146 return ErrInvalidLengthPlan 36147 } 36148 if (iNdEx + skippy) > postIndex { 36149 return io.ErrUnexpectedEOF 36150 } 36151 iNdEx += skippy 36152 } 36153 } 36154 m.OnDuplicateExpr[mapkey] = mapvalue 36155 iNdEx = postIndex 36156 case 7: 36157 if wireType != 0 { 36158 return fmt.Errorf("proto: wrong wireType = %d for field IsIgnore", wireType) 36159 } 36160 var v int 36161 for shift := uint(0); ; shift += 7 { 36162 if shift >= 64 { 36163 return ErrIntOverflowPlan 36164 } 36165 if iNdEx >= l { 36166 return io.ErrUnexpectedEOF 36167 } 36168 b := dAtA[iNdEx] 36169 iNdEx++ 36170 v |= int(b&0x7F) << shift 36171 if b < 0x80 { 36172 break 36173 } 36174 } 36175 m.IsIgnore = bool(v != 0) 36176 case 8: 36177 if wireType != 2 { 36178 return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) 36179 } 36180 var stringLen uint64 36181 for shift := uint(0); ; shift += 7 { 36182 if shift >= 64 { 36183 return ErrIntOverflowPlan 36184 } 36185 if iNdEx >= l { 36186 return io.ErrUnexpectedEOF 36187 } 36188 b := dAtA[iNdEx] 36189 iNdEx++ 36190 stringLen |= uint64(b&0x7F) << shift 36191 if b < 0x80 { 36192 break 36193 } 36194 } 36195 intStringLen := int(stringLen) 36196 if intStringLen < 0 { 36197 return ErrInvalidLengthPlan 36198 } 36199 postIndex := iNdEx + intStringLen 36200 if postIndex < 0 { 36201 return ErrInvalidLengthPlan 36202 } 36203 if postIndex > l { 36204 return io.ErrUnexpectedEOF 36205 } 36206 m.TableName = string(dAtA[iNdEx:postIndex]) 36207 iNdEx = postIndex 36208 case 9: 36209 if wireType != 0 { 36210 return fmt.Errorf("proto: wrong wireType = %d for field TableId", wireType) 36211 } 36212 m.TableId = 0 36213 for shift := uint(0); ; shift += 7 { 36214 if shift >= 64 { 36215 return ErrIntOverflowPlan 36216 } 36217 if iNdEx >= l { 36218 return io.ErrUnexpectedEOF 36219 } 36220 b := dAtA[iNdEx] 36221 iNdEx++ 36222 m.TableId |= uint64(b&0x7F) << shift 36223 if b < 0x80 { 36224 break 36225 } 36226 } 36227 case 10: 36228 if wireType != 0 { 36229 return fmt.Errorf("proto: wrong wireType = %d for field TableVersion", wireType) 36230 } 36231 m.TableVersion = 0 36232 for shift := uint(0); ; shift += 7 { 36233 if shift >= 64 { 36234 return ErrIntOverflowPlan 36235 } 36236 if iNdEx >= l { 36237 return io.ErrUnexpectedEOF 36238 } 36239 b := dAtA[iNdEx] 36240 iNdEx++ 36241 m.TableVersion |= uint32(b&0x7F) << shift 36242 if b < 0x80 { 36243 break 36244 } 36245 } 36246 default: 36247 iNdEx = preIndex 36248 skippy, err := skipPlan(dAtA[iNdEx:]) 36249 if err != nil { 36250 return err 36251 } 36252 if (skippy < 0) || (iNdEx+skippy) < 0 { 36253 return ErrInvalidLengthPlan 36254 } 36255 if (iNdEx + skippy) > l { 36256 return io.ErrUnexpectedEOF 36257 } 36258 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 36259 iNdEx += skippy 36260 } 36261 } 36262 36263 if iNdEx > l { 36264 return io.ErrUnexpectedEOF 36265 } 36266 return nil 36267 } 36268 func (m *InsertCtx) Unmarshal(dAtA []byte) error { 36269 l := len(dAtA) 36270 iNdEx := 0 36271 for iNdEx < l { 36272 preIndex := iNdEx 36273 var wire uint64 36274 for shift := uint(0); ; shift += 7 { 36275 if shift >= 64 { 36276 return ErrIntOverflowPlan 36277 } 36278 if iNdEx >= l { 36279 return io.ErrUnexpectedEOF 36280 } 36281 b := dAtA[iNdEx] 36282 iNdEx++ 36283 wire |= uint64(b&0x7F) << shift 36284 if b < 0x80 { 36285 break 36286 } 36287 } 36288 fieldNum := int32(wire >> 3) 36289 wireType := int(wire & 0x7) 36290 if wireType == 4 { 36291 return fmt.Errorf("proto: InsertCtx: wiretype end group for non-group") 36292 } 36293 if fieldNum <= 0 { 36294 return fmt.Errorf("proto: InsertCtx: illegal tag %d (wire type %d)", fieldNum, wire) 36295 } 36296 switch fieldNum { 36297 case 1: 36298 if wireType != 2 { 36299 return fmt.Errorf("proto: wrong wireType = %d for field Ref", wireType) 36300 } 36301 var msglen int 36302 for shift := uint(0); ; shift += 7 { 36303 if shift >= 64 { 36304 return ErrIntOverflowPlan 36305 } 36306 if iNdEx >= l { 36307 return io.ErrUnexpectedEOF 36308 } 36309 b := dAtA[iNdEx] 36310 iNdEx++ 36311 msglen |= int(b&0x7F) << shift 36312 if b < 0x80 { 36313 break 36314 } 36315 } 36316 if msglen < 0 { 36317 return ErrInvalidLengthPlan 36318 } 36319 postIndex := iNdEx + msglen 36320 if postIndex < 0 { 36321 return ErrInvalidLengthPlan 36322 } 36323 if postIndex > l { 36324 return io.ErrUnexpectedEOF 36325 } 36326 if m.Ref == nil { 36327 m.Ref = &ObjectRef{} 36328 } 36329 if err := m.Ref.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 36330 return err 36331 } 36332 iNdEx = postIndex 36333 case 2: 36334 if wireType != 0 { 36335 return fmt.Errorf("proto: wrong wireType = %d for field AddAffectedRows", wireType) 36336 } 36337 var v int 36338 for shift := uint(0); ; shift += 7 { 36339 if shift >= 64 { 36340 return ErrIntOverflowPlan 36341 } 36342 if iNdEx >= l { 36343 return io.ErrUnexpectedEOF 36344 } 36345 b := dAtA[iNdEx] 36346 iNdEx++ 36347 v |= int(b&0x7F) << shift 36348 if b < 0x80 { 36349 break 36350 } 36351 } 36352 m.AddAffectedRows = bool(v != 0) 36353 case 3: 36354 if wireType != 0 { 36355 return fmt.Errorf("proto: wrong wireType = %d for field IsClusterTable", wireType) 36356 } 36357 var v int 36358 for shift := uint(0); ; shift += 7 { 36359 if shift >= 64 { 36360 return ErrIntOverflowPlan 36361 } 36362 if iNdEx >= l { 36363 return io.ErrUnexpectedEOF 36364 } 36365 b := dAtA[iNdEx] 36366 iNdEx++ 36367 v |= int(b&0x7F) << shift 36368 if b < 0x80 { 36369 break 36370 } 36371 } 36372 m.IsClusterTable = bool(v != 0) 36373 case 4: 36374 if wireType != 2 { 36375 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 36376 } 36377 var msglen int 36378 for shift := uint(0); ; shift += 7 { 36379 if shift >= 64 { 36380 return ErrIntOverflowPlan 36381 } 36382 if iNdEx >= l { 36383 return io.ErrUnexpectedEOF 36384 } 36385 b := dAtA[iNdEx] 36386 iNdEx++ 36387 msglen |= int(b&0x7F) << shift 36388 if b < 0x80 { 36389 break 36390 } 36391 } 36392 if msglen < 0 { 36393 return ErrInvalidLengthPlan 36394 } 36395 postIndex := iNdEx + msglen 36396 if postIndex < 0 { 36397 return ErrInvalidLengthPlan 36398 } 36399 if postIndex > l { 36400 return io.ErrUnexpectedEOF 36401 } 36402 if m.TableDef == nil { 36403 m.TableDef = &TableDef{} 36404 } 36405 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 36406 return err 36407 } 36408 iNdEx = postIndex 36409 case 5: 36410 if wireType == 0 { 36411 var v uint64 36412 for shift := uint(0); ; shift += 7 { 36413 if shift >= 64 { 36414 return ErrIntOverflowPlan 36415 } 36416 if iNdEx >= l { 36417 return io.ErrUnexpectedEOF 36418 } 36419 b := dAtA[iNdEx] 36420 iNdEx++ 36421 v |= uint64(b&0x7F) << shift 36422 if b < 0x80 { 36423 break 36424 } 36425 } 36426 m.PartitionTableIds = append(m.PartitionTableIds, v) 36427 } else if wireType == 2 { 36428 var packedLen int 36429 for shift := uint(0); ; shift += 7 { 36430 if shift >= 64 { 36431 return ErrIntOverflowPlan 36432 } 36433 if iNdEx >= l { 36434 return io.ErrUnexpectedEOF 36435 } 36436 b := dAtA[iNdEx] 36437 iNdEx++ 36438 packedLen |= int(b&0x7F) << shift 36439 if b < 0x80 { 36440 break 36441 } 36442 } 36443 if packedLen < 0 { 36444 return ErrInvalidLengthPlan 36445 } 36446 postIndex := iNdEx + packedLen 36447 if postIndex < 0 { 36448 return ErrInvalidLengthPlan 36449 } 36450 if postIndex > l { 36451 return io.ErrUnexpectedEOF 36452 } 36453 var elementCount int 36454 var count int 36455 for _, integer := range dAtA[iNdEx:postIndex] { 36456 if integer < 128 { 36457 count++ 36458 } 36459 } 36460 elementCount = count 36461 if elementCount != 0 && len(m.PartitionTableIds) == 0 { 36462 m.PartitionTableIds = make([]uint64, 0, elementCount) 36463 } 36464 for iNdEx < postIndex { 36465 var v uint64 36466 for shift := uint(0); ; shift += 7 { 36467 if shift >= 64 { 36468 return ErrIntOverflowPlan 36469 } 36470 if iNdEx >= l { 36471 return io.ErrUnexpectedEOF 36472 } 36473 b := dAtA[iNdEx] 36474 iNdEx++ 36475 v |= uint64(b&0x7F) << shift 36476 if b < 0x80 { 36477 break 36478 } 36479 } 36480 m.PartitionTableIds = append(m.PartitionTableIds, v) 36481 } 36482 } else { 36483 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTableIds", wireType) 36484 } 36485 case 6: 36486 if wireType != 2 { 36487 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTableNames", wireType) 36488 } 36489 var stringLen uint64 36490 for shift := uint(0); ; shift += 7 { 36491 if shift >= 64 { 36492 return ErrIntOverflowPlan 36493 } 36494 if iNdEx >= l { 36495 return io.ErrUnexpectedEOF 36496 } 36497 b := dAtA[iNdEx] 36498 iNdEx++ 36499 stringLen |= uint64(b&0x7F) << shift 36500 if b < 0x80 { 36501 break 36502 } 36503 } 36504 intStringLen := int(stringLen) 36505 if intStringLen < 0 { 36506 return ErrInvalidLengthPlan 36507 } 36508 postIndex := iNdEx + intStringLen 36509 if postIndex < 0 { 36510 return ErrInvalidLengthPlan 36511 } 36512 if postIndex > l { 36513 return io.ErrUnexpectedEOF 36514 } 36515 m.PartitionTableNames = append(m.PartitionTableNames, string(dAtA[iNdEx:postIndex])) 36516 iNdEx = postIndex 36517 case 7: 36518 if wireType != 0 { 36519 return fmt.Errorf("proto: wrong wireType = %d for field PartitionIdx", wireType) 36520 } 36521 m.PartitionIdx = 0 36522 for shift := uint(0); ; shift += 7 { 36523 if shift >= 64 { 36524 return ErrIntOverflowPlan 36525 } 36526 if iNdEx >= l { 36527 return io.ErrUnexpectedEOF 36528 } 36529 b := dAtA[iNdEx] 36530 iNdEx++ 36531 m.PartitionIdx |= int32(b&0x7F) << shift 36532 if b < 0x80 { 36533 break 36534 } 36535 } 36536 default: 36537 iNdEx = preIndex 36538 skippy, err := skipPlan(dAtA[iNdEx:]) 36539 if err != nil { 36540 return err 36541 } 36542 if (skippy < 0) || (iNdEx+skippy) < 0 { 36543 return ErrInvalidLengthPlan 36544 } 36545 if (iNdEx + skippy) > l { 36546 return io.ErrUnexpectedEOF 36547 } 36548 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 36549 iNdEx += skippy 36550 } 36551 } 36552 36553 if iNdEx > l { 36554 return io.ErrUnexpectedEOF 36555 } 36556 return nil 36557 } 36558 func (m *ReplaceCtx) Unmarshal(dAtA []byte) error { 36559 l := len(dAtA) 36560 iNdEx := 0 36561 for iNdEx < l { 36562 preIndex := iNdEx 36563 var wire uint64 36564 for shift := uint(0); ; shift += 7 { 36565 if shift >= 64 { 36566 return ErrIntOverflowPlan 36567 } 36568 if iNdEx >= l { 36569 return io.ErrUnexpectedEOF 36570 } 36571 b := dAtA[iNdEx] 36572 iNdEx++ 36573 wire |= uint64(b&0x7F) << shift 36574 if b < 0x80 { 36575 break 36576 } 36577 } 36578 fieldNum := int32(wire >> 3) 36579 wireType := int(wire & 0x7) 36580 if wireType == 4 { 36581 return fmt.Errorf("proto: ReplaceCtx: wiretype end group for non-group") 36582 } 36583 if fieldNum <= 0 { 36584 return fmt.Errorf("proto: ReplaceCtx: illegal tag %d (wire type %d)", fieldNum, wire) 36585 } 36586 switch fieldNum { 36587 case 1: 36588 if wireType != 2 { 36589 return fmt.Errorf("proto: wrong wireType = %d for field Ref", wireType) 36590 } 36591 var msglen int 36592 for shift := uint(0); ; shift += 7 { 36593 if shift >= 64 { 36594 return ErrIntOverflowPlan 36595 } 36596 if iNdEx >= l { 36597 return io.ErrUnexpectedEOF 36598 } 36599 b := dAtA[iNdEx] 36600 iNdEx++ 36601 msglen |= int(b&0x7F) << shift 36602 if b < 0x80 { 36603 break 36604 } 36605 } 36606 if msglen < 0 { 36607 return ErrInvalidLengthPlan 36608 } 36609 postIndex := iNdEx + msglen 36610 if postIndex < 0 { 36611 return ErrInvalidLengthPlan 36612 } 36613 if postIndex > l { 36614 return io.ErrUnexpectedEOF 36615 } 36616 if m.Ref == nil { 36617 m.Ref = &ObjectRef{} 36618 } 36619 if err := m.Ref.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 36620 return err 36621 } 36622 iNdEx = postIndex 36623 case 2: 36624 if wireType != 0 { 36625 return fmt.Errorf("proto: wrong wireType = %d for field AddAffectedRows", wireType) 36626 } 36627 var v int 36628 for shift := uint(0); ; shift += 7 { 36629 if shift >= 64 { 36630 return ErrIntOverflowPlan 36631 } 36632 if iNdEx >= l { 36633 return io.ErrUnexpectedEOF 36634 } 36635 b := dAtA[iNdEx] 36636 iNdEx++ 36637 v |= int(b&0x7F) << shift 36638 if b < 0x80 { 36639 break 36640 } 36641 } 36642 m.AddAffectedRows = bool(v != 0) 36643 case 3: 36644 if wireType != 0 { 36645 return fmt.Errorf("proto: wrong wireType = %d for field IsClusterTable", wireType) 36646 } 36647 var v int 36648 for shift := uint(0); ; shift += 7 { 36649 if shift >= 64 { 36650 return ErrIntOverflowPlan 36651 } 36652 if iNdEx >= l { 36653 return io.ErrUnexpectedEOF 36654 } 36655 b := dAtA[iNdEx] 36656 iNdEx++ 36657 v |= int(b&0x7F) << shift 36658 if b < 0x80 { 36659 break 36660 } 36661 } 36662 m.IsClusterTable = bool(v != 0) 36663 case 4: 36664 if wireType != 2 { 36665 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 36666 } 36667 var msglen int 36668 for shift := uint(0); ; shift += 7 { 36669 if shift >= 64 { 36670 return ErrIntOverflowPlan 36671 } 36672 if iNdEx >= l { 36673 return io.ErrUnexpectedEOF 36674 } 36675 b := dAtA[iNdEx] 36676 iNdEx++ 36677 msglen |= int(b&0x7F) << shift 36678 if b < 0x80 { 36679 break 36680 } 36681 } 36682 if msglen < 0 { 36683 return ErrInvalidLengthPlan 36684 } 36685 postIndex := iNdEx + msglen 36686 if postIndex < 0 { 36687 return ErrInvalidLengthPlan 36688 } 36689 if postIndex > l { 36690 return io.ErrUnexpectedEOF 36691 } 36692 if m.TableDef == nil { 36693 m.TableDef = &TableDef{} 36694 } 36695 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 36696 return err 36697 } 36698 iNdEx = postIndex 36699 case 5: 36700 if wireType != 2 { 36701 return fmt.Errorf("proto: wrong wireType = %d for field DeleteCond", wireType) 36702 } 36703 var stringLen uint64 36704 for shift := uint(0); ; shift += 7 { 36705 if shift >= 64 { 36706 return ErrIntOverflowPlan 36707 } 36708 if iNdEx >= l { 36709 return io.ErrUnexpectedEOF 36710 } 36711 b := dAtA[iNdEx] 36712 iNdEx++ 36713 stringLen |= uint64(b&0x7F) << shift 36714 if b < 0x80 { 36715 break 36716 } 36717 } 36718 intStringLen := int(stringLen) 36719 if intStringLen < 0 { 36720 return ErrInvalidLengthPlan 36721 } 36722 postIndex := iNdEx + intStringLen 36723 if postIndex < 0 { 36724 return ErrInvalidLengthPlan 36725 } 36726 if postIndex > l { 36727 return io.ErrUnexpectedEOF 36728 } 36729 m.DeleteCond = string(dAtA[iNdEx:postIndex]) 36730 iNdEx = postIndex 36731 case 6: 36732 if wireType == 0 { 36733 var v uint64 36734 for shift := uint(0); ; shift += 7 { 36735 if shift >= 64 { 36736 return ErrIntOverflowPlan 36737 } 36738 if iNdEx >= l { 36739 return io.ErrUnexpectedEOF 36740 } 36741 b := dAtA[iNdEx] 36742 iNdEx++ 36743 v |= uint64(b&0x7F) << shift 36744 if b < 0x80 { 36745 break 36746 } 36747 } 36748 m.PartitionTableIds = append(m.PartitionTableIds, v) 36749 } else if wireType == 2 { 36750 var packedLen int 36751 for shift := uint(0); ; shift += 7 { 36752 if shift >= 64 { 36753 return ErrIntOverflowPlan 36754 } 36755 if iNdEx >= l { 36756 return io.ErrUnexpectedEOF 36757 } 36758 b := dAtA[iNdEx] 36759 iNdEx++ 36760 packedLen |= int(b&0x7F) << shift 36761 if b < 0x80 { 36762 break 36763 } 36764 } 36765 if packedLen < 0 { 36766 return ErrInvalidLengthPlan 36767 } 36768 postIndex := iNdEx + packedLen 36769 if postIndex < 0 { 36770 return ErrInvalidLengthPlan 36771 } 36772 if postIndex > l { 36773 return io.ErrUnexpectedEOF 36774 } 36775 var elementCount int 36776 var count int 36777 for _, integer := range dAtA[iNdEx:postIndex] { 36778 if integer < 128 { 36779 count++ 36780 } 36781 } 36782 elementCount = count 36783 if elementCount != 0 && len(m.PartitionTableIds) == 0 { 36784 m.PartitionTableIds = make([]uint64, 0, elementCount) 36785 } 36786 for iNdEx < postIndex { 36787 var v uint64 36788 for shift := uint(0); ; shift += 7 { 36789 if shift >= 64 { 36790 return ErrIntOverflowPlan 36791 } 36792 if iNdEx >= l { 36793 return io.ErrUnexpectedEOF 36794 } 36795 b := dAtA[iNdEx] 36796 iNdEx++ 36797 v |= uint64(b&0x7F) << shift 36798 if b < 0x80 { 36799 break 36800 } 36801 } 36802 m.PartitionTableIds = append(m.PartitionTableIds, v) 36803 } 36804 } else { 36805 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTableIds", wireType) 36806 } 36807 case 7: 36808 if wireType != 2 { 36809 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTableNames", wireType) 36810 } 36811 var stringLen uint64 36812 for shift := uint(0); ; shift += 7 { 36813 if shift >= 64 { 36814 return ErrIntOverflowPlan 36815 } 36816 if iNdEx >= l { 36817 return io.ErrUnexpectedEOF 36818 } 36819 b := dAtA[iNdEx] 36820 iNdEx++ 36821 stringLen |= uint64(b&0x7F) << shift 36822 if b < 0x80 { 36823 break 36824 } 36825 } 36826 intStringLen := int(stringLen) 36827 if intStringLen < 0 { 36828 return ErrInvalidLengthPlan 36829 } 36830 postIndex := iNdEx + intStringLen 36831 if postIndex < 0 { 36832 return ErrInvalidLengthPlan 36833 } 36834 if postIndex > l { 36835 return io.ErrUnexpectedEOF 36836 } 36837 m.PartitionTableNames = append(m.PartitionTableNames, string(dAtA[iNdEx:postIndex])) 36838 iNdEx = postIndex 36839 case 8: 36840 if wireType != 0 { 36841 return fmt.Errorf("proto: wrong wireType = %d for field PartitionIdx", wireType) 36842 } 36843 m.PartitionIdx = 0 36844 for shift := uint(0); ; shift += 7 { 36845 if shift >= 64 { 36846 return ErrIntOverflowPlan 36847 } 36848 if iNdEx >= l { 36849 return io.ErrUnexpectedEOF 36850 } 36851 b := dAtA[iNdEx] 36852 iNdEx++ 36853 m.PartitionIdx |= int32(b&0x7F) << shift 36854 if b < 0x80 { 36855 break 36856 } 36857 } 36858 default: 36859 iNdEx = preIndex 36860 skippy, err := skipPlan(dAtA[iNdEx:]) 36861 if err != nil { 36862 return err 36863 } 36864 if (skippy < 0) || (iNdEx+skippy) < 0 { 36865 return ErrInvalidLengthPlan 36866 } 36867 if (iNdEx + skippy) > l { 36868 return io.ErrUnexpectedEOF 36869 } 36870 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 36871 iNdEx += skippy 36872 } 36873 } 36874 36875 if iNdEx > l { 36876 return io.ErrUnexpectedEOF 36877 } 36878 return nil 36879 } 36880 func (m *AnalyzeInfo) Unmarshal(dAtA []byte) error { 36881 l := len(dAtA) 36882 iNdEx := 0 36883 for iNdEx < l { 36884 preIndex := iNdEx 36885 var wire uint64 36886 for shift := uint(0); ; shift += 7 { 36887 if shift >= 64 { 36888 return ErrIntOverflowPlan 36889 } 36890 if iNdEx >= l { 36891 return io.ErrUnexpectedEOF 36892 } 36893 b := dAtA[iNdEx] 36894 iNdEx++ 36895 wire |= uint64(b&0x7F) << shift 36896 if b < 0x80 { 36897 break 36898 } 36899 } 36900 fieldNum := int32(wire >> 3) 36901 wireType := int(wire & 0x7) 36902 if wireType == 4 { 36903 return fmt.Errorf("proto: AnalyzeInfo: wiretype end group for non-group") 36904 } 36905 if fieldNum <= 0 { 36906 return fmt.Errorf("proto: AnalyzeInfo: illegal tag %d (wire type %d)", fieldNum, wire) 36907 } 36908 switch fieldNum { 36909 case 1: 36910 if wireType != 0 { 36911 return fmt.Errorf("proto: wrong wireType = %d for field InputRows", wireType) 36912 } 36913 m.InputRows = 0 36914 for shift := uint(0); ; shift += 7 { 36915 if shift >= 64 { 36916 return ErrIntOverflowPlan 36917 } 36918 if iNdEx >= l { 36919 return io.ErrUnexpectedEOF 36920 } 36921 b := dAtA[iNdEx] 36922 iNdEx++ 36923 m.InputRows |= int64(b&0x7F) << shift 36924 if b < 0x80 { 36925 break 36926 } 36927 } 36928 case 2: 36929 if wireType != 0 { 36930 return fmt.Errorf("proto: wrong wireType = %d for field OutputRows", wireType) 36931 } 36932 m.OutputRows = 0 36933 for shift := uint(0); ; shift += 7 { 36934 if shift >= 64 { 36935 return ErrIntOverflowPlan 36936 } 36937 if iNdEx >= l { 36938 return io.ErrUnexpectedEOF 36939 } 36940 b := dAtA[iNdEx] 36941 iNdEx++ 36942 m.OutputRows |= int64(b&0x7F) << shift 36943 if b < 0x80 { 36944 break 36945 } 36946 } 36947 case 3: 36948 if wireType != 0 { 36949 return fmt.Errorf("proto: wrong wireType = %d for field InputSize", wireType) 36950 } 36951 m.InputSize = 0 36952 for shift := uint(0); ; shift += 7 { 36953 if shift >= 64 { 36954 return ErrIntOverflowPlan 36955 } 36956 if iNdEx >= l { 36957 return io.ErrUnexpectedEOF 36958 } 36959 b := dAtA[iNdEx] 36960 iNdEx++ 36961 m.InputSize |= int64(b&0x7F) << shift 36962 if b < 0x80 { 36963 break 36964 } 36965 } 36966 case 4: 36967 if wireType != 0 { 36968 return fmt.Errorf("proto: wrong wireType = %d for field OutputSize", wireType) 36969 } 36970 m.OutputSize = 0 36971 for shift := uint(0); ; shift += 7 { 36972 if shift >= 64 { 36973 return ErrIntOverflowPlan 36974 } 36975 if iNdEx >= l { 36976 return io.ErrUnexpectedEOF 36977 } 36978 b := dAtA[iNdEx] 36979 iNdEx++ 36980 m.OutputSize |= int64(b&0x7F) << shift 36981 if b < 0x80 { 36982 break 36983 } 36984 } 36985 case 5: 36986 if wireType != 0 { 36987 return fmt.Errorf("proto: wrong wireType = %d for field TimeConsumed", wireType) 36988 } 36989 m.TimeConsumed = 0 36990 for shift := uint(0); ; shift += 7 { 36991 if shift >= 64 { 36992 return ErrIntOverflowPlan 36993 } 36994 if iNdEx >= l { 36995 return io.ErrUnexpectedEOF 36996 } 36997 b := dAtA[iNdEx] 36998 iNdEx++ 36999 m.TimeConsumed |= int64(b&0x7F) << shift 37000 if b < 0x80 { 37001 break 37002 } 37003 } 37004 case 6: 37005 if wireType != 0 { 37006 return fmt.Errorf("proto: wrong wireType = %d for field MemorySize", wireType) 37007 } 37008 m.MemorySize = 0 37009 for shift := uint(0); ; shift += 7 { 37010 if shift >= 64 { 37011 return ErrIntOverflowPlan 37012 } 37013 if iNdEx >= l { 37014 return io.ErrUnexpectedEOF 37015 } 37016 b := dAtA[iNdEx] 37017 iNdEx++ 37018 m.MemorySize |= int64(b&0x7F) << shift 37019 if b < 0x80 { 37020 break 37021 } 37022 } 37023 case 7: 37024 if wireType != 0 { 37025 return fmt.Errorf("proto: wrong wireType = %d for field WaitTimeConsumed", wireType) 37026 } 37027 m.WaitTimeConsumed = 0 37028 for shift := uint(0); ; shift += 7 { 37029 if shift >= 64 { 37030 return ErrIntOverflowPlan 37031 } 37032 if iNdEx >= l { 37033 return io.ErrUnexpectedEOF 37034 } 37035 b := dAtA[iNdEx] 37036 iNdEx++ 37037 m.WaitTimeConsumed |= int64(b&0x7F) << shift 37038 if b < 0x80 { 37039 break 37040 } 37041 } 37042 case 8: 37043 if wireType != 0 { 37044 return fmt.Errorf("proto: wrong wireType = %d for field DiskIO", wireType) 37045 } 37046 m.DiskIO = 0 37047 for shift := uint(0); ; shift += 7 { 37048 if shift >= 64 { 37049 return ErrIntOverflowPlan 37050 } 37051 if iNdEx >= l { 37052 return io.ErrUnexpectedEOF 37053 } 37054 b := dAtA[iNdEx] 37055 iNdEx++ 37056 m.DiskIO |= int64(b&0x7F) << shift 37057 if b < 0x80 { 37058 break 37059 } 37060 } 37061 case 9: 37062 if wireType != 0 { 37063 return fmt.Errorf("proto: wrong wireType = %d for field S3IOByte", wireType) 37064 } 37065 m.S3IOByte = 0 37066 for shift := uint(0); ; shift += 7 { 37067 if shift >= 64 { 37068 return ErrIntOverflowPlan 37069 } 37070 if iNdEx >= l { 37071 return io.ErrUnexpectedEOF 37072 } 37073 b := dAtA[iNdEx] 37074 iNdEx++ 37075 m.S3IOByte |= int64(b&0x7F) << shift 37076 if b < 0x80 { 37077 break 37078 } 37079 } 37080 case 10: 37081 if wireType != 0 { 37082 return fmt.Errorf("proto: wrong wireType = %d for field S3IOInputCount", wireType) 37083 } 37084 m.S3IOInputCount = 0 37085 for shift := uint(0); ; shift += 7 { 37086 if shift >= 64 { 37087 return ErrIntOverflowPlan 37088 } 37089 if iNdEx >= l { 37090 return io.ErrUnexpectedEOF 37091 } 37092 b := dAtA[iNdEx] 37093 iNdEx++ 37094 m.S3IOInputCount |= int64(b&0x7F) << shift 37095 if b < 0x80 { 37096 break 37097 } 37098 } 37099 case 11: 37100 if wireType != 0 { 37101 return fmt.Errorf("proto: wrong wireType = %d for field S3IOOutputCount", wireType) 37102 } 37103 m.S3IOOutputCount = 0 37104 for shift := uint(0); ; shift += 7 { 37105 if shift >= 64 { 37106 return ErrIntOverflowPlan 37107 } 37108 if iNdEx >= l { 37109 return io.ErrUnexpectedEOF 37110 } 37111 b := dAtA[iNdEx] 37112 iNdEx++ 37113 m.S3IOOutputCount |= int64(b&0x7F) << shift 37114 if b < 0x80 { 37115 break 37116 } 37117 } 37118 case 12: 37119 if wireType != 0 { 37120 return fmt.Errorf("proto: wrong wireType = %d for field NetworkIO", wireType) 37121 } 37122 m.NetworkIO = 0 37123 for shift := uint(0); ; shift += 7 { 37124 if shift >= 64 { 37125 return ErrIntOverflowPlan 37126 } 37127 if iNdEx >= l { 37128 return io.ErrUnexpectedEOF 37129 } 37130 b := dAtA[iNdEx] 37131 iNdEx++ 37132 m.NetworkIO |= int64(b&0x7F) << shift 37133 if b < 0x80 { 37134 break 37135 } 37136 } 37137 case 13: 37138 if wireType != 0 { 37139 return fmt.Errorf("proto: wrong wireType = %d for field ScanTime", wireType) 37140 } 37141 m.ScanTime = 0 37142 for shift := uint(0); ; shift += 7 { 37143 if shift >= 64 { 37144 return ErrIntOverflowPlan 37145 } 37146 if iNdEx >= l { 37147 return io.ErrUnexpectedEOF 37148 } 37149 b := dAtA[iNdEx] 37150 iNdEx++ 37151 m.ScanTime |= int64(b&0x7F) << shift 37152 if b < 0x80 { 37153 break 37154 } 37155 } 37156 case 14: 37157 if wireType != 0 { 37158 return fmt.Errorf("proto: wrong wireType = %d for field InsertTime", wireType) 37159 } 37160 m.InsertTime = 0 37161 for shift := uint(0); ; shift += 7 { 37162 if shift >= 64 { 37163 return ErrIntOverflowPlan 37164 } 37165 if iNdEx >= l { 37166 return io.ErrUnexpectedEOF 37167 } 37168 b := dAtA[iNdEx] 37169 iNdEx++ 37170 m.InsertTime |= int64(b&0x7F) << shift 37171 if b < 0x80 { 37172 break 37173 } 37174 } 37175 case 15: 37176 if wireType == 0 { 37177 var v int64 37178 for shift := uint(0); ; shift += 7 { 37179 if shift >= 64 { 37180 return ErrIntOverflowPlan 37181 } 37182 if iNdEx >= l { 37183 return io.ErrUnexpectedEOF 37184 } 37185 b := dAtA[iNdEx] 37186 iNdEx++ 37187 v |= int64(b&0x7F) << shift 37188 if b < 0x80 { 37189 break 37190 } 37191 } 37192 m.TimeConsumedArrayMajor = append(m.TimeConsumedArrayMajor, v) 37193 } else if wireType == 2 { 37194 var packedLen int 37195 for shift := uint(0); ; shift += 7 { 37196 if shift >= 64 { 37197 return ErrIntOverflowPlan 37198 } 37199 if iNdEx >= l { 37200 return io.ErrUnexpectedEOF 37201 } 37202 b := dAtA[iNdEx] 37203 iNdEx++ 37204 packedLen |= int(b&0x7F) << shift 37205 if b < 0x80 { 37206 break 37207 } 37208 } 37209 if packedLen < 0 { 37210 return ErrInvalidLengthPlan 37211 } 37212 postIndex := iNdEx + packedLen 37213 if postIndex < 0 { 37214 return ErrInvalidLengthPlan 37215 } 37216 if postIndex > l { 37217 return io.ErrUnexpectedEOF 37218 } 37219 var elementCount int 37220 var count int 37221 for _, integer := range dAtA[iNdEx:postIndex] { 37222 if integer < 128 { 37223 count++ 37224 } 37225 } 37226 elementCount = count 37227 if elementCount != 0 && len(m.TimeConsumedArrayMajor) == 0 { 37228 m.TimeConsumedArrayMajor = make([]int64, 0, elementCount) 37229 } 37230 for iNdEx < postIndex { 37231 var v int64 37232 for shift := uint(0); ; shift += 7 { 37233 if shift >= 64 { 37234 return ErrIntOverflowPlan 37235 } 37236 if iNdEx >= l { 37237 return io.ErrUnexpectedEOF 37238 } 37239 b := dAtA[iNdEx] 37240 iNdEx++ 37241 v |= int64(b&0x7F) << shift 37242 if b < 0x80 { 37243 break 37244 } 37245 } 37246 m.TimeConsumedArrayMajor = append(m.TimeConsumedArrayMajor, v) 37247 } 37248 } else { 37249 return fmt.Errorf("proto: wrong wireType = %d for field TimeConsumedArrayMajor", wireType) 37250 } 37251 case 16: 37252 if wireType == 0 { 37253 var v int64 37254 for shift := uint(0); ; shift += 7 { 37255 if shift >= 64 { 37256 return ErrIntOverflowPlan 37257 } 37258 if iNdEx >= l { 37259 return io.ErrUnexpectedEOF 37260 } 37261 b := dAtA[iNdEx] 37262 iNdEx++ 37263 v |= int64(b&0x7F) << shift 37264 if b < 0x80 { 37265 break 37266 } 37267 } 37268 m.TimeConsumedArrayMinor = append(m.TimeConsumedArrayMinor, v) 37269 } else if wireType == 2 { 37270 var packedLen int 37271 for shift := uint(0); ; shift += 7 { 37272 if shift >= 64 { 37273 return ErrIntOverflowPlan 37274 } 37275 if iNdEx >= l { 37276 return io.ErrUnexpectedEOF 37277 } 37278 b := dAtA[iNdEx] 37279 iNdEx++ 37280 packedLen |= int(b&0x7F) << shift 37281 if b < 0x80 { 37282 break 37283 } 37284 } 37285 if packedLen < 0 { 37286 return ErrInvalidLengthPlan 37287 } 37288 postIndex := iNdEx + packedLen 37289 if postIndex < 0 { 37290 return ErrInvalidLengthPlan 37291 } 37292 if postIndex > l { 37293 return io.ErrUnexpectedEOF 37294 } 37295 var elementCount int 37296 var count int 37297 for _, integer := range dAtA[iNdEx:postIndex] { 37298 if integer < 128 { 37299 count++ 37300 } 37301 } 37302 elementCount = count 37303 if elementCount != 0 && len(m.TimeConsumedArrayMinor) == 0 { 37304 m.TimeConsumedArrayMinor = make([]int64, 0, elementCount) 37305 } 37306 for iNdEx < postIndex { 37307 var v int64 37308 for shift := uint(0); ; shift += 7 { 37309 if shift >= 64 { 37310 return ErrIntOverflowPlan 37311 } 37312 if iNdEx >= l { 37313 return io.ErrUnexpectedEOF 37314 } 37315 b := dAtA[iNdEx] 37316 iNdEx++ 37317 v |= int64(b&0x7F) << shift 37318 if b < 0x80 { 37319 break 37320 } 37321 } 37322 m.TimeConsumedArrayMinor = append(m.TimeConsumedArrayMinor, v) 37323 } 37324 } else { 37325 return fmt.Errorf("proto: wrong wireType = %d for field TimeConsumedArrayMinor", wireType) 37326 } 37327 default: 37328 iNdEx = preIndex 37329 skippy, err := skipPlan(dAtA[iNdEx:]) 37330 if err != nil { 37331 return err 37332 } 37333 if (skippy < 0) || (iNdEx+skippy) < 0 { 37334 return ErrInvalidLengthPlan 37335 } 37336 if (iNdEx + skippy) > l { 37337 return io.ErrUnexpectedEOF 37338 } 37339 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 37340 iNdEx += skippy 37341 } 37342 } 37343 37344 if iNdEx > l { 37345 return io.ErrUnexpectedEOF 37346 } 37347 return nil 37348 } 37349 func (m *PartitionPrune) Unmarshal(dAtA []byte) error { 37350 l := len(dAtA) 37351 iNdEx := 0 37352 for iNdEx < l { 37353 preIndex := iNdEx 37354 var wire uint64 37355 for shift := uint(0); ; shift += 7 { 37356 if shift >= 64 { 37357 return ErrIntOverflowPlan 37358 } 37359 if iNdEx >= l { 37360 return io.ErrUnexpectedEOF 37361 } 37362 b := dAtA[iNdEx] 37363 iNdEx++ 37364 wire |= uint64(b&0x7F) << shift 37365 if b < 0x80 { 37366 break 37367 } 37368 } 37369 fieldNum := int32(wire >> 3) 37370 wireType := int(wire & 0x7) 37371 if wireType == 4 { 37372 return fmt.Errorf("proto: PartitionPrune: wiretype end group for non-group") 37373 } 37374 if fieldNum <= 0 { 37375 return fmt.Errorf("proto: PartitionPrune: illegal tag %d (wire type %d)", fieldNum, wire) 37376 } 37377 switch fieldNum { 37378 case 1: 37379 if wireType != 0 { 37380 return fmt.Errorf("proto: wrong wireType = %d for field IsPruned", wireType) 37381 } 37382 var v int 37383 for shift := uint(0); ; shift += 7 { 37384 if shift >= 64 { 37385 return ErrIntOverflowPlan 37386 } 37387 if iNdEx >= l { 37388 return io.ErrUnexpectedEOF 37389 } 37390 b := dAtA[iNdEx] 37391 iNdEx++ 37392 v |= int(b&0x7F) << shift 37393 if b < 0x80 { 37394 break 37395 } 37396 } 37397 m.IsPruned = bool(v != 0) 37398 case 2: 37399 if wireType != 2 { 37400 return fmt.Errorf("proto: wrong wireType = %d for field SelectedPartitions", wireType) 37401 } 37402 var msglen int 37403 for shift := uint(0); ; shift += 7 { 37404 if shift >= 64 { 37405 return ErrIntOverflowPlan 37406 } 37407 if iNdEx >= l { 37408 return io.ErrUnexpectedEOF 37409 } 37410 b := dAtA[iNdEx] 37411 iNdEx++ 37412 msglen |= int(b&0x7F) << shift 37413 if b < 0x80 { 37414 break 37415 } 37416 } 37417 if msglen < 0 { 37418 return ErrInvalidLengthPlan 37419 } 37420 postIndex := iNdEx + msglen 37421 if postIndex < 0 { 37422 return ErrInvalidLengthPlan 37423 } 37424 if postIndex > l { 37425 return io.ErrUnexpectedEOF 37426 } 37427 m.SelectedPartitions = append(m.SelectedPartitions, &PartitionItem{}) 37428 if err := m.SelectedPartitions[len(m.SelectedPartitions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 37429 return err 37430 } 37431 iNdEx = postIndex 37432 default: 37433 iNdEx = preIndex 37434 skippy, err := skipPlan(dAtA[iNdEx:]) 37435 if err != nil { 37436 return err 37437 } 37438 if (skippy < 0) || (iNdEx+skippy) < 0 { 37439 return ErrInvalidLengthPlan 37440 } 37441 if (iNdEx + skippy) > l { 37442 return io.ErrUnexpectedEOF 37443 } 37444 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 37445 iNdEx += skippy 37446 } 37447 } 37448 37449 if iNdEx > l { 37450 return io.ErrUnexpectedEOF 37451 } 37452 return nil 37453 } 37454 func (m *OriginTableMessageForFuzzy) Unmarshal(dAtA []byte) error { 37455 l := len(dAtA) 37456 iNdEx := 0 37457 for iNdEx < l { 37458 preIndex := iNdEx 37459 var wire uint64 37460 for shift := uint(0); ; shift += 7 { 37461 if shift >= 64 { 37462 return ErrIntOverflowPlan 37463 } 37464 if iNdEx >= l { 37465 return io.ErrUnexpectedEOF 37466 } 37467 b := dAtA[iNdEx] 37468 iNdEx++ 37469 wire |= uint64(b&0x7F) << shift 37470 if b < 0x80 { 37471 break 37472 } 37473 } 37474 fieldNum := int32(wire >> 3) 37475 wireType := int(wire & 0x7) 37476 if wireType == 4 { 37477 return fmt.Errorf("proto: OriginTableMessageForFuzzy: wiretype end group for non-group") 37478 } 37479 if fieldNum <= 0 { 37480 return fmt.Errorf("proto: OriginTableMessageForFuzzy: illegal tag %d (wire type %d)", fieldNum, wire) 37481 } 37482 switch fieldNum { 37483 case 1: 37484 if wireType != 2 { 37485 return fmt.Errorf("proto: wrong wireType = %d for field ParentTableName", wireType) 37486 } 37487 var stringLen uint64 37488 for shift := uint(0); ; shift += 7 { 37489 if shift >= 64 { 37490 return ErrIntOverflowPlan 37491 } 37492 if iNdEx >= l { 37493 return io.ErrUnexpectedEOF 37494 } 37495 b := dAtA[iNdEx] 37496 iNdEx++ 37497 stringLen |= uint64(b&0x7F) << shift 37498 if b < 0x80 { 37499 break 37500 } 37501 } 37502 intStringLen := int(stringLen) 37503 if intStringLen < 0 { 37504 return ErrInvalidLengthPlan 37505 } 37506 postIndex := iNdEx + intStringLen 37507 if postIndex < 0 { 37508 return ErrInvalidLengthPlan 37509 } 37510 if postIndex > l { 37511 return io.ErrUnexpectedEOF 37512 } 37513 m.ParentTableName = string(dAtA[iNdEx:postIndex]) 37514 iNdEx = postIndex 37515 case 2: 37516 if wireType != 2 { 37517 return fmt.Errorf("proto: wrong wireType = %d for field ParentUniqueCols", wireType) 37518 } 37519 var msglen int 37520 for shift := uint(0); ; shift += 7 { 37521 if shift >= 64 { 37522 return ErrIntOverflowPlan 37523 } 37524 if iNdEx >= l { 37525 return io.ErrUnexpectedEOF 37526 } 37527 b := dAtA[iNdEx] 37528 iNdEx++ 37529 msglen |= int(b&0x7F) << shift 37530 if b < 0x80 { 37531 break 37532 } 37533 } 37534 if msglen < 0 { 37535 return ErrInvalidLengthPlan 37536 } 37537 postIndex := iNdEx + msglen 37538 if postIndex < 0 { 37539 return ErrInvalidLengthPlan 37540 } 37541 if postIndex > l { 37542 return io.ErrUnexpectedEOF 37543 } 37544 m.ParentUniqueCols = append(m.ParentUniqueCols, &ColDef{}) 37545 if err := m.ParentUniqueCols[len(m.ParentUniqueCols)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 37546 return err 37547 } 37548 iNdEx = postIndex 37549 default: 37550 iNdEx = preIndex 37551 skippy, err := skipPlan(dAtA[iNdEx:]) 37552 if err != nil { 37553 return err 37554 } 37555 if (skippy < 0) || (iNdEx+skippy) < 0 { 37556 return ErrInvalidLengthPlan 37557 } 37558 if (iNdEx + skippy) > l { 37559 return io.ErrUnexpectedEOF 37560 } 37561 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 37562 iNdEx += skippy 37563 } 37564 } 37565 37566 if iNdEx > l { 37567 return io.ErrUnexpectedEOF 37568 } 37569 return nil 37570 } 37571 func (m *Node) Unmarshal(dAtA []byte) error { 37572 l := len(dAtA) 37573 iNdEx := 0 37574 for iNdEx < l { 37575 preIndex := iNdEx 37576 var wire uint64 37577 for shift := uint(0); ; shift += 7 { 37578 if shift >= 64 { 37579 return ErrIntOverflowPlan 37580 } 37581 if iNdEx >= l { 37582 return io.ErrUnexpectedEOF 37583 } 37584 b := dAtA[iNdEx] 37585 iNdEx++ 37586 wire |= uint64(b&0x7F) << shift 37587 if b < 0x80 { 37588 break 37589 } 37590 } 37591 fieldNum := int32(wire >> 3) 37592 wireType := int(wire & 0x7) 37593 if wireType == 4 { 37594 return fmt.Errorf("proto: Node: wiretype end group for non-group") 37595 } 37596 if fieldNum <= 0 { 37597 return fmt.Errorf("proto: Node: illegal tag %d (wire type %d)", fieldNum, wire) 37598 } 37599 switch fieldNum { 37600 case 1: 37601 if wireType != 0 { 37602 return fmt.Errorf("proto: wrong wireType = %d for field NodeType", wireType) 37603 } 37604 m.NodeType = 0 37605 for shift := uint(0); ; shift += 7 { 37606 if shift >= 64 { 37607 return ErrIntOverflowPlan 37608 } 37609 if iNdEx >= l { 37610 return io.ErrUnexpectedEOF 37611 } 37612 b := dAtA[iNdEx] 37613 iNdEx++ 37614 m.NodeType |= Node_NodeType(b&0x7F) << shift 37615 if b < 0x80 { 37616 break 37617 } 37618 } 37619 case 2: 37620 if wireType != 0 { 37621 return fmt.Errorf("proto: wrong wireType = %d for field NodeId", wireType) 37622 } 37623 m.NodeId = 0 37624 for shift := uint(0); ; shift += 7 { 37625 if shift >= 64 { 37626 return ErrIntOverflowPlan 37627 } 37628 if iNdEx >= l { 37629 return io.ErrUnexpectedEOF 37630 } 37631 b := dAtA[iNdEx] 37632 iNdEx++ 37633 m.NodeId |= int32(b&0x7F) << shift 37634 if b < 0x80 { 37635 break 37636 } 37637 } 37638 case 3: 37639 if wireType != 2 { 37640 return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType) 37641 } 37642 var msglen int 37643 for shift := uint(0); ; shift += 7 { 37644 if shift >= 64 { 37645 return ErrIntOverflowPlan 37646 } 37647 if iNdEx >= l { 37648 return io.ErrUnexpectedEOF 37649 } 37650 b := dAtA[iNdEx] 37651 iNdEx++ 37652 msglen |= int(b&0x7F) << shift 37653 if b < 0x80 { 37654 break 37655 } 37656 } 37657 if msglen < 0 { 37658 return ErrInvalidLengthPlan 37659 } 37660 postIndex := iNdEx + msglen 37661 if postIndex < 0 { 37662 return ErrInvalidLengthPlan 37663 } 37664 if postIndex > l { 37665 return io.ErrUnexpectedEOF 37666 } 37667 if m.Stats == nil { 37668 m.Stats = &Stats{} 37669 } 37670 if err := m.Stats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 37671 return err 37672 } 37673 iNdEx = postIndex 37674 case 4: 37675 if wireType == 0 { 37676 var v int32 37677 for shift := uint(0); ; shift += 7 { 37678 if shift >= 64 { 37679 return ErrIntOverflowPlan 37680 } 37681 if iNdEx >= l { 37682 return io.ErrUnexpectedEOF 37683 } 37684 b := dAtA[iNdEx] 37685 iNdEx++ 37686 v |= int32(b&0x7F) << shift 37687 if b < 0x80 { 37688 break 37689 } 37690 } 37691 m.Children = append(m.Children, v) 37692 } else if wireType == 2 { 37693 var packedLen int 37694 for shift := uint(0); ; shift += 7 { 37695 if shift >= 64 { 37696 return ErrIntOverflowPlan 37697 } 37698 if iNdEx >= l { 37699 return io.ErrUnexpectedEOF 37700 } 37701 b := dAtA[iNdEx] 37702 iNdEx++ 37703 packedLen |= int(b&0x7F) << shift 37704 if b < 0x80 { 37705 break 37706 } 37707 } 37708 if packedLen < 0 { 37709 return ErrInvalidLengthPlan 37710 } 37711 postIndex := iNdEx + packedLen 37712 if postIndex < 0 { 37713 return ErrInvalidLengthPlan 37714 } 37715 if postIndex > l { 37716 return io.ErrUnexpectedEOF 37717 } 37718 var elementCount int 37719 var count int 37720 for _, integer := range dAtA[iNdEx:postIndex] { 37721 if integer < 128 { 37722 count++ 37723 } 37724 } 37725 elementCount = count 37726 if elementCount != 0 && len(m.Children) == 0 { 37727 m.Children = make([]int32, 0, elementCount) 37728 } 37729 for iNdEx < postIndex { 37730 var v int32 37731 for shift := uint(0); ; shift += 7 { 37732 if shift >= 64 { 37733 return ErrIntOverflowPlan 37734 } 37735 if iNdEx >= l { 37736 return io.ErrUnexpectedEOF 37737 } 37738 b := dAtA[iNdEx] 37739 iNdEx++ 37740 v |= int32(b&0x7F) << shift 37741 if b < 0x80 { 37742 break 37743 } 37744 } 37745 m.Children = append(m.Children, v) 37746 } 37747 } else { 37748 return fmt.Errorf("proto: wrong wireType = %d for field Children", wireType) 37749 } 37750 case 5: 37751 if wireType != 2 { 37752 return fmt.Errorf("proto: wrong wireType = %d for field ProjectList", wireType) 37753 } 37754 var msglen int 37755 for shift := uint(0); ; shift += 7 { 37756 if shift >= 64 { 37757 return ErrIntOverflowPlan 37758 } 37759 if iNdEx >= l { 37760 return io.ErrUnexpectedEOF 37761 } 37762 b := dAtA[iNdEx] 37763 iNdEx++ 37764 msglen |= int(b&0x7F) << shift 37765 if b < 0x80 { 37766 break 37767 } 37768 } 37769 if msglen < 0 { 37770 return ErrInvalidLengthPlan 37771 } 37772 postIndex := iNdEx + msglen 37773 if postIndex < 0 { 37774 return ErrInvalidLengthPlan 37775 } 37776 if postIndex > l { 37777 return io.ErrUnexpectedEOF 37778 } 37779 m.ProjectList = append(m.ProjectList, &Expr{}) 37780 if err := m.ProjectList[len(m.ProjectList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 37781 return err 37782 } 37783 iNdEx = postIndex 37784 case 6: 37785 if wireType != 0 { 37786 return fmt.Errorf("proto: wrong wireType = %d for field JoinType", wireType) 37787 } 37788 m.JoinType = 0 37789 for shift := uint(0); ; shift += 7 { 37790 if shift >= 64 { 37791 return ErrIntOverflowPlan 37792 } 37793 if iNdEx >= l { 37794 return io.ErrUnexpectedEOF 37795 } 37796 b := dAtA[iNdEx] 37797 iNdEx++ 37798 m.JoinType |= Node_JoinType(b&0x7F) << shift 37799 if b < 0x80 { 37800 break 37801 } 37802 } 37803 case 7: 37804 if wireType != 2 { 37805 return fmt.Errorf("proto: wrong wireType = %d for field OnList", wireType) 37806 } 37807 var msglen int 37808 for shift := uint(0); ; shift += 7 { 37809 if shift >= 64 { 37810 return ErrIntOverflowPlan 37811 } 37812 if iNdEx >= l { 37813 return io.ErrUnexpectedEOF 37814 } 37815 b := dAtA[iNdEx] 37816 iNdEx++ 37817 msglen |= int(b&0x7F) << shift 37818 if b < 0x80 { 37819 break 37820 } 37821 } 37822 if msglen < 0 { 37823 return ErrInvalidLengthPlan 37824 } 37825 postIndex := iNdEx + msglen 37826 if postIndex < 0 { 37827 return ErrInvalidLengthPlan 37828 } 37829 if postIndex > l { 37830 return io.ErrUnexpectedEOF 37831 } 37832 m.OnList = append(m.OnList, &Expr{}) 37833 if err := m.OnList[len(m.OnList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 37834 return err 37835 } 37836 iNdEx = postIndex 37837 case 8: 37838 if wireType != 0 { 37839 return fmt.Errorf("proto: wrong wireType = %d for field BuildOnLeft", wireType) 37840 } 37841 var v int 37842 for shift := uint(0); ; shift += 7 { 37843 if shift >= 64 { 37844 return ErrIntOverflowPlan 37845 } 37846 if iNdEx >= l { 37847 return io.ErrUnexpectedEOF 37848 } 37849 b := dAtA[iNdEx] 37850 iNdEx++ 37851 v |= int(b&0x7F) << shift 37852 if b < 0x80 { 37853 break 37854 } 37855 } 37856 m.BuildOnLeft = bool(v != 0) 37857 case 9: 37858 if wireType != 2 { 37859 return fmt.Errorf("proto: wrong wireType = %d for field FilterList", wireType) 37860 } 37861 var msglen int 37862 for shift := uint(0); ; shift += 7 { 37863 if shift >= 64 { 37864 return ErrIntOverflowPlan 37865 } 37866 if iNdEx >= l { 37867 return io.ErrUnexpectedEOF 37868 } 37869 b := dAtA[iNdEx] 37870 iNdEx++ 37871 msglen |= int(b&0x7F) << shift 37872 if b < 0x80 { 37873 break 37874 } 37875 } 37876 if msglen < 0 { 37877 return ErrInvalidLengthPlan 37878 } 37879 postIndex := iNdEx + msglen 37880 if postIndex < 0 { 37881 return ErrInvalidLengthPlan 37882 } 37883 if postIndex > l { 37884 return io.ErrUnexpectedEOF 37885 } 37886 m.FilterList = append(m.FilterList, &Expr{}) 37887 if err := m.FilterList[len(m.FilterList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 37888 return err 37889 } 37890 iNdEx = postIndex 37891 case 10: 37892 if wireType != 2 { 37893 return fmt.Errorf("proto: wrong wireType = %d for field GroupBy", wireType) 37894 } 37895 var msglen int 37896 for shift := uint(0); ; shift += 7 { 37897 if shift >= 64 { 37898 return ErrIntOverflowPlan 37899 } 37900 if iNdEx >= l { 37901 return io.ErrUnexpectedEOF 37902 } 37903 b := dAtA[iNdEx] 37904 iNdEx++ 37905 msglen |= int(b&0x7F) << shift 37906 if b < 0x80 { 37907 break 37908 } 37909 } 37910 if msglen < 0 { 37911 return ErrInvalidLengthPlan 37912 } 37913 postIndex := iNdEx + msglen 37914 if postIndex < 0 { 37915 return ErrInvalidLengthPlan 37916 } 37917 if postIndex > l { 37918 return io.ErrUnexpectedEOF 37919 } 37920 m.GroupBy = append(m.GroupBy, &Expr{}) 37921 if err := m.GroupBy[len(m.GroupBy)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 37922 return err 37923 } 37924 iNdEx = postIndex 37925 case 11: 37926 if wireType != 2 { 37927 return fmt.Errorf("proto: wrong wireType = %d for field GroupingSet", wireType) 37928 } 37929 var msglen int 37930 for shift := uint(0); ; shift += 7 { 37931 if shift >= 64 { 37932 return ErrIntOverflowPlan 37933 } 37934 if iNdEx >= l { 37935 return io.ErrUnexpectedEOF 37936 } 37937 b := dAtA[iNdEx] 37938 iNdEx++ 37939 msglen |= int(b&0x7F) << shift 37940 if b < 0x80 { 37941 break 37942 } 37943 } 37944 if msglen < 0 { 37945 return ErrInvalidLengthPlan 37946 } 37947 postIndex := iNdEx + msglen 37948 if postIndex < 0 { 37949 return ErrInvalidLengthPlan 37950 } 37951 if postIndex > l { 37952 return io.ErrUnexpectedEOF 37953 } 37954 m.GroupingSet = append(m.GroupingSet, &Expr{}) 37955 if err := m.GroupingSet[len(m.GroupingSet)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 37956 return err 37957 } 37958 iNdEx = postIndex 37959 case 12: 37960 if wireType != 2 { 37961 return fmt.Errorf("proto: wrong wireType = %d for field AggList", wireType) 37962 } 37963 var msglen int 37964 for shift := uint(0); ; shift += 7 { 37965 if shift >= 64 { 37966 return ErrIntOverflowPlan 37967 } 37968 if iNdEx >= l { 37969 return io.ErrUnexpectedEOF 37970 } 37971 b := dAtA[iNdEx] 37972 iNdEx++ 37973 msglen |= int(b&0x7F) << shift 37974 if b < 0x80 { 37975 break 37976 } 37977 } 37978 if msglen < 0 { 37979 return ErrInvalidLengthPlan 37980 } 37981 postIndex := iNdEx + msglen 37982 if postIndex < 0 { 37983 return ErrInvalidLengthPlan 37984 } 37985 if postIndex > l { 37986 return io.ErrUnexpectedEOF 37987 } 37988 m.AggList = append(m.AggList, &Expr{}) 37989 if err := m.AggList[len(m.AggList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 37990 return err 37991 } 37992 iNdEx = postIndex 37993 case 13: 37994 if wireType != 2 { 37995 return fmt.Errorf("proto: wrong wireType = %d for field WinSpecList", wireType) 37996 } 37997 var msglen int 37998 for shift := uint(0); ; shift += 7 { 37999 if shift >= 64 { 38000 return ErrIntOverflowPlan 38001 } 38002 if iNdEx >= l { 38003 return io.ErrUnexpectedEOF 38004 } 38005 b := dAtA[iNdEx] 38006 iNdEx++ 38007 msglen |= int(b&0x7F) << shift 38008 if b < 0x80 { 38009 break 38010 } 38011 } 38012 if msglen < 0 { 38013 return ErrInvalidLengthPlan 38014 } 38015 postIndex := iNdEx + msglen 38016 if postIndex < 0 { 38017 return ErrInvalidLengthPlan 38018 } 38019 if postIndex > l { 38020 return io.ErrUnexpectedEOF 38021 } 38022 m.WinSpecList = append(m.WinSpecList, &Expr{}) 38023 if err := m.WinSpecList[len(m.WinSpecList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38024 return err 38025 } 38026 iNdEx = postIndex 38027 case 14: 38028 if wireType != 2 { 38029 return fmt.Errorf("proto: wrong wireType = %d for field OrderBy", wireType) 38030 } 38031 var msglen int 38032 for shift := uint(0); ; shift += 7 { 38033 if shift >= 64 { 38034 return ErrIntOverflowPlan 38035 } 38036 if iNdEx >= l { 38037 return io.ErrUnexpectedEOF 38038 } 38039 b := dAtA[iNdEx] 38040 iNdEx++ 38041 msglen |= int(b&0x7F) << shift 38042 if b < 0x80 { 38043 break 38044 } 38045 } 38046 if msglen < 0 { 38047 return ErrInvalidLengthPlan 38048 } 38049 postIndex := iNdEx + msglen 38050 if postIndex < 0 { 38051 return ErrInvalidLengthPlan 38052 } 38053 if postIndex > l { 38054 return io.ErrUnexpectedEOF 38055 } 38056 m.OrderBy = append(m.OrderBy, &OrderBySpec{}) 38057 if err := m.OrderBy[len(m.OrderBy)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38058 return err 38059 } 38060 iNdEx = postIndex 38061 case 15: 38062 if wireType != 2 { 38063 return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) 38064 } 38065 var msglen int 38066 for shift := uint(0); ; shift += 7 { 38067 if shift >= 64 { 38068 return ErrIntOverflowPlan 38069 } 38070 if iNdEx >= l { 38071 return io.ErrUnexpectedEOF 38072 } 38073 b := dAtA[iNdEx] 38074 iNdEx++ 38075 msglen |= int(b&0x7F) << shift 38076 if b < 0x80 { 38077 break 38078 } 38079 } 38080 if msglen < 0 { 38081 return ErrInvalidLengthPlan 38082 } 38083 postIndex := iNdEx + msglen 38084 if postIndex < 0 { 38085 return ErrInvalidLengthPlan 38086 } 38087 if postIndex > l { 38088 return io.ErrUnexpectedEOF 38089 } 38090 if m.Limit == nil { 38091 m.Limit = &Expr{} 38092 } 38093 if err := m.Limit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38094 return err 38095 } 38096 iNdEx = postIndex 38097 case 16: 38098 if wireType != 2 { 38099 return fmt.Errorf("proto: wrong wireType = %d for field Offset", wireType) 38100 } 38101 var msglen int 38102 for shift := uint(0); ; shift += 7 { 38103 if shift >= 64 { 38104 return ErrIntOverflowPlan 38105 } 38106 if iNdEx >= l { 38107 return io.ErrUnexpectedEOF 38108 } 38109 b := dAtA[iNdEx] 38110 iNdEx++ 38111 msglen |= int(b&0x7F) << shift 38112 if b < 0x80 { 38113 break 38114 } 38115 } 38116 if msglen < 0 { 38117 return ErrInvalidLengthPlan 38118 } 38119 postIndex := iNdEx + msglen 38120 if postIndex < 0 { 38121 return ErrInvalidLengthPlan 38122 } 38123 if postIndex > l { 38124 return io.ErrUnexpectedEOF 38125 } 38126 if m.Offset == nil { 38127 m.Offset = &Expr{} 38128 } 38129 if err := m.Offset.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38130 return err 38131 } 38132 iNdEx = postIndex 38133 case 17: 38134 if wireType != 2 { 38135 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 38136 } 38137 var msglen int 38138 for shift := uint(0); ; shift += 7 { 38139 if shift >= 64 { 38140 return ErrIntOverflowPlan 38141 } 38142 if iNdEx >= l { 38143 return io.ErrUnexpectedEOF 38144 } 38145 b := dAtA[iNdEx] 38146 iNdEx++ 38147 msglen |= int(b&0x7F) << shift 38148 if b < 0x80 { 38149 break 38150 } 38151 } 38152 if msglen < 0 { 38153 return ErrInvalidLengthPlan 38154 } 38155 postIndex := iNdEx + msglen 38156 if postIndex < 0 { 38157 return ErrInvalidLengthPlan 38158 } 38159 if postIndex > l { 38160 return io.ErrUnexpectedEOF 38161 } 38162 if m.TableDef == nil { 38163 m.TableDef = &TableDef{} 38164 } 38165 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38166 return err 38167 } 38168 iNdEx = postIndex 38169 case 18: 38170 if wireType != 2 { 38171 return fmt.Errorf("proto: wrong wireType = %d for field ObjRef", wireType) 38172 } 38173 var msglen int 38174 for shift := uint(0); ; shift += 7 { 38175 if shift >= 64 { 38176 return ErrIntOverflowPlan 38177 } 38178 if iNdEx >= l { 38179 return io.ErrUnexpectedEOF 38180 } 38181 b := dAtA[iNdEx] 38182 iNdEx++ 38183 msglen |= int(b&0x7F) << shift 38184 if b < 0x80 { 38185 break 38186 } 38187 } 38188 if msglen < 0 { 38189 return ErrInvalidLengthPlan 38190 } 38191 postIndex := iNdEx + msglen 38192 if postIndex < 0 { 38193 return ErrInvalidLengthPlan 38194 } 38195 if postIndex > l { 38196 return io.ErrUnexpectedEOF 38197 } 38198 if m.ObjRef == nil { 38199 m.ObjRef = &ObjectRef{} 38200 } 38201 if err := m.ObjRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38202 return err 38203 } 38204 iNdEx = postIndex 38205 case 19: 38206 if wireType != 2 { 38207 return fmt.Errorf("proto: wrong wireType = %d for field ParentObjRef", wireType) 38208 } 38209 var msglen int 38210 for shift := uint(0); ; shift += 7 { 38211 if shift >= 64 { 38212 return ErrIntOverflowPlan 38213 } 38214 if iNdEx >= l { 38215 return io.ErrUnexpectedEOF 38216 } 38217 b := dAtA[iNdEx] 38218 iNdEx++ 38219 msglen |= int(b&0x7F) << shift 38220 if b < 0x80 { 38221 break 38222 } 38223 } 38224 if msglen < 0 { 38225 return ErrInvalidLengthPlan 38226 } 38227 postIndex := iNdEx + msglen 38228 if postIndex < 0 { 38229 return ErrInvalidLengthPlan 38230 } 38231 if postIndex > l { 38232 return io.ErrUnexpectedEOF 38233 } 38234 if m.ParentObjRef == nil { 38235 m.ParentObjRef = &ObjectRef{} 38236 } 38237 if err := m.ParentObjRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38238 return err 38239 } 38240 iNdEx = postIndex 38241 case 20: 38242 if wireType != 2 { 38243 return fmt.Errorf("proto: wrong wireType = %d for field RowsetData", wireType) 38244 } 38245 var msglen int 38246 for shift := uint(0); ; shift += 7 { 38247 if shift >= 64 { 38248 return ErrIntOverflowPlan 38249 } 38250 if iNdEx >= l { 38251 return io.ErrUnexpectedEOF 38252 } 38253 b := dAtA[iNdEx] 38254 iNdEx++ 38255 msglen |= int(b&0x7F) << shift 38256 if b < 0x80 { 38257 break 38258 } 38259 } 38260 if msglen < 0 { 38261 return ErrInvalidLengthPlan 38262 } 38263 postIndex := iNdEx + msglen 38264 if postIndex < 0 { 38265 return ErrInvalidLengthPlan 38266 } 38267 if postIndex > l { 38268 return io.ErrUnexpectedEOF 38269 } 38270 if m.RowsetData == nil { 38271 m.RowsetData = &RowsetData{} 38272 } 38273 if err := m.RowsetData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38274 return err 38275 } 38276 iNdEx = postIndex 38277 case 22: 38278 if wireType != 2 { 38279 return fmt.Errorf("proto: wrong wireType = %d for field ExtraOptions", wireType) 38280 } 38281 var stringLen uint64 38282 for shift := uint(0); ; shift += 7 { 38283 if shift >= 64 { 38284 return ErrIntOverflowPlan 38285 } 38286 if iNdEx >= l { 38287 return io.ErrUnexpectedEOF 38288 } 38289 b := dAtA[iNdEx] 38290 iNdEx++ 38291 stringLen |= uint64(b&0x7F) << shift 38292 if b < 0x80 { 38293 break 38294 } 38295 } 38296 intStringLen := int(stringLen) 38297 if intStringLen < 0 { 38298 return ErrInvalidLengthPlan 38299 } 38300 postIndex := iNdEx + intStringLen 38301 if postIndex < 0 { 38302 return ErrInvalidLengthPlan 38303 } 38304 if postIndex > l { 38305 return io.ErrUnexpectedEOF 38306 } 38307 m.ExtraOptions = string(dAtA[iNdEx:postIndex]) 38308 iNdEx = postIndex 38309 case 23: 38310 if wireType != 2 { 38311 return fmt.Errorf("proto: wrong wireType = %d for field DeleteCtx", wireType) 38312 } 38313 var msglen int 38314 for shift := uint(0); ; shift += 7 { 38315 if shift >= 64 { 38316 return ErrIntOverflowPlan 38317 } 38318 if iNdEx >= l { 38319 return io.ErrUnexpectedEOF 38320 } 38321 b := dAtA[iNdEx] 38322 iNdEx++ 38323 msglen |= int(b&0x7F) << shift 38324 if b < 0x80 { 38325 break 38326 } 38327 } 38328 if msglen < 0 { 38329 return ErrInvalidLengthPlan 38330 } 38331 postIndex := iNdEx + msglen 38332 if postIndex < 0 { 38333 return ErrInvalidLengthPlan 38334 } 38335 if postIndex > l { 38336 return io.ErrUnexpectedEOF 38337 } 38338 if m.DeleteCtx == nil { 38339 m.DeleteCtx = &DeleteCtx{} 38340 } 38341 if err := m.DeleteCtx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38342 return err 38343 } 38344 iNdEx = postIndex 38345 case 24: 38346 if wireType == 0 { 38347 var v int32 38348 for shift := uint(0); ; shift += 7 { 38349 if shift >= 64 { 38350 return ErrIntOverflowPlan 38351 } 38352 if iNdEx >= l { 38353 return io.ErrUnexpectedEOF 38354 } 38355 b := dAtA[iNdEx] 38356 iNdEx++ 38357 v |= int32(b&0x7F) << shift 38358 if b < 0x80 { 38359 break 38360 } 38361 } 38362 m.BindingTags = append(m.BindingTags, v) 38363 } else if wireType == 2 { 38364 var packedLen int 38365 for shift := uint(0); ; shift += 7 { 38366 if shift >= 64 { 38367 return ErrIntOverflowPlan 38368 } 38369 if iNdEx >= l { 38370 return io.ErrUnexpectedEOF 38371 } 38372 b := dAtA[iNdEx] 38373 iNdEx++ 38374 packedLen |= int(b&0x7F) << shift 38375 if b < 0x80 { 38376 break 38377 } 38378 } 38379 if packedLen < 0 { 38380 return ErrInvalidLengthPlan 38381 } 38382 postIndex := iNdEx + packedLen 38383 if postIndex < 0 { 38384 return ErrInvalidLengthPlan 38385 } 38386 if postIndex > l { 38387 return io.ErrUnexpectedEOF 38388 } 38389 var elementCount int 38390 var count int 38391 for _, integer := range dAtA[iNdEx:postIndex] { 38392 if integer < 128 { 38393 count++ 38394 } 38395 } 38396 elementCount = count 38397 if elementCount != 0 && len(m.BindingTags) == 0 { 38398 m.BindingTags = make([]int32, 0, elementCount) 38399 } 38400 for iNdEx < postIndex { 38401 var v int32 38402 for shift := uint(0); ; shift += 7 { 38403 if shift >= 64 { 38404 return ErrIntOverflowPlan 38405 } 38406 if iNdEx >= l { 38407 return io.ErrUnexpectedEOF 38408 } 38409 b := dAtA[iNdEx] 38410 iNdEx++ 38411 v |= int32(b&0x7F) << shift 38412 if b < 0x80 { 38413 break 38414 } 38415 } 38416 m.BindingTags = append(m.BindingTags, v) 38417 } 38418 } else { 38419 return fmt.Errorf("proto: wrong wireType = %d for field BindingTags", wireType) 38420 } 38421 case 25: 38422 if wireType != 2 { 38423 return fmt.Errorf("proto: wrong wireType = %d for field AnalyzeInfo", wireType) 38424 } 38425 var msglen int 38426 for shift := uint(0); ; shift += 7 { 38427 if shift >= 64 { 38428 return ErrIntOverflowPlan 38429 } 38430 if iNdEx >= l { 38431 return io.ErrUnexpectedEOF 38432 } 38433 b := dAtA[iNdEx] 38434 iNdEx++ 38435 msglen |= int(b&0x7F) << shift 38436 if b < 0x80 { 38437 break 38438 } 38439 } 38440 if msglen < 0 { 38441 return ErrInvalidLengthPlan 38442 } 38443 postIndex := iNdEx + msglen 38444 if postIndex < 0 { 38445 return ErrInvalidLengthPlan 38446 } 38447 if postIndex > l { 38448 return io.ErrUnexpectedEOF 38449 } 38450 if m.AnalyzeInfo == nil { 38451 m.AnalyzeInfo = &AnalyzeInfo{} 38452 } 38453 if err := m.AnalyzeInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38454 return err 38455 } 38456 iNdEx = postIndex 38457 case 26: 38458 if wireType != 2 { 38459 return fmt.Errorf("proto: wrong wireType = %d for field TblFuncExprList", wireType) 38460 } 38461 var msglen int 38462 for shift := uint(0); ; shift += 7 { 38463 if shift >= 64 { 38464 return ErrIntOverflowPlan 38465 } 38466 if iNdEx >= l { 38467 return io.ErrUnexpectedEOF 38468 } 38469 b := dAtA[iNdEx] 38470 iNdEx++ 38471 msglen |= int(b&0x7F) << shift 38472 if b < 0x80 { 38473 break 38474 } 38475 } 38476 if msglen < 0 { 38477 return ErrInvalidLengthPlan 38478 } 38479 postIndex := iNdEx + msglen 38480 if postIndex < 0 { 38481 return ErrInvalidLengthPlan 38482 } 38483 if postIndex > l { 38484 return io.ErrUnexpectedEOF 38485 } 38486 m.TblFuncExprList = append(m.TblFuncExprList, &Expr{}) 38487 if err := m.TblFuncExprList[len(m.TblFuncExprList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38488 return err 38489 } 38490 iNdEx = postIndex 38491 case 28: 38492 if wireType != 2 { 38493 return fmt.Errorf("proto: wrong wireType = %d for field ClusterTable", wireType) 38494 } 38495 var msglen int 38496 for shift := uint(0); ; shift += 7 { 38497 if shift >= 64 { 38498 return ErrIntOverflowPlan 38499 } 38500 if iNdEx >= l { 38501 return io.ErrUnexpectedEOF 38502 } 38503 b := dAtA[iNdEx] 38504 iNdEx++ 38505 msglen |= int(b&0x7F) << shift 38506 if b < 0x80 { 38507 break 38508 } 38509 } 38510 if msglen < 0 { 38511 return ErrInvalidLengthPlan 38512 } 38513 postIndex := iNdEx + msglen 38514 if postIndex < 0 { 38515 return ErrInvalidLengthPlan 38516 } 38517 if postIndex > l { 38518 return io.ErrUnexpectedEOF 38519 } 38520 if m.ClusterTable == nil { 38521 m.ClusterTable = &ClusterTable{} 38522 } 38523 if err := m.ClusterTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38524 return err 38525 } 38526 iNdEx = postIndex 38527 case 29: 38528 if wireType != 0 { 38529 return fmt.Errorf("proto: wrong wireType = %d for field NotCacheable", wireType) 38530 } 38531 var v int 38532 for shift := uint(0); ; shift += 7 { 38533 if shift >= 64 { 38534 return ErrIntOverflowPlan 38535 } 38536 if iNdEx >= l { 38537 return io.ErrUnexpectedEOF 38538 } 38539 b := dAtA[iNdEx] 38540 iNdEx++ 38541 v |= int(b&0x7F) << shift 38542 if b < 0x80 { 38543 break 38544 } 38545 } 38546 m.NotCacheable = bool(v != 0) 38547 case 30: 38548 if wireType != 2 { 38549 return fmt.Errorf("proto: wrong wireType = %d for field InsertCtx", wireType) 38550 } 38551 var msglen int 38552 for shift := uint(0); ; shift += 7 { 38553 if shift >= 64 { 38554 return ErrIntOverflowPlan 38555 } 38556 if iNdEx >= l { 38557 return io.ErrUnexpectedEOF 38558 } 38559 b := dAtA[iNdEx] 38560 iNdEx++ 38561 msglen |= int(b&0x7F) << shift 38562 if b < 0x80 { 38563 break 38564 } 38565 } 38566 if msglen < 0 { 38567 return ErrInvalidLengthPlan 38568 } 38569 postIndex := iNdEx + msglen 38570 if postIndex < 0 { 38571 return ErrInvalidLengthPlan 38572 } 38573 if postIndex > l { 38574 return io.ErrUnexpectedEOF 38575 } 38576 if m.InsertCtx == nil { 38577 m.InsertCtx = &InsertCtx{} 38578 } 38579 if err := m.InsertCtx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38580 return err 38581 } 38582 iNdEx = postIndex 38583 case 31: 38584 if wireType != 2 { 38585 return fmt.Errorf("proto: wrong wireType = %d for field ReplaceCtx", wireType) 38586 } 38587 var msglen int 38588 for shift := uint(0); ; shift += 7 { 38589 if shift >= 64 { 38590 return ErrIntOverflowPlan 38591 } 38592 if iNdEx >= l { 38593 return io.ErrUnexpectedEOF 38594 } 38595 b := dAtA[iNdEx] 38596 iNdEx++ 38597 msglen |= int(b&0x7F) << shift 38598 if b < 0x80 { 38599 break 38600 } 38601 } 38602 if msglen < 0 { 38603 return ErrInvalidLengthPlan 38604 } 38605 postIndex := iNdEx + msglen 38606 if postIndex < 0 { 38607 return ErrInvalidLengthPlan 38608 } 38609 if postIndex > l { 38610 return io.ErrUnexpectedEOF 38611 } 38612 if m.ReplaceCtx == nil { 38613 m.ReplaceCtx = &ReplaceCtx{} 38614 } 38615 if err := m.ReplaceCtx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38616 return err 38617 } 38618 iNdEx = postIndex 38619 case 32: 38620 if wireType == 0 { 38621 var v int32 38622 for shift := uint(0); ; shift += 7 { 38623 if shift >= 64 { 38624 return ErrIntOverflowPlan 38625 } 38626 if iNdEx >= l { 38627 return io.ErrUnexpectedEOF 38628 } 38629 b := dAtA[iNdEx] 38630 iNdEx++ 38631 v |= int32(b&0x7F) << shift 38632 if b < 0x80 { 38633 break 38634 } 38635 } 38636 m.SourceStep = append(m.SourceStep, v) 38637 } else if wireType == 2 { 38638 var packedLen int 38639 for shift := uint(0); ; shift += 7 { 38640 if shift >= 64 { 38641 return ErrIntOverflowPlan 38642 } 38643 if iNdEx >= l { 38644 return io.ErrUnexpectedEOF 38645 } 38646 b := dAtA[iNdEx] 38647 iNdEx++ 38648 packedLen |= int(b&0x7F) << shift 38649 if b < 0x80 { 38650 break 38651 } 38652 } 38653 if packedLen < 0 { 38654 return ErrInvalidLengthPlan 38655 } 38656 postIndex := iNdEx + packedLen 38657 if postIndex < 0 { 38658 return ErrInvalidLengthPlan 38659 } 38660 if postIndex > l { 38661 return io.ErrUnexpectedEOF 38662 } 38663 var elementCount int 38664 var count int 38665 for _, integer := range dAtA[iNdEx:postIndex] { 38666 if integer < 128 { 38667 count++ 38668 } 38669 } 38670 elementCount = count 38671 if elementCount != 0 && len(m.SourceStep) == 0 { 38672 m.SourceStep = make([]int32, 0, elementCount) 38673 } 38674 for iNdEx < postIndex { 38675 var v int32 38676 for shift := uint(0); ; shift += 7 { 38677 if shift >= 64 { 38678 return ErrIntOverflowPlan 38679 } 38680 if iNdEx >= l { 38681 return io.ErrUnexpectedEOF 38682 } 38683 b := dAtA[iNdEx] 38684 iNdEx++ 38685 v |= int32(b&0x7F) << shift 38686 if b < 0x80 { 38687 break 38688 } 38689 } 38690 m.SourceStep = append(m.SourceStep, v) 38691 } 38692 } else { 38693 return fmt.Errorf("proto: wrong wireType = %d for field SourceStep", wireType) 38694 } 38695 case 33: 38696 if wireType != 2 { 38697 return fmt.Errorf("proto: wrong wireType = %d for field PreDeleteCtx", wireType) 38698 } 38699 var msglen int 38700 for shift := uint(0); ; shift += 7 { 38701 if shift >= 64 { 38702 return ErrIntOverflowPlan 38703 } 38704 if iNdEx >= l { 38705 return io.ErrUnexpectedEOF 38706 } 38707 b := dAtA[iNdEx] 38708 iNdEx++ 38709 msglen |= int(b&0x7F) << shift 38710 if b < 0x80 { 38711 break 38712 } 38713 } 38714 if msglen < 0 { 38715 return ErrInvalidLengthPlan 38716 } 38717 postIndex := iNdEx + msglen 38718 if postIndex < 0 { 38719 return ErrInvalidLengthPlan 38720 } 38721 if postIndex > l { 38722 return io.ErrUnexpectedEOF 38723 } 38724 if m.PreDeleteCtx == nil { 38725 m.PreDeleteCtx = &PreDeleteCtx{} 38726 } 38727 if err := m.PreDeleteCtx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38728 return err 38729 } 38730 iNdEx = postIndex 38731 case 34: 38732 if wireType != 2 { 38733 return fmt.Errorf("proto: wrong wireType = %d for field PreInsertCtx", wireType) 38734 } 38735 var msglen int 38736 for shift := uint(0); ; shift += 7 { 38737 if shift >= 64 { 38738 return ErrIntOverflowPlan 38739 } 38740 if iNdEx >= l { 38741 return io.ErrUnexpectedEOF 38742 } 38743 b := dAtA[iNdEx] 38744 iNdEx++ 38745 msglen |= int(b&0x7F) << shift 38746 if b < 0x80 { 38747 break 38748 } 38749 } 38750 if msglen < 0 { 38751 return ErrInvalidLengthPlan 38752 } 38753 postIndex := iNdEx + msglen 38754 if postIndex < 0 { 38755 return ErrInvalidLengthPlan 38756 } 38757 if postIndex > l { 38758 return io.ErrUnexpectedEOF 38759 } 38760 if m.PreInsertCtx == nil { 38761 m.PreInsertCtx = &PreInsertCtx{} 38762 } 38763 if err := m.PreInsertCtx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38764 return err 38765 } 38766 iNdEx = postIndex 38767 case 35: 38768 if wireType != 2 { 38769 return fmt.Errorf("proto: wrong wireType = %d for field PreInsertUkCtx", wireType) 38770 } 38771 var msglen int 38772 for shift := uint(0); ; shift += 7 { 38773 if shift >= 64 { 38774 return ErrIntOverflowPlan 38775 } 38776 if iNdEx >= l { 38777 return io.ErrUnexpectedEOF 38778 } 38779 b := dAtA[iNdEx] 38780 iNdEx++ 38781 msglen |= int(b&0x7F) << shift 38782 if b < 0x80 { 38783 break 38784 } 38785 } 38786 if msglen < 0 { 38787 return ErrInvalidLengthPlan 38788 } 38789 postIndex := iNdEx + msglen 38790 if postIndex < 0 { 38791 return ErrInvalidLengthPlan 38792 } 38793 if postIndex > l { 38794 return io.ErrUnexpectedEOF 38795 } 38796 if m.PreInsertUkCtx == nil { 38797 m.PreInsertUkCtx = &PreInsertUkCtx{} 38798 } 38799 if err := m.PreInsertUkCtx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38800 return err 38801 } 38802 iNdEx = postIndex 38803 case 36: 38804 if wireType != 2 { 38805 return fmt.Errorf("proto: wrong wireType = %d for field OnDuplicateKey", wireType) 38806 } 38807 var msglen int 38808 for shift := uint(0); ; shift += 7 { 38809 if shift >= 64 { 38810 return ErrIntOverflowPlan 38811 } 38812 if iNdEx >= l { 38813 return io.ErrUnexpectedEOF 38814 } 38815 b := dAtA[iNdEx] 38816 iNdEx++ 38817 msglen |= int(b&0x7F) << shift 38818 if b < 0x80 { 38819 break 38820 } 38821 } 38822 if msglen < 0 { 38823 return ErrInvalidLengthPlan 38824 } 38825 postIndex := iNdEx + msglen 38826 if postIndex < 0 { 38827 return ErrInvalidLengthPlan 38828 } 38829 if postIndex > l { 38830 return io.ErrUnexpectedEOF 38831 } 38832 if m.OnDuplicateKey == nil { 38833 m.OnDuplicateKey = &OnDuplicateKeyCtx{} 38834 } 38835 if err := m.OnDuplicateKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38836 return err 38837 } 38838 iNdEx = postIndex 38839 case 37: 38840 if wireType != 0 { 38841 return fmt.Errorf("proto: wrong wireType = %d for field IsEnd", wireType) 38842 } 38843 var v int 38844 for shift := uint(0); ; shift += 7 { 38845 if shift >= 64 { 38846 return ErrIntOverflowPlan 38847 } 38848 if iNdEx >= l { 38849 return io.ErrUnexpectedEOF 38850 } 38851 b := dAtA[iNdEx] 38852 iNdEx++ 38853 v |= int(b&0x7F) << shift 38854 if b < 0x80 { 38855 break 38856 } 38857 } 38858 m.IsEnd = bool(v != 0) 38859 case 38: 38860 if wireType != 2 { 38861 return fmt.Errorf("proto: wrong wireType = %d for field LockTargets", wireType) 38862 } 38863 var msglen int 38864 for shift := uint(0); ; shift += 7 { 38865 if shift >= 64 { 38866 return ErrIntOverflowPlan 38867 } 38868 if iNdEx >= l { 38869 return io.ErrUnexpectedEOF 38870 } 38871 b := dAtA[iNdEx] 38872 iNdEx++ 38873 msglen |= int(b&0x7F) << shift 38874 if b < 0x80 { 38875 break 38876 } 38877 } 38878 if msglen < 0 { 38879 return ErrInvalidLengthPlan 38880 } 38881 postIndex := iNdEx + msglen 38882 if postIndex < 0 { 38883 return ErrInvalidLengthPlan 38884 } 38885 if postIndex > l { 38886 return io.ErrUnexpectedEOF 38887 } 38888 m.LockTargets = append(m.LockTargets, &LockTarget{}) 38889 if err := m.LockTargets[len(m.LockTargets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38890 return err 38891 } 38892 iNdEx = postIndex 38893 case 39: 38894 if wireType != 2 { 38895 return fmt.Errorf("proto: wrong wireType = %d for field BlockFilterList", wireType) 38896 } 38897 var msglen int 38898 for shift := uint(0); ; shift += 7 { 38899 if shift >= 64 { 38900 return ErrIntOverflowPlan 38901 } 38902 if iNdEx >= l { 38903 return io.ErrUnexpectedEOF 38904 } 38905 b := dAtA[iNdEx] 38906 iNdEx++ 38907 msglen |= int(b&0x7F) << shift 38908 if b < 0x80 { 38909 break 38910 } 38911 } 38912 if msglen < 0 { 38913 return ErrInvalidLengthPlan 38914 } 38915 postIndex := iNdEx + msglen 38916 if postIndex < 0 { 38917 return ErrInvalidLengthPlan 38918 } 38919 if postIndex > l { 38920 return io.ErrUnexpectedEOF 38921 } 38922 m.BlockFilterList = append(m.BlockFilterList, &Expr{}) 38923 if err := m.BlockFilterList[len(m.BlockFilterList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38924 return err 38925 } 38926 iNdEx = postIndex 38927 case 40: 38928 if wireType != 2 { 38929 return fmt.Errorf("proto: wrong wireType = %d for field RuntimeFilterProbeList", wireType) 38930 } 38931 var msglen int 38932 for shift := uint(0); ; shift += 7 { 38933 if shift >= 64 { 38934 return ErrIntOverflowPlan 38935 } 38936 if iNdEx >= l { 38937 return io.ErrUnexpectedEOF 38938 } 38939 b := dAtA[iNdEx] 38940 iNdEx++ 38941 msglen |= int(b&0x7F) << shift 38942 if b < 0x80 { 38943 break 38944 } 38945 } 38946 if msglen < 0 { 38947 return ErrInvalidLengthPlan 38948 } 38949 postIndex := iNdEx + msglen 38950 if postIndex < 0 { 38951 return ErrInvalidLengthPlan 38952 } 38953 if postIndex > l { 38954 return io.ErrUnexpectedEOF 38955 } 38956 m.RuntimeFilterProbeList = append(m.RuntimeFilterProbeList, &RuntimeFilterSpec{}) 38957 if err := m.RuntimeFilterProbeList[len(m.RuntimeFilterProbeList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38958 return err 38959 } 38960 iNdEx = postIndex 38961 case 41: 38962 if wireType != 2 { 38963 return fmt.Errorf("proto: wrong wireType = %d for field RuntimeFilterBuildList", wireType) 38964 } 38965 var msglen int 38966 for shift := uint(0); ; shift += 7 { 38967 if shift >= 64 { 38968 return ErrIntOverflowPlan 38969 } 38970 if iNdEx >= l { 38971 return io.ErrUnexpectedEOF 38972 } 38973 b := dAtA[iNdEx] 38974 iNdEx++ 38975 msglen |= int(b&0x7F) << shift 38976 if b < 0x80 { 38977 break 38978 } 38979 } 38980 if msglen < 0 { 38981 return ErrInvalidLengthPlan 38982 } 38983 postIndex := iNdEx + msglen 38984 if postIndex < 0 { 38985 return ErrInvalidLengthPlan 38986 } 38987 if postIndex > l { 38988 return io.ErrUnexpectedEOF 38989 } 38990 m.RuntimeFilterBuildList = append(m.RuntimeFilterBuildList, &RuntimeFilterSpec{}) 38991 if err := m.RuntimeFilterBuildList[len(m.RuntimeFilterBuildList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 38992 return err 38993 } 38994 iNdEx = postIndex 38995 case 42: 38996 if wireType != 2 { 38997 return fmt.Errorf("proto: wrong wireType = %d for field Uuid", wireType) 38998 } 38999 var byteLen int 39000 for shift := uint(0); ; shift += 7 { 39001 if shift >= 64 { 39002 return ErrIntOverflowPlan 39003 } 39004 if iNdEx >= l { 39005 return io.ErrUnexpectedEOF 39006 } 39007 b := dAtA[iNdEx] 39008 iNdEx++ 39009 byteLen |= int(b&0x7F) << shift 39010 if b < 0x80 { 39011 break 39012 } 39013 } 39014 if byteLen < 0 { 39015 return ErrInvalidLengthPlan 39016 } 39017 postIndex := iNdEx + byteLen 39018 if postIndex < 0 { 39019 return ErrInvalidLengthPlan 39020 } 39021 if postIndex > l { 39022 return io.ErrUnexpectedEOF 39023 } 39024 m.Uuid = append(m.Uuid[:0], dAtA[iNdEx:postIndex]...) 39025 if m.Uuid == nil { 39026 m.Uuid = []byte{} 39027 } 39028 iNdEx = postIndex 39029 case 43: 39030 if wireType != 0 { 39031 return fmt.Errorf("proto: wrong wireType = %d for field RecursiveSink", wireType) 39032 } 39033 var v int 39034 for shift := uint(0); ; shift += 7 { 39035 if shift >= 64 { 39036 return ErrIntOverflowPlan 39037 } 39038 if iNdEx >= l { 39039 return io.ErrUnexpectedEOF 39040 } 39041 b := dAtA[iNdEx] 39042 iNdEx++ 39043 v |= int(b&0x7F) << shift 39044 if b < 0x80 { 39045 break 39046 } 39047 } 39048 m.RecursiveSink = bool(v != 0) 39049 case 44: 39050 if wireType != 2 { 39051 return fmt.Errorf("proto: wrong wireType = %d for field ExternScan", wireType) 39052 } 39053 var msglen int 39054 for shift := uint(0); ; shift += 7 { 39055 if shift >= 64 { 39056 return ErrIntOverflowPlan 39057 } 39058 if iNdEx >= l { 39059 return io.ErrUnexpectedEOF 39060 } 39061 b := dAtA[iNdEx] 39062 iNdEx++ 39063 msglen |= int(b&0x7F) << shift 39064 if b < 0x80 { 39065 break 39066 } 39067 } 39068 if msglen < 0 { 39069 return ErrInvalidLengthPlan 39070 } 39071 postIndex := iNdEx + msglen 39072 if postIndex < 0 { 39073 return ErrInvalidLengthPlan 39074 } 39075 if postIndex > l { 39076 return io.ErrUnexpectedEOF 39077 } 39078 if m.ExternScan == nil { 39079 m.ExternScan = &ExternScan{} 39080 } 39081 if err := m.ExternScan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39082 return err 39083 } 39084 iNdEx = postIndex 39085 case 45: 39086 if wireType != 2 { 39087 return fmt.Errorf("proto: wrong wireType = %d for field PartitionPrune", wireType) 39088 } 39089 var msglen int 39090 for shift := uint(0); ; shift += 7 { 39091 if shift >= 64 { 39092 return ErrIntOverflowPlan 39093 } 39094 if iNdEx >= l { 39095 return io.ErrUnexpectedEOF 39096 } 39097 b := dAtA[iNdEx] 39098 iNdEx++ 39099 msglen |= int(b&0x7F) << shift 39100 if b < 0x80 { 39101 break 39102 } 39103 } 39104 if msglen < 0 { 39105 return ErrInvalidLengthPlan 39106 } 39107 postIndex := iNdEx + msglen 39108 if postIndex < 0 { 39109 return ErrInvalidLengthPlan 39110 } 39111 if postIndex > l { 39112 return io.ErrUnexpectedEOF 39113 } 39114 if m.PartitionPrune == nil { 39115 m.PartitionPrune = &PartitionPrune{} 39116 } 39117 if err := m.PartitionPrune.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39118 return err 39119 } 39120 iNdEx = postIndex 39121 case 46: 39122 if wireType != 2 { 39123 return fmt.Errorf("proto: wrong wireType = %d for field PreInsertSkCtx", wireType) 39124 } 39125 var msglen int 39126 for shift := uint(0); ; shift += 7 { 39127 if shift >= 64 { 39128 return ErrIntOverflowPlan 39129 } 39130 if iNdEx >= l { 39131 return io.ErrUnexpectedEOF 39132 } 39133 b := dAtA[iNdEx] 39134 iNdEx++ 39135 msglen |= int(b&0x7F) << shift 39136 if b < 0x80 { 39137 break 39138 } 39139 } 39140 if msglen < 0 { 39141 return ErrInvalidLengthPlan 39142 } 39143 postIndex := iNdEx + msglen 39144 if postIndex < 0 { 39145 return ErrInvalidLengthPlan 39146 } 39147 if postIndex > l { 39148 return io.ErrUnexpectedEOF 39149 } 39150 if m.PreInsertSkCtx == nil { 39151 m.PreInsertSkCtx = &PreInsertUkCtx{} 39152 } 39153 if err := m.PreInsertSkCtx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39154 return err 39155 } 39156 iNdEx = postIndex 39157 case 47: 39158 if wireType != 2 { 39159 return fmt.Errorf("proto: wrong wireType = %d for field Interval", wireType) 39160 } 39161 var msglen int 39162 for shift := uint(0); ; shift += 7 { 39163 if shift >= 64 { 39164 return ErrIntOverflowPlan 39165 } 39166 if iNdEx >= l { 39167 return io.ErrUnexpectedEOF 39168 } 39169 b := dAtA[iNdEx] 39170 iNdEx++ 39171 msglen |= int(b&0x7F) << shift 39172 if b < 0x80 { 39173 break 39174 } 39175 } 39176 if msglen < 0 { 39177 return ErrInvalidLengthPlan 39178 } 39179 postIndex := iNdEx + msglen 39180 if postIndex < 0 { 39181 return ErrInvalidLengthPlan 39182 } 39183 if postIndex > l { 39184 return io.ErrUnexpectedEOF 39185 } 39186 if m.Interval == nil { 39187 m.Interval = &Expr{} 39188 } 39189 if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39190 return err 39191 } 39192 iNdEx = postIndex 39193 case 48: 39194 if wireType != 2 { 39195 return fmt.Errorf("proto: wrong wireType = %d for field Sliding", wireType) 39196 } 39197 var msglen int 39198 for shift := uint(0); ; shift += 7 { 39199 if shift >= 64 { 39200 return ErrIntOverflowPlan 39201 } 39202 if iNdEx >= l { 39203 return io.ErrUnexpectedEOF 39204 } 39205 b := dAtA[iNdEx] 39206 iNdEx++ 39207 msglen |= int(b&0x7F) << shift 39208 if b < 0x80 { 39209 break 39210 } 39211 } 39212 if msglen < 0 { 39213 return ErrInvalidLengthPlan 39214 } 39215 postIndex := iNdEx + msglen 39216 if postIndex < 0 { 39217 return ErrInvalidLengthPlan 39218 } 39219 if postIndex > l { 39220 return io.ErrUnexpectedEOF 39221 } 39222 if m.Sliding == nil { 39223 m.Sliding = &Expr{} 39224 } 39225 if err := m.Sliding.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39226 return err 39227 } 39228 iNdEx = postIndex 39229 case 49: 39230 if wireType != 0 { 39231 return fmt.Errorf("proto: wrong wireType = %d for field FillType", wireType) 39232 } 39233 m.FillType = 0 39234 for shift := uint(0); ; shift += 7 { 39235 if shift >= 64 { 39236 return ErrIntOverflowPlan 39237 } 39238 if iNdEx >= l { 39239 return io.ErrUnexpectedEOF 39240 } 39241 b := dAtA[iNdEx] 39242 iNdEx++ 39243 m.FillType |= Node_FillType(b&0x7F) << shift 39244 if b < 0x80 { 39245 break 39246 } 39247 } 39248 case 50: 39249 if wireType != 2 { 39250 return fmt.Errorf("proto: wrong wireType = %d for field FillVal", wireType) 39251 } 39252 var msglen int 39253 for shift := uint(0); ; shift += 7 { 39254 if shift >= 64 { 39255 return ErrIntOverflowPlan 39256 } 39257 if iNdEx >= l { 39258 return io.ErrUnexpectedEOF 39259 } 39260 b := dAtA[iNdEx] 39261 iNdEx++ 39262 msglen |= int(b&0x7F) << shift 39263 if b < 0x80 { 39264 break 39265 } 39266 } 39267 if msglen < 0 { 39268 return ErrInvalidLengthPlan 39269 } 39270 postIndex := iNdEx + msglen 39271 if postIndex < 0 { 39272 return ErrInvalidLengthPlan 39273 } 39274 if postIndex > l { 39275 return io.ErrUnexpectedEOF 39276 } 39277 m.FillVal = append(m.FillVal, &Expr{}) 39278 if err := m.FillVal[len(m.FillVal)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39279 return err 39280 } 39281 iNdEx = postIndex 39282 case 51: 39283 if wireType != 2 { 39284 return fmt.Errorf("proto: wrong wireType = %d for field SampleFunc", wireType) 39285 } 39286 var msglen int 39287 for shift := uint(0); ; shift += 7 { 39288 if shift >= 64 { 39289 return ErrIntOverflowPlan 39290 } 39291 if iNdEx >= l { 39292 return io.ErrUnexpectedEOF 39293 } 39294 b := dAtA[iNdEx] 39295 iNdEx++ 39296 msglen |= int(b&0x7F) << shift 39297 if b < 0x80 { 39298 break 39299 } 39300 } 39301 if msglen < 0 { 39302 return ErrInvalidLengthPlan 39303 } 39304 postIndex := iNdEx + msglen 39305 if postIndex < 0 { 39306 return ErrInvalidLengthPlan 39307 } 39308 if postIndex > l { 39309 return io.ErrUnexpectedEOF 39310 } 39311 if m.SampleFunc == nil { 39312 m.SampleFunc = &SampleFuncSpec{} 39313 } 39314 if err := m.SampleFunc.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39315 return err 39316 } 39317 iNdEx = postIndex 39318 case 52: 39319 if wireType != 0 { 39320 return fmt.Errorf("proto: wrong wireType = %d for field WindowIdx", wireType) 39321 } 39322 m.WindowIdx = 0 39323 for shift := uint(0); ; shift += 7 { 39324 if shift >= 64 { 39325 return ErrIntOverflowPlan 39326 } 39327 if iNdEx >= l { 39328 return io.ErrUnexpectedEOF 39329 } 39330 b := dAtA[iNdEx] 39331 iNdEx++ 39332 m.WindowIdx |= int32(b&0x7F) << shift 39333 if b < 0x80 { 39334 break 39335 } 39336 } 39337 case 53: 39338 if wireType != 2 { 39339 return fmt.Errorf("proto: wrong wireType = %d for field OnUpdateExprs", wireType) 39340 } 39341 var msglen int 39342 for shift := uint(0); ; shift += 7 { 39343 if shift >= 64 { 39344 return ErrIntOverflowPlan 39345 } 39346 if iNdEx >= l { 39347 return io.ErrUnexpectedEOF 39348 } 39349 b := dAtA[iNdEx] 39350 iNdEx++ 39351 msglen |= int(b&0x7F) << shift 39352 if b < 0x80 { 39353 break 39354 } 39355 } 39356 if msglen < 0 { 39357 return ErrInvalidLengthPlan 39358 } 39359 postIndex := iNdEx + msglen 39360 if postIndex < 0 { 39361 return ErrInvalidLengthPlan 39362 } 39363 if postIndex > l { 39364 return io.ErrUnexpectedEOF 39365 } 39366 m.OnUpdateExprs = append(m.OnUpdateExprs, &Expr{}) 39367 if err := m.OnUpdateExprs[len(m.OnUpdateExprs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39368 return err 39369 } 39370 iNdEx = postIndex 39371 case 54: 39372 if wireType != 2 { 39373 return fmt.Errorf("proto: wrong wireType = %d for field Fuzzymessage", wireType) 39374 } 39375 var msglen int 39376 for shift := uint(0); ; shift += 7 { 39377 if shift >= 64 { 39378 return ErrIntOverflowPlan 39379 } 39380 if iNdEx >= l { 39381 return io.ErrUnexpectedEOF 39382 } 39383 b := dAtA[iNdEx] 39384 iNdEx++ 39385 msglen |= int(b&0x7F) << shift 39386 if b < 0x80 { 39387 break 39388 } 39389 } 39390 if msglen < 0 { 39391 return ErrInvalidLengthPlan 39392 } 39393 postIndex := iNdEx + msglen 39394 if postIndex < 0 { 39395 return ErrInvalidLengthPlan 39396 } 39397 if postIndex > l { 39398 return io.ErrUnexpectedEOF 39399 } 39400 if m.Fuzzymessage == nil { 39401 m.Fuzzymessage = &OriginTableMessageForFuzzy{} 39402 } 39403 if err := m.Fuzzymessage.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39404 return err 39405 } 39406 iNdEx = postIndex 39407 case 55: 39408 if wireType != 2 { 39409 return fmt.Errorf("proto: wrong wireType = %d for field SendMsgList", wireType) 39410 } 39411 var msglen int 39412 for shift := uint(0); ; shift += 7 { 39413 if shift >= 64 { 39414 return ErrIntOverflowPlan 39415 } 39416 if iNdEx >= l { 39417 return io.ErrUnexpectedEOF 39418 } 39419 b := dAtA[iNdEx] 39420 iNdEx++ 39421 msglen |= int(b&0x7F) << shift 39422 if b < 0x80 { 39423 break 39424 } 39425 } 39426 if msglen < 0 { 39427 return ErrInvalidLengthPlan 39428 } 39429 postIndex := iNdEx + msglen 39430 if postIndex < 0 { 39431 return ErrInvalidLengthPlan 39432 } 39433 if postIndex > l { 39434 return io.ErrUnexpectedEOF 39435 } 39436 m.SendMsgList = append(m.SendMsgList, &MsgHeader{}) 39437 if err := m.SendMsgList[len(m.SendMsgList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39438 return err 39439 } 39440 iNdEx = postIndex 39441 case 56: 39442 if wireType != 2 { 39443 return fmt.Errorf("proto: wrong wireType = %d for field RecvMsgList", wireType) 39444 } 39445 var msglen int 39446 for shift := uint(0); ; shift += 7 { 39447 if shift >= 64 { 39448 return ErrIntOverflowPlan 39449 } 39450 if iNdEx >= l { 39451 return io.ErrUnexpectedEOF 39452 } 39453 b := dAtA[iNdEx] 39454 iNdEx++ 39455 msglen |= int(b&0x7F) << shift 39456 if b < 0x80 { 39457 break 39458 } 39459 } 39460 if msglen < 0 { 39461 return ErrInvalidLengthPlan 39462 } 39463 postIndex := iNdEx + msglen 39464 if postIndex < 0 { 39465 return ErrInvalidLengthPlan 39466 } 39467 if postIndex > l { 39468 return io.ErrUnexpectedEOF 39469 } 39470 m.RecvMsgList = append(m.RecvMsgList, &MsgHeader{}) 39471 if err := m.RecvMsgList[len(m.RecvMsgList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39472 return err 39473 } 39474 iNdEx = postIndex 39475 case 57: 39476 if wireType != 2 { 39477 return fmt.Errorf("proto: wrong wireType = %d for field ScanSnapshot", wireType) 39478 } 39479 var msglen int 39480 for shift := uint(0); ; shift += 7 { 39481 if shift >= 64 { 39482 return ErrIntOverflowPlan 39483 } 39484 if iNdEx >= l { 39485 return io.ErrUnexpectedEOF 39486 } 39487 b := dAtA[iNdEx] 39488 iNdEx++ 39489 msglen |= int(b&0x7F) << shift 39490 if b < 0x80 { 39491 break 39492 } 39493 } 39494 if msglen < 0 { 39495 return ErrInvalidLengthPlan 39496 } 39497 postIndex := iNdEx + msglen 39498 if postIndex < 0 { 39499 return ErrInvalidLengthPlan 39500 } 39501 if postIndex > l { 39502 return io.ErrUnexpectedEOF 39503 } 39504 if m.ScanSnapshot == nil { 39505 m.ScanSnapshot = &Snapshot{} 39506 } 39507 if err := m.ScanSnapshot.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39508 return err 39509 } 39510 iNdEx = postIndex 39511 default: 39512 iNdEx = preIndex 39513 skippy, err := skipPlan(dAtA[iNdEx:]) 39514 if err != nil { 39515 return err 39516 } 39517 if (skippy < 0) || (iNdEx+skippy) < 0 { 39518 return ErrInvalidLengthPlan 39519 } 39520 if (iNdEx + skippy) > l { 39521 return io.ErrUnexpectedEOF 39522 } 39523 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 39524 iNdEx += skippy 39525 } 39526 } 39527 39528 if iNdEx > l { 39529 return io.ErrUnexpectedEOF 39530 } 39531 return nil 39532 } 39533 func (m *Snapshot) Unmarshal(dAtA []byte) error { 39534 l := len(dAtA) 39535 iNdEx := 0 39536 for iNdEx < l { 39537 preIndex := iNdEx 39538 var wire uint64 39539 for shift := uint(0); ; shift += 7 { 39540 if shift >= 64 { 39541 return ErrIntOverflowPlan 39542 } 39543 if iNdEx >= l { 39544 return io.ErrUnexpectedEOF 39545 } 39546 b := dAtA[iNdEx] 39547 iNdEx++ 39548 wire |= uint64(b&0x7F) << shift 39549 if b < 0x80 { 39550 break 39551 } 39552 } 39553 fieldNum := int32(wire >> 3) 39554 wireType := int(wire & 0x7) 39555 if wireType == 4 { 39556 return fmt.Errorf("proto: Snapshot: wiretype end group for non-group") 39557 } 39558 if fieldNum <= 0 { 39559 return fmt.Errorf("proto: Snapshot: illegal tag %d (wire type %d)", fieldNum, wire) 39560 } 39561 switch fieldNum { 39562 case 1: 39563 if wireType != 2 { 39564 return fmt.Errorf("proto: wrong wireType = %d for field TS", wireType) 39565 } 39566 var msglen int 39567 for shift := uint(0); ; shift += 7 { 39568 if shift >= 64 { 39569 return ErrIntOverflowPlan 39570 } 39571 if iNdEx >= l { 39572 return io.ErrUnexpectedEOF 39573 } 39574 b := dAtA[iNdEx] 39575 iNdEx++ 39576 msglen |= int(b&0x7F) << shift 39577 if b < 0x80 { 39578 break 39579 } 39580 } 39581 if msglen < 0 { 39582 return ErrInvalidLengthPlan 39583 } 39584 postIndex := iNdEx + msglen 39585 if postIndex < 0 { 39586 return ErrInvalidLengthPlan 39587 } 39588 if postIndex > l { 39589 return io.ErrUnexpectedEOF 39590 } 39591 if m.TS == nil { 39592 m.TS = ×tamp.Timestamp{} 39593 } 39594 if err := m.TS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39595 return err 39596 } 39597 iNdEx = postIndex 39598 case 2: 39599 if wireType != 2 { 39600 return fmt.Errorf("proto: wrong wireType = %d for field Tenant", wireType) 39601 } 39602 var msglen int 39603 for shift := uint(0); ; shift += 7 { 39604 if shift >= 64 { 39605 return ErrIntOverflowPlan 39606 } 39607 if iNdEx >= l { 39608 return io.ErrUnexpectedEOF 39609 } 39610 b := dAtA[iNdEx] 39611 iNdEx++ 39612 msglen |= int(b&0x7F) << shift 39613 if b < 0x80 { 39614 break 39615 } 39616 } 39617 if msglen < 0 { 39618 return ErrInvalidLengthPlan 39619 } 39620 postIndex := iNdEx + msglen 39621 if postIndex < 0 { 39622 return ErrInvalidLengthPlan 39623 } 39624 if postIndex > l { 39625 return io.ErrUnexpectedEOF 39626 } 39627 if m.Tenant == nil { 39628 m.Tenant = &SnapshotTenant{} 39629 } 39630 if err := m.Tenant.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 39631 return err 39632 } 39633 iNdEx = postIndex 39634 default: 39635 iNdEx = preIndex 39636 skippy, err := skipPlan(dAtA[iNdEx:]) 39637 if err != nil { 39638 return err 39639 } 39640 if (skippy < 0) || (iNdEx+skippy) < 0 { 39641 return ErrInvalidLengthPlan 39642 } 39643 if (iNdEx + skippy) > l { 39644 return io.ErrUnexpectedEOF 39645 } 39646 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 39647 iNdEx += skippy 39648 } 39649 } 39650 39651 if iNdEx > l { 39652 return io.ErrUnexpectedEOF 39653 } 39654 return nil 39655 } 39656 func (m *SnapshotTenant) Unmarshal(dAtA []byte) error { 39657 l := len(dAtA) 39658 iNdEx := 0 39659 for iNdEx < l { 39660 preIndex := iNdEx 39661 var wire uint64 39662 for shift := uint(0); ; shift += 7 { 39663 if shift >= 64 { 39664 return ErrIntOverflowPlan 39665 } 39666 if iNdEx >= l { 39667 return io.ErrUnexpectedEOF 39668 } 39669 b := dAtA[iNdEx] 39670 iNdEx++ 39671 wire |= uint64(b&0x7F) << shift 39672 if b < 0x80 { 39673 break 39674 } 39675 } 39676 fieldNum := int32(wire >> 3) 39677 wireType := int(wire & 0x7) 39678 if wireType == 4 { 39679 return fmt.Errorf("proto: SnapshotTenant: wiretype end group for non-group") 39680 } 39681 if fieldNum <= 0 { 39682 return fmt.Errorf("proto: SnapshotTenant: illegal tag %d (wire type %d)", fieldNum, wire) 39683 } 39684 switch fieldNum { 39685 case 1: 39686 if wireType != 2 { 39687 return fmt.Errorf("proto: wrong wireType = %d for field TenantName", wireType) 39688 } 39689 var stringLen uint64 39690 for shift := uint(0); ; shift += 7 { 39691 if shift >= 64 { 39692 return ErrIntOverflowPlan 39693 } 39694 if iNdEx >= l { 39695 return io.ErrUnexpectedEOF 39696 } 39697 b := dAtA[iNdEx] 39698 iNdEx++ 39699 stringLen |= uint64(b&0x7F) << shift 39700 if b < 0x80 { 39701 break 39702 } 39703 } 39704 intStringLen := int(stringLen) 39705 if intStringLen < 0 { 39706 return ErrInvalidLengthPlan 39707 } 39708 postIndex := iNdEx + intStringLen 39709 if postIndex < 0 { 39710 return ErrInvalidLengthPlan 39711 } 39712 if postIndex > l { 39713 return io.ErrUnexpectedEOF 39714 } 39715 m.TenantName = string(dAtA[iNdEx:postIndex]) 39716 iNdEx = postIndex 39717 case 2: 39718 if wireType != 0 { 39719 return fmt.Errorf("proto: wrong wireType = %d for field TenantID", wireType) 39720 } 39721 m.TenantID = 0 39722 for shift := uint(0); ; shift += 7 { 39723 if shift >= 64 { 39724 return ErrIntOverflowPlan 39725 } 39726 if iNdEx >= l { 39727 return io.ErrUnexpectedEOF 39728 } 39729 b := dAtA[iNdEx] 39730 iNdEx++ 39731 m.TenantID |= uint32(b&0x7F) << shift 39732 if b < 0x80 { 39733 break 39734 } 39735 } 39736 default: 39737 iNdEx = preIndex 39738 skippy, err := skipPlan(dAtA[iNdEx:]) 39739 if err != nil { 39740 return err 39741 } 39742 if (skippy < 0) || (iNdEx+skippy) < 0 { 39743 return ErrInvalidLengthPlan 39744 } 39745 if (iNdEx + skippy) > l { 39746 return io.ErrUnexpectedEOF 39747 } 39748 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 39749 iNdEx += skippy 39750 } 39751 } 39752 39753 if iNdEx > l { 39754 return io.ErrUnexpectedEOF 39755 } 39756 return nil 39757 } 39758 func (m *ExternScan) Unmarshal(dAtA []byte) error { 39759 l := len(dAtA) 39760 iNdEx := 0 39761 for iNdEx < l { 39762 preIndex := iNdEx 39763 var wire uint64 39764 for shift := uint(0); ; shift += 7 { 39765 if shift >= 64 { 39766 return ErrIntOverflowPlan 39767 } 39768 if iNdEx >= l { 39769 return io.ErrUnexpectedEOF 39770 } 39771 b := dAtA[iNdEx] 39772 iNdEx++ 39773 wire |= uint64(b&0x7F) << shift 39774 if b < 0x80 { 39775 break 39776 } 39777 } 39778 fieldNum := int32(wire >> 3) 39779 wireType := int(wire & 0x7) 39780 if wireType == 4 { 39781 return fmt.Errorf("proto: ExternScan: wiretype end group for non-group") 39782 } 39783 if fieldNum <= 0 { 39784 return fmt.Errorf("proto: ExternScan: illegal tag %d (wire type %d)", fieldNum, wire) 39785 } 39786 switch fieldNum { 39787 case 1: 39788 if wireType != 0 { 39789 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 39790 } 39791 m.Type = 0 39792 for shift := uint(0); ; shift += 7 { 39793 if shift >= 64 { 39794 return ErrIntOverflowPlan 39795 } 39796 if iNdEx >= l { 39797 return io.ErrUnexpectedEOF 39798 } 39799 b := dAtA[iNdEx] 39800 iNdEx++ 39801 m.Type |= int32(b&0x7F) << shift 39802 if b < 0x80 { 39803 break 39804 } 39805 } 39806 case 2: 39807 if wireType != 2 { 39808 return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) 39809 } 39810 var stringLen uint64 39811 for shift := uint(0); ; shift += 7 { 39812 if shift >= 64 { 39813 return ErrIntOverflowPlan 39814 } 39815 if iNdEx >= l { 39816 return io.ErrUnexpectedEOF 39817 } 39818 b := dAtA[iNdEx] 39819 iNdEx++ 39820 stringLen |= uint64(b&0x7F) << shift 39821 if b < 0x80 { 39822 break 39823 } 39824 } 39825 intStringLen := int(stringLen) 39826 if intStringLen < 0 { 39827 return ErrInvalidLengthPlan 39828 } 39829 postIndex := iNdEx + intStringLen 39830 if postIndex < 0 { 39831 return ErrInvalidLengthPlan 39832 } 39833 if postIndex > l { 39834 return io.ErrUnexpectedEOF 39835 } 39836 m.Data = string(dAtA[iNdEx:postIndex]) 39837 iNdEx = postIndex 39838 case 3: 39839 if wireType != 2 { 39840 return fmt.Errorf("proto: wrong wireType = %d for field Format", wireType) 39841 } 39842 var stringLen uint64 39843 for shift := uint(0); ; shift += 7 { 39844 if shift >= 64 { 39845 return ErrIntOverflowPlan 39846 } 39847 if iNdEx >= l { 39848 return io.ErrUnexpectedEOF 39849 } 39850 b := dAtA[iNdEx] 39851 iNdEx++ 39852 stringLen |= uint64(b&0x7F) << shift 39853 if b < 0x80 { 39854 break 39855 } 39856 } 39857 intStringLen := int(stringLen) 39858 if intStringLen < 0 { 39859 return ErrInvalidLengthPlan 39860 } 39861 postIndex := iNdEx + intStringLen 39862 if postIndex < 0 { 39863 return ErrInvalidLengthPlan 39864 } 39865 if postIndex > l { 39866 return io.ErrUnexpectedEOF 39867 } 39868 m.Format = string(dAtA[iNdEx:postIndex]) 39869 iNdEx = postIndex 39870 case 4: 39871 if wireType != 0 { 39872 return fmt.Errorf("proto: wrong wireType = %d for field IgnoredLines", wireType) 39873 } 39874 m.IgnoredLines = 0 39875 for shift := uint(0); ; shift += 7 { 39876 if shift >= 64 { 39877 return ErrIntOverflowPlan 39878 } 39879 if iNdEx >= l { 39880 return io.ErrUnexpectedEOF 39881 } 39882 b := dAtA[iNdEx] 39883 iNdEx++ 39884 m.IgnoredLines |= uint64(b&0x7F) << shift 39885 if b < 0x80 { 39886 break 39887 } 39888 } 39889 case 5: 39890 if wireType != 2 { 39891 return fmt.Errorf("proto: wrong wireType = %d for field EnclosedBy", wireType) 39892 } 39893 var byteLen int 39894 for shift := uint(0); ; shift += 7 { 39895 if shift >= 64 { 39896 return ErrIntOverflowPlan 39897 } 39898 if iNdEx >= l { 39899 return io.ErrUnexpectedEOF 39900 } 39901 b := dAtA[iNdEx] 39902 iNdEx++ 39903 byteLen |= int(b&0x7F) << shift 39904 if b < 0x80 { 39905 break 39906 } 39907 } 39908 if byteLen < 0 { 39909 return ErrInvalidLengthPlan 39910 } 39911 postIndex := iNdEx + byteLen 39912 if postIndex < 0 { 39913 return ErrInvalidLengthPlan 39914 } 39915 if postIndex > l { 39916 return io.ErrUnexpectedEOF 39917 } 39918 m.EnclosedBy = append(m.EnclosedBy[:0], dAtA[iNdEx:postIndex]...) 39919 if m.EnclosedBy == nil { 39920 m.EnclosedBy = []byte{} 39921 } 39922 iNdEx = postIndex 39923 case 6: 39924 if wireType != 2 { 39925 return fmt.Errorf("proto: wrong wireType = %d for field Terminated", wireType) 39926 } 39927 var stringLen uint64 39928 for shift := uint(0); ; shift += 7 { 39929 if shift >= 64 { 39930 return ErrIntOverflowPlan 39931 } 39932 if iNdEx >= l { 39933 return io.ErrUnexpectedEOF 39934 } 39935 b := dAtA[iNdEx] 39936 iNdEx++ 39937 stringLen |= uint64(b&0x7F) << shift 39938 if b < 0x80 { 39939 break 39940 } 39941 } 39942 intStringLen := int(stringLen) 39943 if intStringLen < 0 { 39944 return ErrInvalidLengthPlan 39945 } 39946 postIndex := iNdEx + intStringLen 39947 if postIndex < 0 { 39948 return ErrInvalidLengthPlan 39949 } 39950 if postIndex > l { 39951 return io.ErrUnexpectedEOF 39952 } 39953 m.Terminated = string(dAtA[iNdEx:postIndex]) 39954 iNdEx = postIndex 39955 case 7: 39956 if wireType != 2 { 39957 return fmt.Errorf("proto: wrong wireType = %d for field JsonType", wireType) 39958 } 39959 var stringLen uint64 39960 for shift := uint(0); ; shift += 7 { 39961 if shift >= 64 { 39962 return ErrIntOverflowPlan 39963 } 39964 if iNdEx >= l { 39965 return io.ErrUnexpectedEOF 39966 } 39967 b := dAtA[iNdEx] 39968 iNdEx++ 39969 stringLen |= uint64(b&0x7F) << shift 39970 if b < 0x80 { 39971 break 39972 } 39973 } 39974 intStringLen := int(stringLen) 39975 if intStringLen < 0 { 39976 return ErrInvalidLengthPlan 39977 } 39978 postIndex := iNdEx + intStringLen 39979 if postIndex < 0 { 39980 return ErrInvalidLengthPlan 39981 } 39982 if postIndex > l { 39983 return io.ErrUnexpectedEOF 39984 } 39985 m.JsonType = string(dAtA[iNdEx:postIndex]) 39986 iNdEx = postIndex 39987 case 8: 39988 if wireType != 2 { 39989 return fmt.Errorf("proto: wrong wireType = %d for field EscapedBy", wireType) 39990 } 39991 var byteLen int 39992 for shift := uint(0); ; shift += 7 { 39993 if shift >= 64 { 39994 return ErrIntOverflowPlan 39995 } 39996 if iNdEx >= l { 39997 return io.ErrUnexpectedEOF 39998 } 39999 b := dAtA[iNdEx] 40000 iNdEx++ 40001 byteLen |= int(b&0x7F) << shift 40002 if b < 0x80 { 40003 break 40004 } 40005 } 40006 if byteLen < 0 { 40007 return ErrInvalidLengthPlan 40008 } 40009 postIndex := iNdEx + byteLen 40010 if postIndex < 0 { 40011 return ErrInvalidLengthPlan 40012 } 40013 if postIndex > l { 40014 return io.ErrUnexpectedEOF 40015 } 40016 m.EscapedBy = append(m.EscapedBy[:0], dAtA[iNdEx:postIndex]...) 40017 if m.EscapedBy == nil { 40018 m.EscapedBy = []byte{} 40019 } 40020 iNdEx = postIndex 40021 default: 40022 iNdEx = preIndex 40023 skippy, err := skipPlan(dAtA[iNdEx:]) 40024 if err != nil { 40025 return err 40026 } 40027 if (skippy < 0) || (iNdEx+skippy) < 0 { 40028 return ErrInvalidLengthPlan 40029 } 40030 if (iNdEx + skippy) > l { 40031 return io.ErrUnexpectedEOF 40032 } 40033 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 40034 iNdEx += skippy 40035 } 40036 } 40037 40038 if iNdEx > l { 40039 return io.ErrUnexpectedEOF 40040 } 40041 return nil 40042 } 40043 func (m *LockTarget) Unmarshal(dAtA []byte) error { 40044 l := len(dAtA) 40045 iNdEx := 0 40046 for iNdEx < l { 40047 preIndex := iNdEx 40048 var wire uint64 40049 for shift := uint(0); ; shift += 7 { 40050 if shift >= 64 { 40051 return ErrIntOverflowPlan 40052 } 40053 if iNdEx >= l { 40054 return io.ErrUnexpectedEOF 40055 } 40056 b := dAtA[iNdEx] 40057 iNdEx++ 40058 wire |= uint64(b&0x7F) << shift 40059 if b < 0x80 { 40060 break 40061 } 40062 } 40063 fieldNum := int32(wire >> 3) 40064 wireType := int(wire & 0x7) 40065 if wireType == 4 { 40066 return fmt.Errorf("proto: LockTarget: wiretype end group for non-group") 40067 } 40068 if fieldNum <= 0 { 40069 return fmt.Errorf("proto: LockTarget: illegal tag %d (wire type %d)", fieldNum, wire) 40070 } 40071 switch fieldNum { 40072 case 1: 40073 if wireType != 0 { 40074 return fmt.Errorf("proto: wrong wireType = %d for field TableId", wireType) 40075 } 40076 m.TableId = 0 40077 for shift := uint(0); ; shift += 7 { 40078 if shift >= 64 { 40079 return ErrIntOverflowPlan 40080 } 40081 if iNdEx >= l { 40082 return io.ErrUnexpectedEOF 40083 } 40084 b := dAtA[iNdEx] 40085 iNdEx++ 40086 m.TableId |= uint64(b&0x7F) << shift 40087 if b < 0x80 { 40088 break 40089 } 40090 } 40091 case 2: 40092 if wireType != 0 { 40093 return fmt.Errorf("proto: wrong wireType = %d for field PrimaryColIdxInBat", wireType) 40094 } 40095 m.PrimaryColIdxInBat = 0 40096 for shift := uint(0); ; shift += 7 { 40097 if shift >= 64 { 40098 return ErrIntOverflowPlan 40099 } 40100 if iNdEx >= l { 40101 return io.ErrUnexpectedEOF 40102 } 40103 b := dAtA[iNdEx] 40104 iNdEx++ 40105 m.PrimaryColIdxInBat |= int32(b&0x7F) << shift 40106 if b < 0x80 { 40107 break 40108 } 40109 } 40110 case 3: 40111 if wireType != 2 { 40112 return fmt.Errorf("proto: wrong wireType = %d for field PrimaryColTyp", wireType) 40113 } 40114 var msglen int 40115 for shift := uint(0); ; shift += 7 { 40116 if shift >= 64 { 40117 return ErrIntOverflowPlan 40118 } 40119 if iNdEx >= l { 40120 return io.ErrUnexpectedEOF 40121 } 40122 b := dAtA[iNdEx] 40123 iNdEx++ 40124 msglen |= int(b&0x7F) << shift 40125 if b < 0x80 { 40126 break 40127 } 40128 } 40129 if msglen < 0 { 40130 return ErrInvalidLengthPlan 40131 } 40132 postIndex := iNdEx + msglen 40133 if postIndex < 0 { 40134 return ErrInvalidLengthPlan 40135 } 40136 if postIndex > l { 40137 return io.ErrUnexpectedEOF 40138 } 40139 if err := m.PrimaryColTyp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 40140 return err 40141 } 40142 iNdEx = postIndex 40143 case 4: 40144 if wireType != 0 { 40145 return fmt.Errorf("proto: wrong wireType = %d for field RefreshTsIdxInBat", wireType) 40146 } 40147 m.RefreshTsIdxInBat = 0 40148 for shift := uint(0); ; shift += 7 { 40149 if shift >= 64 { 40150 return ErrIntOverflowPlan 40151 } 40152 if iNdEx >= l { 40153 return io.ErrUnexpectedEOF 40154 } 40155 b := dAtA[iNdEx] 40156 iNdEx++ 40157 m.RefreshTsIdxInBat |= int32(b&0x7F) << shift 40158 if b < 0x80 { 40159 break 40160 } 40161 } 40162 case 5: 40163 if wireType != 0 { 40164 return fmt.Errorf("proto: wrong wireType = %d for field FilterColIdxInBat", wireType) 40165 } 40166 m.FilterColIdxInBat = 0 40167 for shift := uint(0); ; shift += 7 { 40168 if shift >= 64 { 40169 return ErrIntOverflowPlan 40170 } 40171 if iNdEx >= l { 40172 return io.ErrUnexpectedEOF 40173 } 40174 b := dAtA[iNdEx] 40175 iNdEx++ 40176 m.FilterColIdxInBat |= int32(b&0x7F) << shift 40177 if b < 0x80 { 40178 break 40179 } 40180 } 40181 case 6: 40182 if wireType != 0 { 40183 return fmt.Errorf("proto: wrong wireType = %d for field LockTable", wireType) 40184 } 40185 var v int 40186 for shift := uint(0); ; shift += 7 { 40187 if shift >= 64 { 40188 return ErrIntOverflowPlan 40189 } 40190 if iNdEx >= l { 40191 return io.ErrUnexpectedEOF 40192 } 40193 b := dAtA[iNdEx] 40194 iNdEx++ 40195 v |= int(b&0x7F) << shift 40196 if b < 0x80 { 40197 break 40198 } 40199 } 40200 m.LockTable = bool(v != 0) 40201 case 7: 40202 if wireType != 0 { 40203 return fmt.Errorf("proto: wrong wireType = %d for field IsPartitionTable", wireType) 40204 } 40205 var v int 40206 for shift := uint(0); ; shift += 7 { 40207 if shift >= 64 { 40208 return ErrIntOverflowPlan 40209 } 40210 if iNdEx >= l { 40211 return io.ErrUnexpectedEOF 40212 } 40213 b := dAtA[iNdEx] 40214 iNdEx++ 40215 v |= int(b&0x7F) << shift 40216 if b < 0x80 { 40217 break 40218 } 40219 } 40220 m.IsPartitionTable = bool(v != 0) 40221 case 8: 40222 if wireType == 0 { 40223 var v uint64 40224 for shift := uint(0); ; shift += 7 { 40225 if shift >= 64 { 40226 return ErrIntOverflowPlan 40227 } 40228 if iNdEx >= l { 40229 return io.ErrUnexpectedEOF 40230 } 40231 b := dAtA[iNdEx] 40232 iNdEx++ 40233 v |= uint64(b&0x7F) << shift 40234 if b < 0x80 { 40235 break 40236 } 40237 } 40238 m.PartitionTableIds = append(m.PartitionTableIds, v) 40239 } else if wireType == 2 { 40240 var packedLen int 40241 for shift := uint(0); ; shift += 7 { 40242 if shift >= 64 { 40243 return ErrIntOverflowPlan 40244 } 40245 if iNdEx >= l { 40246 return io.ErrUnexpectedEOF 40247 } 40248 b := dAtA[iNdEx] 40249 iNdEx++ 40250 packedLen |= int(b&0x7F) << shift 40251 if b < 0x80 { 40252 break 40253 } 40254 } 40255 if packedLen < 0 { 40256 return ErrInvalidLengthPlan 40257 } 40258 postIndex := iNdEx + packedLen 40259 if postIndex < 0 { 40260 return ErrInvalidLengthPlan 40261 } 40262 if postIndex > l { 40263 return io.ErrUnexpectedEOF 40264 } 40265 var elementCount int 40266 var count int 40267 for _, integer := range dAtA[iNdEx:postIndex] { 40268 if integer < 128 { 40269 count++ 40270 } 40271 } 40272 elementCount = count 40273 if elementCount != 0 && len(m.PartitionTableIds) == 0 { 40274 m.PartitionTableIds = make([]uint64, 0, elementCount) 40275 } 40276 for iNdEx < postIndex { 40277 var v uint64 40278 for shift := uint(0); ; shift += 7 { 40279 if shift >= 64 { 40280 return ErrIntOverflowPlan 40281 } 40282 if iNdEx >= l { 40283 return io.ErrUnexpectedEOF 40284 } 40285 b := dAtA[iNdEx] 40286 iNdEx++ 40287 v |= uint64(b&0x7F) << shift 40288 if b < 0x80 { 40289 break 40290 } 40291 } 40292 m.PartitionTableIds = append(m.PartitionTableIds, v) 40293 } 40294 } else { 40295 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTableIds", wireType) 40296 } 40297 case 9: 40298 if wireType != 0 { 40299 return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType) 40300 } 40301 var v int 40302 for shift := uint(0); ; shift += 7 { 40303 if shift >= 64 { 40304 return ErrIntOverflowPlan 40305 } 40306 if iNdEx >= l { 40307 return io.ErrUnexpectedEOF 40308 } 40309 b := dAtA[iNdEx] 40310 iNdEx++ 40311 v |= int(b&0x7F) << shift 40312 if b < 0x80 { 40313 break 40314 } 40315 } 40316 m.Block = bool(v != 0) 40317 case 10: 40318 if wireType != 0 { 40319 return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) 40320 } 40321 m.Mode = 0 40322 for shift := uint(0); ; shift += 7 { 40323 if shift >= 64 { 40324 return ErrIntOverflowPlan 40325 } 40326 if iNdEx >= l { 40327 return io.ErrUnexpectedEOF 40328 } 40329 b := dAtA[iNdEx] 40330 iNdEx++ 40331 m.Mode |= lock.LockMode(b&0x7F) << shift 40332 if b < 0x80 { 40333 break 40334 } 40335 } 40336 default: 40337 iNdEx = preIndex 40338 skippy, err := skipPlan(dAtA[iNdEx:]) 40339 if err != nil { 40340 return err 40341 } 40342 if (skippy < 0) || (iNdEx+skippy) < 0 { 40343 return ErrInvalidLengthPlan 40344 } 40345 if (iNdEx + skippy) > l { 40346 return io.ErrUnexpectedEOF 40347 } 40348 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 40349 iNdEx += skippy 40350 } 40351 } 40352 40353 if iNdEx > l { 40354 return io.ErrUnexpectedEOF 40355 } 40356 return nil 40357 } 40358 func (m *PreInsertUkCtx) Unmarshal(dAtA []byte) error { 40359 l := len(dAtA) 40360 iNdEx := 0 40361 for iNdEx < l { 40362 preIndex := iNdEx 40363 var wire uint64 40364 for shift := uint(0); ; shift += 7 { 40365 if shift >= 64 { 40366 return ErrIntOverflowPlan 40367 } 40368 if iNdEx >= l { 40369 return io.ErrUnexpectedEOF 40370 } 40371 b := dAtA[iNdEx] 40372 iNdEx++ 40373 wire |= uint64(b&0x7F) << shift 40374 if b < 0x80 { 40375 break 40376 } 40377 } 40378 fieldNum := int32(wire >> 3) 40379 wireType := int(wire & 0x7) 40380 if wireType == 4 { 40381 return fmt.Errorf("proto: PreInsertUkCtx: wiretype end group for non-group") 40382 } 40383 if fieldNum <= 0 { 40384 return fmt.Errorf("proto: PreInsertUkCtx: illegal tag %d (wire type %d)", fieldNum, wire) 40385 } 40386 switch fieldNum { 40387 case 1: 40388 if wireType == 0 { 40389 var v int32 40390 for shift := uint(0); ; shift += 7 { 40391 if shift >= 64 { 40392 return ErrIntOverflowPlan 40393 } 40394 if iNdEx >= l { 40395 return io.ErrUnexpectedEOF 40396 } 40397 b := dAtA[iNdEx] 40398 iNdEx++ 40399 v |= int32(b&0x7F) << shift 40400 if b < 0x80 { 40401 break 40402 } 40403 } 40404 m.Columns = append(m.Columns, v) 40405 } else if wireType == 2 { 40406 var packedLen int 40407 for shift := uint(0); ; shift += 7 { 40408 if shift >= 64 { 40409 return ErrIntOverflowPlan 40410 } 40411 if iNdEx >= l { 40412 return io.ErrUnexpectedEOF 40413 } 40414 b := dAtA[iNdEx] 40415 iNdEx++ 40416 packedLen |= int(b&0x7F) << shift 40417 if b < 0x80 { 40418 break 40419 } 40420 } 40421 if packedLen < 0 { 40422 return ErrInvalidLengthPlan 40423 } 40424 postIndex := iNdEx + packedLen 40425 if postIndex < 0 { 40426 return ErrInvalidLengthPlan 40427 } 40428 if postIndex > l { 40429 return io.ErrUnexpectedEOF 40430 } 40431 var elementCount int 40432 var count int 40433 for _, integer := range dAtA[iNdEx:postIndex] { 40434 if integer < 128 { 40435 count++ 40436 } 40437 } 40438 elementCount = count 40439 if elementCount != 0 && len(m.Columns) == 0 { 40440 m.Columns = make([]int32, 0, elementCount) 40441 } 40442 for iNdEx < postIndex { 40443 var v int32 40444 for shift := uint(0); ; shift += 7 { 40445 if shift >= 64 { 40446 return ErrIntOverflowPlan 40447 } 40448 if iNdEx >= l { 40449 return io.ErrUnexpectedEOF 40450 } 40451 b := dAtA[iNdEx] 40452 iNdEx++ 40453 v |= int32(b&0x7F) << shift 40454 if b < 0x80 { 40455 break 40456 } 40457 } 40458 m.Columns = append(m.Columns, v) 40459 } 40460 } else { 40461 return fmt.Errorf("proto: wrong wireType = %d for field Columns", wireType) 40462 } 40463 case 2: 40464 if wireType != 0 { 40465 return fmt.Errorf("proto: wrong wireType = %d for field PkColumn", wireType) 40466 } 40467 m.PkColumn = 0 40468 for shift := uint(0); ; shift += 7 { 40469 if shift >= 64 { 40470 return ErrIntOverflowPlan 40471 } 40472 if iNdEx >= l { 40473 return io.ErrUnexpectedEOF 40474 } 40475 b := dAtA[iNdEx] 40476 iNdEx++ 40477 m.PkColumn |= int32(b&0x7F) << shift 40478 if b < 0x80 { 40479 break 40480 } 40481 } 40482 case 3: 40483 if wireType != 2 { 40484 return fmt.Errorf("proto: wrong wireType = %d for field PkType", wireType) 40485 } 40486 var msglen int 40487 for shift := uint(0); ; shift += 7 { 40488 if shift >= 64 { 40489 return ErrIntOverflowPlan 40490 } 40491 if iNdEx >= l { 40492 return io.ErrUnexpectedEOF 40493 } 40494 b := dAtA[iNdEx] 40495 iNdEx++ 40496 msglen |= int(b&0x7F) << shift 40497 if b < 0x80 { 40498 break 40499 } 40500 } 40501 if msglen < 0 { 40502 return ErrInvalidLengthPlan 40503 } 40504 postIndex := iNdEx + msglen 40505 if postIndex < 0 { 40506 return ErrInvalidLengthPlan 40507 } 40508 if postIndex > l { 40509 return io.ErrUnexpectedEOF 40510 } 40511 if err := m.PkType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 40512 return err 40513 } 40514 iNdEx = postIndex 40515 case 4: 40516 if wireType != 2 { 40517 return fmt.Errorf("proto: wrong wireType = %d for field UkType", wireType) 40518 } 40519 var msglen int 40520 for shift := uint(0); ; shift += 7 { 40521 if shift >= 64 { 40522 return ErrIntOverflowPlan 40523 } 40524 if iNdEx >= l { 40525 return io.ErrUnexpectedEOF 40526 } 40527 b := dAtA[iNdEx] 40528 iNdEx++ 40529 msglen |= int(b&0x7F) << shift 40530 if b < 0x80 { 40531 break 40532 } 40533 } 40534 if msglen < 0 { 40535 return ErrInvalidLengthPlan 40536 } 40537 postIndex := iNdEx + msglen 40538 if postIndex < 0 { 40539 return ErrInvalidLengthPlan 40540 } 40541 if postIndex > l { 40542 return io.ErrUnexpectedEOF 40543 } 40544 if err := m.UkType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 40545 return err 40546 } 40547 iNdEx = postIndex 40548 default: 40549 iNdEx = preIndex 40550 skippy, err := skipPlan(dAtA[iNdEx:]) 40551 if err != nil { 40552 return err 40553 } 40554 if (skippy < 0) || (iNdEx+skippy) < 0 { 40555 return ErrInvalidLengthPlan 40556 } 40557 if (iNdEx + skippy) > l { 40558 return io.ErrUnexpectedEOF 40559 } 40560 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 40561 iNdEx += skippy 40562 } 40563 } 40564 40565 if iNdEx > l { 40566 return io.ErrUnexpectedEOF 40567 } 40568 return nil 40569 } 40570 func (m *PreDeleteCtx) Unmarshal(dAtA []byte) error { 40571 l := len(dAtA) 40572 iNdEx := 0 40573 for iNdEx < l { 40574 preIndex := iNdEx 40575 var wire uint64 40576 for shift := uint(0); ; shift += 7 { 40577 if shift >= 64 { 40578 return ErrIntOverflowPlan 40579 } 40580 if iNdEx >= l { 40581 return io.ErrUnexpectedEOF 40582 } 40583 b := dAtA[iNdEx] 40584 iNdEx++ 40585 wire |= uint64(b&0x7F) << shift 40586 if b < 0x80 { 40587 break 40588 } 40589 } 40590 fieldNum := int32(wire >> 3) 40591 wireType := int(wire & 0x7) 40592 if wireType == 4 { 40593 return fmt.Errorf("proto: PreDeleteCtx: wiretype end group for non-group") 40594 } 40595 if fieldNum <= 0 { 40596 return fmt.Errorf("proto: PreDeleteCtx: illegal tag %d (wire type %d)", fieldNum, wire) 40597 } 40598 switch fieldNum { 40599 case 1: 40600 if wireType == 0 { 40601 var v int32 40602 for shift := uint(0); ; shift += 7 { 40603 if shift >= 64 { 40604 return ErrIntOverflowPlan 40605 } 40606 if iNdEx >= l { 40607 return io.ErrUnexpectedEOF 40608 } 40609 b := dAtA[iNdEx] 40610 iNdEx++ 40611 v |= int32(b&0x7F) << shift 40612 if b < 0x80 { 40613 break 40614 } 40615 } 40616 m.Idx = append(m.Idx, v) 40617 } else if wireType == 2 { 40618 var packedLen int 40619 for shift := uint(0); ; shift += 7 { 40620 if shift >= 64 { 40621 return ErrIntOverflowPlan 40622 } 40623 if iNdEx >= l { 40624 return io.ErrUnexpectedEOF 40625 } 40626 b := dAtA[iNdEx] 40627 iNdEx++ 40628 packedLen |= int(b&0x7F) << shift 40629 if b < 0x80 { 40630 break 40631 } 40632 } 40633 if packedLen < 0 { 40634 return ErrInvalidLengthPlan 40635 } 40636 postIndex := iNdEx + packedLen 40637 if postIndex < 0 { 40638 return ErrInvalidLengthPlan 40639 } 40640 if postIndex > l { 40641 return io.ErrUnexpectedEOF 40642 } 40643 var elementCount int 40644 var count int 40645 for _, integer := range dAtA[iNdEx:postIndex] { 40646 if integer < 128 { 40647 count++ 40648 } 40649 } 40650 elementCount = count 40651 if elementCount != 0 && len(m.Idx) == 0 { 40652 m.Idx = make([]int32, 0, elementCount) 40653 } 40654 for iNdEx < postIndex { 40655 var v int32 40656 for shift := uint(0); ; shift += 7 { 40657 if shift >= 64 { 40658 return ErrIntOverflowPlan 40659 } 40660 if iNdEx >= l { 40661 return io.ErrUnexpectedEOF 40662 } 40663 b := dAtA[iNdEx] 40664 iNdEx++ 40665 v |= int32(b&0x7F) << shift 40666 if b < 0x80 { 40667 break 40668 } 40669 } 40670 m.Idx = append(m.Idx, v) 40671 } 40672 } else { 40673 return fmt.Errorf("proto: wrong wireType = %d for field Idx", wireType) 40674 } 40675 default: 40676 iNdEx = preIndex 40677 skippy, err := skipPlan(dAtA[iNdEx:]) 40678 if err != nil { 40679 return err 40680 } 40681 if (skippy < 0) || (iNdEx+skippy) < 0 { 40682 return ErrInvalidLengthPlan 40683 } 40684 if (iNdEx + skippy) > l { 40685 return io.ErrUnexpectedEOF 40686 } 40687 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 40688 iNdEx += skippy 40689 } 40690 } 40691 40692 if iNdEx > l { 40693 return io.ErrUnexpectedEOF 40694 } 40695 return nil 40696 } 40697 func (m *PreInsertCtx) Unmarshal(dAtA []byte) error { 40698 l := len(dAtA) 40699 iNdEx := 0 40700 for iNdEx < l { 40701 preIndex := iNdEx 40702 var wire uint64 40703 for shift := uint(0); ; shift += 7 { 40704 if shift >= 64 { 40705 return ErrIntOverflowPlan 40706 } 40707 if iNdEx >= l { 40708 return io.ErrUnexpectedEOF 40709 } 40710 b := dAtA[iNdEx] 40711 iNdEx++ 40712 wire |= uint64(b&0x7F) << shift 40713 if b < 0x80 { 40714 break 40715 } 40716 } 40717 fieldNum := int32(wire >> 3) 40718 wireType := int(wire & 0x7) 40719 if wireType == 4 { 40720 return fmt.Errorf("proto: PreInsertCtx: wiretype end group for non-group") 40721 } 40722 if fieldNum <= 0 { 40723 return fmt.Errorf("proto: PreInsertCtx: illegal tag %d (wire type %d)", fieldNum, wire) 40724 } 40725 switch fieldNum { 40726 case 1: 40727 if wireType != 2 { 40728 return fmt.Errorf("proto: wrong wireType = %d for field Ref", wireType) 40729 } 40730 var msglen int 40731 for shift := uint(0); ; shift += 7 { 40732 if shift >= 64 { 40733 return ErrIntOverflowPlan 40734 } 40735 if iNdEx >= l { 40736 return io.ErrUnexpectedEOF 40737 } 40738 b := dAtA[iNdEx] 40739 iNdEx++ 40740 msglen |= int(b&0x7F) << shift 40741 if b < 0x80 { 40742 break 40743 } 40744 } 40745 if msglen < 0 { 40746 return ErrInvalidLengthPlan 40747 } 40748 postIndex := iNdEx + msglen 40749 if postIndex < 0 { 40750 return ErrInvalidLengthPlan 40751 } 40752 if postIndex > l { 40753 return io.ErrUnexpectedEOF 40754 } 40755 if m.Ref == nil { 40756 m.Ref = &ObjectRef{} 40757 } 40758 if err := m.Ref.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 40759 return err 40760 } 40761 iNdEx = postIndex 40762 case 2: 40763 if wireType != 2 { 40764 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 40765 } 40766 var msglen int 40767 for shift := uint(0); ; shift += 7 { 40768 if shift >= 64 { 40769 return ErrIntOverflowPlan 40770 } 40771 if iNdEx >= l { 40772 return io.ErrUnexpectedEOF 40773 } 40774 b := dAtA[iNdEx] 40775 iNdEx++ 40776 msglen |= int(b&0x7F) << shift 40777 if b < 0x80 { 40778 break 40779 } 40780 } 40781 if msglen < 0 { 40782 return ErrInvalidLengthPlan 40783 } 40784 postIndex := iNdEx + msglen 40785 if postIndex < 0 { 40786 return ErrInvalidLengthPlan 40787 } 40788 if postIndex > l { 40789 return io.ErrUnexpectedEOF 40790 } 40791 if m.TableDef == nil { 40792 m.TableDef = &TableDef{} 40793 } 40794 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 40795 return err 40796 } 40797 iNdEx = postIndex 40798 case 3: 40799 if wireType != 0 { 40800 return fmt.Errorf("proto: wrong wireType = %d for field HasAutoCol", wireType) 40801 } 40802 var v int 40803 for shift := uint(0); ; shift += 7 { 40804 if shift >= 64 { 40805 return ErrIntOverflowPlan 40806 } 40807 if iNdEx >= l { 40808 return io.ErrUnexpectedEOF 40809 } 40810 b := dAtA[iNdEx] 40811 iNdEx++ 40812 v |= int(b&0x7F) << shift 40813 if b < 0x80 { 40814 break 40815 } 40816 } 40817 m.HasAutoCol = bool(v != 0) 40818 case 4: 40819 if wireType != 0 { 40820 return fmt.Errorf("proto: wrong wireType = %d for field IsUpdate", wireType) 40821 } 40822 var v int 40823 for shift := uint(0); ; shift += 7 { 40824 if shift >= 64 { 40825 return ErrIntOverflowPlan 40826 } 40827 if iNdEx >= l { 40828 return io.ErrUnexpectedEOF 40829 } 40830 b := dAtA[iNdEx] 40831 iNdEx++ 40832 v |= int(b&0x7F) << shift 40833 if b < 0x80 { 40834 break 40835 } 40836 } 40837 m.IsUpdate = bool(v != 0) 40838 default: 40839 iNdEx = preIndex 40840 skippy, err := skipPlan(dAtA[iNdEx:]) 40841 if err != nil { 40842 return err 40843 } 40844 if (skippy < 0) || (iNdEx+skippy) < 0 { 40845 return ErrInvalidLengthPlan 40846 } 40847 if (iNdEx + skippy) > l { 40848 return io.ErrUnexpectedEOF 40849 } 40850 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 40851 iNdEx += skippy 40852 } 40853 } 40854 40855 if iNdEx > l { 40856 return io.ErrUnexpectedEOF 40857 } 40858 return nil 40859 } 40860 func (m *RuntimeFilterSpec) Unmarshal(dAtA []byte) error { 40861 l := len(dAtA) 40862 iNdEx := 0 40863 for iNdEx < l { 40864 preIndex := iNdEx 40865 var wire uint64 40866 for shift := uint(0); ; shift += 7 { 40867 if shift >= 64 { 40868 return ErrIntOverflowPlan 40869 } 40870 if iNdEx >= l { 40871 return io.ErrUnexpectedEOF 40872 } 40873 b := dAtA[iNdEx] 40874 iNdEx++ 40875 wire |= uint64(b&0x7F) << shift 40876 if b < 0x80 { 40877 break 40878 } 40879 } 40880 fieldNum := int32(wire >> 3) 40881 wireType := int(wire & 0x7) 40882 if wireType == 4 { 40883 return fmt.Errorf("proto: RuntimeFilterSpec: wiretype end group for non-group") 40884 } 40885 if fieldNum <= 0 { 40886 return fmt.Errorf("proto: RuntimeFilterSpec: illegal tag %d (wire type %d)", fieldNum, wire) 40887 } 40888 switch fieldNum { 40889 case 1: 40890 if wireType != 0 { 40891 return fmt.Errorf("proto: wrong wireType = %d for field Tag", wireType) 40892 } 40893 m.Tag = 0 40894 for shift := uint(0); ; shift += 7 { 40895 if shift >= 64 { 40896 return ErrIntOverflowPlan 40897 } 40898 if iNdEx >= l { 40899 return io.ErrUnexpectedEOF 40900 } 40901 b := dAtA[iNdEx] 40902 iNdEx++ 40903 m.Tag |= int32(b&0x7F) << shift 40904 if b < 0x80 { 40905 break 40906 } 40907 } 40908 case 2: 40909 if wireType != 0 { 40910 return fmt.Errorf("proto: wrong wireType = %d for field MatchPrefix", wireType) 40911 } 40912 var v int 40913 for shift := uint(0); ; shift += 7 { 40914 if shift >= 64 { 40915 return ErrIntOverflowPlan 40916 } 40917 if iNdEx >= l { 40918 return io.ErrUnexpectedEOF 40919 } 40920 b := dAtA[iNdEx] 40921 iNdEx++ 40922 v |= int(b&0x7F) << shift 40923 if b < 0x80 { 40924 break 40925 } 40926 } 40927 m.MatchPrefix = bool(v != 0) 40928 case 3: 40929 if wireType != 0 { 40930 return fmt.Errorf("proto: wrong wireType = %d for field UpperLimit", wireType) 40931 } 40932 m.UpperLimit = 0 40933 for shift := uint(0); ; shift += 7 { 40934 if shift >= 64 { 40935 return ErrIntOverflowPlan 40936 } 40937 if iNdEx >= l { 40938 return io.ErrUnexpectedEOF 40939 } 40940 b := dAtA[iNdEx] 40941 iNdEx++ 40942 m.UpperLimit |= int32(b&0x7F) << shift 40943 if b < 0x80 { 40944 break 40945 } 40946 } 40947 case 4: 40948 if wireType != 2 { 40949 return fmt.Errorf("proto: wrong wireType = %d for field Expr", wireType) 40950 } 40951 var msglen int 40952 for shift := uint(0); ; shift += 7 { 40953 if shift >= 64 { 40954 return ErrIntOverflowPlan 40955 } 40956 if iNdEx >= l { 40957 return io.ErrUnexpectedEOF 40958 } 40959 b := dAtA[iNdEx] 40960 iNdEx++ 40961 msglen |= int(b&0x7F) << shift 40962 if b < 0x80 { 40963 break 40964 } 40965 } 40966 if msglen < 0 { 40967 return ErrInvalidLengthPlan 40968 } 40969 postIndex := iNdEx + msglen 40970 if postIndex < 0 { 40971 return ErrInvalidLengthPlan 40972 } 40973 if postIndex > l { 40974 return io.ErrUnexpectedEOF 40975 } 40976 if m.Expr == nil { 40977 m.Expr = &Expr{} 40978 } 40979 if err := m.Expr.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 40980 return err 40981 } 40982 iNdEx = postIndex 40983 case 5: 40984 if wireType != 0 { 40985 return fmt.Errorf("proto: wrong wireType = %d for field Handled", wireType) 40986 } 40987 var v int 40988 for shift := uint(0); ; shift += 7 { 40989 if shift >= 64 { 40990 return ErrIntOverflowPlan 40991 } 40992 if iNdEx >= l { 40993 return io.ErrUnexpectedEOF 40994 } 40995 b := dAtA[iNdEx] 40996 iNdEx++ 40997 v |= int(b&0x7F) << shift 40998 if b < 0x80 { 40999 break 41000 } 41001 } 41002 m.Handled = bool(v != 0) 41003 default: 41004 iNdEx = preIndex 41005 skippy, err := skipPlan(dAtA[iNdEx:]) 41006 if err != nil { 41007 return err 41008 } 41009 if (skippy < 0) || (iNdEx+skippy) < 0 { 41010 return ErrInvalidLengthPlan 41011 } 41012 if (iNdEx + skippy) > l { 41013 return io.ErrUnexpectedEOF 41014 } 41015 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 41016 iNdEx += skippy 41017 } 41018 } 41019 41020 if iNdEx > l { 41021 return io.ErrUnexpectedEOF 41022 } 41023 return nil 41024 } 41025 func (m *IdList) Unmarshal(dAtA []byte) error { 41026 l := len(dAtA) 41027 iNdEx := 0 41028 for iNdEx < l { 41029 preIndex := iNdEx 41030 var wire uint64 41031 for shift := uint(0); ; shift += 7 { 41032 if shift >= 64 { 41033 return ErrIntOverflowPlan 41034 } 41035 if iNdEx >= l { 41036 return io.ErrUnexpectedEOF 41037 } 41038 b := dAtA[iNdEx] 41039 iNdEx++ 41040 wire |= uint64(b&0x7F) << shift 41041 if b < 0x80 { 41042 break 41043 } 41044 } 41045 fieldNum := int32(wire >> 3) 41046 wireType := int(wire & 0x7) 41047 if wireType == 4 { 41048 return fmt.Errorf("proto: IdList: wiretype end group for non-group") 41049 } 41050 if fieldNum <= 0 { 41051 return fmt.Errorf("proto: IdList: illegal tag %d (wire type %d)", fieldNum, wire) 41052 } 41053 switch fieldNum { 41054 case 1: 41055 if wireType == 0 { 41056 var v int64 41057 for shift := uint(0); ; shift += 7 { 41058 if shift >= 64 { 41059 return ErrIntOverflowPlan 41060 } 41061 if iNdEx >= l { 41062 return io.ErrUnexpectedEOF 41063 } 41064 b := dAtA[iNdEx] 41065 iNdEx++ 41066 v |= int64(b&0x7F) << shift 41067 if b < 0x80 { 41068 break 41069 } 41070 } 41071 m.List = append(m.List, v) 41072 } else if wireType == 2 { 41073 var packedLen int 41074 for shift := uint(0); ; shift += 7 { 41075 if shift >= 64 { 41076 return ErrIntOverflowPlan 41077 } 41078 if iNdEx >= l { 41079 return io.ErrUnexpectedEOF 41080 } 41081 b := dAtA[iNdEx] 41082 iNdEx++ 41083 packedLen |= int(b&0x7F) << shift 41084 if b < 0x80 { 41085 break 41086 } 41087 } 41088 if packedLen < 0 { 41089 return ErrInvalidLengthPlan 41090 } 41091 postIndex := iNdEx + packedLen 41092 if postIndex < 0 { 41093 return ErrInvalidLengthPlan 41094 } 41095 if postIndex > l { 41096 return io.ErrUnexpectedEOF 41097 } 41098 var elementCount int 41099 var count int 41100 for _, integer := range dAtA[iNdEx:postIndex] { 41101 if integer < 128 { 41102 count++ 41103 } 41104 } 41105 elementCount = count 41106 if elementCount != 0 && len(m.List) == 0 { 41107 m.List = make([]int64, 0, elementCount) 41108 } 41109 for iNdEx < postIndex { 41110 var v int64 41111 for shift := uint(0); ; shift += 7 { 41112 if shift >= 64 { 41113 return ErrIntOverflowPlan 41114 } 41115 if iNdEx >= l { 41116 return io.ErrUnexpectedEOF 41117 } 41118 b := dAtA[iNdEx] 41119 iNdEx++ 41120 v |= int64(b&0x7F) << shift 41121 if b < 0x80 { 41122 break 41123 } 41124 } 41125 m.List = append(m.List, v) 41126 } 41127 } else { 41128 return fmt.Errorf("proto: wrong wireType = %d for field List", wireType) 41129 } 41130 default: 41131 iNdEx = preIndex 41132 skippy, err := skipPlan(dAtA[iNdEx:]) 41133 if err != nil { 41134 return err 41135 } 41136 if (skippy < 0) || (iNdEx+skippy) < 0 { 41137 return ErrInvalidLengthPlan 41138 } 41139 if (iNdEx + skippy) > l { 41140 return io.ErrUnexpectedEOF 41141 } 41142 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 41143 iNdEx += skippy 41144 } 41145 } 41146 41147 if iNdEx > l { 41148 return io.ErrUnexpectedEOF 41149 } 41150 return nil 41151 } 41152 func (m *ColPosMap) Unmarshal(dAtA []byte) error { 41153 l := len(dAtA) 41154 iNdEx := 0 41155 for iNdEx < l { 41156 preIndex := iNdEx 41157 var wire uint64 41158 for shift := uint(0); ; shift += 7 { 41159 if shift >= 64 { 41160 return ErrIntOverflowPlan 41161 } 41162 if iNdEx >= l { 41163 return io.ErrUnexpectedEOF 41164 } 41165 b := dAtA[iNdEx] 41166 iNdEx++ 41167 wire |= uint64(b&0x7F) << shift 41168 if b < 0x80 { 41169 break 41170 } 41171 } 41172 fieldNum := int32(wire >> 3) 41173 wireType := int(wire & 0x7) 41174 if wireType == 4 { 41175 return fmt.Errorf("proto: ColPosMap: wiretype end group for non-group") 41176 } 41177 if fieldNum <= 0 { 41178 return fmt.Errorf("proto: ColPosMap: illegal tag %d (wire type %d)", fieldNum, wire) 41179 } 41180 switch fieldNum { 41181 case 1: 41182 if wireType != 2 { 41183 return fmt.Errorf("proto: wrong wireType = %d for field Map", wireType) 41184 } 41185 var msglen int 41186 for shift := uint(0); ; shift += 7 { 41187 if shift >= 64 { 41188 return ErrIntOverflowPlan 41189 } 41190 if iNdEx >= l { 41191 return io.ErrUnexpectedEOF 41192 } 41193 b := dAtA[iNdEx] 41194 iNdEx++ 41195 msglen |= int(b&0x7F) << shift 41196 if b < 0x80 { 41197 break 41198 } 41199 } 41200 if msglen < 0 { 41201 return ErrInvalidLengthPlan 41202 } 41203 postIndex := iNdEx + msglen 41204 if postIndex < 0 { 41205 return ErrInvalidLengthPlan 41206 } 41207 if postIndex > l { 41208 return io.ErrUnexpectedEOF 41209 } 41210 if m.Map == nil { 41211 m.Map = make(map[string]int32) 41212 } 41213 var mapkey string 41214 var mapvalue int32 41215 for iNdEx < postIndex { 41216 entryPreIndex := iNdEx 41217 var wire uint64 41218 for shift := uint(0); ; shift += 7 { 41219 if shift >= 64 { 41220 return ErrIntOverflowPlan 41221 } 41222 if iNdEx >= l { 41223 return io.ErrUnexpectedEOF 41224 } 41225 b := dAtA[iNdEx] 41226 iNdEx++ 41227 wire |= uint64(b&0x7F) << shift 41228 if b < 0x80 { 41229 break 41230 } 41231 } 41232 fieldNum := int32(wire >> 3) 41233 if fieldNum == 1 { 41234 var stringLenmapkey uint64 41235 for shift := uint(0); ; shift += 7 { 41236 if shift >= 64 { 41237 return ErrIntOverflowPlan 41238 } 41239 if iNdEx >= l { 41240 return io.ErrUnexpectedEOF 41241 } 41242 b := dAtA[iNdEx] 41243 iNdEx++ 41244 stringLenmapkey |= uint64(b&0x7F) << shift 41245 if b < 0x80 { 41246 break 41247 } 41248 } 41249 intStringLenmapkey := int(stringLenmapkey) 41250 if intStringLenmapkey < 0 { 41251 return ErrInvalidLengthPlan 41252 } 41253 postStringIndexmapkey := iNdEx + intStringLenmapkey 41254 if postStringIndexmapkey < 0 { 41255 return ErrInvalidLengthPlan 41256 } 41257 if postStringIndexmapkey > l { 41258 return io.ErrUnexpectedEOF 41259 } 41260 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 41261 iNdEx = postStringIndexmapkey 41262 } else if fieldNum == 2 { 41263 for shift := uint(0); ; shift += 7 { 41264 if shift >= 64 { 41265 return ErrIntOverflowPlan 41266 } 41267 if iNdEx >= l { 41268 return io.ErrUnexpectedEOF 41269 } 41270 b := dAtA[iNdEx] 41271 iNdEx++ 41272 mapvalue |= int32(b&0x7F) << shift 41273 if b < 0x80 { 41274 break 41275 } 41276 } 41277 } else { 41278 iNdEx = entryPreIndex 41279 skippy, err := skipPlan(dAtA[iNdEx:]) 41280 if err != nil { 41281 return err 41282 } 41283 if (skippy < 0) || (iNdEx+skippy) < 0 { 41284 return ErrInvalidLengthPlan 41285 } 41286 if (iNdEx + skippy) > postIndex { 41287 return io.ErrUnexpectedEOF 41288 } 41289 iNdEx += skippy 41290 } 41291 } 41292 m.Map[mapkey] = mapvalue 41293 iNdEx = postIndex 41294 default: 41295 iNdEx = preIndex 41296 skippy, err := skipPlan(dAtA[iNdEx:]) 41297 if err != nil { 41298 return err 41299 } 41300 if (skippy < 0) || (iNdEx+skippy) < 0 { 41301 return ErrInvalidLengthPlan 41302 } 41303 if (iNdEx + skippy) > l { 41304 return io.ErrUnexpectedEOF 41305 } 41306 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 41307 iNdEx += skippy 41308 } 41309 } 41310 41311 if iNdEx > l { 41312 return io.ErrUnexpectedEOF 41313 } 41314 return nil 41315 } 41316 func (m *DeleteCtx) Unmarshal(dAtA []byte) error { 41317 l := len(dAtA) 41318 iNdEx := 0 41319 for iNdEx < l { 41320 preIndex := iNdEx 41321 var wire uint64 41322 for shift := uint(0); ; shift += 7 { 41323 if shift >= 64 { 41324 return ErrIntOverflowPlan 41325 } 41326 if iNdEx >= l { 41327 return io.ErrUnexpectedEOF 41328 } 41329 b := dAtA[iNdEx] 41330 iNdEx++ 41331 wire |= uint64(b&0x7F) << shift 41332 if b < 0x80 { 41333 break 41334 } 41335 } 41336 fieldNum := int32(wire >> 3) 41337 wireType := int(wire & 0x7) 41338 if wireType == 4 { 41339 return fmt.Errorf("proto: DeleteCtx: wiretype end group for non-group") 41340 } 41341 if fieldNum <= 0 { 41342 return fmt.Errorf("proto: DeleteCtx: illegal tag %d (wire type %d)", fieldNum, wire) 41343 } 41344 switch fieldNum { 41345 case 1: 41346 if wireType != 0 { 41347 return fmt.Errorf("proto: wrong wireType = %d for field CanTruncate", wireType) 41348 } 41349 var v int 41350 for shift := uint(0); ; shift += 7 { 41351 if shift >= 64 { 41352 return ErrIntOverflowPlan 41353 } 41354 if iNdEx >= l { 41355 return io.ErrUnexpectedEOF 41356 } 41357 b := dAtA[iNdEx] 41358 iNdEx++ 41359 v |= int(b&0x7F) << shift 41360 if b < 0x80 { 41361 break 41362 } 41363 } 41364 m.CanTruncate = bool(v != 0) 41365 case 2: 41366 if wireType != 2 { 41367 return fmt.Errorf("proto: wrong wireType = %d for field Ref", wireType) 41368 } 41369 var msglen int 41370 for shift := uint(0); ; shift += 7 { 41371 if shift >= 64 { 41372 return ErrIntOverflowPlan 41373 } 41374 if iNdEx >= l { 41375 return io.ErrUnexpectedEOF 41376 } 41377 b := dAtA[iNdEx] 41378 iNdEx++ 41379 msglen |= int(b&0x7F) << shift 41380 if b < 0x80 { 41381 break 41382 } 41383 } 41384 if msglen < 0 { 41385 return ErrInvalidLengthPlan 41386 } 41387 postIndex := iNdEx + msglen 41388 if postIndex < 0 { 41389 return ErrInvalidLengthPlan 41390 } 41391 if postIndex > l { 41392 return io.ErrUnexpectedEOF 41393 } 41394 if m.Ref == nil { 41395 m.Ref = &ObjectRef{} 41396 } 41397 if err := m.Ref.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 41398 return err 41399 } 41400 iNdEx = postIndex 41401 case 3: 41402 if wireType != 0 { 41403 return fmt.Errorf("proto: wrong wireType = %d for field RowIdIdx", wireType) 41404 } 41405 m.RowIdIdx = 0 41406 for shift := uint(0); ; shift += 7 { 41407 if shift >= 64 { 41408 return ErrIntOverflowPlan 41409 } 41410 if iNdEx >= l { 41411 return io.ErrUnexpectedEOF 41412 } 41413 b := dAtA[iNdEx] 41414 iNdEx++ 41415 m.RowIdIdx |= int32(b&0x7F) << shift 41416 if b < 0x80 { 41417 break 41418 } 41419 } 41420 case 4: 41421 if wireType != 0 { 41422 return fmt.Errorf("proto: wrong wireType = %d for field AddAffectedRows", wireType) 41423 } 41424 var v int 41425 for shift := uint(0); ; shift += 7 { 41426 if shift >= 64 { 41427 return ErrIntOverflowPlan 41428 } 41429 if iNdEx >= l { 41430 return io.ErrUnexpectedEOF 41431 } 41432 b := dAtA[iNdEx] 41433 iNdEx++ 41434 v |= int(b&0x7F) << shift 41435 if b < 0x80 { 41436 break 41437 } 41438 } 41439 m.AddAffectedRows = bool(v != 0) 41440 case 5: 41441 if wireType != 0 { 41442 return fmt.Errorf("proto: wrong wireType = %d for field IsClusterTable", wireType) 41443 } 41444 var v int 41445 for shift := uint(0); ; shift += 7 { 41446 if shift >= 64 { 41447 return ErrIntOverflowPlan 41448 } 41449 if iNdEx >= l { 41450 return io.ErrUnexpectedEOF 41451 } 41452 b := dAtA[iNdEx] 41453 iNdEx++ 41454 v |= int(b&0x7F) << shift 41455 if b < 0x80 { 41456 break 41457 } 41458 } 41459 m.IsClusterTable = bool(v != 0) 41460 case 6: 41461 if wireType == 0 { 41462 var v uint64 41463 for shift := uint(0); ; shift += 7 { 41464 if shift >= 64 { 41465 return ErrIntOverflowPlan 41466 } 41467 if iNdEx >= l { 41468 return io.ErrUnexpectedEOF 41469 } 41470 b := dAtA[iNdEx] 41471 iNdEx++ 41472 v |= uint64(b&0x7F) << shift 41473 if b < 0x80 { 41474 break 41475 } 41476 } 41477 m.PartitionTableIds = append(m.PartitionTableIds, v) 41478 } else if wireType == 2 { 41479 var packedLen int 41480 for shift := uint(0); ; shift += 7 { 41481 if shift >= 64 { 41482 return ErrIntOverflowPlan 41483 } 41484 if iNdEx >= l { 41485 return io.ErrUnexpectedEOF 41486 } 41487 b := dAtA[iNdEx] 41488 iNdEx++ 41489 packedLen |= int(b&0x7F) << shift 41490 if b < 0x80 { 41491 break 41492 } 41493 } 41494 if packedLen < 0 { 41495 return ErrInvalidLengthPlan 41496 } 41497 postIndex := iNdEx + packedLen 41498 if postIndex < 0 { 41499 return ErrInvalidLengthPlan 41500 } 41501 if postIndex > l { 41502 return io.ErrUnexpectedEOF 41503 } 41504 var elementCount int 41505 var count int 41506 for _, integer := range dAtA[iNdEx:postIndex] { 41507 if integer < 128 { 41508 count++ 41509 } 41510 } 41511 elementCount = count 41512 if elementCount != 0 && len(m.PartitionTableIds) == 0 { 41513 m.PartitionTableIds = make([]uint64, 0, elementCount) 41514 } 41515 for iNdEx < postIndex { 41516 var v uint64 41517 for shift := uint(0); ; shift += 7 { 41518 if shift >= 64 { 41519 return ErrIntOverflowPlan 41520 } 41521 if iNdEx >= l { 41522 return io.ErrUnexpectedEOF 41523 } 41524 b := dAtA[iNdEx] 41525 iNdEx++ 41526 v |= uint64(b&0x7F) << shift 41527 if b < 0x80 { 41528 break 41529 } 41530 } 41531 m.PartitionTableIds = append(m.PartitionTableIds, v) 41532 } 41533 } else { 41534 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTableIds", wireType) 41535 } 41536 case 7: 41537 if wireType != 2 { 41538 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTableNames", wireType) 41539 } 41540 var stringLen uint64 41541 for shift := uint(0); ; shift += 7 { 41542 if shift >= 64 { 41543 return ErrIntOverflowPlan 41544 } 41545 if iNdEx >= l { 41546 return io.ErrUnexpectedEOF 41547 } 41548 b := dAtA[iNdEx] 41549 iNdEx++ 41550 stringLen |= uint64(b&0x7F) << shift 41551 if b < 0x80 { 41552 break 41553 } 41554 } 41555 intStringLen := int(stringLen) 41556 if intStringLen < 0 { 41557 return ErrInvalidLengthPlan 41558 } 41559 postIndex := iNdEx + intStringLen 41560 if postIndex < 0 { 41561 return ErrInvalidLengthPlan 41562 } 41563 if postIndex > l { 41564 return io.ErrUnexpectedEOF 41565 } 41566 m.PartitionTableNames = append(m.PartitionTableNames, string(dAtA[iNdEx:postIndex])) 41567 iNdEx = postIndex 41568 case 8: 41569 if wireType != 0 { 41570 return fmt.Errorf("proto: wrong wireType = %d for field PartitionIdx", wireType) 41571 } 41572 m.PartitionIdx = 0 41573 for shift := uint(0); ; shift += 7 { 41574 if shift >= 64 { 41575 return ErrIntOverflowPlan 41576 } 41577 if iNdEx >= l { 41578 return io.ErrUnexpectedEOF 41579 } 41580 b := dAtA[iNdEx] 41581 iNdEx++ 41582 m.PartitionIdx |= int32(b&0x7F) << shift 41583 if b < 0x80 { 41584 break 41585 } 41586 } 41587 case 9: 41588 if wireType != 0 { 41589 return fmt.Errorf("proto: wrong wireType = %d for field PrimaryKeyIdx", wireType) 41590 } 41591 m.PrimaryKeyIdx = 0 41592 for shift := uint(0); ; shift += 7 { 41593 if shift >= 64 { 41594 return ErrIntOverflowPlan 41595 } 41596 if iNdEx >= l { 41597 return io.ErrUnexpectedEOF 41598 } 41599 b := dAtA[iNdEx] 41600 iNdEx++ 41601 m.PrimaryKeyIdx |= int32(b&0x7F) << shift 41602 if b < 0x80 { 41603 break 41604 } 41605 } 41606 case 10: 41607 if wireType != 2 { 41608 return fmt.Errorf("proto: wrong wireType = %d for field TruncateTable", wireType) 41609 } 41610 var msglen int 41611 for shift := uint(0); ; shift += 7 { 41612 if shift >= 64 { 41613 return ErrIntOverflowPlan 41614 } 41615 if iNdEx >= l { 41616 return io.ErrUnexpectedEOF 41617 } 41618 b := dAtA[iNdEx] 41619 iNdEx++ 41620 msglen |= int(b&0x7F) << shift 41621 if b < 0x80 { 41622 break 41623 } 41624 } 41625 if msglen < 0 { 41626 return ErrInvalidLengthPlan 41627 } 41628 postIndex := iNdEx + msglen 41629 if postIndex < 0 { 41630 return ErrInvalidLengthPlan 41631 } 41632 if postIndex > l { 41633 return io.ErrUnexpectedEOF 41634 } 41635 if m.TruncateTable == nil { 41636 m.TruncateTable = &TruncateTable{} 41637 } 41638 if err := m.TruncateTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 41639 return err 41640 } 41641 iNdEx = postIndex 41642 case 11: 41643 if wireType != 2 { 41644 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 41645 } 41646 var msglen int 41647 for shift := uint(0); ; shift += 7 { 41648 if shift >= 64 { 41649 return ErrIntOverflowPlan 41650 } 41651 if iNdEx >= l { 41652 return io.ErrUnexpectedEOF 41653 } 41654 b := dAtA[iNdEx] 41655 iNdEx++ 41656 msglen |= int(b&0x7F) << shift 41657 if b < 0x80 { 41658 break 41659 } 41660 } 41661 if msglen < 0 { 41662 return ErrInvalidLengthPlan 41663 } 41664 postIndex := iNdEx + msglen 41665 if postIndex < 0 { 41666 return ErrInvalidLengthPlan 41667 } 41668 if postIndex > l { 41669 return io.ErrUnexpectedEOF 41670 } 41671 if m.TableDef == nil { 41672 m.TableDef = &TableDef{} 41673 } 41674 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 41675 return err 41676 } 41677 iNdEx = postIndex 41678 default: 41679 iNdEx = preIndex 41680 skippy, err := skipPlan(dAtA[iNdEx:]) 41681 if err != nil { 41682 return err 41683 } 41684 if (skippy < 0) || (iNdEx+skippy) < 0 { 41685 return ErrInvalidLengthPlan 41686 } 41687 if (iNdEx + skippy) > l { 41688 return io.ErrUnexpectedEOF 41689 } 41690 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 41691 iNdEx += skippy 41692 } 41693 } 41694 41695 if iNdEx > l { 41696 return io.ErrUnexpectedEOF 41697 } 41698 return nil 41699 } 41700 func (m *Query) Unmarshal(dAtA []byte) error { 41701 l := len(dAtA) 41702 iNdEx := 0 41703 for iNdEx < l { 41704 preIndex := iNdEx 41705 var wire uint64 41706 for shift := uint(0); ; shift += 7 { 41707 if shift >= 64 { 41708 return ErrIntOverflowPlan 41709 } 41710 if iNdEx >= l { 41711 return io.ErrUnexpectedEOF 41712 } 41713 b := dAtA[iNdEx] 41714 iNdEx++ 41715 wire |= uint64(b&0x7F) << shift 41716 if b < 0x80 { 41717 break 41718 } 41719 } 41720 fieldNum := int32(wire >> 3) 41721 wireType := int(wire & 0x7) 41722 if wireType == 4 { 41723 return fmt.Errorf("proto: Query: wiretype end group for non-group") 41724 } 41725 if fieldNum <= 0 { 41726 return fmt.Errorf("proto: Query: illegal tag %d (wire type %d)", fieldNum, wire) 41727 } 41728 switch fieldNum { 41729 case 1: 41730 if wireType != 0 { 41731 return fmt.Errorf("proto: wrong wireType = %d for field StmtType", wireType) 41732 } 41733 m.StmtType = 0 41734 for shift := uint(0); ; shift += 7 { 41735 if shift >= 64 { 41736 return ErrIntOverflowPlan 41737 } 41738 if iNdEx >= l { 41739 return io.ErrUnexpectedEOF 41740 } 41741 b := dAtA[iNdEx] 41742 iNdEx++ 41743 m.StmtType |= Query_StatementType(b&0x7F) << shift 41744 if b < 0x80 { 41745 break 41746 } 41747 } 41748 case 2: 41749 if wireType == 0 { 41750 var v int32 41751 for shift := uint(0); ; shift += 7 { 41752 if shift >= 64 { 41753 return ErrIntOverflowPlan 41754 } 41755 if iNdEx >= l { 41756 return io.ErrUnexpectedEOF 41757 } 41758 b := dAtA[iNdEx] 41759 iNdEx++ 41760 v |= int32(b&0x7F) << shift 41761 if b < 0x80 { 41762 break 41763 } 41764 } 41765 m.Steps = append(m.Steps, v) 41766 } else if wireType == 2 { 41767 var packedLen int 41768 for shift := uint(0); ; shift += 7 { 41769 if shift >= 64 { 41770 return ErrIntOverflowPlan 41771 } 41772 if iNdEx >= l { 41773 return io.ErrUnexpectedEOF 41774 } 41775 b := dAtA[iNdEx] 41776 iNdEx++ 41777 packedLen |= int(b&0x7F) << shift 41778 if b < 0x80 { 41779 break 41780 } 41781 } 41782 if packedLen < 0 { 41783 return ErrInvalidLengthPlan 41784 } 41785 postIndex := iNdEx + packedLen 41786 if postIndex < 0 { 41787 return ErrInvalidLengthPlan 41788 } 41789 if postIndex > l { 41790 return io.ErrUnexpectedEOF 41791 } 41792 var elementCount int 41793 var count int 41794 for _, integer := range dAtA[iNdEx:postIndex] { 41795 if integer < 128 { 41796 count++ 41797 } 41798 } 41799 elementCount = count 41800 if elementCount != 0 && len(m.Steps) == 0 { 41801 m.Steps = make([]int32, 0, elementCount) 41802 } 41803 for iNdEx < postIndex { 41804 var v int32 41805 for shift := uint(0); ; shift += 7 { 41806 if shift >= 64 { 41807 return ErrIntOverflowPlan 41808 } 41809 if iNdEx >= l { 41810 return io.ErrUnexpectedEOF 41811 } 41812 b := dAtA[iNdEx] 41813 iNdEx++ 41814 v |= int32(b&0x7F) << shift 41815 if b < 0x80 { 41816 break 41817 } 41818 } 41819 m.Steps = append(m.Steps, v) 41820 } 41821 } else { 41822 return fmt.Errorf("proto: wrong wireType = %d for field Steps", wireType) 41823 } 41824 case 3: 41825 if wireType != 2 { 41826 return fmt.Errorf("proto: wrong wireType = %d for field Nodes", wireType) 41827 } 41828 var msglen int 41829 for shift := uint(0); ; shift += 7 { 41830 if shift >= 64 { 41831 return ErrIntOverflowPlan 41832 } 41833 if iNdEx >= l { 41834 return io.ErrUnexpectedEOF 41835 } 41836 b := dAtA[iNdEx] 41837 iNdEx++ 41838 msglen |= int(b&0x7F) << shift 41839 if b < 0x80 { 41840 break 41841 } 41842 } 41843 if msglen < 0 { 41844 return ErrInvalidLengthPlan 41845 } 41846 postIndex := iNdEx + msglen 41847 if postIndex < 0 { 41848 return ErrInvalidLengthPlan 41849 } 41850 if postIndex > l { 41851 return io.ErrUnexpectedEOF 41852 } 41853 m.Nodes = append(m.Nodes, &Node{}) 41854 if err := m.Nodes[len(m.Nodes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 41855 return err 41856 } 41857 iNdEx = postIndex 41858 case 4: 41859 if wireType != 2 { 41860 return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) 41861 } 41862 var msglen int 41863 for shift := uint(0); ; shift += 7 { 41864 if shift >= 64 { 41865 return ErrIntOverflowPlan 41866 } 41867 if iNdEx >= l { 41868 return io.ErrUnexpectedEOF 41869 } 41870 b := dAtA[iNdEx] 41871 iNdEx++ 41872 msglen |= int(b&0x7F) << shift 41873 if b < 0x80 { 41874 break 41875 } 41876 } 41877 if msglen < 0 { 41878 return ErrInvalidLengthPlan 41879 } 41880 postIndex := iNdEx + msglen 41881 if postIndex < 0 { 41882 return ErrInvalidLengthPlan 41883 } 41884 if postIndex > l { 41885 return io.ErrUnexpectedEOF 41886 } 41887 m.Params = append(m.Params, &Expr{}) 41888 if err := m.Params[len(m.Params)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 41889 return err 41890 } 41891 iNdEx = postIndex 41892 case 5: 41893 if wireType != 2 { 41894 return fmt.Errorf("proto: wrong wireType = %d for field Headings", wireType) 41895 } 41896 var stringLen uint64 41897 for shift := uint(0); ; shift += 7 { 41898 if shift >= 64 { 41899 return ErrIntOverflowPlan 41900 } 41901 if iNdEx >= l { 41902 return io.ErrUnexpectedEOF 41903 } 41904 b := dAtA[iNdEx] 41905 iNdEx++ 41906 stringLen |= uint64(b&0x7F) << shift 41907 if b < 0x80 { 41908 break 41909 } 41910 } 41911 intStringLen := int(stringLen) 41912 if intStringLen < 0 { 41913 return ErrInvalidLengthPlan 41914 } 41915 postIndex := iNdEx + intStringLen 41916 if postIndex < 0 { 41917 return ErrInvalidLengthPlan 41918 } 41919 if postIndex > l { 41920 return io.ErrUnexpectedEOF 41921 } 41922 m.Headings = append(m.Headings, string(dAtA[iNdEx:postIndex])) 41923 iNdEx = postIndex 41924 case 6: 41925 if wireType != 0 { 41926 return fmt.Errorf("proto: wrong wireType = %d for field LoadTag", wireType) 41927 } 41928 var v int 41929 for shift := uint(0); ; shift += 7 { 41930 if shift >= 64 { 41931 return ErrIntOverflowPlan 41932 } 41933 if iNdEx >= l { 41934 return io.ErrUnexpectedEOF 41935 } 41936 b := dAtA[iNdEx] 41937 iNdEx++ 41938 v |= int(b&0x7F) << shift 41939 if b < 0x80 { 41940 break 41941 } 41942 } 41943 m.LoadTag = bool(v != 0) 41944 case 7: 41945 if wireType != 2 { 41946 return fmt.Errorf("proto: wrong wireType = %d for field DetectSqls", wireType) 41947 } 41948 var stringLen uint64 41949 for shift := uint(0); ; shift += 7 { 41950 if shift >= 64 { 41951 return ErrIntOverflowPlan 41952 } 41953 if iNdEx >= l { 41954 return io.ErrUnexpectedEOF 41955 } 41956 b := dAtA[iNdEx] 41957 iNdEx++ 41958 stringLen |= uint64(b&0x7F) << shift 41959 if b < 0x80 { 41960 break 41961 } 41962 } 41963 intStringLen := int(stringLen) 41964 if intStringLen < 0 { 41965 return ErrInvalidLengthPlan 41966 } 41967 postIndex := iNdEx + intStringLen 41968 if postIndex < 0 { 41969 return ErrInvalidLengthPlan 41970 } 41971 if postIndex > l { 41972 return io.ErrUnexpectedEOF 41973 } 41974 m.DetectSqls = append(m.DetectSqls, string(dAtA[iNdEx:postIndex])) 41975 iNdEx = postIndex 41976 default: 41977 iNdEx = preIndex 41978 skippy, err := skipPlan(dAtA[iNdEx:]) 41979 if err != nil { 41980 return err 41981 } 41982 if (skippy < 0) || (iNdEx+skippy) < 0 { 41983 return ErrInvalidLengthPlan 41984 } 41985 if (iNdEx + skippy) > l { 41986 return io.ErrUnexpectedEOF 41987 } 41988 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 41989 iNdEx += skippy 41990 } 41991 } 41992 41993 if iNdEx > l { 41994 return io.ErrUnexpectedEOF 41995 } 41996 return nil 41997 } 41998 func (m *TransationControl) Unmarshal(dAtA []byte) error { 41999 l := len(dAtA) 42000 iNdEx := 0 42001 for iNdEx < l { 42002 preIndex := iNdEx 42003 var wire uint64 42004 for shift := uint(0); ; shift += 7 { 42005 if shift >= 64 { 42006 return ErrIntOverflowPlan 42007 } 42008 if iNdEx >= l { 42009 return io.ErrUnexpectedEOF 42010 } 42011 b := dAtA[iNdEx] 42012 iNdEx++ 42013 wire |= uint64(b&0x7F) << shift 42014 if b < 0x80 { 42015 break 42016 } 42017 } 42018 fieldNum := int32(wire >> 3) 42019 wireType := int(wire & 0x7) 42020 if wireType == 4 { 42021 return fmt.Errorf("proto: TransationControl: wiretype end group for non-group") 42022 } 42023 if fieldNum <= 0 { 42024 return fmt.Errorf("proto: TransationControl: illegal tag %d (wire type %d)", fieldNum, wire) 42025 } 42026 switch fieldNum { 42027 case 1: 42028 if wireType != 0 { 42029 return fmt.Errorf("proto: wrong wireType = %d for field TclType", wireType) 42030 } 42031 m.TclType = 0 42032 for shift := uint(0); ; shift += 7 { 42033 if shift >= 64 { 42034 return ErrIntOverflowPlan 42035 } 42036 if iNdEx >= l { 42037 return io.ErrUnexpectedEOF 42038 } 42039 b := dAtA[iNdEx] 42040 iNdEx++ 42041 m.TclType |= TransationControl_TclType(b&0x7F) << shift 42042 if b < 0x80 { 42043 break 42044 } 42045 } 42046 case 2: 42047 if wireType != 2 { 42048 return fmt.Errorf("proto: wrong wireType = %d for field Begin", wireType) 42049 } 42050 var msglen int 42051 for shift := uint(0); ; shift += 7 { 42052 if shift >= 64 { 42053 return ErrIntOverflowPlan 42054 } 42055 if iNdEx >= l { 42056 return io.ErrUnexpectedEOF 42057 } 42058 b := dAtA[iNdEx] 42059 iNdEx++ 42060 msglen |= int(b&0x7F) << shift 42061 if b < 0x80 { 42062 break 42063 } 42064 } 42065 if msglen < 0 { 42066 return ErrInvalidLengthPlan 42067 } 42068 postIndex := iNdEx + msglen 42069 if postIndex < 0 { 42070 return ErrInvalidLengthPlan 42071 } 42072 if postIndex > l { 42073 return io.ErrUnexpectedEOF 42074 } 42075 v := &TransationBegin{} 42076 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42077 return err 42078 } 42079 m.Action = &TransationControl_Begin{v} 42080 iNdEx = postIndex 42081 case 3: 42082 if wireType != 2 { 42083 return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType) 42084 } 42085 var msglen int 42086 for shift := uint(0); ; shift += 7 { 42087 if shift >= 64 { 42088 return ErrIntOverflowPlan 42089 } 42090 if iNdEx >= l { 42091 return io.ErrUnexpectedEOF 42092 } 42093 b := dAtA[iNdEx] 42094 iNdEx++ 42095 msglen |= int(b&0x7F) << shift 42096 if b < 0x80 { 42097 break 42098 } 42099 } 42100 if msglen < 0 { 42101 return ErrInvalidLengthPlan 42102 } 42103 postIndex := iNdEx + msglen 42104 if postIndex < 0 { 42105 return ErrInvalidLengthPlan 42106 } 42107 if postIndex > l { 42108 return io.ErrUnexpectedEOF 42109 } 42110 v := &TransationCommit{} 42111 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42112 return err 42113 } 42114 m.Action = &TransationControl_Commit{v} 42115 iNdEx = postIndex 42116 case 4: 42117 if wireType != 2 { 42118 return fmt.Errorf("proto: wrong wireType = %d for field Rollback", wireType) 42119 } 42120 var msglen int 42121 for shift := uint(0); ; shift += 7 { 42122 if shift >= 64 { 42123 return ErrIntOverflowPlan 42124 } 42125 if iNdEx >= l { 42126 return io.ErrUnexpectedEOF 42127 } 42128 b := dAtA[iNdEx] 42129 iNdEx++ 42130 msglen |= int(b&0x7F) << shift 42131 if b < 0x80 { 42132 break 42133 } 42134 } 42135 if msglen < 0 { 42136 return ErrInvalidLengthPlan 42137 } 42138 postIndex := iNdEx + msglen 42139 if postIndex < 0 { 42140 return ErrInvalidLengthPlan 42141 } 42142 if postIndex > l { 42143 return io.ErrUnexpectedEOF 42144 } 42145 v := &TransationRollback{} 42146 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42147 return err 42148 } 42149 m.Action = &TransationControl_Rollback{v} 42150 iNdEx = postIndex 42151 default: 42152 iNdEx = preIndex 42153 skippy, err := skipPlan(dAtA[iNdEx:]) 42154 if err != nil { 42155 return err 42156 } 42157 if (skippy < 0) || (iNdEx+skippy) < 0 { 42158 return ErrInvalidLengthPlan 42159 } 42160 if (iNdEx + skippy) > l { 42161 return io.ErrUnexpectedEOF 42162 } 42163 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 42164 iNdEx += skippy 42165 } 42166 } 42167 42168 if iNdEx > l { 42169 return io.ErrUnexpectedEOF 42170 } 42171 return nil 42172 } 42173 func (m *TransationBegin) Unmarshal(dAtA []byte) error { 42174 l := len(dAtA) 42175 iNdEx := 0 42176 for iNdEx < l { 42177 preIndex := iNdEx 42178 var wire uint64 42179 for shift := uint(0); ; shift += 7 { 42180 if shift >= 64 { 42181 return ErrIntOverflowPlan 42182 } 42183 if iNdEx >= l { 42184 return io.ErrUnexpectedEOF 42185 } 42186 b := dAtA[iNdEx] 42187 iNdEx++ 42188 wire |= uint64(b&0x7F) << shift 42189 if b < 0x80 { 42190 break 42191 } 42192 } 42193 fieldNum := int32(wire >> 3) 42194 wireType := int(wire & 0x7) 42195 if wireType == 4 { 42196 return fmt.Errorf("proto: TransationBegin: wiretype end group for non-group") 42197 } 42198 if fieldNum <= 0 { 42199 return fmt.Errorf("proto: TransationBegin: illegal tag %d (wire type %d)", fieldNum, wire) 42200 } 42201 switch fieldNum { 42202 case 1: 42203 if wireType != 0 { 42204 return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) 42205 } 42206 m.Mode = 0 42207 for shift := uint(0); ; shift += 7 { 42208 if shift >= 64 { 42209 return ErrIntOverflowPlan 42210 } 42211 if iNdEx >= l { 42212 return io.ErrUnexpectedEOF 42213 } 42214 b := dAtA[iNdEx] 42215 iNdEx++ 42216 m.Mode |= TransationBegin_TransationMode(b&0x7F) << shift 42217 if b < 0x80 { 42218 break 42219 } 42220 } 42221 default: 42222 iNdEx = preIndex 42223 skippy, err := skipPlan(dAtA[iNdEx:]) 42224 if err != nil { 42225 return err 42226 } 42227 if (skippy < 0) || (iNdEx+skippy) < 0 { 42228 return ErrInvalidLengthPlan 42229 } 42230 if (iNdEx + skippy) > l { 42231 return io.ErrUnexpectedEOF 42232 } 42233 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 42234 iNdEx += skippy 42235 } 42236 } 42237 42238 if iNdEx > l { 42239 return io.ErrUnexpectedEOF 42240 } 42241 return nil 42242 } 42243 func (m *TransationCommit) Unmarshal(dAtA []byte) error { 42244 l := len(dAtA) 42245 iNdEx := 0 42246 for iNdEx < l { 42247 preIndex := iNdEx 42248 var wire uint64 42249 for shift := uint(0); ; shift += 7 { 42250 if shift >= 64 { 42251 return ErrIntOverflowPlan 42252 } 42253 if iNdEx >= l { 42254 return io.ErrUnexpectedEOF 42255 } 42256 b := dAtA[iNdEx] 42257 iNdEx++ 42258 wire |= uint64(b&0x7F) << shift 42259 if b < 0x80 { 42260 break 42261 } 42262 } 42263 fieldNum := int32(wire >> 3) 42264 wireType := int(wire & 0x7) 42265 if wireType == 4 { 42266 return fmt.Errorf("proto: TransationCommit: wiretype end group for non-group") 42267 } 42268 if fieldNum <= 0 { 42269 return fmt.Errorf("proto: TransationCommit: illegal tag %d (wire type %d)", fieldNum, wire) 42270 } 42271 switch fieldNum { 42272 case 1: 42273 if wireType != 0 { 42274 return fmt.Errorf("proto: wrong wireType = %d for field CompletionType", wireType) 42275 } 42276 m.CompletionType = 0 42277 for shift := uint(0); ; shift += 7 { 42278 if shift >= 64 { 42279 return ErrIntOverflowPlan 42280 } 42281 if iNdEx >= l { 42282 return io.ErrUnexpectedEOF 42283 } 42284 b := dAtA[iNdEx] 42285 iNdEx++ 42286 m.CompletionType |= TransationCompletionType(b&0x7F) << shift 42287 if b < 0x80 { 42288 break 42289 } 42290 } 42291 default: 42292 iNdEx = preIndex 42293 skippy, err := skipPlan(dAtA[iNdEx:]) 42294 if err != nil { 42295 return err 42296 } 42297 if (skippy < 0) || (iNdEx+skippy) < 0 { 42298 return ErrInvalidLengthPlan 42299 } 42300 if (iNdEx + skippy) > l { 42301 return io.ErrUnexpectedEOF 42302 } 42303 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 42304 iNdEx += skippy 42305 } 42306 } 42307 42308 if iNdEx > l { 42309 return io.ErrUnexpectedEOF 42310 } 42311 return nil 42312 } 42313 func (m *TransationRollback) Unmarshal(dAtA []byte) error { 42314 l := len(dAtA) 42315 iNdEx := 0 42316 for iNdEx < l { 42317 preIndex := iNdEx 42318 var wire uint64 42319 for shift := uint(0); ; shift += 7 { 42320 if shift >= 64 { 42321 return ErrIntOverflowPlan 42322 } 42323 if iNdEx >= l { 42324 return io.ErrUnexpectedEOF 42325 } 42326 b := dAtA[iNdEx] 42327 iNdEx++ 42328 wire |= uint64(b&0x7F) << shift 42329 if b < 0x80 { 42330 break 42331 } 42332 } 42333 fieldNum := int32(wire >> 3) 42334 wireType := int(wire & 0x7) 42335 if wireType == 4 { 42336 return fmt.Errorf("proto: TransationRollback: wiretype end group for non-group") 42337 } 42338 if fieldNum <= 0 { 42339 return fmt.Errorf("proto: TransationRollback: illegal tag %d (wire type %d)", fieldNum, wire) 42340 } 42341 switch fieldNum { 42342 case 1: 42343 if wireType != 0 { 42344 return fmt.Errorf("proto: wrong wireType = %d for field CompletionType", wireType) 42345 } 42346 m.CompletionType = 0 42347 for shift := uint(0); ; shift += 7 { 42348 if shift >= 64 { 42349 return ErrIntOverflowPlan 42350 } 42351 if iNdEx >= l { 42352 return io.ErrUnexpectedEOF 42353 } 42354 b := dAtA[iNdEx] 42355 iNdEx++ 42356 m.CompletionType |= TransationCompletionType(b&0x7F) << shift 42357 if b < 0x80 { 42358 break 42359 } 42360 } 42361 default: 42362 iNdEx = preIndex 42363 skippy, err := skipPlan(dAtA[iNdEx:]) 42364 if err != nil { 42365 return err 42366 } 42367 if (skippy < 0) || (iNdEx+skippy) < 0 { 42368 return ErrInvalidLengthPlan 42369 } 42370 if (iNdEx + skippy) > l { 42371 return io.ErrUnexpectedEOF 42372 } 42373 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 42374 iNdEx += skippy 42375 } 42376 } 42377 42378 if iNdEx > l { 42379 return io.ErrUnexpectedEOF 42380 } 42381 return nil 42382 } 42383 func (m *Plan) Unmarshal(dAtA []byte) error { 42384 l := len(dAtA) 42385 iNdEx := 0 42386 for iNdEx < l { 42387 preIndex := iNdEx 42388 var wire uint64 42389 for shift := uint(0); ; shift += 7 { 42390 if shift >= 64 { 42391 return ErrIntOverflowPlan 42392 } 42393 if iNdEx >= l { 42394 return io.ErrUnexpectedEOF 42395 } 42396 b := dAtA[iNdEx] 42397 iNdEx++ 42398 wire |= uint64(b&0x7F) << shift 42399 if b < 0x80 { 42400 break 42401 } 42402 } 42403 fieldNum := int32(wire >> 3) 42404 wireType := int(wire & 0x7) 42405 if wireType == 4 { 42406 return fmt.Errorf("proto: Plan: wiretype end group for non-group") 42407 } 42408 if fieldNum <= 0 { 42409 return fmt.Errorf("proto: Plan: illegal tag %d (wire type %d)", fieldNum, wire) 42410 } 42411 switch fieldNum { 42412 case 1: 42413 if wireType != 2 { 42414 return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) 42415 } 42416 var msglen int 42417 for shift := uint(0); ; shift += 7 { 42418 if shift >= 64 { 42419 return ErrIntOverflowPlan 42420 } 42421 if iNdEx >= l { 42422 return io.ErrUnexpectedEOF 42423 } 42424 b := dAtA[iNdEx] 42425 iNdEx++ 42426 msglen |= int(b&0x7F) << shift 42427 if b < 0x80 { 42428 break 42429 } 42430 } 42431 if msglen < 0 { 42432 return ErrInvalidLengthPlan 42433 } 42434 postIndex := iNdEx + msglen 42435 if postIndex < 0 { 42436 return ErrInvalidLengthPlan 42437 } 42438 if postIndex > l { 42439 return io.ErrUnexpectedEOF 42440 } 42441 v := &Query{} 42442 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42443 return err 42444 } 42445 m.Plan = &Plan_Query{v} 42446 iNdEx = postIndex 42447 case 2: 42448 if wireType != 2 { 42449 return fmt.Errorf("proto: wrong wireType = %d for field Tcl", wireType) 42450 } 42451 var msglen int 42452 for shift := uint(0); ; shift += 7 { 42453 if shift >= 64 { 42454 return ErrIntOverflowPlan 42455 } 42456 if iNdEx >= l { 42457 return io.ErrUnexpectedEOF 42458 } 42459 b := dAtA[iNdEx] 42460 iNdEx++ 42461 msglen |= int(b&0x7F) << shift 42462 if b < 0x80 { 42463 break 42464 } 42465 } 42466 if msglen < 0 { 42467 return ErrInvalidLengthPlan 42468 } 42469 postIndex := iNdEx + msglen 42470 if postIndex < 0 { 42471 return ErrInvalidLengthPlan 42472 } 42473 if postIndex > l { 42474 return io.ErrUnexpectedEOF 42475 } 42476 v := &TransationControl{} 42477 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42478 return err 42479 } 42480 m.Plan = &Plan_Tcl{v} 42481 iNdEx = postIndex 42482 case 3: 42483 if wireType != 2 { 42484 return fmt.Errorf("proto: wrong wireType = %d for field Ddl", wireType) 42485 } 42486 var msglen int 42487 for shift := uint(0); ; shift += 7 { 42488 if shift >= 64 { 42489 return ErrIntOverflowPlan 42490 } 42491 if iNdEx >= l { 42492 return io.ErrUnexpectedEOF 42493 } 42494 b := dAtA[iNdEx] 42495 iNdEx++ 42496 msglen |= int(b&0x7F) << shift 42497 if b < 0x80 { 42498 break 42499 } 42500 } 42501 if msglen < 0 { 42502 return ErrInvalidLengthPlan 42503 } 42504 postIndex := iNdEx + msglen 42505 if postIndex < 0 { 42506 return ErrInvalidLengthPlan 42507 } 42508 if postIndex > l { 42509 return io.ErrUnexpectedEOF 42510 } 42511 v := &DataDefinition{} 42512 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42513 return err 42514 } 42515 m.Plan = &Plan_Ddl{v} 42516 iNdEx = postIndex 42517 case 4: 42518 if wireType != 2 { 42519 return fmt.Errorf("proto: wrong wireType = %d for field Dcl", wireType) 42520 } 42521 var msglen int 42522 for shift := uint(0); ; shift += 7 { 42523 if shift >= 64 { 42524 return ErrIntOverflowPlan 42525 } 42526 if iNdEx >= l { 42527 return io.ErrUnexpectedEOF 42528 } 42529 b := dAtA[iNdEx] 42530 iNdEx++ 42531 msglen |= int(b&0x7F) << shift 42532 if b < 0x80 { 42533 break 42534 } 42535 } 42536 if msglen < 0 { 42537 return ErrInvalidLengthPlan 42538 } 42539 postIndex := iNdEx + msglen 42540 if postIndex < 0 { 42541 return ErrInvalidLengthPlan 42542 } 42543 if postIndex > l { 42544 return io.ErrUnexpectedEOF 42545 } 42546 v := &DataControl{} 42547 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42548 return err 42549 } 42550 m.Plan = &Plan_Dcl{v} 42551 iNdEx = postIndex 42552 case 5: 42553 if wireType != 0 { 42554 return fmt.Errorf("proto: wrong wireType = %d for field TryRunTimes", wireType) 42555 } 42556 m.TryRunTimes = 0 42557 for shift := uint(0); ; shift += 7 { 42558 if shift >= 64 { 42559 return ErrIntOverflowPlan 42560 } 42561 if iNdEx >= l { 42562 return io.ErrUnexpectedEOF 42563 } 42564 b := dAtA[iNdEx] 42565 iNdEx++ 42566 m.TryRunTimes |= int32(b&0x7F) << shift 42567 if b < 0x80 { 42568 break 42569 } 42570 } 42571 case 6: 42572 if wireType != 0 { 42573 return fmt.Errorf("proto: wrong wireType = %d for field IsPrepare", wireType) 42574 } 42575 var v int 42576 for shift := uint(0); ; shift += 7 { 42577 if shift >= 64 { 42578 return ErrIntOverflowPlan 42579 } 42580 if iNdEx >= l { 42581 return io.ErrUnexpectedEOF 42582 } 42583 b := dAtA[iNdEx] 42584 iNdEx++ 42585 v |= int(b&0x7F) << shift 42586 if b < 0x80 { 42587 break 42588 } 42589 } 42590 m.IsPrepare = bool(v != 0) 42591 default: 42592 iNdEx = preIndex 42593 skippy, err := skipPlan(dAtA[iNdEx:]) 42594 if err != nil { 42595 return err 42596 } 42597 if (skippy < 0) || (iNdEx+skippy) < 0 { 42598 return ErrInvalidLengthPlan 42599 } 42600 if (iNdEx + skippy) > l { 42601 return io.ErrUnexpectedEOF 42602 } 42603 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 42604 iNdEx += skippy 42605 } 42606 } 42607 42608 if iNdEx > l { 42609 return io.ErrUnexpectedEOF 42610 } 42611 return nil 42612 } 42613 func (m *Column) Unmarshal(dAtA []byte) error { 42614 l := len(dAtA) 42615 iNdEx := 0 42616 for iNdEx < l { 42617 preIndex := iNdEx 42618 var wire uint64 42619 for shift := uint(0); ; shift += 7 { 42620 if shift >= 64 { 42621 return ErrIntOverflowPlan 42622 } 42623 if iNdEx >= l { 42624 return io.ErrUnexpectedEOF 42625 } 42626 b := dAtA[iNdEx] 42627 iNdEx++ 42628 wire |= uint64(b&0x7F) << shift 42629 if b < 0x80 { 42630 break 42631 } 42632 } 42633 fieldNum := int32(wire >> 3) 42634 wireType := int(wire & 0x7) 42635 if wireType == 4 { 42636 return fmt.Errorf("proto: column: wiretype end group for non-group") 42637 } 42638 if fieldNum <= 0 { 42639 return fmt.Errorf("proto: column: illegal tag %d (wire type %d)", fieldNum, wire) 42640 } 42641 switch fieldNum { 42642 case 1: 42643 if wireType != 2 { 42644 return fmt.Errorf("proto: wrong wireType = %d for field Column", wireType) 42645 } 42646 var msglen int 42647 for shift := uint(0); ; shift += 7 { 42648 if shift >= 64 { 42649 return ErrIntOverflowPlan 42650 } 42651 if iNdEx >= l { 42652 return io.ErrUnexpectedEOF 42653 } 42654 b := dAtA[iNdEx] 42655 iNdEx++ 42656 msglen |= int(b&0x7F) << shift 42657 if b < 0x80 { 42658 break 42659 } 42660 } 42661 if msglen < 0 { 42662 return ErrInvalidLengthPlan 42663 } 42664 postIndex := iNdEx + msglen 42665 if postIndex < 0 { 42666 return ErrInvalidLengthPlan 42667 } 42668 if postIndex > l { 42669 return io.ErrUnexpectedEOF 42670 } 42671 m.Column = append(m.Column, &Expr{}) 42672 if err := m.Column[len(m.Column)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42673 return err 42674 } 42675 iNdEx = postIndex 42676 default: 42677 iNdEx = preIndex 42678 skippy, err := skipPlan(dAtA[iNdEx:]) 42679 if err != nil { 42680 return err 42681 } 42682 if (skippy < 0) || (iNdEx+skippy) < 0 { 42683 return ErrInvalidLengthPlan 42684 } 42685 if (iNdEx + skippy) > l { 42686 return io.ErrUnexpectedEOF 42687 } 42688 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 42689 iNdEx += skippy 42690 } 42691 } 42692 42693 if iNdEx > l { 42694 return io.ErrUnexpectedEOF 42695 } 42696 return nil 42697 } 42698 func (m *DataControl) Unmarshal(dAtA []byte) error { 42699 l := len(dAtA) 42700 iNdEx := 0 42701 for iNdEx < l { 42702 preIndex := iNdEx 42703 var wire uint64 42704 for shift := uint(0); ; shift += 7 { 42705 if shift >= 64 { 42706 return ErrIntOverflowPlan 42707 } 42708 if iNdEx >= l { 42709 return io.ErrUnexpectedEOF 42710 } 42711 b := dAtA[iNdEx] 42712 iNdEx++ 42713 wire |= uint64(b&0x7F) << shift 42714 if b < 0x80 { 42715 break 42716 } 42717 } 42718 fieldNum := int32(wire >> 3) 42719 wireType := int(wire & 0x7) 42720 if wireType == 4 { 42721 return fmt.Errorf("proto: DataControl: wiretype end group for non-group") 42722 } 42723 if fieldNum <= 0 { 42724 return fmt.Errorf("proto: DataControl: illegal tag %d (wire type %d)", fieldNum, wire) 42725 } 42726 switch fieldNum { 42727 case 1: 42728 if wireType != 0 { 42729 return fmt.Errorf("proto: wrong wireType = %d for field DclType", wireType) 42730 } 42731 m.DclType = 0 42732 for shift := uint(0); ; shift += 7 { 42733 if shift >= 64 { 42734 return ErrIntOverflowPlan 42735 } 42736 if iNdEx >= l { 42737 return io.ErrUnexpectedEOF 42738 } 42739 b := dAtA[iNdEx] 42740 iNdEx++ 42741 m.DclType |= DataControl_DclType(b&0x7F) << shift 42742 if b < 0x80 { 42743 break 42744 } 42745 } 42746 case 2: 42747 if wireType != 2 { 42748 return fmt.Errorf("proto: wrong wireType = %d for field SetVariables", wireType) 42749 } 42750 var msglen int 42751 for shift := uint(0); ; shift += 7 { 42752 if shift >= 64 { 42753 return ErrIntOverflowPlan 42754 } 42755 if iNdEx >= l { 42756 return io.ErrUnexpectedEOF 42757 } 42758 b := dAtA[iNdEx] 42759 iNdEx++ 42760 msglen |= int(b&0x7F) << shift 42761 if b < 0x80 { 42762 break 42763 } 42764 } 42765 if msglen < 0 { 42766 return ErrInvalidLengthPlan 42767 } 42768 postIndex := iNdEx + msglen 42769 if postIndex < 0 { 42770 return ErrInvalidLengthPlan 42771 } 42772 if postIndex > l { 42773 return io.ErrUnexpectedEOF 42774 } 42775 v := &SetVariables{} 42776 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42777 return err 42778 } 42779 m.Control = &DataControl_SetVariables{v} 42780 iNdEx = postIndex 42781 case 3: 42782 if wireType != 2 { 42783 return fmt.Errorf("proto: wrong wireType = %d for field Prepare", wireType) 42784 } 42785 var msglen int 42786 for shift := uint(0); ; shift += 7 { 42787 if shift >= 64 { 42788 return ErrIntOverflowPlan 42789 } 42790 if iNdEx >= l { 42791 return io.ErrUnexpectedEOF 42792 } 42793 b := dAtA[iNdEx] 42794 iNdEx++ 42795 msglen |= int(b&0x7F) << shift 42796 if b < 0x80 { 42797 break 42798 } 42799 } 42800 if msglen < 0 { 42801 return ErrInvalidLengthPlan 42802 } 42803 postIndex := iNdEx + msglen 42804 if postIndex < 0 { 42805 return ErrInvalidLengthPlan 42806 } 42807 if postIndex > l { 42808 return io.ErrUnexpectedEOF 42809 } 42810 v := &Prepare{} 42811 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42812 return err 42813 } 42814 m.Control = &DataControl_Prepare{v} 42815 iNdEx = postIndex 42816 case 4: 42817 if wireType != 2 { 42818 return fmt.Errorf("proto: wrong wireType = %d for field Execute", wireType) 42819 } 42820 var msglen int 42821 for shift := uint(0); ; shift += 7 { 42822 if shift >= 64 { 42823 return ErrIntOverflowPlan 42824 } 42825 if iNdEx >= l { 42826 return io.ErrUnexpectedEOF 42827 } 42828 b := dAtA[iNdEx] 42829 iNdEx++ 42830 msglen |= int(b&0x7F) << shift 42831 if b < 0x80 { 42832 break 42833 } 42834 } 42835 if msglen < 0 { 42836 return ErrInvalidLengthPlan 42837 } 42838 postIndex := iNdEx + msglen 42839 if postIndex < 0 { 42840 return ErrInvalidLengthPlan 42841 } 42842 if postIndex > l { 42843 return io.ErrUnexpectedEOF 42844 } 42845 v := &Execute{} 42846 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42847 return err 42848 } 42849 m.Control = &DataControl_Execute{v} 42850 iNdEx = postIndex 42851 case 5: 42852 if wireType != 2 { 42853 return fmt.Errorf("proto: wrong wireType = %d for field Deallocate", wireType) 42854 } 42855 var msglen int 42856 for shift := uint(0); ; shift += 7 { 42857 if shift >= 64 { 42858 return ErrIntOverflowPlan 42859 } 42860 if iNdEx >= l { 42861 return io.ErrUnexpectedEOF 42862 } 42863 b := dAtA[iNdEx] 42864 iNdEx++ 42865 msglen |= int(b&0x7F) << shift 42866 if b < 0x80 { 42867 break 42868 } 42869 } 42870 if msglen < 0 { 42871 return ErrInvalidLengthPlan 42872 } 42873 postIndex := iNdEx + msglen 42874 if postIndex < 0 { 42875 return ErrInvalidLengthPlan 42876 } 42877 if postIndex > l { 42878 return io.ErrUnexpectedEOF 42879 } 42880 v := &Deallocate{} 42881 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42882 return err 42883 } 42884 m.Control = &DataControl_Deallocate{v} 42885 iNdEx = postIndex 42886 case 6: 42887 if wireType != 2 { 42888 return fmt.Errorf("proto: wrong wireType = %d for field Other", wireType) 42889 } 42890 var msglen int 42891 for shift := uint(0); ; shift += 7 { 42892 if shift >= 64 { 42893 return ErrIntOverflowPlan 42894 } 42895 if iNdEx >= l { 42896 return io.ErrUnexpectedEOF 42897 } 42898 b := dAtA[iNdEx] 42899 iNdEx++ 42900 msglen |= int(b&0x7F) << shift 42901 if b < 0x80 { 42902 break 42903 } 42904 } 42905 if msglen < 0 { 42906 return ErrInvalidLengthPlan 42907 } 42908 postIndex := iNdEx + msglen 42909 if postIndex < 0 { 42910 return ErrInvalidLengthPlan 42911 } 42912 if postIndex > l { 42913 return io.ErrUnexpectedEOF 42914 } 42915 v := &OtherDCL{} 42916 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 42917 return err 42918 } 42919 m.Control = &DataControl_Other{v} 42920 iNdEx = postIndex 42921 default: 42922 iNdEx = preIndex 42923 skippy, err := skipPlan(dAtA[iNdEx:]) 42924 if err != nil { 42925 return err 42926 } 42927 if (skippy < 0) || (iNdEx+skippy) < 0 { 42928 return ErrInvalidLengthPlan 42929 } 42930 if (iNdEx + skippy) > l { 42931 return io.ErrUnexpectedEOF 42932 } 42933 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 42934 iNdEx += skippy 42935 } 42936 } 42937 42938 if iNdEx > l { 42939 return io.ErrUnexpectedEOF 42940 } 42941 return nil 42942 } 42943 func (m *DataDefinition) Unmarshal(dAtA []byte) error { 42944 l := len(dAtA) 42945 iNdEx := 0 42946 for iNdEx < l { 42947 preIndex := iNdEx 42948 var wire uint64 42949 for shift := uint(0); ; shift += 7 { 42950 if shift >= 64 { 42951 return ErrIntOverflowPlan 42952 } 42953 if iNdEx >= l { 42954 return io.ErrUnexpectedEOF 42955 } 42956 b := dAtA[iNdEx] 42957 iNdEx++ 42958 wire |= uint64(b&0x7F) << shift 42959 if b < 0x80 { 42960 break 42961 } 42962 } 42963 fieldNum := int32(wire >> 3) 42964 wireType := int(wire & 0x7) 42965 if wireType == 4 { 42966 return fmt.Errorf("proto: DataDefinition: wiretype end group for non-group") 42967 } 42968 if fieldNum <= 0 { 42969 return fmt.Errorf("proto: DataDefinition: illegal tag %d (wire type %d)", fieldNum, wire) 42970 } 42971 switch fieldNum { 42972 case 1: 42973 if wireType != 0 { 42974 return fmt.Errorf("proto: wrong wireType = %d for field DdlType", wireType) 42975 } 42976 m.DdlType = 0 42977 for shift := uint(0); ; shift += 7 { 42978 if shift >= 64 { 42979 return ErrIntOverflowPlan 42980 } 42981 if iNdEx >= l { 42982 return io.ErrUnexpectedEOF 42983 } 42984 b := dAtA[iNdEx] 42985 iNdEx++ 42986 m.DdlType |= DataDefinition_DdlType(b&0x7F) << shift 42987 if b < 0x80 { 42988 break 42989 } 42990 } 42991 case 2: 42992 if wireType != 2 { 42993 return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) 42994 } 42995 var msglen int 42996 for shift := uint(0); ; shift += 7 { 42997 if shift >= 64 { 42998 return ErrIntOverflowPlan 42999 } 43000 if iNdEx >= l { 43001 return io.ErrUnexpectedEOF 43002 } 43003 b := dAtA[iNdEx] 43004 iNdEx++ 43005 msglen |= int(b&0x7F) << shift 43006 if b < 0x80 { 43007 break 43008 } 43009 } 43010 if msglen < 0 { 43011 return ErrInvalidLengthPlan 43012 } 43013 postIndex := iNdEx + msglen 43014 if postIndex < 0 { 43015 return ErrInvalidLengthPlan 43016 } 43017 if postIndex > l { 43018 return io.ErrUnexpectedEOF 43019 } 43020 if m.Query == nil { 43021 m.Query = &Query{} 43022 } 43023 if err := m.Query.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43024 return err 43025 } 43026 iNdEx = postIndex 43027 case 3: 43028 if wireType != 2 { 43029 return fmt.Errorf("proto: wrong wireType = %d for field CreateDatabase", wireType) 43030 } 43031 var msglen int 43032 for shift := uint(0); ; shift += 7 { 43033 if shift >= 64 { 43034 return ErrIntOverflowPlan 43035 } 43036 if iNdEx >= l { 43037 return io.ErrUnexpectedEOF 43038 } 43039 b := dAtA[iNdEx] 43040 iNdEx++ 43041 msglen |= int(b&0x7F) << shift 43042 if b < 0x80 { 43043 break 43044 } 43045 } 43046 if msglen < 0 { 43047 return ErrInvalidLengthPlan 43048 } 43049 postIndex := iNdEx + msglen 43050 if postIndex < 0 { 43051 return ErrInvalidLengthPlan 43052 } 43053 if postIndex > l { 43054 return io.ErrUnexpectedEOF 43055 } 43056 v := &CreateDatabase{} 43057 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43058 return err 43059 } 43060 m.Definition = &DataDefinition_CreateDatabase{v} 43061 iNdEx = postIndex 43062 case 4: 43063 if wireType != 2 { 43064 return fmt.Errorf("proto: wrong wireType = %d for field AlterDatabase", wireType) 43065 } 43066 var msglen int 43067 for shift := uint(0); ; shift += 7 { 43068 if shift >= 64 { 43069 return ErrIntOverflowPlan 43070 } 43071 if iNdEx >= l { 43072 return io.ErrUnexpectedEOF 43073 } 43074 b := dAtA[iNdEx] 43075 iNdEx++ 43076 msglen |= int(b&0x7F) << shift 43077 if b < 0x80 { 43078 break 43079 } 43080 } 43081 if msglen < 0 { 43082 return ErrInvalidLengthPlan 43083 } 43084 postIndex := iNdEx + msglen 43085 if postIndex < 0 { 43086 return ErrInvalidLengthPlan 43087 } 43088 if postIndex > l { 43089 return io.ErrUnexpectedEOF 43090 } 43091 v := &AlterDatabase{} 43092 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43093 return err 43094 } 43095 m.Definition = &DataDefinition_AlterDatabase{v} 43096 iNdEx = postIndex 43097 case 5: 43098 if wireType != 2 { 43099 return fmt.Errorf("proto: wrong wireType = %d for field DropDatabase", wireType) 43100 } 43101 var msglen int 43102 for shift := uint(0); ; shift += 7 { 43103 if shift >= 64 { 43104 return ErrIntOverflowPlan 43105 } 43106 if iNdEx >= l { 43107 return io.ErrUnexpectedEOF 43108 } 43109 b := dAtA[iNdEx] 43110 iNdEx++ 43111 msglen |= int(b&0x7F) << shift 43112 if b < 0x80 { 43113 break 43114 } 43115 } 43116 if msglen < 0 { 43117 return ErrInvalidLengthPlan 43118 } 43119 postIndex := iNdEx + msglen 43120 if postIndex < 0 { 43121 return ErrInvalidLengthPlan 43122 } 43123 if postIndex > l { 43124 return io.ErrUnexpectedEOF 43125 } 43126 v := &DropDatabase{} 43127 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43128 return err 43129 } 43130 m.Definition = &DataDefinition_DropDatabase{v} 43131 iNdEx = postIndex 43132 case 6: 43133 if wireType != 2 { 43134 return fmt.Errorf("proto: wrong wireType = %d for field CreateTable", wireType) 43135 } 43136 var msglen int 43137 for shift := uint(0); ; shift += 7 { 43138 if shift >= 64 { 43139 return ErrIntOverflowPlan 43140 } 43141 if iNdEx >= l { 43142 return io.ErrUnexpectedEOF 43143 } 43144 b := dAtA[iNdEx] 43145 iNdEx++ 43146 msglen |= int(b&0x7F) << shift 43147 if b < 0x80 { 43148 break 43149 } 43150 } 43151 if msglen < 0 { 43152 return ErrInvalidLengthPlan 43153 } 43154 postIndex := iNdEx + msglen 43155 if postIndex < 0 { 43156 return ErrInvalidLengthPlan 43157 } 43158 if postIndex > l { 43159 return io.ErrUnexpectedEOF 43160 } 43161 v := &CreateTable{} 43162 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43163 return err 43164 } 43165 m.Definition = &DataDefinition_CreateTable{v} 43166 iNdEx = postIndex 43167 case 7: 43168 if wireType != 2 { 43169 return fmt.Errorf("proto: wrong wireType = %d for field AlterTable", wireType) 43170 } 43171 var msglen int 43172 for shift := uint(0); ; shift += 7 { 43173 if shift >= 64 { 43174 return ErrIntOverflowPlan 43175 } 43176 if iNdEx >= l { 43177 return io.ErrUnexpectedEOF 43178 } 43179 b := dAtA[iNdEx] 43180 iNdEx++ 43181 msglen |= int(b&0x7F) << shift 43182 if b < 0x80 { 43183 break 43184 } 43185 } 43186 if msglen < 0 { 43187 return ErrInvalidLengthPlan 43188 } 43189 postIndex := iNdEx + msglen 43190 if postIndex < 0 { 43191 return ErrInvalidLengthPlan 43192 } 43193 if postIndex > l { 43194 return io.ErrUnexpectedEOF 43195 } 43196 v := &AlterTable{} 43197 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43198 return err 43199 } 43200 m.Definition = &DataDefinition_AlterTable{v} 43201 iNdEx = postIndex 43202 case 8: 43203 if wireType != 2 { 43204 return fmt.Errorf("proto: wrong wireType = %d for field DropTable", wireType) 43205 } 43206 var msglen int 43207 for shift := uint(0); ; shift += 7 { 43208 if shift >= 64 { 43209 return ErrIntOverflowPlan 43210 } 43211 if iNdEx >= l { 43212 return io.ErrUnexpectedEOF 43213 } 43214 b := dAtA[iNdEx] 43215 iNdEx++ 43216 msglen |= int(b&0x7F) << shift 43217 if b < 0x80 { 43218 break 43219 } 43220 } 43221 if msglen < 0 { 43222 return ErrInvalidLengthPlan 43223 } 43224 postIndex := iNdEx + msglen 43225 if postIndex < 0 { 43226 return ErrInvalidLengthPlan 43227 } 43228 if postIndex > l { 43229 return io.ErrUnexpectedEOF 43230 } 43231 v := &DropTable{} 43232 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43233 return err 43234 } 43235 m.Definition = &DataDefinition_DropTable{v} 43236 iNdEx = postIndex 43237 case 9: 43238 if wireType != 2 { 43239 return fmt.Errorf("proto: wrong wireType = %d for field CreateIndex", wireType) 43240 } 43241 var msglen int 43242 for shift := uint(0); ; shift += 7 { 43243 if shift >= 64 { 43244 return ErrIntOverflowPlan 43245 } 43246 if iNdEx >= l { 43247 return io.ErrUnexpectedEOF 43248 } 43249 b := dAtA[iNdEx] 43250 iNdEx++ 43251 msglen |= int(b&0x7F) << shift 43252 if b < 0x80 { 43253 break 43254 } 43255 } 43256 if msglen < 0 { 43257 return ErrInvalidLengthPlan 43258 } 43259 postIndex := iNdEx + msglen 43260 if postIndex < 0 { 43261 return ErrInvalidLengthPlan 43262 } 43263 if postIndex > l { 43264 return io.ErrUnexpectedEOF 43265 } 43266 v := &CreateIndex{} 43267 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43268 return err 43269 } 43270 m.Definition = &DataDefinition_CreateIndex{v} 43271 iNdEx = postIndex 43272 case 10: 43273 if wireType != 2 { 43274 return fmt.Errorf("proto: wrong wireType = %d for field AlterIndex", wireType) 43275 } 43276 var msglen int 43277 for shift := uint(0); ; shift += 7 { 43278 if shift >= 64 { 43279 return ErrIntOverflowPlan 43280 } 43281 if iNdEx >= l { 43282 return io.ErrUnexpectedEOF 43283 } 43284 b := dAtA[iNdEx] 43285 iNdEx++ 43286 msglen |= int(b&0x7F) << shift 43287 if b < 0x80 { 43288 break 43289 } 43290 } 43291 if msglen < 0 { 43292 return ErrInvalidLengthPlan 43293 } 43294 postIndex := iNdEx + msglen 43295 if postIndex < 0 { 43296 return ErrInvalidLengthPlan 43297 } 43298 if postIndex > l { 43299 return io.ErrUnexpectedEOF 43300 } 43301 v := &AlterIndex{} 43302 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43303 return err 43304 } 43305 m.Definition = &DataDefinition_AlterIndex{v} 43306 iNdEx = postIndex 43307 case 11: 43308 if wireType != 2 { 43309 return fmt.Errorf("proto: wrong wireType = %d for field DropIndex", wireType) 43310 } 43311 var msglen int 43312 for shift := uint(0); ; shift += 7 { 43313 if shift >= 64 { 43314 return ErrIntOverflowPlan 43315 } 43316 if iNdEx >= l { 43317 return io.ErrUnexpectedEOF 43318 } 43319 b := dAtA[iNdEx] 43320 iNdEx++ 43321 msglen |= int(b&0x7F) << shift 43322 if b < 0x80 { 43323 break 43324 } 43325 } 43326 if msglen < 0 { 43327 return ErrInvalidLengthPlan 43328 } 43329 postIndex := iNdEx + msglen 43330 if postIndex < 0 { 43331 return ErrInvalidLengthPlan 43332 } 43333 if postIndex > l { 43334 return io.ErrUnexpectedEOF 43335 } 43336 v := &DropIndex{} 43337 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43338 return err 43339 } 43340 m.Definition = &DataDefinition_DropIndex{v} 43341 iNdEx = postIndex 43342 case 12: 43343 if wireType != 2 { 43344 return fmt.Errorf("proto: wrong wireType = %d for field TruncateTable", wireType) 43345 } 43346 var msglen int 43347 for shift := uint(0); ; shift += 7 { 43348 if shift >= 64 { 43349 return ErrIntOverflowPlan 43350 } 43351 if iNdEx >= l { 43352 return io.ErrUnexpectedEOF 43353 } 43354 b := dAtA[iNdEx] 43355 iNdEx++ 43356 msglen |= int(b&0x7F) << shift 43357 if b < 0x80 { 43358 break 43359 } 43360 } 43361 if msglen < 0 { 43362 return ErrInvalidLengthPlan 43363 } 43364 postIndex := iNdEx + msglen 43365 if postIndex < 0 { 43366 return ErrInvalidLengthPlan 43367 } 43368 if postIndex > l { 43369 return io.ErrUnexpectedEOF 43370 } 43371 v := &TruncateTable{} 43372 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43373 return err 43374 } 43375 m.Definition = &DataDefinition_TruncateTable{v} 43376 iNdEx = postIndex 43377 case 13: 43378 if wireType != 2 { 43379 return fmt.Errorf("proto: wrong wireType = %d for field ShowVariables", wireType) 43380 } 43381 var msglen int 43382 for shift := uint(0); ; shift += 7 { 43383 if shift >= 64 { 43384 return ErrIntOverflowPlan 43385 } 43386 if iNdEx >= l { 43387 return io.ErrUnexpectedEOF 43388 } 43389 b := dAtA[iNdEx] 43390 iNdEx++ 43391 msglen |= int(b&0x7F) << shift 43392 if b < 0x80 { 43393 break 43394 } 43395 } 43396 if msglen < 0 { 43397 return ErrInvalidLengthPlan 43398 } 43399 postIndex := iNdEx + msglen 43400 if postIndex < 0 { 43401 return ErrInvalidLengthPlan 43402 } 43403 if postIndex > l { 43404 return io.ErrUnexpectedEOF 43405 } 43406 v := &ShowVariables{} 43407 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43408 return err 43409 } 43410 m.Definition = &DataDefinition_ShowVariables{v} 43411 iNdEx = postIndex 43412 case 14: 43413 if wireType != 2 { 43414 return fmt.Errorf("proto: wrong wireType = %d for field AlterView", wireType) 43415 } 43416 var msglen int 43417 for shift := uint(0); ; shift += 7 { 43418 if shift >= 64 { 43419 return ErrIntOverflowPlan 43420 } 43421 if iNdEx >= l { 43422 return io.ErrUnexpectedEOF 43423 } 43424 b := dAtA[iNdEx] 43425 iNdEx++ 43426 msglen |= int(b&0x7F) << shift 43427 if b < 0x80 { 43428 break 43429 } 43430 } 43431 if msglen < 0 { 43432 return ErrInvalidLengthPlan 43433 } 43434 postIndex := iNdEx + msglen 43435 if postIndex < 0 { 43436 return ErrInvalidLengthPlan 43437 } 43438 if postIndex > l { 43439 return io.ErrUnexpectedEOF 43440 } 43441 v := &AlterView{} 43442 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43443 return err 43444 } 43445 m.Definition = &DataDefinition_AlterView{v} 43446 iNdEx = postIndex 43447 case 15: 43448 if wireType != 2 { 43449 return fmt.Errorf("proto: wrong wireType = %d for field LockTables", wireType) 43450 } 43451 var msglen int 43452 for shift := uint(0); ; shift += 7 { 43453 if shift >= 64 { 43454 return ErrIntOverflowPlan 43455 } 43456 if iNdEx >= l { 43457 return io.ErrUnexpectedEOF 43458 } 43459 b := dAtA[iNdEx] 43460 iNdEx++ 43461 msglen |= int(b&0x7F) << shift 43462 if b < 0x80 { 43463 break 43464 } 43465 } 43466 if msglen < 0 { 43467 return ErrInvalidLengthPlan 43468 } 43469 postIndex := iNdEx + msglen 43470 if postIndex < 0 { 43471 return ErrInvalidLengthPlan 43472 } 43473 if postIndex > l { 43474 return io.ErrUnexpectedEOF 43475 } 43476 v := &LockTables{} 43477 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43478 return err 43479 } 43480 m.Definition = &DataDefinition_LockTables{v} 43481 iNdEx = postIndex 43482 case 16: 43483 if wireType != 2 { 43484 return fmt.Errorf("proto: wrong wireType = %d for field UnlockTables", wireType) 43485 } 43486 var msglen int 43487 for shift := uint(0); ; shift += 7 { 43488 if shift >= 64 { 43489 return ErrIntOverflowPlan 43490 } 43491 if iNdEx >= l { 43492 return io.ErrUnexpectedEOF 43493 } 43494 b := dAtA[iNdEx] 43495 iNdEx++ 43496 msglen |= int(b&0x7F) << shift 43497 if b < 0x80 { 43498 break 43499 } 43500 } 43501 if msglen < 0 { 43502 return ErrInvalidLengthPlan 43503 } 43504 postIndex := iNdEx + msglen 43505 if postIndex < 0 { 43506 return ErrInvalidLengthPlan 43507 } 43508 if postIndex > l { 43509 return io.ErrUnexpectedEOF 43510 } 43511 v := &UnLockTables{} 43512 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43513 return err 43514 } 43515 m.Definition = &DataDefinition_UnlockTables{v} 43516 iNdEx = postIndex 43517 case 17: 43518 if wireType != 2 { 43519 return fmt.Errorf("proto: wrong wireType = %d for field CreateSequence", wireType) 43520 } 43521 var msglen int 43522 for shift := uint(0); ; shift += 7 { 43523 if shift >= 64 { 43524 return ErrIntOverflowPlan 43525 } 43526 if iNdEx >= l { 43527 return io.ErrUnexpectedEOF 43528 } 43529 b := dAtA[iNdEx] 43530 iNdEx++ 43531 msglen |= int(b&0x7F) << shift 43532 if b < 0x80 { 43533 break 43534 } 43535 } 43536 if msglen < 0 { 43537 return ErrInvalidLengthPlan 43538 } 43539 postIndex := iNdEx + msglen 43540 if postIndex < 0 { 43541 return ErrInvalidLengthPlan 43542 } 43543 if postIndex > l { 43544 return io.ErrUnexpectedEOF 43545 } 43546 v := &CreateSequence{} 43547 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43548 return err 43549 } 43550 m.Definition = &DataDefinition_CreateSequence{v} 43551 iNdEx = postIndex 43552 case 18: 43553 if wireType != 2 { 43554 return fmt.Errorf("proto: wrong wireType = %d for field DropSequence", wireType) 43555 } 43556 var msglen int 43557 for shift := uint(0); ; shift += 7 { 43558 if shift >= 64 { 43559 return ErrIntOverflowPlan 43560 } 43561 if iNdEx >= l { 43562 return io.ErrUnexpectedEOF 43563 } 43564 b := dAtA[iNdEx] 43565 iNdEx++ 43566 msglen |= int(b&0x7F) << shift 43567 if b < 0x80 { 43568 break 43569 } 43570 } 43571 if msglen < 0 { 43572 return ErrInvalidLengthPlan 43573 } 43574 postIndex := iNdEx + msglen 43575 if postIndex < 0 { 43576 return ErrInvalidLengthPlan 43577 } 43578 if postIndex > l { 43579 return io.ErrUnexpectedEOF 43580 } 43581 v := &DropSequence{} 43582 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43583 return err 43584 } 43585 m.Definition = &DataDefinition_DropSequence{v} 43586 iNdEx = postIndex 43587 case 19: 43588 if wireType != 2 { 43589 return fmt.Errorf("proto: wrong wireType = %d for field AlterSequence", wireType) 43590 } 43591 var msglen int 43592 for shift := uint(0); ; shift += 7 { 43593 if shift >= 64 { 43594 return ErrIntOverflowPlan 43595 } 43596 if iNdEx >= l { 43597 return io.ErrUnexpectedEOF 43598 } 43599 b := dAtA[iNdEx] 43600 iNdEx++ 43601 msglen |= int(b&0x7F) << shift 43602 if b < 0x80 { 43603 break 43604 } 43605 } 43606 if msglen < 0 { 43607 return ErrInvalidLengthPlan 43608 } 43609 postIndex := iNdEx + msglen 43610 if postIndex < 0 { 43611 return ErrInvalidLengthPlan 43612 } 43613 if postIndex > l { 43614 return io.ErrUnexpectedEOF 43615 } 43616 v := &AlterSequence{} 43617 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43618 return err 43619 } 43620 m.Definition = &DataDefinition_AlterSequence{v} 43621 iNdEx = postIndex 43622 default: 43623 iNdEx = preIndex 43624 skippy, err := skipPlan(dAtA[iNdEx:]) 43625 if err != nil { 43626 return err 43627 } 43628 if (skippy < 0) || (iNdEx+skippy) < 0 { 43629 return ErrInvalidLengthPlan 43630 } 43631 if (iNdEx + skippy) > l { 43632 return io.ErrUnexpectedEOF 43633 } 43634 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 43635 iNdEx += skippy 43636 } 43637 } 43638 43639 if iNdEx > l { 43640 return io.ErrUnexpectedEOF 43641 } 43642 return nil 43643 } 43644 func (m *SubscriptionOption) Unmarshal(dAtA []byte) error { 43645 l := len(dAtA) 43646 iNdEx := 0 43647 for iNdEx < l { 43648 preIndex := iNdEx 43649 var wire uint64 43650 for shift := uint(0); ; shift += 7 { 43651 if shift >= 64 { 43652 return ErrIntOverflowPlan 43653 } 43654 if iNdEx >= l { 43655 return io.ErrUnexpectedEOF 43656 } 43657 b := dAtA[iNdEx] 43658 iNdEx++ 43659 wire |= uint64(b&0x7F) << shift 43660 if b < 0x80 { 43661 break 43662 } 43663 } 43664 fieldNum := int32(wire >> 3) 43665 wireType := int(wire & 0x7) 43666 if wireType == 4 { 43667 return fmt.Errorf("proto: SubscriptionOption: wiretype end group for non-group") 43668 } 43669 if fieldNum <= 0 { 43670 return fmt.Errorf("proto: SubscriptionOption: illegal tag %d (wire type %d)", fieldNum, wire) 43671 } 43672 switch fieldNum { 43673 case 1: 43674 if wireType != 2 { 43675 return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) 43676 } 43677 var stringLen uint64 43678 for shift := uint(0); ; shift += 7 { 43679 if shift >= 64 { 43680 return ErrIntOverflowPlan 43681 } 43682 if iNdEx >= l { 43683 return io.ErrUnexpectedEOF 43684 } 43685 b := dAtA[iNdEx] 43686 iNdEx++ 43687 stringLen |= uint64(b&0x7F) << shift 43688 if b < 0x80 { 43689 break 43690 } 43691 } 43692 intStringLen := int(stringLen) 43693 if intStringLen < 0 { 43694 return ErrInvalidLengthPlan 43695 } 43696 postIndex := iNdEx + intStringLen 43697 if postIndex < 0 { 43698 return ErrInvalidLengthPlan 43699 } 43700 if postIndex > l { 43701 return io.ErrUnexpectedEOF 43702 } 43703 m.From = string(dAtA[iNdEx:postIndex]) 43704 iNdEx = postIndex 43705 case 2: 43706 if wireType != 2 { 43707 return fmt.Errorf("proto: wrong wireType = %d for field Publication", wireType) 43708 } 43709 var stringLen uint64 43710 for shift := uint(0); ; shift += 7 { 43711 if shift >= 64 { 43712 return ErrIntOverflowPlan 43713 } 43714 if iNdEx >= l { 43715 return io.ErrUnexpectedEOF 43716 } 43717 b := dAtA[iNdEx] 43718 iNdEx++ 43719 stringLen |= uint64(b&0x7F) << shift 43720 if b < 0x80 { 43721 break 43722 } 43723 } 43724 intStringLen := int(stringLen) 43725 if intStringLen < 0 { 43726 return ErrInvalidLengthPlan 43727 } 43728 postIndex := iNdEx + intStringLen 43729 if postIndex < 0 { 43730 return ErrInvalidLengthPlan 43731 } 43732 if postIndex > l { 43733 return io.ErrUnexpectedEOF 43734 } 43735 m.Publication = string(dAtA[iNdEx:postIndex]) 43736 iNdEx = postIndex 43737 default: 43738 iNdEx = preIndex 43739 skippy, err := skipPlan(dAtA[iNdEx:]) 43740 if err != nil { 43741 return err 43742 } 43743 if (skippy < 0) || (iNdEx+skippy) < 0 { 43744 return ErrInvalidLengthPlan 43745 } 43746 if (iNdEx + skippy) > l { 43747 return io.ErrUnexpectedEOF 43748 } 43749 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 43750 iNdEx += skippy 43751 } 43752 } 43753 43754 if iNdEx > l { 43755 return io.ErrUnexpectedEOF 43756 } 43757 return nil 43758 } 43759 func (m *CreateDatabase) Unmarshal(dAtA []byte) error { 43760 l := len(dAtA) 43761 iNdEx := 0 43762 for iNdEx < l { 43763 preIndex := iNdEx 43764 var wire uint64 43765 for shift := uint(0); ; shift += 7 { 43766 if shift >= 64 { 43767 return ErrIntOverflowPlan 43768 } 43769 if iNdEx >= l { 43770 return io.ErrUnexpectedEOF 43771 } 43772 b := dAtA[iNdEx] 43773 iNdEx++ 43774 wire |= uint64(b&0x7F) << shift 43775 if b < 0x80 { 43776 break 43777 } 43778 } 43779 fieldNum := int32(wire >> 3) 43780 wireType := int(wire & 0x7) 43781 if wireType == 4 { 43782 return fmt.Errorf("proto: CreateDatabase: wiretype end group for non-group") 43783 } 43784 if fieldNum <= 0 { 43785 return fmt.Errorf("proto: CreateDatabase: illegal tag %d (wire type %d)", fieldNum, wire) 43786 } 43787 switch fieldNum { 43788 case 1: 43789 if wireType != 0 { 43790 return fmt.Errorf("proto: wrong wireType = %d for field IfNotExists", wireType) 43791 } 43792 var v int 43793 for shift := uint(0); ; shift += 7 { 43794 if shift >= 64 { 43795 return ErrIntOverflowPlan 43796 } 43797 if iNdEx >= l { 43798 return io.ErrUnexpectedEOF 43799 } 43800 b := dAtA[iNdEx] 43801 iNdEx++ 43802 v |= int(b&0x7F) << shift 43803 if b < 0x80 { 43804 break 43805 } 43806 } 43807 m.IfNotExists = bool(v != 0) 43808 case 2: 43809 if wireType != 2 { 43810 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 43811 } 43812 var stringLen uint64 43813 for shift := uint(0); ; shift += 7 { 43814 if shift >= 64 { 43815 return ErrIntOverflowPlan 43816 } 43817 if iNdEx >= l { 43818 return io.ErrUnexpectedEOF 43819 } 43820 b := dAtA[iNdEx] 43821 iNdEx++ 43822 stringLen |= uint64(b&0x7F) << shift 43823 if b < 0x80 { 43824 break 43825 } 43826 } 43827 intStringLen := int(stringLen) 43828 if intStringLen < 0 { 43829 return ErrInvalidLengthPlan 43830 } 43831 postIndex := iNdEx + intStringLen 43832 if postIndex < 0 { 43833 return ErrInvalidLengthPlan 43834 } 43835 if postIndex > l { 43836 return io.ErrUnexpectedEOF 43837 } 43838 m.Database = string(dAtA[iNdEx:postIndex]) 43839 iNdEx = postIndex 43840 case 3: 43841 if wireType != 2 { 43842 return fmt.Errorf("proto: wrong wireType = %d for field SubscriptionOption", wireType) 43843 } 43844 var msglen int 43845 for shift := uint(0); ; shift += 7 { 43846 if shift >= 64 { 43847 return ErrIntOverflowPlan 43848 } 43849 if iNdEx >= l { 43850 return io.ErrUnexpectedEOF 43851 } 43852 b := dAtA[iNdEx] 43853 iNdEx++ 43854 msglen |= int(b&0x7F) << shift 43855 if b < 0x80 { 43856 break 43857 } 43858 } 43859 if msglen < 0 { 43860 return ErrInvalidLengthPlan 43861 } 43862 postIndex := iNdEx + msglen 43863 if postIndex < 0 { 43864 return ErrInvalidLengthPlan 43865 } 43866 if postIndex > l { 43867 return io.ErrUnexpectedEOF 43868 } 43869 if m.SubscriptionOption == nil { 43870 m.SubscriptionOption = &SubscriptionOption{} 43871 } 43872 if err := m.SubscriptionOption.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 43873 return err 43874 } 43875 iNdEx = postIndex 43876 case 4: 43877 if wireType != 2 { 43878 return fmt.Errorf("proto: wrong wireType = %d for field Sql", wireType) 43879 } 43880 var stringLen uint64 43881 for shift := uint(0); ; shift += 7 { 43882 if shift >= 64 { 43883 return ErrIntOverflowPlan 43884 } 43885 if iNdEx >= l { 43886 return io.ErrUnexpectedEOF 43887 } 43888 b := dAtA[iNdEx] 43889 iNdEx++ 43890 stringLen |= uint64(b&0x7F) << shift 43891 if b < 0x80 { 43892 break 43893 } 43894 } 43895 intStringLen := int(stringLen) 43896 if intStringLen < 0 { 43897 return ErrInvalidLengthPlan 43898 } 43899 postIndex := iNdEx + intStringLen 43900 if postIndex < 0 { 43901 return ErrInvalidLengthPlan 43902 } 43903 if postIndex > l { 43904 return io.ErrUnexpectedEOF 43905 } 43906 m.Sql = string(dAtA[iNdEx:postIndex]) 43907 iNdEx = postIndex 43908 default: 43909 iNdEx = preIndex 43910 skippy, err := skipPlan(dAtA[iNdEx:]) 43911 if err != nil { 43912 return err 43913 } 43914 if (skippy < 0) || (iNdEx+skippy) < 0 { 43915 return ErrInvalidLengthPlan 43916 } 43917 if (iNdEx + skippy) > l { 43918 return io.ErrUnexpectedEOF 43919 } 43920 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 43921 iNdEx += skippy 43922 } 43923 } 43924 43925 if iNdEx > l { 43926 return io.ErrUnexpectedEOF 43927 } 43928 return nil 43929 } 43930 func (m *AlterDatabase) Unmarshal(dAtA []byte) error { 43931 l := len(dAtA) 43932 iNdEx := 0 43933 for iNdEx < l { 43934 preIndex := iNdEx 43935 var wire uint64 43936 for shift := uint(0); ; shift += 7 { 43937 if shift >= 64 { 43938 return ErrIntOverflowPlan 43939 } 43940 if iNdEx >= l { 43941 return io.ErrUnexpectedEOF 43942 } 43943 b := dAtA[iNdEx] 43944 iNdEx++ 43945 wire |= uint64(b&0x7F) << shift 43946 if b < 0x80 { 43947 break 43948 } 43949 } 43950 fieldNum := int32(wire >> 3) 43951 wireType := int(wire & 0x7) 43952 if wireType == 4 { 43953 return fmt.Errorf("proto: AlterDatabase: wiretype end group for non-group") 43954 } 43955 if fieldNum <= 0 { 43956 return fmt.Errorf("proto: AlterDatabase: illegal tag %d (wire type %d)", fieldNum, wire) 43957 } 43958 switch fieldNum { 43959 case 1: 43960 if wireType != 0 { 43961 return fmt.Errorf("proto: wrong wireType = %d for field IfExists", wireType) 43962 } 43963 var v int 43964 for shift := uint(0); ; shift += 7 { 43965 if shift >= 64 { 43966 return ErrIntOverflowPlan 43967 } 43968 if iNdEx >= l { 43969 return io.ErrUnexpectedEOF 43970 } 43971 b := dAtA[iNdEx] 43972 iNdEx++ 43973 v |= int(b&0x7F) << shift 43974 if b < 0x80 { 43975 break 43976 } 43977 } 43978 m.IfExists = bool(v != 0) 43979 case 2: 43980 if wireType != 2 { 43981 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 43982 } 43983 var stringLen uint64 43984 for shift := uint(0); ; shift += 7 { 43985 if shift >= 64 { 43986 return ErrIntOverflowPlan 43987 } 43988 if iNdEx >= l { 43989 return io.ErrUnexpectedEOF 43990 } 43991 b := dAtA[iNdEx] 43992 iNdEx++ 43993 stringLen |= uint64(b&0x7F) << shift 43994 if b < 0x80 { 43995 break 43996 } 43997 } 43998 intStringLen := int(stringLen) 43999 if intStringLen < 0 { 44000 return ErrInvalidLengthPlan 44001 } 44002 postIndex := iNdEx + intStringLen 44003 if postIndex < 0 { 44004 return ErrInvalidLengthPlan 44005 } 44006 if postIndex > l { 44007 return io.ErrUnexpectedEOF 44008 } 44009 m.Database = string(dAtA[iNdEx:postIndex]) 44010 iNdEx = postIndex 44011 default: 44012 iNdEx = preIndex 44013 skippy, err := skipPlan(dAtA[iNdEx:]) 44014 if err != nil { 44015 return err 44016 } 44017 if (skippy < 0) || (iNdEx+skippy) < 0 { 44018 return ErrInvalidLengthPlan 44019 } 44020 if (iNdEx + skippy) > l { 44021 return io.ErrUnexpectedEOF 44022 } 44023 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 44024 iNdEx += skippy 44025 } 44026 } 44027 44028 if iNdEx > l { 44029 return io.ErrUnexpectedEOF 44030 } 44031 return nil 44032 } 44033 func (m *DropDatabase) Unmarshal(dAtA []byte) error { 44034 l := len(dAtA) 44035 iNdEx := 0 44036 for iNdEx < l { 44037 preIndex := iNdEx 44038 var wire uint64 44039 for shift := uint(0); ; shift += 7 { 44040 if shift >= 64 { 44041 return ErrIntOverflowPlan 44042 } 44043 if iNdEx >= l { 44044 return io.ErrUnexpectedEOF 44045 } 44046 b := dAtA[iNdEx] 44047 iNdEx++ 44048 wire |= uint64(b&0x7F) << shift 44049 if b < 0x80 { 44050 break 44051 } 44052 } 44053 fieldNum := int32(wire >> 3) 44054 wireType := int(wire & 0x7) 44055 if wireType == 4 { 44056 return fmt.Errorf("proto: DropDatabase: wiretype end group for non-group") 44057 } 44058 if fieldNum <= 0 { 44059 return fmt.Errorf("proto: DropDatabase: illegal tag %d (wire type %d)", fieldNum, wire) 44060 } 44061 switch fieldNum { 44062 case 1: 44063 if wireType != 0 { 44064 return fmt.Errorf("proto: wrong wireType = %d for field IfExists", wireType) 44065 } 44066 var v int 44067 for shift := uint(0); ; shift += 7 { 44068 if shift >= 64 { 44069 return ErrIntOverflowPlan 44070 } 44071 if iNdEx >= l { 44072 return io.ErrUnexpectedEOF 44073 } 44074 b := dAtA[iNdEx] 44075 iNdEx++ 44076 v |= int(b&0x7F) << shift 44077 if b < 0x80 { 44078 break 44079 } 44080 } 44081 m.IfExists = bool(v != 0) 44082 case 2: 44083 if wireType != 2 { 44084 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 44085 } 44086 var stringLen uint64 44087 for shift := uint(0); ; shift += 7 { 44088 if shift >= 64 { 44089 return ErrIntOverflowPlan 44090 } 44091 if iNdEx >= l { 44092 return io.ErrUnexpectedEOF 44093 } 44094 b := dAtA[iNdEx] 44095 iNdEx++ 44096 stringLen |= uint64(b&0x7F) << shift 44097 if b < 0x80 { 44098 break 44099 } 44100 } 44101 intStringLen := int(stringLen) 44102 if intStringLen < 0 { 44103 return ErrInvalidLengthPlan 44104 } 44105 postIndex := iNdEx + intStringLen 44106 if postIndex < 0 { 44107 return ErrInvalidLengthPlan 44108 } 44109 if postIndex > l { 44110 return io.ErrUnexpectedEOF 44111 } 44112 m.Database = string(dAtA[iNdEx:postIndex]) 44113 iNdEx = postIndex 44114 case 3: 44115 if wireType != 0 { 44116 return fmt.Errorf("proto: wrong wireType = %d for field DatabaseId", wireType) 44117 } 44118 m.DatabaseId = 0 44119 for shift := uint(0); ; shift += 7 { 44120 if shift >= 64 { 44121 return ErrIntOverflowPlan 44122 } 44123 if iNdEx >= l { 44124 return io.ErrUnexpectedEOF 44125 } 44126 b := dAtA[iNdEx] 44127 iNdEx++ 44128 m.DatabaseId |= uint64(b&0x7F) << shift 44129 if b < 0x80 { 44130 break 44131 } 44132 } 44133 case 4: 44134 if wireType != 2 { 44135 return fmt.Errorf("proto: wrong wireType = %d for field UpdateFkSql", wireType) 44136 } 44137 var stringLen uint64 44138 for shift := uint(0); ; shift += 7 { 44139 if shift >= 64 { 44140 return ErrIntOverflowPlan 44141 } 44142 if iNdEx >= l { 44143 return io.ErrUnexpectedEOF 44144 } 44145 b := dAtA[iNdEx] 44146 iNdEx++ 44147 stringLen |= uint64(b&0x7F) << shift 44148 if b < 0x80 { 44149 break 44150 } 44151 } 44152 intStringLen := int(stringLen) 44153 if intStringLen < 0 { 44154 return ErrInvalidLengthPlan 44155 } 44156 postIndex := iNdEx + intStringLen 44157 if postIndex < 0 { 44158 return ErrInvalidLengthPlan 44159 } 44160 if postIndex > l { 44161 return io.ErrUnexpectedEOF 44162 } 44163 m.UpdateFkSql = string(dAtA[iNdEx:postIndex]) 44164 iNdEx = postIndex 44165 case 5: 44166 if wireType != 2 { 44167 return fmt.Errorf("proto: wrong wireType = %d for field CheckFKSql", wireType) 44168 } 44169 var stringLen uint64 44170 for shift := uint(0); ; shift += 7 { 44171 if shift >= 64 { 44172 return ErrIntOverflowPlan 44173 } 44174 if iNdEx >= l { 44175 return io.ErrUnexpectedEOF 44176 } 44177 b := dAtA[iNdEx] 44178 iNdEx++ 44179 stringLen |= uint64(b&0x7F) << shift 44180 if b < 0x80 { 44181 break 44182 } 44183 } 44184 intStringLen := int(stringLen) 44185 if intStringLen < 0 { 44186 return ErrInvalidLengthPlan 44187 } 44188 postIndex := iNdEx + intStringLen 44189 if postIndex < 0 { 44190 return ErrInvalidLengthPlan 44191 } 44192 if postIndex > l { 44193 return io.ErrUnexpectedEOF 44194 } 44195 m.CheckFKSql = string(dAtA[iNdEx:postIndex]) 44196 iNdEx = postIndex 44197 default: 44198 iNdEx = preIndex 44199 skippy, err := skipPlan(dAtA[iNdEx:]) 44200 if err != nil { 44201 return err 44202 } 44203 if (skippy < 0) || (iNdEx+skippy) < 0 { 44204 return ErrInvalidLengthPlan 44205 } 44206 if (iNdEx + skippy) > l { 44207 return io.ErrUnexpectedEOF 44208 } 44209 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 44210 iNdEx += skippy 44211 } 44212 } 44213 44214 if iNdEx > l { 44215 return io.ErrUnexpectedEOF 44216 } 44217 return nil 44218 } 44219 func (m *FkColName) Unmarshal(dAtA []byte) error { 44220 l := len(dAtA) 44221 iNdEx := 0 44222 for iNdEx < l { 44223 preIndex := iNdEx 44224 var wire uint64 44225 for shift := uint(0); ; shift += 7 { 44226 if shift >= 64 { 44227 return ErrIntOverflowPlan 44228 } 44229 if iNdEx >= l { 44230 return io.ErrUnexpectedEOF 44231 } 44232 b := dAtA[iNdEx] 44233 iNdEx++ 44234 wire |= uint64(b&0x7F) << shift 44235 if b < 0x80 { 44236 break 44237 } 44238 } 44239 fieldNum := int32(wire >> 3) 44240 wireType := int(wire & 0x7) 44241 if wireType == 4 { 44242 return fmt.Errorf("proto: FkColName: wiretype end group for non-group") 44243 } 44244 if fieldNum <= 0 { 44245 return fmt.Errorf("proto: FkColName: illegal tag %d (wire type %d)", fieldNum, wire) 44246 } 44247 switch fieldNum { 44248 case 1: 44249 if wireType != 2 { 44250 return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType) 44251 } 44252 var stringLen uint64 44253 for shift := uint(0); ; shift += 7 { 44254 if shift >= 64 { 44255 return ErrIntOverflowPlan 44256 } 44257 if iNdEx >= l { 44258 return io.ErrUnexpectedEOF 44259 } 44260 b := dAtA[iNdEx] 44261 iNdEx++ 44262 stringLen |= uint64(b&0x7F) << shift 44263 if b < 0x80 { 44264 break 44265 } 44266 } 44267 intStringLen := int(stringLen) 44268 if intStringLen < 0 { 44269 return ErrInvalidLengthPlan 44270 } 44271 postIndex := iNdEx + intStringLen 44272 if postIndex < 0 { 44273 return ErrInvalidLengthPlan 44274 } 44275 if postIndex > l { 44276 return io.ErrUnexpectedEOF 44277 } 44278 m.Cols = append(m.Cols, string(dAtA[iNdEx:postIndex])) 44279 iNdEx = postIndex 44280 default: 44281 iNdEx = preIndex 44282 skippy, err := skipPlan(dAtA[iNdEx:]) 44283 if err != nil { 44284 return err 44285 } 44286 if (skippy < 0) || (iNdEx+skippy) < 0 { 44287 return ErrInvalidLengthPlan 44288 } 44289 if (iNdEx + skippy) > l { 44290 return io.ErrUnexpectedEOF 44291 } 44292 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 44293 iNdEx += skippy 44294 } 44295 } 44296 44297 if iNdEx > l { 44298 return io.ErrUnexpectedEOF 44299 } 44300 return nil 44301 } 44302 func (m *ForeignKeyInfo) Unmarshal(dAtA []byte) error { 44303 l := len(dAtA) 44304 iNdEx := 0 44305 for iNdEx < l { 44306 preIndex := iNdEx 44307 var wire uint64 44308 for shift := uint(0); ; shift += 7 { 44309 if shift >= 64 { 44310 return ErrIntOverflowPlan 44311 } 44312 if iNdEx >= l { 44313 return io.ErrUnexpectedEOF 44314 } 44315 b := dAtA[iNdEx] 44316 iNdEx++ 44317 wire |= uint64(b&0x7F) << shift 44318 if b < 0x80 { 44319 break 44320 } 44321 } 44322 fieldNum := int32(wire >> 3) 44323 wireType := int(wire & 0x7) 44324 if wireType == 4 { 44325 return fmt.Errorf("proto: ForeignKeyInfo: wiretype end group for non-group") 44326 } 44327 if fieldNum <= 0 { 44328 return fmt.Errorf("proto: ForeignKeyInfo: illegal tag %d (wire type %d)", fieldNum, wire) 44329 } 44330 switch fieldNum { 44331 case 1: 44332 if wireType != 2 { 44333 return fmt.Errorf("proto: wrong wireType = %d for field Db", wireType) 44334 } 44335 var stringLen uint64 44336 for shift := uint(0); ; shift += 7 { 44337 if shift >= 64 { 44338 return ErrIntOverflowPlan 44339 } 44340 if iNdEx >= l { 44341 return io.ErrUnexpectedEOF 44342 } 44343 b := dAtA[iNdEx] 44344 iNdEx++ 44345 stringLen |= uint64(b&0x7F) << shift 44346 if b < 0x80 { 44347 break 44348 } 44349 } 44350 intStringLen := int(stringLen) 44351 if intStringLen < 0 { 44352 return ErrInvalidLengthPlan 44353 } 44354 postIndex := iNdEx + intStringLen 44355 if postIndex < 0 { 44356 return ErrInvalidLengthPlan 44357 } 44358 if postIndex > l { 44359 return io.ErrUnexpectedEOF 44360 } 44361 m.Db = string(dAtA[iNdEx:postIndex]) 44362 iNdEx = postIndex 44363 case 2: 44364 if wireType != 2 { 44365 return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) 44366 } 44367 var stringLen uint64 44368 for shift := uint(0); ; shift += 7 { 44369 if shift >= 64 { 44370 return ErrIntOverflowPlan 44371 } 44372 if iNdEx >= l { 44373 return io.ErrUnexpectedEOF 44374 } 44375 b := dAtA[iNdEx] 44376 iNdEx++ 44377 stringLen |= uint64(b&0x7F) << shift 44378 if b < 0x80 { 44379 break 44380 } 44381 } 44382 intStringLen := int(stringLen) 44383 if intStringLen < 0 { 44384 return ErrInvalidLengthPlan 44385 } 44386 postIndex := iNdEx + intStringLen 44387 if postIndex < 0 { 44388 return ErrInvalidLengthPlan 44389 } 44390 if postIndex > l { 44391 return io.ErrUnexpectedEOF 44392 } 44393 m.Table = string(dAtA[iNdEx:postIndex]) 44394 iNdEx = postIndex 44395 case 3: 44396 if wireType != 2 { 44397 return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType) 44398 } 44399 var msglen int 44400 for shift := uint(0); ; shift += 7 { 44401 if shift >= 64 { 44402 return ErrIntOverflowPlan 44403 } 44404 if iNdEx >= l { 44405 return io.ErrUnexpectedEOF 44406 } 44407 b := dAtA[iNdEx] 44408 iNdEx++ 44409 msglen |= int(b&0x7F) << shift 44410 if b < 0x80 { 44411 break 44412 } 44413 } 44414 if msglen < 0 { 44415 return ErrInvalidLengthPlan 44416 } 44417 postIndex := iNdEx + msglen 44418 if postIndex < 0 { 44419 return ErrInvalidLengthPlan 44420 } 44421 if postIndex > l { 44422 return io.ErrUnexpectedEOF 44423 } 44424 if m.Cols == nil { 44425 m.Cols = &FkColName{} 44426 } 44427 if err := m.Cols.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 44428 return err 44429 } 44430 iNdEx = postIndex 44431 case 4: 44432 if wireType != 2 { 44433 return fmt.Errorf("proto: wrong wireType = %d for field ColsReferred", wireType) 44434 } 44435 var msglen int 44436 for shift := uint(0); ; shift += 7 { 44437 if shift >= 64 { 44438 return ErrIntOverflowPlan 44439 } 44440 if iNdEx >= l { 44441 return io.ErrUnexpectedEOF 44442 } 44443 b := dAtA[iNdEx] 44444 iNdEx++ 44445 msglen |= int(b&0x7F) << shift 44446 if b < 0x80 { 44447 break 44448 } 44449 } 44450 if msglen < 0 { 44451 return ErrInvalidLengthPlan 44452 } 44453 postIndex := iNdEx + msglen 44454 if postIndex < 0 { 44455 return ErrInvalidLengthPlan 44456 } 44457 if postIndex > l { 44458 return io.ErrUnexpectedEOF 44459 } 44460 if m.ColsReferred == nil { 44461 m.ColsReferred = &FkColName{} 44462 } 44463 if err := m.ColsReferred.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 44464 return err 44465 } 44466 iNdEx = postIndex 44467 case 5: 44468 if wireType != 2 { 44469 return fmt.Errorf("proto: wrong wireType = %d for field Def", wireType) 44470 } 44471 var msglen int 44472 for shift := uint(0); ; shift += 7 { 44473 if shift >= 64 { 44474 return ErrIntOverflowPlan 44475 } 44476 if iNdEx >= l { 44477 return io.ErrUnexpectedEOF 44478 } 44479 b := dAtA[iNdEx] 44480 iNdEx++ 44481 msglen |= int(b&0x7F) << shift 44482 if b < 0x80 { 44483 break 44484 } 44485 } 44486 if msglen < 0 { 44487 return ErrInvalidLengthPlan 44488 } 44489 postIndex := iNdEx + msglen 44490 if postIndex < 0 { 44491 return ErrInvalidLengthPlan 44492 } 44493 if postIndex > l { 44494 return io.ErrUnexpectedEOF 44495 } 44496 if m.Def == nil { 44497 m.Def = &ForeignKeyDef{} 44498 } 44499 if err := m.Def.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 44500 return err 44501 } 44502 iNdEx = postIndex 44503 default: 44504 iNdEx = preIndex 44505 skippy, err := skipPlan(dAtA[iNdEx:]) 44506 if err != nil { 44507 return err 44508 } 44509 if (skippy < 0) || (iNdEx+skippy) < 0 { 44510 return ErrInvalidLengthPlan 44511 } 44512 if (iNdEx + skippy) > l { 44513 return io.ErrUnexpectedEOF 44514 } 44515 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 44516 iNdEx += skippy 44517 } 44518 } 44519 44520 if iNdEx > l { 44521 return io.ErrUnexpectedEOF 44522 } 44523 return nil 44524 } 44525 func (m *CreateTable) Unmarshal(dAtA []byte) error { 44526 l := len(dAtA) 44527 iNdEx := 0 44528 for iNdEx < l { 44529 preIndex := iNdEx 44530 var wire uint64 44531 for shift := uint(0); ; shift += 7 { 44532 if shift >= 64 { 44533 return ErrIntOverflowPlan 44534 } 44535 if iNdEx >= l { 44536 return io.ErrUnexpectedEOF 44537 } 44538 b := dAtA[iNdEx] 44539 iNdEx++ 44540 wire |= uint64(b&0x7F) << shift 44541 if b < 0x80 { 44542 break 44543 } 44544 } 44545 fieldNum := int32(wire >> 3) 44546 wireType := int(wire & 0x7) 44547 if wireType == 4 { 44548 return fmt.Errorf("proto: CreateTable: wiretype end group for non-group") 44549 } 44550 if fieldNum <= 0 { 44551 return fmt.Errorf("proto: CreateTable: illegal tag %d (wire type %d)", fieldNum, wire) 44552 } 44553 switch fieldNum { 44554 case 1: 44555 if wireType != 0 { 44556 return fmt.Errorf("proto: wrong wireType = %d for field IfNotExists", wireType) 44557 } 44558 var v int 44559 for shift := uint(0); ; shift += 7 { 44560 if shift >= 64 { 44561 return ErrIntOverflowPlan 44562 } 44563 if iNdEx >= l { 44564 return io.ErrUnexpectedEOF 44565 } 44566 b := dAtA[iNdEx] 44567 iNdEx++ 44568 v |= int(b&0x7F) << shift 44569 if b < 0x80 { 44570 break 44571 } 44572 } 44573 m.IfNotExists = bool(v != 0) 44574 case 2: 44575 if wireType != 0 { 44576 return fmt.Errorf("proto: wrong wireType = %d for field Temporary", wireType) 44577 } 44578 var v int 44579 for shift := uint(0); ; shift += 7 { 44580 if shift >= 64 { 44581 return ErrIntOverflowPlan 44582 } 44583 if iNdEx >= l { 44584 return io.ErrUnexpectedEOF 44585 } 44586 b := dAtA[iNdEx] 44587 iNdEx++ 44588 v |= int(b&0x7F) << shift 44589 if b < 0x80 { 44590 break 44591 } 44592 } 44593 m.Temporary = bool(v != 0) 44594 case 3: 44595 if wireType != 2 { 44596 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 44597 } 44598 var stringLen uint64 44599 for shift := uint(0); ; shift += 7 { 44600 if shift >= 64 { 44601 return ErrIntOverflowPlan 44602 } 44603 if iNdEx >= l { 44604 return io.ErrUnexpectedEOF 44605 } 44606 b := dAtA[iNdEx] 44607 iNdEx++ 44608 stringLen |= uint64(b&0x7F) << shift 44609 if b < 0x80 { 44610 break 44611 } 44612 } 44613 intStringLen := int(stringLen) 44614 if intStringLen < 0 { 44615 return ErrInvalidLengthPlan 44616 } 44617 postIndex := iNdEx + intStringLen 44618 if postIndex < 0 { 44619 return ErrInvalidLengthPlan 44620 } 44621 if postIndex > l { 44622 return io.ErrUnexpectedEOF 44623 } 44624 m.Database = string(dAtA[iNdEx:postIndex]) 44625 iNdEx = postIndex 44626 case 4: 44627 if wireType != 0 { 44628 return fmt.Errorf("proto: wrong wireType = %d for field Replace", wireType) 44629 } 44630 var v int 44631 for shift := uint(0); ; shift += 7 { 44632 if shift >= 64 { 44633 return ErrIntOverflowPlan 44634 } 44635 if iNdEx >= l { 44636 return io.ErrUnexpectedEOF 44637 } 44638 b := dAtA[iNdEx] 44639 iNdEx++ 44640 v |= int(b&0x7F) << shift 44641 if b < 0x80 { 44642 break 44643 } 44644 } 44645 m.Replace = bool(v != 0) 44646 case 5: 44647 if wireType != 2 { 44648 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 44649 } 44650 var msglen int 44651 for shift := uint(0); ; shift += 7 { 44652 if shift >= 64 { 44653 return ErrIntOverflowPlan 44654 } 44655 if iNdEx >= l { 44656 return io.ErrUnexpectedEOF 44657 } 44658 b := dAtA[iNdEx] 44659 iNdEx++ 44660 msglen |= int(b&0x7F) << shift 44661 if b < 0x80 { 44662 break 44663 } 44664 } 44665 if msglen < 0 { 44666 return ErrInvalidLengthPlan 44667 } 44668 postIndex := iNdEx + msglen 44669 if postIndex < 0 { 44670 return ErrInvalidLengthPlan 44671 } 44672 if postIndex > l { 44673 return io.ErrUnexpectedEOF 44674 } 44675 if m.TableDef == nil { 44676 m.TableDef = &TableDef{} 44677 } 44678 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 44679 return err 44680 } 44681 iNdEx = postIndex 44682 case 6: 44683 if wireType != 2 { 44684 return fmt.Errorf("proto: wrong wireType = %d for field IndexTables", wireType) 44685 } 44686 var msglen int 44687 for shift := uint(0); ; shift += 7 { 44688 if shift >= 64 { 44689 return ErrIntOverflowPlan 44690 } 44691 if iNdEx >= l { 44692 return io.ErrUnexpectedEOF 44693 } 44694 b := dAtA[iNdEx] 44695 iNdEx++ 44696 msglen |= int(b&0x7F) << shift 44697 if b < 0x80 { 44698 break 44699 } 44700 } 44701 if msglen < 0 { 44702 return ErrInvalidLengthPlan 44703 } 44704 postIndex := iNdEx + msglen 44705 if postIndex < 0 { 44706 return ErrInvalidLengthPlan 44707 } 44708 if postIndex > l { 44709 return io.ErrUnexpectedEOF 44710 } 44711 m.IndexTables = append(m.IndexTables, &TableDef{}) 44712 if err := m.IndexTables[len(m.IndexTables)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 44713 return err 44714 } 44715 iNdEx = postIndex 44716 case 7: 44717 if wireType != 2 { 44718 return fmt.Errorf("proto: wrong wireType = %d for field FkDbs", wireType) 44719 } 44720 var stringLen uint64 44721 for shift := uint(0); ; shift += 7 { 44722 if shift >= 64 { 44723 return ErrIntOverflowPlan 44724 } 44725 if iNdEx >= l { 44726 return io.ErrUnexpectedEOF 44727 } 44728 b := dAtA[iNdEx] 44729 iNdEx++ 44730 stringLen |= uint64(b&0x7F) << shift 44731 if b < 0x80 { 44732 break 44733 } 44734 } 44735 intStringLen := int(stringLen) 44736 if intStringLen < 0 { 44737 return ErrInvalidLengthPlan 44738 } 44739 postIndex := iNdEx + intStringLen 44740 if postIndex < 0 { 44741 return ErrInvalidLengthPlan 44742 } 44743 if postIndex > l { 44744 return io.ErrUnexpectedEOF 44745 } 44746 m.FkDbs = append(m.FkDbs, string(dAtA[iNdEx:postIndex])) 44747 iNdEx = postIndex 44748 case 8: 44749 if wireType != 2 { 44750 return fmt.Errorf("proto: wrong wireType = %d for field FkTables", wireType) 44751 } 44752 var stringLen uint64 44753 for shift := uint(0); ; shift += 7 { 44754 if shift >= 64 { 44755 return ErrIntOverflowPlan 44756 } 44757 if iNdEx >= l { 44758 return io.ErrUnexpectedEOF 44759 } 44760 b := dAtA[iNdEx] 44761 iNdEx++ 44762 stringLen |= uint64(b&0x7F) << shift 44763 if b < 0x80 { 44764 break 44765 } 44766 } 44767 intStringLen := int(stringLen) 44768 if intStringLen < 0 { 44769 return ErrInvalidLengthPlan 44770 } 44771 postIndex := iNdEx + intStringLen 44772 if postIndex < 0 { 44773 return ErrInvalidLengthPlan 44774 } 44775 if postIndex > l { 44776 return io.ErrUnexpectedEOF 44777 } 44778 m.FkTables = append(m.FkTables, string(dAtA[iNdEx:postIndex])) 44779 iNdEx = postIndex 44780 case 9: 44781 if wireType != 2 { 44782 return fmt.Errorf("proto: wrong wireType = %d for field FkCols", wireType) 44783 } 44784 var msglen int 44785 for shift := uint(0); ; shift += 7 { 44786 if shift >= 64 { 44787 return ErrIntOverflowPlan 44788 } 44789 if iNdEx >= l { 44790 return io.ErrUnexpectedEOF 44791 } 44792 b := dAtA[iNdEx] 44793 iNdEx++ 44794 msglen |= int(b&0x7F) << shift 44795 if b < 0x80 { 44796 break 44797 } 44798 } 44799 if msglen < 0 { 44800 return ErrInvalidLengthPlan 44801 } 44802 postIndex := iNdEx + msglen 44803 if postIndex < 0 { 44804 return ErrInvalidLengthPlan 44805 } 44806 if postIndex > l { 44807 return io.ErrUnexpectedEOF 44808 } 44809 m.FkCols = append(m.FkCols, &FkColName{}) 44810 if err := m.FkCols[len(m.FkCols)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 44811 return err 44812 } 44813 iNdEx = postIndex 44814 case 10: 44815 if wireType != 2 { 44816 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTables", wireType) 44817 } 44818 var msglen int 44819 for shift := uint(0); ; shift += 7 { 44820 if shift >= 64 { 44821 return ErrIntOverflowPlan 44822 } 44823 if iNdEx >= l { 44824 return io.ErrUnexpectedEOF 44825 } 44826 b := dAtA[iNdEx] 44827 iNdEx++ 44828 msglen |= int(b&0x7F) << shift 44829 if b < 0x80 { 44830 break 44831 } 44832 } 44833 if msglen < 0 { 44834 return ErrInvalidLengthPlan 44835 } 44836 postIndex := iNdEx + msglen 44837 if postIndex < 0 { 44838 return ErrInvalidLengthPlan 44839 } 44840 if postIndex > l { 44841 return io.ErrUnexpectedEOF 44842 } 44843 m.PartitionTables = append(m.PartitionTables, &TableDef{}) 44844 if err := m.PartitionTables[len(m.PartitionTables)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 44845 return err 44846 } 44847 iNdEx = postIndex 44848 case 11: 44849 if wireType != 2 { 44850 return fmt.Errorf("proto: wrong wireType = %d for field CreateAsSelectSql", wireType) 44851 } 44852 var stringLen uint64 44853 for shift := uint(0); ; shift += 7 { 44854 if shift >= 64 { 44855 return ErrIntOverflowPlan 44856 } 44857 if iNdEx >= l { 44858 return io.ErrUnexpectedEOF 44859 } 44860 b := dAtA[iNdEx] 44861 iNdEx++ 44862 stringLen |= uint64(b&0x7F) << shift 44863 if b < 0x80 { 44864 break 44865 } 44866 } 44867 intStringLen := int(stringLen) 44868 if intStringLen < 0 { 44869 return ErrInvalidLengthPlan 44870 } 44871 postIndex := iNdEx + intStringLen 44872 if postIndex < 0 { 44873 return ErrInvalidLengthPlan 44874 } 44875 if postIndex > l { 44876 return io.ErrUnexpectedEOF 44877 } 44878 m.CreateAsSelectSql = string(dAtA[iNdEx:postIndex]) 44879 iNdEx = postIndex 44880 case 12: 44881 if wireType != 2 { 44882 return fmt.Errorf("proto: wrong wireType = %d for field UpdateFkSqls", wireType) 44883 } 44884 var stringLen uint64 44885 for shift := uint(0); ; shift += 7 { 44886 if shift >= 64 { 44887 return ErrIntOverflowPlan 44888 } 44889 if iNdEx >= l { 44890 return io.ErrUnexpectedEOF 44891 } 44892 b := dAtA[iNdEx] 44893 iNdEx++ 44894 stringLen |= uint64(b&0x7F) << shift 44895 if b < 0x80 { 44896 break 44897 } 44898 } 44899 intStringLen := int(stringLen) 44900 if intStringLen < 0 { 44901 return ErrInvalidLengthPlan 44902 } 44903 postIndex := iNdEx + intStringLen 44904 if postIndex < 0 { 44905 return ErrInvalidLengthPlan 44906 } 44907 if postIndex > l { 44908 return io.ErrUnexpectedEOF 44909 } 44910 m.UpdateFkSqls = append(m.UpdateFkSqls, string(dAtA[iNdEx:postIndex])) 44911 iNdEx = postIndex 44912 case 13: 44913 if wireType != 2 { 44914 return fmt.Errorf("proto: wrong wireType = %d for field FksReferToMe", wireType) 44915 } 44916 var msglen int 44917 for shift := uint(0); ; shift += 7 { 44918 if shift >= 64 { 44919 return ErrIntOverflowPlan 44920 } 44921 if iNdEx >= l { 44922 return io.ErrUnexpectedEOF 44923 } 44924 b := dAtA[iNdEx] 44925 iNdEx++ 44926 msglen |= int(b&0x7F) << shift 44927 if b < 0x80 { 44928 break 44929 } 44930 } 44931 if msglen < 0 { 44932 return ErrInvalidLengthPlan 44933 } 44934 postIndex := iNdEx + msglen 44935 if postIndex < 0 { 44936 return ErrInvalidLengthPlan 44937 } 44938 if postIndex > l { 44939 return io.ErrUnexpectedEOF 44940 } 44941 m.FksReferToMe = append(m.FksReferToMe, &ForeignKeyInfo{}) 44942 if err := m.FksReferToMe[len(m.FksReferToMe)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 44943 return err 44944 } 44945 iNdEx = postIndex 44946 default: 44947 iNdEx = preIndex 44948 skippy, err := skipPlan(dAtA[iNdEx:]) 44949 if err != nil { 44950 return err 44951 } 44952 if (skippy < 0) || (iNdEx+skippy) < 0 { 44953 return ErrInvalidLengthPlan 44954 } 44955 if (iNdEx + skippy) > l { 44956 return io.ErrUnexpectedEOF 44957 } 44958 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 44959 iNdEx += skippy 44960 } 44961 } 44962 44963 if iNdEx > l { 44964 return io.ErrUnexpectedEOF 44965 } 44966 return nil 44967 } 44968 func (m *AlterTableDrop) Unmarshal(dAtA []byte) error { 44969 l := len(dAtA) 44970 iNdEx := 0 44971 for iNdEx < l { 44972 preIndex := iNdEx 44973 var wire uint64 44974 for shift := uint(0); ; shift += 7 { 44975 if shift >= 64 { 44976 return ErrIntOverflowPlan 44977 } 44978 if iNdEx >= l { 44979 return io.ErrUnexpectedEOF 44980 } 44981 b := dAtA[iNdEx] 44982 iNdEx++ 44983 wire |= uint64(b&0x7F) << shift 44984 if b < 0x80 { 44985 break 44986 } 44987 } 44988 fieldNum := int32(wire >> 3) 44989 wireType := int(wire & 0x7) 44990 if wireType == 4 { 44991 return fmt.Errorf("proto: AlterTableDrop: wiretype end group for non-group") 44992 } 44993 if fieldNum <= 0 { 44994 return fmt.Errorf("proto: AlterTableDrop: illegal tag %d (wire type %d)", fieldNum, wire) 44995 } 44996 switch fieldNum { 44997 case 1: 44998 if wireType != 0 { 44999 return fmt.Errorf("proto: wrong wireType = %d for field Typ", wireType) 45000 } 45001 m.Typ = 0 45002 for shift := uint(0); ; shift += 7 { 45003 if shift >= 64 { 45004 return ErrIntOverflowPlan 45005 } 45006 if iNdEx >= l { 45007 return io.ErrUnexpectedEOF 45008 } 45009 b := dAtA[iNdEx] 45010 iNdEx++ 45011 m.Typ |= AlterTableDrop_Typ(b&0x7F) << shift 45012 if b < 0x80 { 45013 break 45014 } 45015 } 45016 case 2: 45017 if wireType != 2 { 45018 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 45019 } 45020 var stringLen uint64 45021 for shift := uint(0); ; shift += 7 { 45022 if shift >= 64 { 45023 return ErrIntOverflowPlan 45024 } 45025 if iNdEx >= l { 45026 return io.ErrUnexpectedEOF 45027 } 45028 b := dAtA[iNdEx] 45029 iNdEx++ 45030 stringLen |= uint64(b&0x7F) << shift 45031 if b < 0x80 { 45032 break 45033 } 45034 } 45035 intStringLen := int(stringLen) 45036 if intStringLen < 0 { 45037 return ErrInvalidLengthPlan 45038 } 45039 postIndex := iNdEx + intStringLen 45040 if postIndex < 0 { 45041 return ErrInvalidLengthPlan 45042 } 45043 if postIndex > l { 45044 return io.ErrUnexpectedEOF 45045 } 45046 m.Name = string(dAtA[iNdEx:postIndex]) 45047 iNdEx = postIndex 45048 case 3: 45049 if wireType != 2 { 45050 return fmt.Errorf("proto: wrong wireType = %d for field IndexTableName", wireType) 45051 } 45052 var stringLen uint64 45053 for shift := uint(0); ; shift += 7 { 45054 if shift >= 64 { 45055 return ErrIntOverflowPlan 45056 } 45057 if iNdEx >= l { 45058 return io.ErrUnexpectedEOF 45059 } 45060 b := dAtA[iNdEx] 45061 iNdEx++ 45062 stringLen |= uint64(b&0x7F) << shift 45063 if b < 0x80 { 45064 break 45065 } 45066 } 45067 intStringLen := int(stringLen) 45068 if intStringLen < 0 { 45069 return ErrInvalidLengthPlan 45070 } 45071 postIndex := iNdEx + intStringLen 45072 if postIndex < 0 { 45073 return ErrInvalidLengthPlan 45074 } 45075 if postIndex > l { 45076 return io.ErrUnexpectedEOF 45077 } 45078 m.IndexTableName = string(dAtA[iNdEx:postIndex]) 45079 iNdEx = postIndex 45080 default: 45081 iNdEx = preIndex 45082 skippy, err := skipPlan(dAtA[iNdEx:]) 45083 if err != nil { 45084 return err 45085 } 45086 if (skippy < 0) || (iNdEx+skippy) < 0 { 45087 return ErrInvalidLengthPlan 45088 } 45089 if (iNdEx + skippy) > l { 45090 return io.ErrUnexpectedEOF 45091 } 45092 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45093 iNdEx += skippy 45094 } 45095 } 45096 45097 if iNdEx > l { 45098 return io.ErrUnexpectedEOF 45099 } 45100 return nil 45101 } 45102 func (m *AlterTableAddFk) Unmarshal(dAtA []byte) error { 45103 l := len(dAtA) 45104 iNdEx := 0 45105 for iNdEx < l { 45106 preIndex := iNdEx 45107 var wire uint64 45108 for shift := uint(0); ; shift += 7 { 45109 if shift >= 64 { 45110 return ErrIntOverflowPlan 45111 } 45112 if iNdEx >= l { 45113 return io.ErrUnexpectedEOF 45114 } 45115 b := dAtA[iNdEx] 45116 iNdEx++ 45117 wire |= uint64(b&0x7F) << shift 45118 if b < 0x80 { 45119 break 45120 } 45121 } 45122 fieldNum := int32(wire >> 3) 45123 wireType := int(wire & 0x7) 45124 if wireType == 4 { 45125 return fmt.Errorf("proto: AlterTableAddFk: wiretype end group for non-group") 45126 } 45127 if fieldNum <= 0 { 45128 return fmt.Errorf("proto: AlterTableAddFk: illegal tag %d (wire type %d)", fieldNum, wire) 45129 } 45130 switch fieldNum { 45131 case 1: 45132 if wireType != 2 { 45133 return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) 45134 } 45135 var stringLen uint64 45136 for shift := uint(0); ; shift += 7 { 45137 if shift >= 64 { 45138 return ErrIntOverflowPlan 45139 } 45140 if iNdEx >= l { 45141 return io.ErrUnexpectedEOF 45142 } 45143 b := dAtA[iNdEx] 45144 iNdEx++ 45145 stringLen |= uint64(b&0x7F) << shift 45146 if b < 0x80 { 45147 break 45148 } 45149 } 45150 intStringLen := int(stringLen) 45151 if intStringLen < 0 { 45152 return ErrInvalidLengthPlan 45153 } 45154 postIndex := iNdEx + intStringLen 45155 if postIndex < 0 { 45156 return ErrInvalidLengthPlan 45157 } 45158 if postIndex > l { 45159 return io.ErrUnexpectedEOF 45160 } 45161 m.DbName = string(dAtA[iNdEx:postIndex]) 45162 iNdEx = postIndex 45163 case 2: 45164 if wireType != 2 { 45165 return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) 45166 } 45167 var stringLen uint64 45168 for shift := uint(0); ; shift += 7 { 45169 if shift >= 64 { 45170 return ErrIntOverflowPlan 45171 } 45172 if iNdEx >= l { 45173 return io.ErrUnexpectedEOF 45174 } 45175 b := dAtA[iNdEx] 45176 iNdEx++ 45177 stringLen |= uint64(b&0x7F) << shift 45178 if b < 0x80 { 45179 break 45180 } 45181 } 45182 intStringLen := int(stringLen) 45183 if intStringLen < 0 { 45184 return ErrInvalidLengthPlan 45185 } 45186 postIndex := iNdEx + intStringLen 45187 if postIndex < 0 { 45188 return ErrInvalidLengthPlan 45189 } 45190 if postIndex > l { 45191 return io.ErrUnexpectedEOF 45192 } 45193 m.TableName = string(dAtA[iNdEx:postIndex]) 45194 iNdEx = postIndex 45195 case 3: 45196 if wireType != 2 { 45197 return fmt.Errorf("proto: wrong wireType = %d for field Cols", wireType) 45198 } 45199 var stringLen uint64 45200 for shift := uint(0); ; shift += 7 { 45201 if shift >= 64 { 45202 return ErrIntOverflowPlan 45203 } 45204 if iNdEx >= l { 45205 return io.ErrUnexpectedEOF 45206 } 45207 b := dAtA[iNdEx] 45208 iNdEx++ 45209 stringLen |= uint64(b&0x7F) << shift 45210 if b < 0x80 { 45211 break 45212 } 45213 } 45214 intStringLen := int(stringLen) 45215 if intStringLen < 0 { 45216 return ErrInvalidLengthPlan 45217 } 45218 postIndex := iNdEx + intStringLen 45219 if postIndex < 0 { 45220 return ErrInvalidLengthPlan 45221 } 45222 if postIndex > l { 45223 return io.ErrUnexpectedEOF 45224 } 45225 m.Cols = append(m.Cols, string(dAtA[iNdEx:postIndex])) 45226 iNdEx = postIndex 45227 case 4: 45228 if wireType != 2 { 45229 return fmt.Errorf("proto: wrong wireType = %d for field Fkey", wireType) 45230 } 45231 var msglen int 45232 for shift := uint(0); ; shift += 7 { 45233 if shift >= 64 { 45234 return ErrIntOverflowPlan 45235 } 45236 if iNdEx >= l { 45237 return io.ErrUnexpectedEOF 45238 } 45239 b := dAtA[iNdEx] 45240 iNdEx++ 45241 msglen |= int(b&0x7F) << shift 45242 if b < 0x80 { 45243 break 45244 } 45245 } 45246 if msglen < 0 { 45247 return ErrInvalidLengthPlan 45248 } 45249 postIndex := iNdEx + msglen 45250 if postIndex < 0 { 45251 return ErrInvalidLengthPlan 45252 } 45253 if postIndex > l { 45254 return io.ErrUnexpectedEOF 45255 } 45256 if m.Fkey == nil { 45257 m.Fkey = &ForeignKeyDef{} 45258 } 45259 if err := m.Fkey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 45260 return err 45261 } 45262 iNdEx = postIndex 45263 default: 45264 iNdEx = preIndex 45265 skippy, err := skipPlan(dAtA[iNdEx:]) 45266 if err != nil { 45267 return err 45268 } 45269 if (skippy < 0) || (iNdEx+skippy) < 0 { 45270 return ErrInvalidLengthPlan 45271 } 45272 if (iNdEx + skippy) > l { 45273 return io.ErrUnexpectedEOF 45274 } 45275 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45276 iNdEx += skippy 45277 } 45278 } 45279 45280 if iNdEx > l { 45281 return io.ErrUnexpectedEOF 45282 } 45283 return nil 45284 } 45285 func (m *AlterTableAddIndex) Unmarshal(dAtA []byte) error { 45286 l := len(dAtA) 45287 iNdEx := 0 45288 for iNdEx < l { 45289 preIndex := iNdEx 45290 var wire uint64 45291 for shift := uint(0); ; shift += 7 { 45292 if shift >= 64 { 45293 return ErrIntOverflowPlan 45294 } 45295 if iNdEx >= l { 45296 return io.ErrUnexpectedEOF 45297 } 45298 b := dAtA[iNdEx] 45299 iNdEx++ 45300 wire |= uint64(b&0x7F) << shift 45301 if b < 0x80 { 45302 break 45303 } 45304 } 45305 fieldNum := int32(wire >> 3) 45306 wireType := int(wire & 0x7) 45307 if wireType == 4 { 45308 return fmt.Errorf("proto: AlterTableAddIndex: wiretype end group for non-group") 45309 } 45310 if fieldNum <= 0 { 45311 return fmt.Errorf("proto: AlterTableAddIndex: illegal tag %d (wire type %d)", fieldNum, wire) 45312 } 45313 switch fieldNum { 45314 case 1: 45315 if wireType != 2 { 45316 return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) 45317 } 45318 var stringLen uint64 45319 for shift := uint(0); ; shift += 7 { 45320 if shift >= 64 { 45321 return ErrIntOverflowPlan 45322 } 45323 if iNdEx >= l { 45324 return io.ErrUnexpectedEOF 45325 } 45326 b := dAtA[iNdEx] 45327 iNdEx++ 45328 stringLen |= uint64(b&0x7F) << shift 45329 if b < 0x80 { 45330 break 45331 } 45332 } 45333 intStringLen := int(stringLen) 45334 if intStringLen < 0 { 45335 return ErrInvalidLengthPlan 45336 } 45337 postIndex := iNdEx + intStringLen 45338 if postIndex < 0 { 45339 return ErrInvalidLengthPlan 45340 } 45341 if postIndex > l { 45342 return io.ErrUnexpectedEOF 45343 } 45344 m.DbName = string(dAtA[iNdEx:postIndex]) 45345 iNdEx = postIndex 45346 case 2: 45347 if wireType != 2 { 45348 return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) 45349 } 45350 var stringLen uint64 45351 for shift := uint(0); ; shift += 7 { 45352 if shift >= 64 { 45353 return ErrIntOverflowPlan 45354 } 45355 if iNdEx >= l { 45356 return io.ErrUnexpectedEOF 45357 } 45358 b := dAtA[iNdEx] 45359 iNdEx++ 45360 stringLen |= uint64(b&0x7F) << shift 45361 if b < 0x80 { 45362 break 45363 } 45364 } 45365 intStringLen := int(stringLen) 45366 if intStringLen < 0 { 45367 return ErrInvalidLengthPlan 45368 } 45369 postIndex := iNdEx + intStringLen 45370 if postIndex < 0 { 45371 return ErrInvalidLengthPlan 45372 } 45373 if postIndex > l { 45374 return io.ErrUnexpectedEOF 45375 } 45376 m.TableName = string(dAtA[iNdEx:postIndex]) 45377 iNdEx = postIndex 45378 case 3: 45379 if wireType != 2 { 45380 return fmt.Errorf("proto: wrong wireType = %d for field OriginTablePrimaryKey", wireType) 45381 } 45382 var stringLen uint64 45383 for shift := uint(0); ; shift += 7 { 45384 if shift >= 64 { 45385 return ErrIntOverflowPlan 45386 } 45387 if iNdEx >= l { 45388 return io.ErrUnexpectedEOF 45389 } 45390 b := dAtA[iNdEx] 45391 iNdEx++ 45392 stringLen |= uint64(b&0x7F) << shift 45393 if b < 0x80 { 45394 break 45395 } 45396 } 45397 intStringLen := int(stringLen) 45398 if intStringLen < 0 { 45399 return ErrInvalidLengthPlan 45400 } 45401 postIndex := iNdEx + intStringLen 45402 if postIndex < 0 { 45403 return ErrInvalidLengthPlan 45404 } 45405 if postIndex > l { 45406 return io.ErrUnexpectedEOF 45407 } 45408 m.OriginTablePrimaryKey = string(dAtA[iNdEx:postIndex]) 45409 iNdEx = postIndex 45410 case 4: 45411 if wireType != 2 { 45412 return fmt.Errorf("proto: wrong wireType = %d for field IndexInfo", wireType) 45413 } 45414 var msglen int 45415 for shift := uint(0); ; shift += 7 { 45416 if shift >= 64 { 45417 return ErrIntOverflowPlan 45418 } 45419 if iNdEx >= l { 45420 return io.ErrUnexpectedEOF 45421 } 45422 b := dAtA[iNdEx] 45423 iNdEx++ 45424 msglen |= int(b&0x7F) << shift 45425 if b < 0x80 { 45426 break 45427 } 45428 } 45429 if msglen < 0 { 45430 return ErrInvalidLengthPlan 45431 } 45432 postIndex := iNdEx + msglen 45433 if postIndex < 0 { 45434 return ErrInvalidLengthPlan 45435 } 45436 if postIndex > l { 45437 return io.ErrUnexpectedEOF 45438 } 45439 if m.IndexInfo == nil { 45440 m.IndexInfo = &CreateTable{} 45441 } 45442 if err := m.IndexInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 45443 return err 45444 } 45445 iNdEx = postIndex 45446 case 5: 45447 if wireType != 0 { 45448 return fmt.Errorf("proto: wrong wireType = %d for field IndexTableExist", wireType) 45449 } 45450 var v int 45451 for shift := uint(0); ; shift += 7 { 45452 if shift >= 64 { 45453 return ErrIntOverflowPlan 45454 } 45455 if iNdEx >= l { 45456 return io.ErrUnexpectedEOF 45457 } 45458 b := dAtA[iNdEx] 45459 iNdEx++ 45460 v |= int(b&0x7F) << shift 45461 if b < 0x80 { 45462 break 45463 } 45464 } 45465 m.IndexTableExist = bool(v != 0) 45466 default: 45467 iNdEx = preIndex 45468 skippy, err := skipPlan(dAtA[iNdEx:]) 45469 if err != nil { 45470 return err 45471 } 45472 if (skippy < 0) || (iNdEx+skippy) < 0 { 45473 return ErrInvalidLengthPlan 45474 } 45475 if (iNdEx + skippy) > l { 45476 return io.ErrUnexpectedEOF 45477 } 45478 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45479 iNdEx += skippy 45480 } 45481 } 45482 45483 if iNdEx > l { 45484 return io.ErrUnexpectedEOF 45485 } 45486 return nil 45487 } 45488 func (m *AlterTableDropIndex) Unmarshal(dAtA []byte) error { 45489 l := len(dAtA) 45490 iNdEx := 0 45491 for iNdEx < l { 45492 preIndex := iNdEx 45493 var wire uint64 45494 for shift := uint(0); ; shift += 7 { 45495 if shift >= 64 { 45496 return ErrIntOverflowPlan 45497 } 45498 if iNdEx >= l { 45499 return io.ErrUnexpectedEOF 45500 } 45501 b := dAtA[iNdEx] 45502 iNdEx++ 45503 wire |= uint64(b&0x7F) << shift 45504 if b < 0x80 { 45505 break 45506 } 45507 } 45508 fieldNum := int32(wire >> 3) 45509 wireType := int(wire & 0x7) 45510 if wireType == 4 { 45511 return fmt.Errorf("proto: AlterTableDropIndex: wiretype end group for non-group") 45512 } 45513 if fieldNum <= 0 { 45514 return fmt.Errorf("proto: AlterTableDropIndex: illegal tag %d (wire type %d)", fieldNum, wire) 45515 } 45516 switch fieldNum { 45517 case 1: 45518 if wireType != 2 { 45519 return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) 45520 } 45521 var stringLen uint64 45522 for shift := uint(0); ; shift += 7 { 45523 if shift >= 64 { 45524 return ErrIntOverflowPlan 45525 } 45526 if iNdEx >= l { 45527 return io.ErrUnexpectedEOF 45528 } 45529 b := dAtA[iNdEx] 45530 iNdEx++ 45531 stringLen |= uint64(b&0x7F) << shift 45532 if b < 0x80 { 45533 break 45534 } 45535 } 45536 intStringLen := int(stringLen) 45537 if intStringLen < 0 { 45538 return ErrInvalidLengthPlan 45539 } 45540 postIndex := iNdEx + intStringLen 45541 if postIndex < 0 { 45542 return ErrInvalidLengthPlan 45543 } 45544 if postIndex > l { 45545 return io.ErrUnexpectedEOF 45546 } 45547 m.DbName = string(dAtA[iNdEx:postIndex]) 45548 iNdEx = postIndex 45549 case 2: 45550 if wireType != 2 { 45551 return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) 45552 } 45553 var stringLen uint64 45554 for shift := uint(0); ; shift += 7 { 45555 if shift >= 64 { 45556 return ErrIntOverflowPlan 45557 } 45558 if iNdEx >= l { 45559 return io.ErrUnexpectedEOF 45560 } 45561 b := dAtA[iNdEx] 45562 iNdEx++ 45563 stringLen |= uint64(b&0x7F) << shift 45564 if b < 0x80 { 45565 break 45566 } 45567 } 45568 intStringLen := int(stringLen) 45569 if intStringLen < 0 { 45570 return ErrInvalidLengthPlan 45571 } 45572 postIndex := iNdEx + intStringLen 45573 if postIndex < 0 { 45574 return ErrInvalidLengthPlan 45575 } 45576 if postIndex > l { 45577 return io.ErrUnexpectedEOF 45578 } 45579 m.TableName = string(dAtA[iNdEx:postIndex]) 45580 iNdEx = postIndex 45581 case 3: 45582 if wireType != 2 { 45583 return fmt.Errorf("proto: wrong wireType = %d for field IndexName", wireType) 45584 } 45585 var stringLen uint64 45586 for shift := uint(0); ; shift += 7 { 45587 if shift >= 64 { 45588 return ErrIntOverflowPlan 45589 } 45590 if iNdEx >= l { 45591 return io.ErrUnexpectedEOF 45592 } 45593 b := dAtA[iNdEx] 45594 iNdEx++ 45595 stringLen |= uint64(b&0x7F) << shift 45596 if b < 0x80 { 45597 break 45598 } 45599 } 45600 intStringLen := int(stringLen) 45601 if intStringLen < 0 { 45602 return ErrInvalidLengthPlan 45603 } 45604 postIndex := iNdEx + intStringLen 45605 if postIndex < 0 { 45606 return ErrInvalidLengthPlan 45607 } 45608 if postIndex > l { 45609 return io.ErrUnexpectedEOF 45610 } 45611 m.IndexName = string(dAtA[iNdEx:postIndex]) 45612 iNdEx = postIndex 45613 case 4: 45614 if wireType != 2 { 45615 return fmt.Errorf("proto: wrong wireType = %d for field IndexTableName", wireType) 45616 } 45617 var stringLen uint64 45618 for shift := uint(0); ; shift += 7 { 45619 if shift >= 64 { 45620 return ErrIntOverflowPlan 45621 } 45622 if iNdEx >= l { 45623 return io.ErrUnexpectedEOF 45624 } 45625 b := dAtA[iNdEx] 45626 iNdEx++ 45627 stringLen |= uint64(b&0x7F) << shift 45628 if b < 0x80 { 45629 break 45630 } 45631 } 45632 intStringLen := int(stringLen) 45633 if intStringLen < 0 { 45634 return ErrInvalidLengthPlan 45635 } 45636 postIndex := iNdEx + intStringLen 45637 if postIndex < 0 { 45638 return ErrInvalidLengthPlan 45639 } 45640 if postIndex > l { 45641 return io.ErrUnexpectedEOF 45642 } 45643 m.IndexTableName = string(dAtA[iNdEx:postIndex]) 45644 iNdEx = postIndex 45645 default: 45646 iNdEx = preIndex 45647 skippy, err := skipPlan(dAtA[iNdEx:]) 45648 if err != nil { 45649 return err 45650 } 45651 if (skippy < 0) || (iNdEx+skippy) < 0 { 45652 return ErrInvalidLengthPlan 45653 } 45654 if (iNdEx + skippy) > l { 45655 return io.ErrUnexpectedEOF 45656 } 45657 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45658 iNdEx += skippy 45659 } 45660 } 45661 45662 if iNdEx > l { 45663 return io.ErrUnexpectedEOF 45664 } 45665 return nil 45666 } 45667 func (m *AlterTableAlterIndex) Unmarshal(dAtA []byte) error { 45668 l := len(dAtA) 45669 iNdEx := 0 45670 for iNdEx < l { 45671 preIndex := iNdEx 45672 var wire uint64 45673 for shift := uint(0); ; shift += 7 { 45674 if shift >= 64 { 45675 return ErrIntOverflowPlan 45676 } 45677 if iNdEx >= l { 45678 return io.ErrUnexpectedEOF 45679 } 45680 b := dAtA[iNdEx] 45681 iNdEx++ 45682 wire |= uint64(b&0x7F) << shift 45683 if b < 0x80 { 45684 break 45685 } 45686 } 45687 fieldNum := int32(wire >> 3) 45688 wireType := int(wire & 0x7) 45689 if wireType == 4 { 45690 return fmt.Errorf("proto: AlterTableAlterIndex: wiretype end group for non-group") 45691 } 45692 if fieldNum <= 0 { 45693 return fmt.Errorf("proto: AlterTableAlterIndex: illegal tag %d (wire type %d)", fieldNum, wire) 45694 } 45695 switch fieldNum { 45696 case 1: 45697 if wireType != 2 { 45698 return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) 45699 } 45700 var stringLen uint64 45701 for shift := uint(0); ; shift += 7 { 45702 if shift >= 64 { 45703 return ErrIntOverflowPlan 45704 } 45705 if iNdEx >= l { 45706 return io.ErrUnexpectedEOF 45707 } 45708 b := dAtA[iNdEx] 45709 iNdEx++ 45710 stringLen |= uint64(b&0x7F) << shift 45711 if b < 0x80 { 45712 break 45713 } 45714 } 45715 intStringLen := int(stringLen) 45716 if intStringLen < 0 { 45717 return ErrInvalidLengthPlan 45718 } 45719 postIndex := iNdEx + intStringLen 45720 if postIndex < 0 { 45721 return ErrInvalidLengthPlan 45722 } 45723 if postIndex > l { 45724 return io.ErrUnexpectedEOF 45725 } 45726 m.DbName = string(dAtA[iNdEx:postIndex]) 45727 iNdEx = postIndex 45728 case 2: 45729 if wireType != 2 { 45730 return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) 45731 } 45732 var stringLen uint64 45733 for shift := uint(0); ; shift += 7 { 45734 if shift >= 64 { 45735 return ErrIntOverflowPlan 45736 } 45737 if iNdEx >= l { 45738 return io.ErrUnexpectedEOF 45739 } 45740 b := dAtA[iNdEx] 45741 iNdEx++ 45742 stringLen |= uint64(b&0x7F) << shift 45743 if b < 0x80 { 45744 break 45745 } 45746 } 45747 intStringLen := int(stringLen) 45748 if intStringLen < 0 { 45749 return ErrInvalidLengthPlan 45750 } 45751 postIndex := iNdEx + intStringLen 45752 if postIndex < 0 { 45753 return ErrInvalidLengthPlan 45754 } 45755 if postIndex > l { 45756 return io.ErrUnexpectedEOF 45757 } 45758 m.TableName = string(dAtA[iNdEx:postIndex]) 45759 iNdEx = postIndex 45760 case 3: 45761 if wireType != 2 { 45762 return fmt.Errorf("proto: wrong wireType = %d for field IndexName", wireType) 45763 } 45764 var stringLen uint64 45765 for shift := uint(0); ; shift += 7 { 45766 if shift >= 64 { 45767 return ErrIntOverflowPlan 45768 } 45769 if iNdEx >= l { 45770 return io.ErrUnexpectedEOF 45771 } 45772 b := dAtA[iNdEx] 45773 iNdEx++ 45774 stringLen |= uint64(b&0x7F) << shift 45775 if b < 0x80 { 45776 break 45777 } 45778 } 45779 intStringLen := int(stringLen) 45780 if intStringLen < 0 { 45781 return ErrInvalidLengthPlan 45782 } 45783 postIndex := iNdEx + intStringLen 45784 if postIndex < 0 { 45785 return ErrInvalidLengthPlan 45786 } 45787 if postIndex > l { 45788 return io.ErrUnexpectedEOF 45789 } 45790 m.IndexName = string(dAtA[iNdEx:postIndex]) 45791 iNdEx = postIndex 45792 case 4: 45793 if wireType != 0 { 45794 return fmt.Errorf("proto: wrong wireType = %d for field Visible", wireType) 45795 } 45796 var v int 45797 for shift := uint(0); ; shift += 7 { 45798 if shift >= 64 { 45799 return ErrIntOverflowPlan 45800 } 45801 if iNdEx >= l { 45802 return io.ErrUnexpectedEOF 45803 } 45804 b := dAtA[iNdEx] 45805 iNdEx++ 45806 v |= int(b&0x7F) << shift 45807 if b < 0x80 { 45808 break 45809 } 45810 } 45811 m.Visible = bool(v != 0) 45812 default: 45813 iNdEx = preIndex 45814 skippy, err := skipPlan(dAtA[iNdEx:]) 45815 if err != nil { 45816 return err 45817 } 45818 if (skippy < 0) || (iNdEx+skippy) < 0 { 45819 return ErrInvalidLengthPlan 45820 } 45821 if (iNdEx + skippy) > l { 45822 return io.ErrUnexpectedEOF 45823 } 45824 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45825 iNdEx += skippy 45826 } 45827 } 45828 45829 if iNdEx > l { 45830 return io.ErrUnexpectedEOF 45831 } 45832 return nil 45833 } 45834 func (m *AlterTableAlterReIndex) Unmarshal(dAtA []byte) error { 45835 l := len(dAtA) 45836 iNdEx := 0 45837 for iNdEx < l { 45838 preIndex := iNdEx 45839 var wire uint64 45840 for shift := uint(0); ; shift += 7 { 45841 if shift >= 64 { 45842 return ErrIntOverflowPlan 45843 } 45844 if iNdEx >= l { 45845 return io.ErrUnexpectedEOF 45846 } 45847 b := dAtA[iNdEx] 45848 iNdEx++ 45849 wire |= uint64(b&0x7F) << shift 45850 if b < 0x80 { 45851 break 45852 } 45853 } 45854 fieldNum := int32(wire >> 3) 45855 wireType := int(wire & 0x7) 45856 if wireType == 4 { 45857 return fmt.Errorf("proto: AlterTableAlterReIndex: wiretype end group for non-group") 45858 } 45859 if fieldNum <= 0 { 45860 return fmt.Errorf("proto: AlterTableAlterReIndex: illegal tag %d (wire type %d)", fieldNum, wire) 45861 } 45862 switch fieldNum { 45863 case 1: 45864 if wireType != 2 { 45865 return fmt.Errorf("proto: wrong wireType = %d for field DbName", wireType) 45866 } 45867 var stringLen uint64 45868 for shift := uint(0); ; shift += 7 { 45869 if shift >= 64 { 45870 return ErrIntOverflowPlan 45871 } 45872 if iNdEx >= l { 45873 return io.ErrUnexpectedEOF 45874 } 45875 b := dAtA[iNdEx] 45876 iNdEx++ 45877 stringLen |= uint64(b&0x7F) << shift 45878 if b < 0x80 { 45879 break 45880 } 45881 } 45882 intStringLen := int(stringLen) 45883 if intStringLen < 0 { 45884 return ErrInvalidLengthPlan 45885 } 45886 postIndex := iNdEx + intStringLen 45887 if postIndex < 0 { 45888 return ErrInvalidLengthPlan 45889 } 45890 if postIndex > l { 45891 return io.ErrUnexpectedEOF 45892 } 45893 m.DbName = string(dAtA[iNdEx:postIndex]) 45894 iNdEx = postIndex 45895 case 2: 45896 if wireType != 2 { 45897 return fmt.Errorf("proto: wrong wireType = %d for field TableName", wireType) 45898 } 45899 var stringLen uint64 45900 for shift := uint(0); ; shift += 7 { 45901 if shift >= 64 { 45902 return ErrIntOverflowPlan 45903 } 45904 if iNdEx >= l { 45905 return io.ErrUnexpectedEOF 45906 } 45907 b := dAtA[iNdEx] 45908 iNdEx++ 45909 stringLen |= uint64(b&0x7F) << shift 45910 if b < 0x80 { 45911 break 45912 } 45913 } 45914 intStringLen := int(stringLen) 45915 if intStringLen < 0 { 45916 return ErrInvalidLengthPlan 45917 } 45918 postIndex := iNdEx + intStringLen 45919 if postIndex < 0 { 45920 return ErrInvalidLengthPlan 45921 } 45922 if postIndex > l { 45923 return io.ErrUnexpectedEOF 45924 } 45925 m.TableName = string(dAtA[iNdEx:postIndex]) 45926 iNdEx = postIndex 45927 case 3: 45928 if wireType != 2 { 45929 return fmt.Errorf("proto: wrong wireType = %d for field IndexName", wireType) 45930 } 45931 var stringLen uint64 45932 for shift := uint(0); ; shift += 7 { 45933 if shift >= 64 { 45934 return ErrIntOverflowPlan 45935 } 45936 if iNdEx >= l { 45937 return io.ErrUnexpectedEOF 45938 } 45939 b := dAtA[iNdEx] 45940 iNdEx++ 45941 stringLen |= uint64(b&0x7F) << shift 45942 if b < 0x80 { 45943 break 45944 } 45945 } 45946 intStringLen := int(stringLen) 45947 if intStringLen < 0 { 45948 return ErrInvalidLengthPlan 45949 } 45950 postIndex := iNdEx + intStringLen 45951 if postIndex < 0 { 45952 return ErrInvalidLengthPlan 45953 } 45954 if postIndex > l { 45955 return io.ErrUnexpectedEOF 45956 } 45957 m.IndexName = string(dAtA[iNdEx:postIndex]) 45958 iNdEx = postIndex 45959 case 4: 45960 if wireType != 0 { 45961 return fmt.Errorf("proto: wrong wireType = %d for field IndexAlgoParamList", wireType) 45962 } 45963 m.IndexAlgoParamList = 0 45964 for shift := uint(0); ; shift += 7 { 45965 if shift >= 64 { 45966 return ErrIntOverflowPlan 45967 } 45968 if iNdEx >= l { 45969 return io.ErrUnexpectedEOF 45970 } 45971 b := dAtA[iNdEx] 45972 iNdEx++ 45973 m.IndexAlgoParamList |= int64(b&0x7F) << shift 45974 if b < 0x80 { 45975 break 45976 } 45977 } 45978 default: 45979 iNdEx = preIndex 45980 skippy, err := skipPlan(dAtA[iNdEx:]) 45981 if err != nil { 45982 return err 45983 } 45984 if (skippy < 0) || (iNdEx+skippy) < 0 { 45985 return ErrInvalidLengthPlan 45986 } 45987 if (iNdEx + skippy) > l { 45988 return io.ErrUnexpectedEOF 45989 } 45990 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 45991 iNdEx += skippy 45992 } 45993 } 45994 45995 if iNdEx > l { 45996 return io.ErrUnexpectedEOF 45997 } 45998 return nil 45999 } 46000 func (m *AlterTableAddPartition) Unmarshal(dAtA []byte) error { 46001 l := len(dAtA) 46002 iNdEx := 0 46003 for iNdEx < l { 46004 preIndex := iNdEx 46005 var wire uint64 46006 for shift := uint(0); ; shift += 7 { 46007 if shift >= 64 { 46008 return ErrIntOverflowPlan 46009 } 46010 if iNdEx >= l { 46011 return io.ErrUnexpectedEOF 46012 } 46013 b := dAtA[iNdEx] 46014 iNdEx++ 46015 wire |= uint64(b&0x7F) << shift 46016 if b < 0x80 { 46017 break 46018 } 46019 } 46020 fieldNum := int32(wire >> 3) 46021 wireType := int(wire & 0x7) 46022 if wireType == 4 { 46023 return fmt.Errorf("proto: AlterTableAddPartition: wiretype end group for non-group") 46024 } 46025 if fieldNum <= 0 { 46026 return fmt.Errorf("proto: AlterTableAddPartition: illegal tag %d (wire type %d)", fieldNum, wire) 46027 } 46028 switch fieldNum { 46029 case 1: 46030 if wireType != 2 { 46031 return fmt.Errorf("proto: wrong wireType = %d for field Definitions", wireType) 46032 } 46033 var msglen int 46034 for shift := uint(0); ; shift += 7 { 46035 if shift >= 64 { 46036 return ErrIntOverflowPlan 46037 } 46038 if iNdEx >= l { 46039 return io.ErrUnexpectedEOF 46040 } 46041 b := dAtA[iNdEx] 46042 iNdEx++ 46043 msglen |= int(b&0x7F) << shift 46044 if b < 0x80 { 46045 break 46046 } 46047 } 46048 if msglen < 0 { 46049 return ErrInvalidLengthPlan 46050 } 46051 postIndex := iNdEx + msglen 46052 if postIndex < 0 { 46053 return ErrInvalidLengthPlan 46054 } 46055 if postIndex > l { 46056 return io.ErrUnexpectedEOF 46057 } 46058 m.Definitions = append(m.Definitions, &PartitionItem{}) 46059 if err := m.Definitions[len(m.Definitions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46060 return err 46061 } 46062 iNdEx = postIndex 46063 case 2: 46064 if wireType != 2 { 46065 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTables", wireType) 46066 } 46067 var msglen int 46068 for shift := uint(0); ; shift += 7 { 46069 if shift >= 64 { 46070 return ErrIntOverflowPlan 46071 } 46072 if iNdEx >= l { 46073 return io.ErrUnexpectedEOF 46074 } 46075 b := dAtA[iNdEx] 46076 iNdEx++ 46077 msglen |= int(b&0x7F) << shift 46078 if b < 0x80 { 46079 break 46080 } 46081 } 46082 if msglen < 0 { 46083 return ErrInvalidLengthPlan 46084 } 46085 postIndex := iNdEx + msglen 46086 if postIndex < 0 { 46087 return ErrInvalidLengthPlan 46088 } 46089 if postIndex > l { 46090 return io.ErrUnexpectedEOF 46091 } 46092 m.PartitionTables = append(m.PartitionTables, &TableDef{}) 46093 if err := m.PartitionTables[len(m.PartitionTables)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46094 return err 46095 } 46096 iNdEx = postIndex 46097 case 3: 46098 if wireType != 2 { 46099 return fmt.Errorf("proto: wrong wireType = %d for field PartitionDef", wireType) 46100 } 46101 var msglen int 46102 for shift := uint(0); ; shift += 7 { 46103 if shift >= 64 { 46104 return ErrIntOverflowPlan 46105 } 46106 if iNdEx >= l { 46107 return io.ErrUnexpectedEOF 46108 } 46109 b := dAtA[iNdEx] 46110 iNdEx++ 46111 msglen |= int(b&0x7F) << shift 46112 if b < 0x80 { 46113 break 46114 } 46115 } 46116 if msglen < 0 { 46117 return ErrInvalidLengthPlan 46118 } 46119 postIndex := iNdEx + msglen 46120 if postIndex < 0 { 46121 return ErrInvalidLengthPlan 46122 } 46123 if postIndex > l { 46124 return io.ErrUnexpectedEOF 46125 } 46126 if m.PartitionDef == nil { 46127 m.PartitionDef = &PartitionByDef{} 46128 } 46129 if err := m.PartitionDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46130 return err 46131 } 46132 iNdEx = postIndex 46133 default: 46134 iNdEx = preIndex 46135 skippy, err := skipPlan(dAtA[iNdEx:]) 46136 if err != nil { 46137 return err 46138 } 46139 if (skippy < 0) || (iNdEx+skippy) < 0 { 46140 return ErrInvalidLengthPlan 46141 } 46142 if (iNdEx + skippy) > l { 46143 return io.ErrUnexpectedEOF 46144 } 46145 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 46146 iNdEx += skippy 46147 } 46148 } 46149 46150 if iNdEx > l { 46151 return io.ErrUnexpectedEOF 46152 } 46153 return nil 46154 } 46155 func (m *AlterTableComment) Unmarshal(dAtA []byte) error { 46156 l := len(dAtA) 46157 iNdEx := 0 46158 for iNdEx < l { 46159 preIndex := iNdEx 46160 var wire uint64 46161 for shift := uint(0); ; shift += 7 { 46162 if shift >= 64 { 46163 return ErrIntOverflowPlan 46164 } 46165 if iNdEx >= l { 46166 return io.ErrUnexpectedEOF 46167 } 46168 b := dAtA[iNdEx] 46169 iNdEx++ 46170 wire |= uint64(b&0x7F) << shift 46171 if b < 0x80 { 46172 break 46173 } 46174 } 46175 fieldNum := int32(wire >> 3) 46176 wireType := int(wire & 0x7) 46177 if wireType == 4 { 46178 return fmt.Errorf("proto: AlterTableComment: wiretype end group for non-group") 46179 } 46180 if fieldNum <= 0 { 46181 return fmt.Errorf("proto: AlterTableComment: illegal tag %d (wire type %d)", fieldNum, wire) 46182 } 46183 switch fieldNum { 46184 case 1: 46185 if wireType != 2 { 46186 return fmt.Errorf("proto: wrong wireType = %d for field NewComment", wireType) 46187 } 46188 var stringLen uint64 46189 for shift := uint(0); ; shift += 7 { 46190 if shift >= 64 { 46191 return ErrIntOverflowPlan 46192 } 46193 if iNdEx >= l { 46194 return io.ErrUnexpectedEOF 46195 } 46196 b := dAtA[iNdEx] 46197 iNdEx++ 46198 stringLen |= uint64(b&0x7F) << shift 46199 if b < 0x80 { 46200 break 46201 } 46202 } 46203 intStringLen := int(stringLen) 46204 if intStringLen < 0 { 46205 return ErrInvalidLengthPlan 46206 } 46207 postIndex := iNdEx + intStringLen 46208 if postIndex < 0 { 46209 return ErrInvalidLengthPlan 46210 } 46211 if postIndex > l { 46212 return io.ErrUnexpectedEOF 46213 } 46214 m.NewComment = string(dAtA[iNdEx:postIndex]) 46215 iNdEx = postIndex 46216 default: 46217 iNdEx = preIndex 46218 skippy, err := skipPlan(dAtA[iNdEx:]) 46219 if err != nil { 46220 return err 46221 } 46222 if (skippy < 0) || (iNdEx+skippy) < 0 { 46223 return ErrInvalidLengthPlan 46224 } 46225 if (iNdEx + skippy) > l { 46226 return io.ErrUnexpectedEOF 46227 } 46228 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 46229 iNdEx += skippy 46230 } 46231 } 46232 46233 if iNdEx > l { 46234 return io.ErrUnexpectedEOF 46235 } 46236 return nil 46237 } 46238 func (m *AlterTableName) Unmarshal(dAtA []byte) error { 46239 l := len(dAtA) 46240 iNdEx := 0 46241 for iNdEx < l { 46242 preIndex := iNdEx 46243 var wire uint64 46244 for shift := uint(0); ; shift += 7 { 46245 if shift >= 64 { 46246 return ErrIntOverflowPlan 46247 } 46248 if iNdEx >= l { 46249 return io.ErrUnexpectedEOF 46250 } 46251 b := dAtA[iNdEx] 46252 iNdEx++ 46253 wire |= uint64(b&0x7F) << shift 46254 if b < 0x80 { 46255 break 46256 } 46257 } 46258 fieldNum := int32(wire >> 3) 46259 wireType := int(wire & 0x7) 46260 if wireType == 4 { 46261 return fmt.Errorf("proto: AlterTableName: wiretype end group for non-group") 46262 } 46263 if fieldNum <= 0 { 46264 return fmt.Errorf("proto: AlterTableName: illegal tag %d (wire type %d)", fieldNum, wire) 46265 } 46266 switch fieldNum { 46267 case 1: 46268 if wireType != 2 { 46269 return fmt.Errorf("proto: wrong wireType = %d for field OldName", wireType) 46270 } 46271 var stringLen uint64 46272 for shift := uint(0); ; shift += 7 { 46273 if shift >= 64 { 46274 return ErrIntOverflowPlan 46275 } 46276 if iNdEx >= l { 46277 return io.ErrUnexpectedEOF 46278 } 46279 b := dAtA[iNdEx] 46280 iNdEx++ 46281 stringLen |= uint64(b&0x7F) << shift 46282 if b < 0x80 { 46283 break 46284 } 46285 } 46286 intStringLen := int(stringLen) 46287 if intStringLen < 0 { 46288 return ErrInvalidLengthPlan 46289 } 46290 postIndex := iNdEx + intStringLen 46291 if postIndex < 0 { 46292 return ErrInvalidLengthPlan 46293 } 46294 if postIndex > l { 46295 return io.ErrUnexpectedEOF 46296 } 46297 m.OldName = string(dAtA[iNdEx:postIndex]) 46298 iNdEx = postIndex 46299 case 2: 46300 if wireType != 2 { 46301 return fmt.Errorf("proto: wrong wireType = %d for field NewName", wireType) 46302 } 46303 var stringLen uint64 46304 for shift := uint(0); ; shift += 7 { 46305 if shift >= 64 { 46306 return ErrIntOverflowPlan 46307 } 46308 if iNdEx >= l { 46309 return io.ErrUnexpectedEOF 46310 } 46311 b := dAtA[iNdEx] 46312 iNdEx++ 46313 stringLen |= uint64(b&0x7F) << shift 46314 if b < 0x80 { 46315 break 46316 } 46317 } 46318 intStringLen := int(stringLen) 46319 if intStringLen < 0 { 46320 return ErrInvalidLengthPlan 46321 } 46322 postIndex := iNdEx + intStringLen 46323 if postIndex < 0 { 46324 return ErrInvalidLengthPlan 46325 } 46326 if postIndex > l { 46327 return io.ErrUnexpectedEOF 46328 } 46329 m.NewName = string(dAtA[iNdEx:postIndex]) 46330 iNdEx = postIndex 46331 default: 46332 iNdEx = preIndex 46333 skippy, err := skipPlan(dAtA[iNdEx:]) 46334 if err != nil { 46335 return err 46336 } 46337 if (skippy < 0) || (iNdEx+skippy) < 0 { 46338 return ErrInvalidLengthPlan 46339 } 46340 if (iNdEx + skippy) > l { 46341 return io.ErrUnexpectedEOF 46342 } 46343 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 46344 iNdEx += skippy 46345 } 46346 } 46347 46348 if iNdEx > l { 46349 return io.ErrUnexpectedEOF 46350 } 46351 return nil 46352 } 46353 func (m *AlterAddColumn) Unmarshal(dAtA []byte) error { 46354 l := len(dAtA) 46355 iNdEx := 0 46356 for iNdEx < l { 46357 preIndex := iNdEx 46358 var wire uint64 46359 for shift := uint(0); ; shift += 7 { 46360 if shift >= 64 { 46361 return ErrIntOverflowPlan 46362 } 46363 if iNdEx >= l { 46364 return io.ErrUnexpectedEOF 46365 } 46366 b := dAtA[iNdEx] 46367 iNdEx++ 46368 wire |= uint64(b&0x7F) << shift 46369 if b < 0x80 { 46370 break 46371 } 46372 } 46373 fieldNum := int32(wire >> 3) 46374 wireType := int(wire & 0x7) 46375 if wireType == 4 { 46376 return fmt.Errorf("proto: AlterAddColumn: wiretype end group for non-group") 46377 } 46378 if fieldNum <= 0 { 46379 return fmt.Errorf("proto: AlterAddColumn: illegal tag %d (wire type %d)", fieldNum, wire) 46380 } 46381 switch fieldNum { 46382 case 1: 46383 if wireType != 2 { 46384 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 46385 } 46386 var stringLen uint64 46387 for shift := uint(0); ; shift += 7 { 46388 if shift >= 64 { 46389 return ErrIntOverflowPlan 46390 } 46391 if iNdEx >= l { 46392 return io.ErrUnexpectedEOF 46393 } 46394 b := dAtA[iNdEx] 46395 iNdEx++ 46396 stringLen |= uint64(b&0x7F) << shift 46397 if b < 0x80 { 46398 break 46399 } 46400 } 46401 intStringLen := int(stringLen) 46402 if intStringLen < 0 { 46403 return ErrInvalidLengthPlan 46404 } 46405 postIndex := iNdEx + intStringLen 46406 if postIndex < 0 { 46407 return ErrInvalidLengthPlan 46408 } 46409 if postIndex > l { 46410 return io.ErrUnexpectedEOF 46411 } 46412 m.Name = string(dAtA[iNdEx:postIndex]) 46413 iNdEx = postIndex 46414 case 2: 46415 if wireType != 2 { 46416 return fmt.Errorf("proto: wrong wireType = %d for field PreName", wireType) 46417 } 46418 var stringLen uint64 46419 for shift := uint(0); ; shift += 7 { 46420 if shift >= 64 { 46421 return ErrIntOverflowPlan 46422 } 46423 if iNdEx >= l { 46424 return io.ErrUnexpectedEOF 46425 } 46426 b := dAtA[iNdEx] 46427 iNdEx++ 46428 stringLen |= uint64(b&0x7F) << shift 46429 if b < 0x80 { 46430 break 46431 } 46432 } 46433 intStringLen := int(stringLen) 46434 if intStringLen < 0 { 46435 return ErrInvalidLengthPlan 46436 } 46437 postIndex := iNdEx + intStringLen 46438 if postIndex < 0 { 46439 return ErrInvalidLengthPlan 46440 } 46441 if postIndex > l { 46442 return io.ErrUnexpectedEOF 46443 } 46444 m.PreName = string(dAtA[iNdEx:postIndex]) 46445 iNdEx = postIndex 46446 case 3: 46447 if wireType != 2 { 46448 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) 46449 } 46450 var msglen int 46451 for shift := uint(0); ; shift += 7 { 46452 if shift >= 64 { 46453 return ErrIntOverflowPlan 46454 } 46455 if iNdEx >= l { 46456 return io.ErrUnexpectedEOF 46457 } 46458 b := dAtA[iNdEx] 46459 iNdEx++ 46460 msglen |= int(b&0x7F) << shift 46461 if b < 0x80 { 46462 break 46463 } 46464 } 46465 if msglen < 0 { 46466 return ErrInvalidLengthPlan 46467 } 46468 postIndex := iNdEx + msglen 46469 if postIndex < 0 { 46470 return ErrInvalidLengthPlan 46471 } 46472 if postIndex > l { 46473 return io.ErrUnexpectedEOF 46474 } 46475 if err := m.Type.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46476 return err 46477 } 46478 iNdEx = postIndex 46479 case 4: 46480 if wireType != 0 { 46481 return fmt.Errorf("proto: wrong wireType = %d for field Pos", wireType) 46482 } 46483 m.Pos = 0 46484 for shift := uint(0); ; shift += 7 { 46485 if shift >= 64 { 46486 return ErrIntOverflowPlan 46487 } 46488 if iNdEx >= l { 46489 return io.ErrUnexpectedEOF 46490 } 46491 b := dAtA[iNdEx] 46492 iNdEx++ 46493 m.Pos |= int32(b&0x7F) << shift 46494 if b < 0x80 { 46495 break 46496 } 46497 } 46498 default: 46499 iNdEx = preIndex 46500 skippy, err := skipPlan(dAtA[iNdEx:]) 46501 if err != nil { 46502 return err 46503 } 46504 if (skippy < 0) || (iNdEx+skippy) < 0 { 46505 return ErrInvalidLengthPlan 46506 } 46507 if (iNdEx + skippy) > l { 46508 return io.ErrUnexpectedEOF 46509 } 46510 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 46511 iNdEx += skippy 46512 } 46513 } 46514 46515 if iNdEx > l { 46516 return io.ErrUnexpectedEOF 46517 } 46518 return nil 46519 } 46520 func (m *AlterDropColumn) Unmarshal(dAtA []byte) error { 46521 l := len(dAtA) 46522 iNdEx := 0 46523 for iNdEx < l { 46524 preIndex := iNdEx 46525 var wire uint64 46526 for shift := uint(0); ; shift += 7 { 46527 if shift >= 64 { 46528 return ErrIntOverflowPlan 46529 } 46530 if iNdEx >= l { 46531 return io.ErrUnexpectedEOF 46532 } 46533 b := dAtA[iNdEx] 46534 iNdEx++ 46535 wire |= uint64(b&0x7F) << shift 46536 if b < 0x80 { 46537 break 46538 } 46539 } 46540 fieldNum := int32(wire >> 3) 46541 wireType := int(wire & 0x7) 46542 if wireType == 4 { 46543 return fmt.Errorf("proto: AlterDropColumn: wiretype end group for non-group") 46544 } 46545 if fieldNum <= 0 { 46546 return fmt.Errorf("proto: AlterDropColumn: illegal tag %d (wire type %d)", fieldNum, wire) 46547 } 46548 switch fieldNum { 46549 case 1: 46550 if wireType != 0 { 46551 return fmt.Errorf("proto: wrong wireType = %d for field Idx", wireType) 46552 } 46553 m.Idx = 0 46554 for shift := uint(0); ; shift += 7 { 46555 if shift >= 64 { 46556 return ErrIntOverflowPlan 46557 } 46558 if iNdEx >= l { 46559 return io.ErrUnexpectedEOF 46560 } 46561 b := dAtA[iNdEx] 46562 iNdEx++ 46563 m.Idx |= uint32(b&0x7F) << shift 46564 if b < 0x80 { 46565 break 46566 } 46567 } 46568 case 2: 46569 if wireType != 0 { 46570 return fmt.Errorf("proto: wrong wireType = %d for field Seq", wireType) 46571 } 46572 m.Seq = 0 46573 for shift := uint(0); ; shift += 7 { 46574 if shift >= 64 { 46575 return ErrIntOverflowPlan 46576 } 46577 if iNdEx >= l { 46578 return io.ErrUnexpectedEOF 46579 } 46580 b := dAtA[iNdEx] 46581 iNdEx++ 46582 m.Seq |= uint32(b&0x7F) << shift 46583 if b < 0x80 { 46584 break 46585 } 46586 } 46587 default: 46588 iNdEx = preIndex 46589 skippy, err := skipPlan(dAtA[iNdEx:]) 46590 if err != nil { 46591 return err 46592 } 46593 if (skippy < 0) || (iNdEx+skippy) < 0 { 46594 return ErrInvalidLengthPlan 46595 } 46596 if (iNdEx + skippy) > l { 46597 return io.ErrUnexpectedEOF 46598 } 46599 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 46600 iNdEx += skippy 46601 } 46602 } 46603 46604 if iNdEx > l { 46605 return io.ErrUnexpectedEOF 46606 } 46607 return nil 46608 } 46609 func (m *AlterTable) Unmarshal(dAtA []byte) error { 46610 l := len(dAtA) 46611 iNdEx := 0 46612 for iNdEx < l { 46613 preIndex := iNdEx 46614 var wire uint64 46615 for shift := uint(0); ; shift += 7 { 46616 if shift >= 64 { 46617 return ErrIntOverflowPlan 46618 } 46619 if iNdEx >= l { 46620 return io.ErrUnexpectedEOF 46621 } 46622 b := dAtA[iNdEx] 46623 iNdEx++ 46624 wire |= uint64(b&0x7F) << shift 46625 if b < 0x80 { 46626 break 46627 } 46628 } 46629 fieldNum := int32(wire >> 3) 46630 wireType := int(wire & 0x7) 46631 if wireType == 4 { 46632 return fmt.Errorf("proto: AlterTable: wiretype end group for non-group") 46633 } 46634 if fieldNum <= 0 { 46635 return fmt.Errorf("proto: AlterTable: illegal tag %d (wire type %d)", fieldNum, wire) 46636 } 46637 switch fieldNum { 46638 case 1: 46639 if wireType != 2 { 46640 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 46641 } 46642 var stringLen uint64 46643 for shift := uint(0); ; shift += 7 { 46644 if shift >= 64 { 46645 return ErrIntOverflowPlan 46646 } 46647 if iNdEx >= l { 46648 return io.ErrUnexpectedEOF 46649 } 46650 b := dAtA[iNdEx] 46651 iNdEx++ 46652 stringLen |= uint64(b&0x7F) << shift 46653 if b < 0x80 { 46654 break 46655 } 46656 } 46657 intStringLen := int(stringLen) 46658 if intStringLen < 0 { 46659 return ErrInvalidLengthPlan 46660 } 46661 postIndex := iNdEx + intStringLen 46662 if postIndex < 0 { 46663 return ErrInvalidLengthPlan 46664 } 46665 if postIndex > l { 46666 return io.ErrUnexpectedEOF 46667 } 46668 m.Database = string(dAtA[iNdEx:postIndex]) 46669 iNdEx = postIndex 46670 case 2: 46671 if wireType != 2 { 46672 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 46673 } 46674 var msglen int 46675 for shift := uint(0); ; shift += 7 { 46676 if shift >= 64 { 46677 return ErrIntOverflowPlan 46678 } 46679 if iNdEx >= l { 46680 return io.ErrUnexpectedEOF 46681 } 46682 b := dAtA[iNdEx] 46683 iNdEx++ 46684 msglen |= int(b&0x7F) << shift 46685 if b < 0x80 { 46686 break 46687 } 46688 } 46689 if msglen < 0 { 46690 return ErrInvalidLengthPlan 46691 } 46692 postIndex := iNdEx + msglen 46693 if postIndex < 0 { 46694 return ErrInvalidLengthPlan 46695 } 46696 if postIndex > l { 46697 return io.ErrUnexpectedEOF 46698 } 46699 if m.TableDef == nil { 46700 m.TableDef = &TableDef{} 46701 } 46702 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46703 return err 46704 } 46705 iNdEx = postIndex 46706 case 3: 46707 if wireType != 2 { 46708 return fmt.Errorf("proto: wrong wireType = %d for field CopyTableDef", wireType) 46709 } 46710 var msglen int 46711 for shift := uint(0); ; shift += 7 { 46712 if shift >= 64 { 46713 return ErrIntOverflowPlan 46714 } 46715 if iNdEx >= l { 46716 return io.ErrUnexpectedEOF 46717 } 46718 b := dAtA[iNdEx] 46719 iNdEx++ 46720 msglen |= int(b&0x7F) << shift 46721 if b < 0x80 { 46722 break 46723 } 46724 } 46725 if msglen < 0 { 46726 return ErrInvalidLengthPlan 46727 } 46728 postIndex := iNdEx + msglen 46729 if postIndex < 0 { 46730 return ErrInvalidLengthPlan 46731 } 46732 if postIndex > l { 46733 return io.ErrUnexpectedEOF 46734 } 46735 if m.CopyTableDef == nil { 46736 m.CopyTableDef = &TableDef{} 46737 } 46738 if err := m.CopyTableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46739 return err 46740 } 46741 iNdEx = postIndex 46742 case 4: 46743 if wireType != 0 { 46744 return fmt.Errorf("proto: wrong wireType = %d for field IsClusterTable", wireType) 46745 } 46746 var v int 46747 for shift := uint(0); ; shift += 7 { 46748 if shift >= 64 { 46749 return ErrIntOverflowPlan 46750 } 46751 if iNdEx >= l { 46752 return io.ErrUnexpectedEOF 46753 } 46754 b := dAtA[iNdEx] 46755 iNdEx++ 46756 v |= int(b&0x7F) << shift 46757 if b < 0x80 { 46758 break 46759 } 46760 } 46761 m.IsClusterTable = bool(v != 0) 46762 case 5: 46763 if wireType != 2 { 46764 return fmt.Errorf("proto: wrong wireType = %d for field Actions", wireType) 46765 } 46766 var msglen int 46767 for shift := uint(0); ; shift += 7 { 46768 if shift >= 64 { 46769 return ErrIntOverflowPlan 46770 } 46771 if iNdEx >= l { 46772 return io.ErrUnexpectedEOF 46773 } 46774 b := dAtA[iNdEx] 46775 iNdEx++ 46776 msglen |= int(b&0x7F) << shift 46777 if b < 0x80 { 46778 break 46779 } 46780 } 46781 if msglen < 0 { 46782 return ErrInvalidLengthPlan 46783 } 46784 postIndex := iNdEx + msglen 46785 if postIndex < 0 { 46786 return ErrInvalidLengthPlan 46787 } 46788 if postIndex > l { 46789 return io.ErrUnexpectedEOF 46790 } 46791 m.Actions = append(m.Actions, &AlterTable_Action{}) 46792 if err := m.Actions[len(m.Actions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 46793 return err 46794 } 46795 iNdEx = postIndex 46796 case 6: 46797 if wireType != 0 { 46798 return fmt.Errorf("proto: wrong wireType = %d for field AlgorithmType", wireType) 46799 } 46800 m.AlgorithmType = 0 46801 for shift := uint(0); ; shift += 7 { 46802 if shift >= 64 { 46803 return ErrIntOverflowPlan 46804 } 46805 if iNdEx >= l { 46806 return io.ErrUnexpectedEOF 46807 } 46808 b := dAtA[iNdEx] 46809 iNdEx++ 46810 m.AlgorithmType |= AlterTable_AlgorithmType(b&0x7F) << shift 46811 if b < 0x80 { 46812 break 46813 } 46814 } 46815 case 7: 46816 if wireType != 2 { 46817 return fmt.Errorf("proto: wrong wireType = %d for field CreateTmpTableSql", wireType) 46818 } 46819 var stringLen uint64 46820 for shift := uint(0); ; shift += 7 { 46821 if shift >= 64 { 46822 return ErrIntOverflowPlan 46823 } 46824 if iNdEx >= l { 46825 return io.ErrUnexpectedEOF 46826 } 46827 b := dAtA[iNdEx] 46828 iNdEx++ 46829 stringLen |= uint64(b&0x7F) << shift 46830 if b < 0x80 { 46831 break 46832 } 46833 } 46834 intStringLen := int(stringLen) 46835 if intStringLen < 0 { 46836 return ErrInvalidLengthPlan 46837 } 46838 postIndex := iNdEx + intStringLen 46839 if postIndex < 0 { 46840 return ErrInvalidLengthPlan 46841 } 46842 if postIndex > l { 46843 return io.ErrUnexpectedEOF 46844 } 46845 m.CreateTmpTableSql = string(dAtA[iNdEx:postIndex]) 46846 iNdEx = postIndex 46847 case 8: 46848 if wireType != 2 { 46849 return fmt.Errorf("proto: wrong wireType = %d for field InsertTmpDataSql", wireType) 46850 } 46851 var stringLen uint64 46852 for shift := uint(0); ; shift += 7 { 46853 if shift >= 64 { 46854 return ErrIntOverflowPlan 46855 } 46856 if iNdEx >= l { 46857 return io.ErrUnexpectedEOF 46858 } 46859 b := dAtA[iNdEx] 46860 iNdEx++ 46861 stringLen |= uint64(b&0x7F) << shift 46862 if b < 0x80 { 46863 break 46864 } 46865 } 46866 intStringLen := int(stringLen) 46867 if intStringLen < 0 { 46868 return ErrInvalidLengthPlan 46869 } 46870 postIndex := iNdEx + intStringLen 46871 if postIndex < 0 { 46872 return ErrInvalidLengthPlan 46873 } 46874 if postIndex > l { 46875 return io.ErrUnexpectedEOF 46876 } 46877 m.InsertTmpDataSql = string(dAtA[iNdEx:postIndex]) 46878 iNdEx = postIndex 46879 case 9: 46880 if wireType != 2 { 46881 return fmt.Errorf("proto: wrong wireType = %d for field CreateTableSql", wireType) 46882 } 46883 var stringLen uint64 46884 for shift := uint(0); ; shift += 7 { 46885 if shift >= 64 { 46886 return ErrIntOverflowPlan 46887 } 46888 if iNdEx >= l { 46889 return io.ErrUnexpectedEOF 46890 } 46891 b := dAtA[iNdEx] 46892 iNdEx++ 46893 stringLen |= uint64(b&0x7F) << shift 46894 if b < 0x80 { 46895 break 46896 } 46897 } 46898 intStringLen := int(stringLen) 46899 if intStringLen < 0 { 46900 return ErrInvalidLengthPlan 46901 } 46902 postIndex := iNdEx + intStringLen 46903 if postIndex < 0 { 46904 return ErrInvalidLengthPlan 46905 } 46906 if postIndex > l { 46907 return io.ErrUnexpectedEOF 46908 } 46909 m.CreateTableSql = string(dAtA[iNdEx:postIndex]) 46910 iNdEx = postIndex 46911 case 10: 46912 if wireType != 2 { 46913 return fmt.Errorf("proto: wrong wireType = %d for field InsertDataSql", wireType) 46914 } 46915 var stringLen uint64 46916 for shift := uint(0); ; shift += 7 { 46917 if shift >= 64 { 46918 return ErrIntOverflowPlan 46919 } 46920 if iNdEx >= l { 46921 return io.ErrUnexpectedEOF 46922 } 46923 b := dAtA[iNdEx] 46924 iNdEx++ 46925 stringLen |= uint64(b&0x7F) << shift 46926 if b < 0x80 { 46927 break 46928 } 46929 } 46930 intStringLen := int(stringLen) 46931 if intStringLen < 0 { 46932 return ErrInvalidLengthPlan 46933 } 46934 postIndex := iNdEx + intStringLen 46935 if postIndex < 0 { 46936 return ErrInvalidLengthPlan 46937 } 46938 if postIndex > l { 46939 return io.ErrUnexpectedEOF 46940 } 46941 m.InsertDataSql = string(dAtA[iNdEx:postIndex]) 46942 iNdEx = postIndex 46943 case 11: 46944 if wireType != 2 { 46945 return fmt.Errorf("proto: wrong wireType = %d for field ChangeTblColIdMap", wireType) 46946 } 46947 var msglen int 46948 for shift := uint(0); ; shift += 7 { 46949 if shift >= 64 { 46950 return ErrIntOverflowPlan 46951 } 46952 if iNdEx >= l { 46953 return io.ErrUnexpectedEOF 46954 } 46955 b := dAtA[iNdEx] 46956 iNdEx++ 46957 msglen |= int(b&0x7F) << shift 46958 if b < 0x80 { 46959 break 46960 } 46961 } 46962 if msglen < 0 { 46963 return ErrInvalidLengthPlan 46964 } 46965 postIndex := iNdEx + msglen 46966 if postIndex < 0 { 46967 return ErrInvalidLengthPlan 46968 } 46969 if postIndex > l { 46970 return io.ErrUnexpectedEOF 46971 } 46972 if m.ChangeTblColIdMap == nil { 46973 m.ChangeTblColIdMap = make(map[uint64]*ColDef) 46974 } 46975 var mapkey uint64 46976 var mapvalue *ColDef 46977 for iNdEx < postIndex { 46978 entryPreIndex := iNdEx 46979 var wire uint64 46980 for shift := uint(0); ; shift += 7 { 46981 if shift >= 64 { 46982 return ErrIntOverflowPlan 46983 } 46984 if iNdEx >= l { 46985 return io.ErrUnexpectedEOF 46986 } 46987 b := dAtA[iNdEx] 46988 iNdEx++ 46989 wire |= uint64(b&0x7F) << shift 46990 if b < 0x80 { 46991 break 46992 } 46993 } 46994 fieldNum := int32(wire >> 3) 46995 if fieldNum == 1 { 46996 for shift := uint(0); ; shift += 7 { 46997 if shift >= 64 { 46998 return ErrIntOverflowPlan 46999 } 47000 if iNdEx >= l { 47001 return io.ErrUnexpectedEOF 47002 } 47003 b := dAtA[iNdEx] 47004 iNdEx++ 47005 mapkey |= uint64(b&0x7F) << shift 47006 if b < 0x80 { 47007 break 47008 } 47009 } 47010 } else if fieldNum == 2 { 47011 var mapmsglen int 47012 for shift := uint(0); ; shift += 7 { 47013 if shift >= 64 { 47014 return ErrIntOverflowPlan 47015 } 47016 if iNdEx >= l { 47017 return io.ErrUnexpectedEOF 47018 } 47019 b := dAtA[iNdEx] 47020 iNdEx++ 47021 mapmsglen |= int(b&0x7F) << shift 47022 if b < 0x80 { 47023 break 47024 } 47025 } 47026 if mapmsglen < 0 { 47027 return ErrInvalidLengthPlan 47028 } 47029 postmsgIndex := iNdEx + mapmsglen 47030 if postmsgIndex < 0 { 47031 return ErrInvalidLengthPlan 47032 } 47033 if postmsgIndex > l { 47034 return io.ErrUnexpectedEOF 47035 } 47036 mapvalue = &ColDef{} 47037 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 47038 return err 47039 } 47040 iNdEx = postmsgIndex 47041 } else { 47042 iNdEx = entryPreIndex 47043 skippy, err := skipPlan(dAtA[iNdEx:]) 47044 if err != nil { 47045 return err 47046 } 47047 if (skippy < 0) || (iNdEx+skippy) < 0 { 47048 return ErrInvalidLengthPlan 47049 } 47050 if (iNdEx + skippy) > postIndex { 47051 return io.ErrUnexpectedEOF 47052 } 47053 iNdEx += skippy 47054 } 47055 } 47056 m.ChangeTblColIdMap[mapkey] = mapvalue 47057 iNdEx = postIndex 47058 case 12: 47059 if wireType != 2 { 47060 return fmt.Errorf("proto: wrong wireType = %d for field DetectSqls", wireType) 47061 } 47062 var stringLen uint64 47063 for shift := uint(0); ; shift += 7 { 47064 if shift >= 64 { 47065 return ErrIntOverflowPlan 47066 } 47067 if iNdEx >= l { 47068 return io.ErrUnexpectedEOF 47069 } 47070 b := dAtA[iNdEx] 47071 iNdEx++ 47072 stringLen |= uint64(b&0x7F) << shift 47073 if b < 0x80 { 47074 break 47075 } 47076 } 47077 intStringLen := int(stringLen) 47078 if intStringLen < 0 { 47079 return ErrInvalidLengthPlan 47080 } 47081 postIndex := iNdEx + intStringLen 47082 if postIndex < 0 { 47083 return ErrInvalidLengthPlan 47084 } 47085 if postIndex > l { 47086 return io.ErrUnexpectedEOF 47087 } 47088 m.DetectSqls = append(m.DetectSqls, string(dAtA[iNdEx:postIndex])) 47089 iNdEx = postIndex 47090 case 13: 47091 if wireType != 2 { 47092 return fmt.Errorf("proto: wrong wireType = %d for field UpdateFkSqls", wireType) 47093 } 47094 var stringLen uint64 47095 for shift := uint(0); ; shift += 7 { 47096 if shift >= 64 { 47097 return ErrIntOverflowPlan 47098 } 47099 if iNdEx >= l { 47100 return io.ErrUnexpectedEOF 47101 } 47102 b := dAtA[iNdEx] 47103 iNdEx++ 47104 stringLen |= uint64(b&0x7F) << shift 47105 if b < 0x80 { 47106 break 47107 } 47108 } 47109 intStringLen := int(stringLen) 47110 if intStringLen < 0 { 47111 return ErrInvalidLengthPlan 47112 } 47113 postIndex := iNdEx + intStringLen 47114 if postIndex < 0 { 47115 return ErrInvalidLengthPlan 47116 } 47117 if postIndex > l { 47118 return io.ErrUnexpectedEOF 47119 } 47120 m.UpdateFkSqls = append(m.UpdateFkSqls, string(dAtA[iNdEx:postIndex])) 47121 iNdEx = postIndex 47122 default: 47123 iNdEx = preIndex 47124 skippy, err := skipPlan(dAtA[iNdEx:]) 47125 if err != nil { 47126 return err 47127 } 47128 if (skippy < 0) || (iNdEx+skippy) < 0 { 47129 return ErrInvalidLengthPlan 47130 } 47131 if (iNdEx + skippy) > l { 47132 return io.ErrUnexpectedEOF 47133 } 47134 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47135 iNdEx += skippy 47136 } 47137 } 47138 47139 if iNdEx > l { 47140 return io.ErrUnexpectedEOF 47141 } 47142 return nil 47143 } 47144 func (m *AlterTable_Action) Unmarshal(dAtA []byte) error { 47145 l := len(dAtA) 47146 iNdEx := 0 47147 for iNdEx < l { 47148 preIndex := iNdEx 47149 var wire uint64 47150 for shift := uint(0); ; shift += 7 { 47151 if shift >= 64 { 47152 return ErrIntOverflowPlan 47153 } 47154 if iNdEx >= l { 47155 return io.ErrUnexpectedEOF 47156 } 47157 b := dAtA[iNdEx] 47158 iNdEx++ 47159 wire |= uint64(b&0x7F) << shift 47160 if b < 0x80 { 47161 break 47162 } 47163 } 47164 fieldNum := int32(wire >> 3) 47165 wireType := int(wire & 0x7) 47166 if wireType == 4 { 47167 return fmt.Errorf("proto: Action: wiretype end group for non-group") 47168 } 47169 if fieldNum <= 0 { 47170 return fmt.Errorf("proto: Action: illegal tag %d (wire type %d)", fieldNum, wire) 47171 } 47172 switch fieldNum { 47173 case 1: 47174 if wireType != 2 { 47175 return fmt.Errorf("proto: wrong wireType = %d for field Drop", wireType) 47176 } 47177 var msglen int 47178 for shift := uint(0); ; shift += 7 { 47179 if shift >= 64 { 47180 return ErrIntOverflowPlan 47181 } 47182 if iNdEx >= l { 47183 return io.ErrUnexpectedEOF 47184 } 47185 b := dAtA[iNdEx] 47186 iNdEx++ 47187 msglen |= int(b&0x7F) << shift 47188 if b < 0x80 { 47189 break 47190 } 47191 } 47192 if msglen < 0 { 47193 return ErrInvalidLengthPlan 47194 } 47195 postIndex := iNdEx + msglen 47196 if postIndex < 0 { 47197 return ErrInvalidLengthPlan 47198 } 47199 if postIndex > l { 47200 return io.ErrUnexpectedEOF 47201 } 47202 v := &AlterTableDrop{} 47203 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47204 return err 47205 } 47206 m.Action = &AlterTable_Action_Drop{v} 47207 iNdEx = postIndex 47208 case 2: 47209 if wireType != 2 { 47210 return fmt.Errorf("proto: wrong wireType = %d for field AddFk", wireType) 47211 } 47212 var msglen int 47213 for shift := uint(0); ; shift += 7 { 47214 if shift >= 64 { 47215 return ErrIntOverflowPlan 47216 } 47217 if iNdEx >= l { 47218 return io.ErrUnexpectedEOF 47219 } 47220 b := dAtA[iNdEx] 47221 iNdEx++ 47222 msglen |= int(b&0x7F) << shift 47223 if b < 0x80 { 47224 break 47225 } 47226 } 47227 if msglen < 0 { 47228 return ErrInvalidLengthPlan 47229 } 47230 postIndex := iNdEx + msglen 47231 if postIndex < 0 { 47232 return ErrInvalidLengthPlan 47233 } 47234 if postIndex > l { 47235 return io.ErrUnexpectedEOF 47236 } 47237 v := &AlterTableAddFk{} 47238 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47239 return err 47240 } 47241 m.Action = &AlterTable_Action_AddFk{v} 47242 iNdEx = postIndex 47243 case 3: 47244 if wireType != 2 { 47245 return fmt.Errorf("proto: wrong wireType = %d for field AddIndex", wireType) 47246 } 47247 var msglen int 47248 for shift := uint(0); ; shift += 7 { 47249 if shift >= 64 { 47250 return ErrIntOverflowPlan 47251 } 47252 if iNdEx >= l { 47253 return io.ErrUnexpectedEOF 47254 } 47255 b := dAtA[iNdEx] 47256 iNdEx++ 47257 msglen |= int(b&0x7F) << shift 47258 if b < 0x80 { 47259 break 47260 } 47261 } 47262 if msglen < 0 { 47263 return ErrInvalidLengthPlan 47264 } 47265 postIndex := iNdEx + msglen 47266 if postIndex < 0 { 47267 return ErrInvalidLengthPlan 47268 } 47269 if postIndex > l { 47270 return io.ErrUnexpectedEOF 47271 } 47272 v := &AlterTableAddIndex{} 47273 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47274 return err 47275 } 47276 m.Action = &AlterTable_Action_AddIndex{v} 47277 iNdEx = postIndex 47278 case 4: 47279 if wireType != 2 { 47280 return fmt.Errorf("proto: wrong wireType = %d for field AlterIndex", wireType) 47281 } 47282 var msglen int 47283 for shift := uint(0); ; shift += 7 { 47284 if shift >= 64 { 47285 return ErrIntOverflowPlan 47286 } 47287 if iNdEx >= l { 47288 return io.ErrUnexpectedEOF 47289 } 47290 b := dAtA[iNdEx] 47291 iNdEx++ 47292 msglen |= int(b&0x7F) << shift 47293 if b < 0x80 { 47294 break 47295 } 47296 } 47297 if msglen < 0 { 47298 return ErrInvalidLengthPlan 47299 } 47300 postIndex := iNdEx + msglen 47301 if postIndex < 0 { 47302 return ErrInvalidLengthPlan 47303 } 47304 if postIndex > l { 47305 return io.ErrUnexpectedEOF 47306 } 47307 v := &AlterTableAlterIndex{} 47308 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47309 return err 47310 } 47311 m.Action = &AlterTable_Action_AlterIndex{v} 47312 iNdEx = postIndex 47313 case 5: 47314 if wireType != 2 { 47315 return fmt.Errorf("proto: wrong wireType = %d for field AlterComment", wireType) 47316 } 47317 var msglen int 47318 for shift := uint(0); ; shift += 7 { 47319 if shift >= 64 { 47320 return ErrIntOverflowPlan 47321 } 47322 if iNdEx >= l { 47323 return io.ErrUnexpectedEOF 47324 } 47325 b := dAtA[iNdEx] 47326 iNdEx++ 47327 msglen |= int(b&0x7F) << shift 47328 if b < 0x80 { 47329 break 47330 } 47331 } 47332 if msglen < 0 { 47333 return ErrInvalidLengthPlan 47334 } 47335 postIndex := iNdEx + msglen 47336 if postIndex < 0 { 47337 return ErrInvalidLengthPlan 47338 } 47339 if postIndex > l { 47340 return io.ErrUnexpectedEOF 47341 } 47342 v := &AlterTableComment{} 47343 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47344 return err 47345 } 47346 m.Action = &AlterTable_Action_AlterComment{v} 47347 iNdEx = postIndex 47348 case 6: 47349 if wireType != 2 { 47350 return fmt.Errorf("proto: wrong wireType = %d for field AlterName", wireType) 47351 } 47352 var msglen int 47353 for shift := uint(0); ; shift += 7 { 47354 if shift >= 64 { 47355 return ErrIntOverflowPlan 47356 } 47357 if iNdEx >= l { 47358 return io.ErrUnexpectedEOF 47359 } 47360 b := dAtA[iNdEx] 47361 iNdEx++ 47362 msglen |= int(b&0x7F) << shift 47363 if b < 0x80 { 47364 break 47365 } 47366 } 47367 if msglen < 0 { 47368 return ErrInvalidLengthPlan 47369 } 47370 postIndex := iNdEx + msglen 47371 if postIndex < 0 { 47372 return ErrInvalidLengthPlan 47373 } 47374 if postIndex > l { 47375 return io.ErrUnexpectedEOF 47376 } 47377 v := &AlterTableName{} 47378 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47379 return err 47380 } 47381 m.Action = &AlterTable_Action_AlterName{v} 47382 iNdEx = postIndex 47383 case 7: 47384 if wireType != 2 { 47385 return fmt.Errorf("proto: wrong wireType = %d for field AddColumn", wireType) 47386 } 47387 var msglen int 47388 for shift := uint(0); ; shift += 7 { 47389 if shift >= 64 { 47390 return ErrIntOverflowPlan 47391 } 47392 if iNdEx >= l { 47393 return io.ErrUnexpectedEOF 47394 } 47395 b := dAtA[iNdEx] 47396 iNdEx++ 47397 msglen |= int(b&0x7F) << shift 47398 if b < 0x80 { 47399 break 47400 } 47401 } 47402 if msglen < 0 { 47403 return ErrInvalidLengthPlan 47404 } 47405 postIndex := iNdEx + msglen 47406 if postIndex < 0 { 47407 return ErrInvalidLengthPlan 47408 } 47409 if postIndex > l { 47410 return io.ErrUnexpectedEOF 47411 } 47412 v := &AlterAddColumn{} 47413 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47414 return err 47415 } 47416 m.Action = &AlterTable_Action_AddColumn{v} 47417 iNdEx = postIndex 47418 case 8: 47419 if wireType != 2 { 47420 return fmt.Errorf("proto: wrong wireType = %d for field DropColumn", wireType) 47421 } 47422 var msglen int 47423 for shift := uint(0); ; shift += 7 { 47424 if shift >= 64 { 47425 return ErrIntOverflowPlan 47426 } 47427 if iNdEx >= l { 47428 return io.ErrUnexpectedEOF 47429 } 47430 b := dAtA[iNdEx] 47431 iNdEx++ 47432 msglen |= int(b&0x7F) << shift 47433 if b < 0x80 { 47434 break 47435 } 47436 } 47437 if msglen < 0 { 47438 return ErrInvalidLengthPlan 47439 } 47440 postIndex := iNdEx + msglen 47441 if postIndex < 0 { 47442 return ErrInvalidLengthPlan 47443 } 47444 if postIndex > l { 47445 return io.ErrUnexpectedEOF 47446 } 47447 v := &AlterDropColumn{} 47448 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47449 return err 47450 } 47451 m.Action = &AlterTable_Action_DropColumn{v} 47452 iNdEx = postIndex 47453 case 9: 47454 if wireType != 2 { 47455 return fmt.Errorf("proto: wrong wireType = %d for field AlterReindex", wireType) 47456 } 47457 var msglen int 47458 for shift := uint(0); ; shift += 7 { 47459 if shift >= 64 { 47460 return ErrIntOverflowPlan 47461 } 47462 if iNdEx >= l { 47463 return io.ErrUnexpectedEOF 47464 } 47465 b := dAtA[iNdEx] 47466 iNdEx++ 47467 msglen |= int(b&0x7F) << shift 47468 if b < 0x80 { 47469 break 47470 } 47471 } 47472 if msglen < 0 { 47473 return ErrInvalidLengthPlan 47474 } 47475 postIndex := iNdEx + msglen 47476 if postIndex < 0 { 47477 return ErrInvalidLengthPlan 47478 } 47479 if postIndex > l { 47480 return io.ErrUnexpectedEOF 47481 } 47482 v := &AlterTableAlterReIndex{} 47483 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47484 return err 47485 } 47486 m.Action = &AlterTable_Action_AlterReindex{v} 47487 iNdEx = postIndex 47488 case 10: 47489 if wireType != 2 { 47490 return fmt.Errorf("proto: wrong wireType = %d for field AddPartition", wireType) 47491 } 47492 var msglen int 47493 for shift := uint(0); ; shift += 7 { 47494 if shift >= 64 { 47495 return ErrIntOverflowPlan 47496 } 47497 if iNdEx >= l { 47498 return io.ErrUnexpectedEOF 47499 } 47500 b := dAtA[iNdEx] 47501 iNdEx++ 47502 msglen |= int(b&0x7F) << shift 47503 if b < 0x80 { 47504 break 47505 } 47506 } 47507 if msglen < 0 { 47508 return ErrInvalidLengthPlan 47509 } 47510 postIndex := iNdEx + msglen 47511 if postIndex < 0 { 47512 return ErrInvalidLengthPlan 47513 } 47514 if postIndex > l { 47515 return io.ErrUnexpectedEOF 47516 } 47517 v := &AlterTableAddPartition{} 47518 if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47519 return err 47520 } 47521 m.Action = &AlterTable_Action_AddPartition{v} 47522 iNdEx = postIndex 47523 default: 47524 iNdEx = preIndex 47525 skippy, err := skipPlan(dAtA[iNdEx:]) 47526 if err != nil { 47527 return err 47528 } 47529 if (skippy < 0) || (iNdEx+skippy) < 0 { 47530 return ErrInvalidLengthPlan 47531 } 47532 if (iNdEx + skippy) > l { 47533 return io.ErrUnexpectedEOF 47534 } 47535 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 47536 iNdEx += skippy 47537 } 47538 } 47539 47540 if iNdEx > l { 47541 return io.ErrUnexpectedEOF 47542 } 47543 return nil 47544 } 47545 func (m *DropTable) Unmarshal(dAtA []byte) error { 47546 l := len(dAtA) 47547 iNdEx := 0 47548 for iNdEx < l { 47549 preIndex := iNdEx 47550 var wire uint64 47551 for shift := uint(0); ; shift += 7 { 47552 if shift >= 64 { 47553 return ErrIntOverflowPlan 47554 } 47555 if iNdEx >= l { 47556 return io.ErrUnexpectedEOF 47557 } 47558 b := dAtA[iNdEx] 47559 iNdEx++ 47560 wire |= uint64(b&0x7F) << shift 47561 if b < 0x80 { 47562 break 47563 } 47564 } 47565 fieldNum := int32(wire >> 3) 47566 wireType := int(wire & 0x7) 47567 if wireType == 4 { 47568 return fmt.Errorf("proto: DropTable: wiretype end group for non-group") 47569 } 47570 if fieldNum <= 0 { 47571 return fmt.Errorf("proto: DropTable: illegal tag %d (wire type %d)", fieldNum, wire) 47572 } 47573 switch fieldNum { 47574 case 1: 47575 if wireType != 0 { 47576 return fmt.Errorf("proto: wrong wireType = %d for field IfExists", wireType) 47577 } 47578 var v int 47579 for shift := uint(0); ; shift += 7 { 47580 if shift >= 64 { 47581 return ErrIntOverflowPlan 47582 } 47583 if iNdEx >= l { 47584 return io.ErrUnexpectedEOF 47585 } 47586 b := dAtA[iNdEx] 47587 iNdEx++ 47588 v |= int(b&0x7F) << shift 47589 if b < 0x80 { 47590 break 47591 } 47592 } 47593 m.IfExists = bool(v != 0) 47594 case 2: 47595 if wireType != 2 { 47596 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 47597 } 47598 var stringLen uint64 47599 for shift := uint(0); ; shift += 7 { 47600 if shift >= 64 { 47601 return ErrIntOverflowPlan 47602 } 47603 if iNdEx >= l { 47604 return io.ErrUnexpectedEOF 47605 } 47606 b := dAtA[iNdEx] 47607 iNdEx++ 47608 stringLen |= uint64(b&0x7F) << shift 47609 if b < 0x80 { 47610 break 47611 } 47612 } 47613 intStringLen := int(stringLen) 47614 if intStringLen < 0 { 47615 return ErrInvalidLengthPlan 47616 } 47617 postIndex := iNdEx + intStringLen 47618 if postIndex < 0 { 47619 return ErrInvalidLengthPlan 47620 } 47621 if postIndex > l { 47622 return io.ErrUnexpectedEOF 47623 } 47624 m.Database = string(dAtA[iNdEx:postIndex]) 47625 iNdEx = postIndex 47626 case 3: 47627 if wireType != 2 { 47628 return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) 47629 } 47630 var stringLen uint64 47631 for shift := uint(0); ; shift += 7 { 47632 if shift >= 64 { 47633 return ErrIntOverflowPlan 47634 } 47635 if iNdEx >= l { 47636 return io.ErrUnexpectedEOF 47637 } 47638 b := dAtA[iNdEx] 47639 iNdEx++ 47640 stringLen |= uint64(b&0x7F) << shift 47641 if b < 0x80 { 47642 break 47643 } 47644 } 47645 intStringLen := int(stringLen) 47646 if intStringLen < 0 { 47647 return ErrInvalidLengthPlan 47648 } 47649 postIndex := iNdEx + intStringLen 47650 if postIndex < 0 { 47651 return ErrInvalidLengthPlan 47652 } 47653 if postIndex > l { 47654 return io.ErrUnexpectedEOF 47655 } 47656 m.Table = string(dAtA[iNdEx:postIndex]) 47657 iNdEx = postIndex 47658 case 4: 47659 if wireType != 2 { 47660 return fmt.Errorf("proto: wrong wireType = %d for field IndexTableNames", wireType) 47661 } 47662 var stringLen uint64 47663 for shift := uint(0); ; shift += 7 { 47664 if shift >= 64 { 47665 return ErrIntOverflowPlan 47666 } 47667 if iNdEx >= l { 47668 return io.ErrUnexpectedEOF 47669 } 47670 b := dAtA[iNdEx] 47671 iNdEx++ 47672 stringLen |= uint64(b&0x7F) << shift 47673 if b < 0x80 { 47674 break 47675 } 47676 } 47677 intStringLen := int(stringLen) 47678 if intStringLen < 0 { 47679 return ErrInvalidLengthPlan 47680 } 47681 postIndex := iNdEx + intStringLen 47682 if postIndex < 0 { 47683 return ErrInvalidLengthPlan 47684 } 47685 if postIndex > l { 47686 return io.ErrUnexpectedEOF 47687 } 47688 m.IndexTableNames = append(m.IndexTableNames, string(dAtA[iNdEx:postIndex])) 47689 iNdEx = postIndex 47690 case 5: 47691 if wireType != 2 { 47692 return fmt.Errorf("proto: wrong wireType = %d for field ClusterTable", wireType) 47693 } 47694 var msglen int 47695 for shift := uint(0); ; shift += 7 { 47696 if shift >= 64 { 47697 return ErrIntOverflowPlan 47698 } 47699 if iNdEx >= l { 47700 return io.ErrUnexpectedEOF 47701 } 47702 b := dAtA[iNdEx] 47703 iNdEx++ 47704 msglen |= int(b&0x7F) << shift 47705 if b < 0x80 { 47706 break 47707 } 47708 } 47709 if msglen < 0 { 47710 return ErrInvalidLengthPlan 47711 } 47712 postIndex := iNdEx + msglen 47713 if postIndex < 0 { 47714 return ErrInvalidLengthPlan 47715 } 47716 if postIndex > l { 47717 return io.ErrUnexpectedEOF 47718 } 47719 if m.ClusterTable == nil { 47720 m.ClusterTable = &ClusterTable{} 47721 } 47722 if err := m.ClusterTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47723 return err 47724 } 47725 iNdEx = postIndex 47726 case 6: 47727 if wireType != 0 { 47728 return fmt.Errorf("proto: wrong wireType = %d for field TableId", wireType) 47729 } 47730 m.TableId = 0 47731 for shift := uint(0); ; shift += 7 { 47732 if shift >= 64 { 47733 return ErrIntOverflowPlan 47734 } 47735 if iNdEx >= l { 47736 return io.ErrUnexpectedEOF 47737 } 47738 b := dAtA[iNdEx] 47739 iNdEx++ 47740 m.TableId |= uint64(b&0x7F) << shift 47741 if b < 0x80 { 47742 break 47743 } 47744 } 47745 case 7: 47746 if wireType == 0 { 47747 var v uint64 47748 for shift := uint(0); ; shift += 7 { 47749 if shift >= 64 { 47750 return ErrIntOverflowPlan 47751 } 47752 if iNdEx >= l { 47753 return io.ErrUnexpectedEOF 47754 } 47755 b := dAtA[iNdEx] 47756 iNdEx++ 47757 v |= uint64(b&0x7F) << shift 47758 if b < 0x80 { 47759 break 47760 } 47761 } 47762 m.ForeignTbl = append(m.ForeignTbl, v) 47763 } else if wireType == 2 { 47764 var packedLen int 47765 for shift := uint(0); ; shift += 7 { 47766 if shift >= 64 { 47767 return ErrIntOverflowPlan 47768 } 47769 if iNdEx >= l { 47770 return io.ErrUnexpectedEOF 47771 } 47772 b := dAtA[iNdEx] 47773 iNdEx++ 47774 packedLen |= int(b&0x7F) << shift 47775 if b < 0x80 { 47776 break 47777 } 47778 } 47779 if packedLen < 0 { 47780 return ErrInvalidLengthPlan 47781 } 47782 postIndex := iNdEx + packedLen 47783 if postIndex < 0 { 47784 return ErrInvalidLengthPlan 47785 } 47786 if postIndex > l { 47787 return io.ErrUnexpectedEOF 47788 } 47789 var elementCount int 47790 var count int 47791 for _, integer := range dAtA[iNdEx:postIndex] { 47792 if integer < 128 { 47793 count++ 47794 } 47795 } 47796 elementCount = count 47797 if elementCount != 0 && len(m.ForeignTbl) == 0 { 47798 m.ForeignTbl = make([]uint64, 0, elementCount) 47799 } 47800 for iNdEx < postIndex { 47801 var v uint64 47802 for shift := uint(0); ; shift += 7 { 47803 if shift >= 64 { 47804 return ErrIntOverflowPlan 47805 } 47806 if iNdEx >= l { 47807 return io.ErrUnexpectedEOF 47808 } 47809 b := dAtA[iNdEx] 47810 iNdEx++ 47811 v |= uint64(b&0x7F) << shift 47812 if b < 0x80 { 47813 break 47814 } 47815 } 47816 m.ForeignTbl = append(m.ForeignTbl, v) 47817 } 47818 } else { 47819 return fmt.Errorf("proto: wrong wireType = %d for field ForeignTbl", wireType) 47820 } 47821 case 8: 47822 if wireType != 2 { 47823 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTableNames", wireType) 47824 } 47825 var stringLen uint64 47826 for shift := uint(0); ; shift += 7 { 47827 if shift >= 64 { 47828 return ErrIntOverflowPlan 47829 } 47830 if iNdEx >= l { 47831 return io.ErrUnexpectedEOF 47832 } 47833 b := dAtA[iNdEx] 47834 iNdEx++ 47835 stringLen |= uint64(b&0x7F) << shift 47836 if b < 0x80 { 47837 break 47838 } 47839 } 47840 intStringLen := int(stringLen) 47841 if intStringLen < 0 { 47842 return ErrInvalidLengthPlan 47843 } 47844 postIndex := iNdEx + intStringLen 47845 if postIndex < 0 { 47846 return ErrInvalidLengthPlan 47847 } 47848 if postIndex > l { 47849 return io.ErrUnexpectedEOF 47850 } 47851 m.PartitionTableNames = append(m.PartitionTableNames, string(dAtA[iNdEx:postIndex])) 47852 iNdEx = postIndex 47853 case 9: 47854 if wireType != 0 { 47855 return fmt.Errorf("proto: wrong wireType = %d for field IsView", wireType) 47856 } 47857 var v int 47858 for shift := uint(0); ; shift += 7 { 47859 if shift >= 64 { 47860 return ErrIntOverflowPlan 47861 } 47862 if iNdEx >= l { 47863 return io.ErrUnexpectedEOF 47864 } 47865 b := dAtA[iNdEx] 47866 iNdEx++ 47867 v |= int(b&0x7F) << shift 47868 if b < 0x80 { 47869 break 47870 } 47871 } 47872 m.IsView = bool(v != 0) 47873 case 10: 47874 if wireType != 2 { 47875 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 47876 } 47877 var msglen int 47878 for shift := uint(0); ; shift += 7 { 47879 if shift >= 64 { 47880 return ErrIntOverflowPlan 47881 } 47882 if iNdEx >= l { 47883 return io.ErrUnexpectedEOF 47884 } 47885 b := dAtA[iNdEx] 47886 iNdEx++ 47887 msglen |= int(b&0x7F) << shift 47888 if b < 0x80 { 47889 break 47890 } 47891 } 47892 if msglen < 0 { 47893 return ErrInvalidLengthPlan 47894 } 47895 postIndex := iNdEx + msglen 47896 if postIndex < 0 { 47897 return ErrInvalidLengthPlan 47898 } 47899 if postIndex > l { 47900 return io.ErrUnexpectedEOF 47901 } 47902 if m.TableDef == nil { 47903 m.TableDef = &TableDef{} 47904 } 47905 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 47906 return err 47907 } 47908 iNdEx = postIndex 47909 case 11: 47910 if wireType != 2 { 47911 return fmt.Errorf("proto: wrong wireType = %d for field UpdateFkSqls", wireType) 47912 } 47913 var stringLen uint64 47914 for shift := uint(0); ; shift += 7 { 47915 if shift >= 64 { 47916 return ErrIntOverflowPlan 47917 } 47918 if iNdEx >= l { 47919 return io.ErrUnexpectedEOF 47920 } 47921 b := dAtA[iNdEx] 47922 iNdEx++ 47923 stringLen |= uint64(b&0x7F) << shift 47924 if b < 0x80 { 47925 break 47926 } 47927 } 47928 intStringLen := int(stringLen) 47929 if intStringLen < 0 { 47930 return ErrInvalidLengthPlan 47931 } 47932 postIndex := iNdEx + intStringLen 47933 if postIndex < 0 { 47934 return ErrInvalidLengthPlan 47935 } 47936 if postIndex > l { 47937 return io.ErrUnexpectedEOF 47938 } 47939 m.UpdateFkSqls = append(m.UpdateFkSqls, string(dAtA[iNdEx:postIndex])) 47940 iNdEx = postIndex 47941 case 12: 47942 if wireType == 0 { 47943 var v uint64 47944 for shift := uint(0); ; shift += 7 { 47945 if shift >= 64 { 47946 return ErrIntOverflowPlan 47947 } 47948 if iNdEx >= l { 47949 return io.ErrUnexpectedEOF 47950 } 47951 b := dAtA[iNdEx] 47952 iNdEx++ 47953 v |= uint64(b&0x7F) << shift 47954 if b < 0x80 { 47955 break 47956 } 47957 } 47958 m.FkChildTblsReferToMe = append(m.FkChildTblsReferToMe, v) 47959 } else if wireType == 2 { 47960 var packedLen int 47961 for shift := uint(0); ; shift += 7 { 47962 if shift >= 64 { 47963 return ErrIntOverflowPlan 47964 } 47965 if iNdEx >= l { 47966 return io.ErrUnexpectedEOF 47967 } 47968 b := dAtA[iNdEx] 47969 iNdEx++ 47970 packedLen |= int(b&0x7F) << shift 47971 if b < 0x80 { 47972 break 47973 } 47974 } 47975 if packedLen < 0 { 47976 return ErrInvalidLengthPlan 47977 } 47978 postIndex := iNdEx + packedLen 47979 if postIndex < 0 { 47980 return ErrInvalidLengthPlan 47981 } 47982 if postIndex > l { 47983 return io.ErrUnexpectedEOF 47984 } 47985 var elementCount int 47986 var count int 47987 for _, integer := range dAtA[iNdEx:postIndex] { 47988 if integer < 128 { 47989 count++ 47990 } 47991 } 47992 elementCount = count 47993 if elementCount != 0 && len(m.FkChildTblsReferToMe) == 0 { 47994 m.FkChildTblsReferToMe = make([]uint64, 0, elementCount) 47995 } 47996 for iNdEx < postIndex { 47997 var v uint64 47998 for shift := uint(0); ; shift += 7 { 47999 if shift >= 64 { 48000 return ErrIntOverflowPlan 48001 } 48002 if iNdEx >= l { 48003 return io.ErrUnexpectedEOF 48004 } 48005 b := dAtA[iNdEx] 48006 iNdEx++ 48007 v |= uint64(b&0x7F) << shift 48008 if b < 0x80 { 48009 break 48010 } 48011 } 48012 m.FkChildTblsReferToMe = append(m.FkChildTblsReferToMe, v) 48013 } 48014 } else { 48015 return fmt.Errorf("proto: wrong wireType = %d for field FkChildTblsReferToMe", wireType) 48016 } 48017 default: 48018 iNdEx = preIndex 48019 skippy, err := skipPlan(dAtA[iNdEx:]) 48020 if err != nil { 48021 return err 48022 } 48023 if (skippy < 0) || (iNdEx+skippy) < 0 { 48024 return ErrInvalidLengthPlan 48025 } 48026 if (iNdEx + skippy) > l { 48027 return io.ErrUnexpectedEOF 48028 } 48029 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48030 iNdEx += skippy 48031 } 48032 } 48033 48034 if iNdEx > l { 48035 return io.ErrUnexpectedEOF 48036 } 48037 return nil 48038 } 48039 func (m *AlterView) Unmarshal(dAtA []byte) error { 48040 l := len(dAtA) 48041 iNdEx := 0 48042 for iNdEx < l { 48043 preIndex := iNdEx 48044 var wire uint64 48045 for shift := uint(0); ; shift += 7 { 48046 if shift >= 64 { 48047 return ErrIntOverflowPlan 48048 } 48049 if iNdEx >= l { 48050 return io.ErrUnexpectedEOF 48051 } 48052 b := dAtA[iNdEx] 48053 iNdEx++ 48054 wire |= uint64(b&0x7F) << shift 48055 if b < 0x80 { 48056 break 48057 } 48058 } 48059 fieldNum := int32(wire >> 3) 48060 wireType := int(wire & 0x7) 48061 if wireType == 4 { 48062 return fmt.Errorf("proto: AlterView: wiretype end group for non-group") 48063 } 48064 if fieldNum <= 0 { 48065 return fmt.Errorf("proto: AlterView: illegal tag %d (wire type %d)", fieldNum, wire) 48066 } 48067 switch fieldNum { 48068 case 1: 48069 if wireType != 0 { 48070 return fmt.Errorf("proto: wrong wireType = %d for field IfExists", wireType) 48071 } 48072 var v int 48073 for shift := uint(0); ; shift += 7 { 48074 if shift >= 64 { 48075 return ErrIntOverflowPlan 48076 } 48077 if iNdEx >= l { 48078 return io.ErrUnexpectedEOF 48079 } 48080 b := dAtA[iNdEx] 48081 iNdEx++ 48082 v |= int(b&0x7F) << shift 48083 if b < 0x80 { 48084 break 48085 } 48086 } 48087 m.IfExists = bool(v != 0) 48088 case 2: 48089 if wireType != 2 { 48090 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 48091 } 48092 var stringLen uint64 48093 for shift := uint(0); ; shift += 7 { 48094 if shift >= 64 { 48095 return ErrIntOverflowPlan 48096 } 48097 if iNdEx >= l { 48098 return io.ErrUnexpectedEOF 48099 } 48100 b := dAtA[iNdEx] 48101 iNdEx++ 48102 stringLen |= uint64(b&0x7F) << shift 48103 if b < 0x80 { 48104 break 48105 } 48106 } 48107 intStringLen := int(stringLen) 48108 if intStringLen < 0 { 48109 return ErrInvalidLengthPlan 48110 } 48111 postIndex := iNdEx + intStringLen 48112 if postIndex < 0 { 48113 return ErrInvalidLengthPlan 48114 } 48115 if postIndex > l { 48116 return io.ErrUnexpectedEOF 48117 } 48118 m.Database = string(dAtA[iNdEx:postIndex]) 48119 iNdEx = postIndex 48120 case 4: 48121 if wireType != 2 { 48122 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 48123 } 48124 var msglen int 48125 for shift := uint(0); ; shift += 7 { 48126 if shift >= 64 { 48127 return ErrIntOverflowPlan 48128 } 48129 if iNdEx >= l { 48130 return io.ErrUnexpectedEOF 48131 } 48132 b := dAtA[iNdEx] 48133 iNdEx++ 48134 msglen |= int(b&0x7F) << shift 48135 if b < 0x80 { 48136 break 48137 } 48138 } 48139 if msglen < 0 { 48140 return ErrInvalidLengthPlan 48141 } 48142 postIndex := iNdEx + msglen 48143 if postIndex < 0 { 48144 return ErrInvalidLengthPlan 48145 } 48146 if postIndex > l { 48147 return io.ErrUnexpectedEOF 48148 } 48149 if m.TableDef == nil { 48150 m.TableDef = &TableDef{} 48151 } 48152 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 48153 return err 48154 } 48155 iNdEx = postIndex 48156 default: 48157 iNdEx = preIndex 48158 skippy, err := skipPlan(dAtA[iNdEx:]) 48159 if err != nil { 48160 return err 48161 } 48162 if (skippy < 0) || (iNdEx+skippy) < 0 { 48163 return ErrInvalidLengthPlan 48164 } 48165 if (iNdEx + skippy) > l { 48166 return io.ErrUnexpectedEOF 48167 } 48168 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48169 iNdEx += skippy 48170 } 48171 } 48172 48173 if iNdEx > l { 48174 return io.ErrUnexpectedEOF 48175 } 48176 return nil 48177 } 48178 func (m *CreateSequence) Unmarshal(dAtA []byte) error { 48179 l := len(dAtA) 48180 iNdEx := 0 48181 for iNdEx < l { 48182 preIndex := iNdEx 48183 var wire uint64 48184 for shift := uint(0); ; shift += 7 { 48185 if shift >= 64 { 48186 return ErrIntOverflowPlan 48187 } 48188 if iNdEx >= l { 48189 return io.ErrUnexpectedEOF 48190 } 48191 b := dAtA[iNdEx] 48192 iNdEx++ 48193 wire |= uint64(b&0x7F) << shift 48194 if b < 0x80 { 48195 break 48196 } 48197 } 48198 fieldNum := int32(wire >> 3) 48199 wireType := int(wire & 0x7) 48200 if wireType == 4 { 48201 return fmt.Errorf("proto: CreateSequence: wiretype end group for non-group") 48202 } 48203 if fieldNum <= 0 { 48204 return fmt.Errorf("proto: CreateSequence: illegal tag %d (wire type %d)", fieldNum, wire) 48205 } 48206 switch fieldNum { 48207 case 1: 48208 if wireType != 0 { 48209 return fmt.Errorf("proto: wrong wireType = %d for field IfNotExists", wireType) 48210 } 48211 var v int 48212 for shift := uint(0); ; shift += 7 { 48213 if shift >= 64 { 48214 return ErrIntOverflowPlan 48215 } 48216 if iNdEx >= l { 48217 return io.ErrUnexpectedEOF 48218 } 48219 b := dAtA[iNdEx] 48220 iNdEx++ 48221 v |= int(b&0x7F) << shift 48222 if b < 0x80 { 48223 break 48224 } 48225 } 48226 m.IfNotExists = bool(v != 0) 48227 case 2: 48228 if wireType != 2 { 48229 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 48230 } 48231 var stringLen uint64 48232 for shift := uint(0); ; shift += 7 { 48233 if shift >= 64 { 48234 return ErrIntOverflowPlan 48235 } 48236 if iNdEx >= l { 48237 return io.ErrUnexpectedEOF 48238 } 48239 b := dAtA[iNdEx] 48240 iNdEx++ 48241 stringLen |= uint64(b&0x7F) << shift 48242 if b < 0x80 { 48243 break 48244 } 48245 } 48246 intStringLen := int(stringLen) 48247 if intStringLen < 0 { 48248 return ErrInvalidLengthPlan 48249 } 48250 postIndex := iNdEx + intStringLen 48251 if postIndex < 0 { 48252 return ErrInvalidLengthPlan 48253 } 48254 if postIndex > l { 48255 return io.ErrUnexpectedEOF 48256 } 48257 m.Database = string(dAtA[iNdEx:postIndex]) 48258 iNdEx = postIndex 48259 case 3: 48260 if wireType != 2 { 48261 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 48262 } 48263 var msglen int 48264 for shift := uint(0); ; shift += 7 { 48265 if shift >= 64 { 48266 return ErrIntOverflowPlan 48267 } 48268 if iNdEx >= l { 48269 return io.ErrUnexpectedEOF 48270 } 48271 b := dAtA[iNdEx] 48272 iNdEx++ 48273 msglen |= int(b&0x7F) << shift 48274 if b < 0x80 { 48275 break 48276 } 48277 } 48278 if msglen < 0 { 48279 return ErrInvalidLengthPlan 48280 } 48281 postIndex := iNdEx + msglen 48282 if postIndex < 0 { 48283 return ErrInvalidLengthPlan 48284 } 48285 if postIndex > l { 48286 return io.ErrUnexpectedEOF 48287 } 48288 if m.TableDef == nil { 48289 m.TableDef = &TableDef{} 48290 } 48291 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 48292 return err 48293 } 48294 iNdEx = postIndex 48295 default: 48296 iNdEx = preIndex 48297 skippy, err := skipPlan(dAtA[iNdEx:]) 48298 if err != nil { 48299 return err 48300 } 48301 if (skippy < 0) || (iNdEx+skippy) < 0 { 48302 return ErrInvalidLengthPlan 48303 } 48304 if (iNdEx + skippy) > l { 48305 return io.ErrUnexpectedEOF 48306 } 48307 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48308 iNdEx += skippy 48309 } 48310 } 48311 48312 if iNdEx > l { 48313 return io.ErrUnexpectedEOF 48314 } 48315 return nil 48316 } 48317 func (m *DropSequence) Unmarshal(dAtA []byte) error { 48318 l := len(dAtA) 48319 iNdEx := 0 48320 for iNdEx < l { 48321 preIndex := iNdEx 48322 var wire uint64 48323 for shift := uint(0); ; shift += 7 { 48324 if shift >= 64 { 48325 return ErrIntOverflowPlan 48326 } 48327 if iNdEx >= l { 48328 return io.ErrUnexpectedEOF 48329 } 48330 b := dAtA[iNdEx] 48331 iNdEx++ 48332 wire |= uint64(b&0x7F) << shift 48333 if b < 0x80 { 48334 break 48335 } 48336 } 48337 fieldNum := int32(wire >> 3) 48338 wireType := int(wire & 0x7) 48339 if wireType == 4 { 48340 return fmt.Errorf("proto: DropSequence: wiretype end group for non-group") 48341 } 48342 if fieldNum <= 0 { 48343 return fmt.Errorf("proto: DropSequence: illegal tag %d (wire type %d)", fieldNum, wire) 48344 } 48345 switch fieldNum { 48346 case 1: 48347 if wireType != 0 { 48348 return fmt.Errorf("proto: wrong wireType = %d for field IfExists", wireType) 48349 } 48350 var v int 48351 for shift := uint(0); ; shift += 7 { 48352 if shift >= 64 { 48353 return ErrIntOverflowPlan 48354 } 48355 if iNdEx >= l { 48356 return io.ErrUnexpectedEOF 48357 } 48358 b := dAtA[iNdEx] 48359 iNdEx++ 48360 v |= int(b&0x7F) << shift 48361 if b < 0x80 { 48362 break 48363 } 48364 } 48365 m.IfExists = bool(v != 0) 48366 case 2: 48367 if wireType != 2 { 48368 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 48369 } 48370 var stringLen uint64 48371 for shift := uint(0); ; shift += 7 { 48372 if shift >= 64 { 48373 return ErrIntOverflowPlan 48374 } 48375 if iNdEx >= l { 48376 return io.ErrUnexpectedEOF 48377 } 48378 b := dAtA[iNdEx] 48379 iNdEx++ 48380 stringLen |= uint64(b&0x7F) << shift 48381 if b < 0x80 { 48382 break 48383 } 48384 } 48385 intStringLen := int(stringLen) 48386 if intStringLen < 0 { 48387 return ErrInvalidLengthPlan 48388 } 48389 postIndex := iNdEx + intStringLen 48390 if postIndex < 0 { 48391 return ErrInvalidLengthPlan 48392 } 48393 if postIndex > l { 48394 return io.ErrUnexpectedEOF 48395 } 48396 m.Database = string(dAtA[iNdEx:postIndex]) 48397 iNdEx = postIndex 48398 case 3: 48399 if wireType != 2 { 48400 return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) 48401 } 48402 var stringLen uint64 48403 for shift := uint(0); ; shift += 7 { 48404 if shift >= 64 { 48405 return ErrIntOverflowPlan 48406 } 48407 if iNdEx >= l { 48408 return io.ErrUnexpectedEOF 48409 } 48410 b := dAtA[iNdEx] 48411 iNdEx++ 48412 stringLen |= uint64(b&0x7F) << shift 48413 if b < 0x80 { 48414 break 48415 } 48416 } 48417 intStringLen := int(stringLen) 48418 if intStringLen < 0 { 48419 return ErrInvalidLengthPlan 48420 } 48421 postIndex := iNdEx + intStringLen 48422 if postIndex < 0 { 48423 return ErrInvalidLengthPlan 48424 } 48425 if postIndex > l { 48426 return io.ErrUnexpectedEOF 48427 } 48428 m.Table = string(dAtA[iNdEx:postIndex]) 48429 iNdEx = postIndex 48430 case 4: 48431 if wireType != 0 { 48432 return fmt.Errorf("proto: wrong wireType = %d for field TableId", wireType) 48433 } 48434 m.TableId = 0 48435 for shift := uint(0); ; shift += 7 { 48436 if shift >= 64 { 48437 return ErrIntOverflowPlan 48438 } 48439 if iNdEx >= l { 48440 return io.ErrUnexpectedEOF 48441 } 48442 b := dAtA[iNdEx] 48443 iNdEx++ 48444 m.TableId |= uint64(b&0x7F) << shift 48445 if b < 0x80 { 48446 break 48447 } 48448 } 48449 default: 48450 iNdEx = preIndex 48451 skippy, err := skipPlan(dAtA[iNdEx:]) 48452 if err != nil { 48453 return err 48454 } 48455 if (skippy < 0) || (iNdEx+skippy) < 0 { 48456 return ErrInvalidLengthPlan 48457 } 48458 if (iNdEx + skippy) > l { 48459 return io.ErrUnexpectedEOF 48460 } 48461 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48462 iNdEx += skippy 48463 } 48464 } 48465 48466 if iNdEx > l { 48467 return io.ErrUnexpectedEOF 48468 } 48469 return nil 48470 } 48471 func (m *AlterSequence) Unmarshal(dAtA []byte) error { 48472 l := len(dAtA) 48473 iNdEx := 0 48474 for iNdEx < l { 48475 preIndex := iNdEx 48476 var wire uint64 48477 for shift := uint(0); ; shift += 7 { 48478 if shift >= 64 { 48479 return ErrIntOverflowPlan 48480 } 48481 if iNdEx >= l { 48482 return io.ErrUnexpectedEOF 48483 } 48484 b := dAtA[iNdEx] 48485 iNdEx++ 48486 wire |= uint64(b&0x7F) << shift 48487 if b < 0x80 { 48488 break 48489 } 48490 } 48491 fieldNum := int32(wire >> 3) 48492 wireType := int(wire & 0x7) 48493 if wireType == 4 { 48494 return fmt.Errorf("proto: AlterSequence: wiretype end group for non-group") 48495 } 48496 if fieldNum <= 0 { 48497 return fmt.Errorf("proto: AlterSequence: illegal tag %d (wire type %d)", fieldNum, wire) 48498 } 48499 switch fieldNum { 48500 case 1: 48501 if wireType != 0 { 48502 return fmt.Errorf("proto: wrong wireType = %d for field IfExists", wireType) 48503 } 48504 var v int 48505 for shift := uint(0); ; shift += 7 { 48506 if shift >= 64 { 48507 return ErrIntOverflowPlan 48508 } 48509 if iNdEx >= l { 48510 return io.ErrUnexpectedEOF 48511 } 48512 b := dAtA[iNdEx] 48513 iNdEx++ 48514 v |= int(b&0x7F) << shift 48515 if b < 0x80 { 48516 break 48517 } 48518 } 48519 m.IfExists = bool(v != 0) 48520 case 2: 48521 if wireType != 2 { 48522 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 48523 } 48524 var stringLen uint64 48525 for shift := uint(0); ; shift += 7 { 48526 if shift >= 64 { 48527 return ErrIntOverflowPlan 48528 } 48529 if iNdEx >= l { 48530 return io.ErrUnexpectedEOF 48531 } 48532 b := dAtA[iNdEx] 48533 iNdEx++ 48534 stringLen |= uint64(b&0x7F) << shift 48535 if b < 0x80 { 48536 break 48537 } 48538 } 48539 intStringLen := int(stringLen) 48540 if intStringLen < 0 { 48541 return ErrInvalidLengthPlan 48542 } 48543 postIndex := iNdEx + intStringLen 48544 if postIndex < 0 { 48545 return ErrInvalidLengthPlan 48546 } 48547 if postIndex > l { 48548 return io.ErrUnexpectedEOF 48549 } 48550 m.Database = string(dAtA[iNdEx:postIndex]) 48551 iNdEx = postIndex 48552 case 3: 48553 if wireType != 2 { 48554 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 48555 } 48556 var msglen int 48557 for shift := uint(0); ; shift += 7 { 48558 if shift >= 64 { 48559 return ErrIntOverflowPlan 48560 } 48561 if iNdEx >= l { 48562 return io.ErrUnexpectedEOF 48563 } 48564 b := dAtA[iNdEx] 48565 iNdEx++ 48566 msglen |= int(b&0x7F) << shift 48567 if b < 0x80 { 48568 break 48569 } 48570 } 48571 if msglen < 0 { 48572 return ErrInvalidLengthPlan 48573 } 48574 postIndex := iNdEx + msglen 48575 if postIndex < 0 { 48576 return ErrInvalidLengthPlan 48577 } 48578 if postIndex > l { 48579 return io.ErrUnexpectedEOF 48580 } 48581 if m.TableDef == nil { 48582 m.TableDef = &TableDef{} 48583 } 48584 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 48585 return err 48586 } 48587 iNdEx = postIndex 48588 default: 48589 iNdEx = preIndex 48590 skippy, err := skipPlan(dAtA[iNdEx:]) 48591 if err != nil { 48592 return err 48593 } 48594 if (skippy < 0) || (iNdEx+skippy) < 0 { 48595 return ErrInvalidLengthPlan 48596 } 48597 if (iNdEx + skippy) > l { 48598 return io.ErrUnexpectedEOF 48599 } 48600 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48601 iNdEx += skippy 48602 } 48603 } 48604 48605 if iNdEx > l { 48606 return io.ErrUnexpectedEOF 48607 } 48608 return nil 48609 } 48610 func (m *CreateIndex) Unmarshal(dAtA []byte) error { 48611 l := len(dAtA) 48612 iNdEx := 0 48613 for iNdEx < l { 48614 preIndex := iNdEx 48615 var wire uint64 48616 for shift := uint(0); ; shift += 7 { 48617 if shift >= 64 { 48618 return ErrIntOverflowPlan 48619 } 48620 if iNdEx >= l { 48621 return io.ErrUnexpectedEOF 48622 } 48623 b := dAtA[iNdEx] 48624 iNdEx++ 48625 wire |= uint64(b&0x7F) << shift 48626 if b < 0x80 { 48627 break 48628 } 48629 } 48630 fieldNum := int32(wire >> 3) 48631 wireType := int(wire & 0x7) 48632 if wireType == 4 { 48633 return fmt.Errorf("proto: CreateIndex: wiretype end group for non-group") 48634 } 48635 if fieldNum <= 0 { 48636 return fmt.Errorf("proto: CreateIndex: illegal tag %d (wire type %d)", fieldNum, wire) 48637 } 48638 switch fieldNum { 48639 case 1: 48640 if wireType != 2 { 48641 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 48642 } 48643 var stringLen uint64 48644 for shift := uint(0); ; shift += 7 { 48645 if shift >= 64 { 48646 return ErrIntOverflowPlan 48647 } 48648 if iNdEx >= l { 48649 return io.ErrUnexpectedEOF 48650 } 48651 b := dAtA[iNdEx] 48652 iNdEx++ 48653 stringLen |= uint64(b&0x7F) << shift 48654 if b < 0x80 { 48655 break 48656 } 48657 } 48658 intStringLen := int(stringLen) 48659 if intStringLen < 0 { 48660 return ErrInvalidLengthPlan 48661 } 48662 postIndex := iNdEx + intStringLen 48663 if postIndex < 0 { 48664 return ErrInvalidLengthPlan 48665 } 48666 if postIndex > l { 48667 return io.ErrUnexpectedEOF 48668 } 48669 m.Database = string(dAtA[iNdEx:postIndex]) 48670 iNdEx = postIndex 48671 case 2: 48672 if wireType != 2 { 48673 return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) 48674 } 48675 var stringLen uint64 48676 for shift := uint(0); ; shift += 7 { 48677 if shift >= 64 { 48678 return ErrIntOverflowPlan 48679 } 48680 if iNdEx >= l { 48681 return io.ErrUnexpectedEOF 48682 } 48683 b := dAtA[iNdEx] 48684 iNdEx++ 48685 stringLen |= uint64(b&0x7F) << shift 48686 if b < 0x80 { 48687 break 48688 } 48689 } 48690 intStringLen := int(stringLen) 48691 if intStringLen < 0 { 48692 return ErrInvalidLengthPlan 48693 } 48694 postIndex := iNdEx + intStringLen 48695 if postIndex < 0 { 48696 return ErrInvalidLengthPlan 48697 } 48698 if postIndex > l { 48699 return io.ErrUnexpectedEOF 48700 } 48701 m.Table = string(dAtA[iNdEx:postIndex]) 48702 iNdEx = postIndex 48703 case 3: 48704 if wireType != 2 { 48705 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 48706 } 48707 var msglen int 48708 for shift := uint(0); ; shift += 7 { 48709 if shift >= 64 { 48710 return ErrIntOverflowPlan 48711 } 48712 if iNdEx >= l { 48713 return io.ErrUnexpectedEOF 48714 } 48715 b := dAtA[iNdEx] 48716 iNdEx++ 48717 msglen |= int(b&0x7F) << shift 48718 if b < 0x80 { 48719 break 48720 } 48721 } 48722 if msglen < 0 { 48723 return ErrInvalidLengthPlan 48724 } 48725 postIndex := iNdEx + msglen 48726 if postIndex < 0 { 48727 return ErrInvalidLengthPlan 48728 } 48729 if postIndex > l { 48730 return io.ErrUnexpectedEOF 48731 } 48732 if m.TableDef == nil { 48733 m.TableDef = &TableDef{} 48734 } 48735 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 48736 return err 48737 } 48738 iNdEx = postIndex 48739 case 4: 48740 if wireType != 2 { 48741 return fmt.Errorf("proto: wrong wireType = %d for field OriginTablePrimaryKey", wireType) 48742 } 48743 var stringLen uint64 48744 for shift := uint(0); ; shift += 7 { 48745 if shift >= 64 { 48746 return ErrIntOverflowPlan 48747 } 48748 if iNdEx >= l { 48749 return io.ErrUnexpectedEOF 48750 } 48751 b := dAtA[iNdEx] 48752 iNdEx++ 48753 stringLen |= uint64(b&0x7F) << shift 48754 if b < 0x80 { 48755 break 48756 } 48757 } 48758 intStringLen := int(stringLen) 48759 if intStringLen < 0 { 48760 return ErrInvalidLengthPlan 48761 } 48762 postIndex := iNdEx + intStringLen 48763 if postIndex < 0 { 48764 return ErrInvalidLengthPlan 48765 } 48766 if postIndex > l { 48767 return io.ErrUnexpectedEOF 48768 } 48769 m.OriginTablePrimaryKey = string(dAtA[iNdEx:postIndex]) 48770 iNdEx = postIndex 48771 case 5: 48772 if wireType != 2 { 48773 return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) 48774 } 48775 var msglen int 48776 for shift := uint(0); ; shift += 7 { 48777 if shift >= 64 { 48778 return ErrIntOverflowPlan 48779 } 48780 if iNdEx >= l { 48781 return io.ErrUnexpectedEOF 48782 } 48783 b := dAtA[iNdEx] 48784 iNdEx++ 48785 msglen |= int(b&0x7F) << shift 48786 if b < 0x80 { 48787 break 48788 } 48789 } 48790 if msglen < 0 { 48791 return ErrInvalidLengthPlan 48792 } 48793 postIndex := iNdEx + msglen 48794 if postIndex < 0 { 48795 return ErrInvalidLengthPlan 48796 } 48797 if postIndex > l { 48798 return io.ErrUnexpectedEOF 48799 } 48800 if m.Index == nil { 48801 m.Index = &CreateTable{} 48802 } 48803 if err := m.Index.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 48804 return err 48805 } 48806 iNdEx = postIndex 48807 case 6: 48808 if wireType != 0 { 48809 return fmt.Errorf("proto: wrong wireType = %d for field TableExist", wireType) 48810 } 48811 var v int 48812 for shift := uint(0); ; shift += 7 { 48813 if shift >= 64 { 48814 return ErrIntOverflowPlan 48815 } 48816 if iNdEx >= l { 48817 return io.ErrUnexpectedEOF 48818 } 48819 b := dAtA[iNdEx] 48820 iNdEx++ 48821 v |= int(b&0x7F) << shift 48822 if b < 0x80 { 48823 break 48824 } 48825 } 48826 m.TableExist = bool(v != 0) 48827 default: 48828 iNdEx = preIndex 48829 skippy, err := skipPlan(dAtA[iNdEx:]) 48830 if err != nil { 48831 return err 48832 } 48833 if (skippy < 0) || (iNdEx+skippy) < 0 { 48834 return ErrInvalidLengthPlan 48835 } 48836 if (iNdEx + skippy) > l { 48837 return io.ErrUnexpectedEOF 48838 } 48839 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48840 iNdEx += skippy 48841 } 48842 } 48843 48844 if iNdEx > l { 48845 return io.ErrUnexpectedEOF 48846 } 48847 return nil 48848 } 48849 func (m *AlterIndex) Unmarshal(dAtA []byte) error { 48850 l := len(dAtA) 48851 iNdEx := 0 48852 for iNdEx < l { 48853 preIndex := iNdEx 48854 var wire uint64 48855 for shift := uint(0); ; shift += 7 { 48856 if shift >= 64 { 48857 return ErrIntOverflowPlan 48858 } 48859 if iNdEx >= l { 48860 return io.ErrUnexpectedEOF 48861 } 48862 b := dAtA[iNdEx] 48863 iNdEx++ 48864 wire |= uint64(b&0x7F) << shift 48865 if b < 0x80 { 48866 break 48867 } 48868 } 48869 fieldNum := int32(wire >> 3) 48870 wireType := int(wire & 0x7) 48871 if wireType == 4 { 48872 return fmt.Errorf("proto: AlterIndex: wiretype end group for non-group") 48873 } 48874 if fieldNum <= 0 { 48875 return fmt.Errorf("proto: AlterIndex: illegal tag %d (wire type %d)", fieldNum, wire) 48876 } 48877 switch fieldNum { 48878 case 1: 48879 if wireType != 2 { 48880 return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) 48881 } 48882 var stringLen uint64 48883 for shift := uint(0); ; shift += 7 { 48884 if shift >= 64 { 48885 return ErrIntOverflowPlan 48886 } 48887 if iNdEx >= l { 48888 return io.ErrUnexpectedEOF 48889 } 48890 b := dAtA[iNdEx] 48891 iNdEx++ 48892 stringLen |= uint64(b&0x7F) << shift 48893 if b < 0x80 { 48894 break 48895 } 48896 } 48897 intStringLen := int(stringLen) 48898 if intStringLen < 0 { 48899 return ErrInvalidLengthPlan 48900 } 48901 postIndex := iNdEx + intStringLen 48902 if postIndex < 0 { 48903 return ErrInvalidLengthPlan 48904 } 48905 if postIndex > l { 48906 return io.ErrUnexpectedEOF 48907 } 48908 m.Index = string(dAtA[iNdEx:postIndex]) 48909 iNdEx = postIndex 48910 default: 48911 iNdEx = preIndex 48912 skippy, err := skipPlan(dAtA[iNdEx:]) 48913 if err != nil { 48914 return err 48915 } 48916 if (skippy < 0) || (iNdEx+skippy) < 0 { 48917 return ErrInvalidLengthPlan 48918 } 48919 if (iNdEx + skippy) > l { 48920 return io.ErrUnexpectedEOF 48921 } 48922 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 48923 iNdEx += skippy 48924 } 48925 } 48926 48927 if iNdEx > l { 48928 return io.ErrUnexpectedEOF 48929 } 48930 return nil 48931 } 48932 func (m *DropIndex) Unmarshal(dAtA []byte) error { 48933 l := len(dAtA) 48934 iNdEx := 0 48935 for iNdEx < l { 48936 preIndex := iNdEx 48937 var wire uint64 48938 for shift := uint(0); ; shift += 7 { 48939 if shift >= 64 { 48940 return ErrIntOverflowPlan 48941 } 48942 if iNdEx >= l { 48943 return io.ErrUnexpectedEOF 48944 } 48945 b := dAtA[iNdEx] 48946 iNdEx++ 48947 wire |= uint64(b&0x7F) << shift 48948 if b < 0x80 { 48949 break 48950 } 48951 } 48952 fieldNum := int32(wire >> 3) 48953 wireType := int(wire & 0x7) 48954 if wireType == 4 { 48955 return fmt.Errorf("proto: DropIndex: wiretype end group for non-group") 48956 } 48957 if fieldNum <= 0 { 48958 return fmt.Errorf("proto: DropIndex: illegal tag %d (wire type %d)", fieldNum, wire) 48959 } 48960 switch fieldNum { 48961 case 1: 48962 if wireType != 2 { 48963 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 48964 } 48965 var stringLen uint64 48966 for shift := uint(0); ; shift += 7 { 48967 if shift >= 64 { 48968 return ErrIntOverflowPlan 48969 } 48970 if iNdEx >= l { 48971 return io.ErrUnexpectedEOF 48972 } 48973 b := dAtA[iNdEx] 48974 iNdEx++ 48975 stringLen |= uint64(b&0x7F) << shift 48976 if b < 0x80 { 48977 break 48978 } 48979 } 48980 intStringLen := int(stringLen) 48981 if intStringLen < 0 { 48982 return ErrInvalidLengthPlan 48983 } 48984 postIndex := iNdEx + intStringLen 48985 if postIndex < 0 { 48986 return ErrInvalidLengthPlan 48987 } 48988 if postIndex > l { 48989 return io.ErrUnexpectedEOF 48990 } 48991 m.Database = string(dAtA[iNdEx:postIndex]) 48992 iNdEx = postIndex 48993 case 2: 48994 if wireType != 2 { 48995 return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) 48996 } 48997 var stringLen uint64 48998 for shift := uint(0); ; shift += 7 { 48999 if shift >= 64 { 49000 return ErrIntOverflowPlan 49001 } 49002 if iNdEx >= l { 49003 return io.ErrUnexpectedEOF 49004 } 49005 b := dAtA[iNdEx] 49006 iNdEx++ 49007 stringLen |= uint64(b&0x7F) << shift 49008 if b < 0x80 { 49009 break 49010 } 49011 } 49012 intStringLen := int(stringLen) 49013 if intStringLen < 0 { 49014 return ErrInvalidLengthPlan 49015 } 49016 postIndex := iNdEx + intStringLen 49017 if postIndex < 0 { 49018 return ErrInvalidLengthPlan 49019 } 49020 if postIndex > l { 49021 return io.ErrUnexpectedEOF 49022 } 49023 m.Table = string(dAtA[iNdEx:postIndex]) 49024 iNdEx = postIndex 49025 case 3: 49026 if wireType != 2 { 49027 return fmt.Errorf("proto: wrong wireType = %d for field IndexName", wireType) 49028 } 49029 var stringLen uint64 49030 for shift := uint(0); ; shift += 7 { 49031 if shift >= 64 { 49032 return ErrIntOverflowPlan 49033 } 49034 if iNdEx >= l { 49035 return io.ErrUnexpectedEOF 49036 } 49037 b := dAtA[iNdEx] 49038 iNdEx++ 49039 stringLen |= uint64(b&0x7F) << shift 49040 if b < 0x80 { 49041 break 49042 } 49043 } 49044 intStringLen := int(stringLen) 49045 if intStringLen < 0 { 49046 return ErrInvalidLengthPlan 49047 } 49048 postIndex := iNdEx + intStringLen 49049 if postIndex < 0 { 49050 return ErrInvalidLengthPlan 49051 } 49052 if postIndex > l { 49053 return io.ErrUnexpectedEOF 49054 } 49055 m.IndexName = string(dAtA[iNdEx:postIndex]) 49056 iNdEx = postIndex 49057 case 4: 49058 if wireType != 2 { 49059 return fmt.Errorf("proto: wrong wireType = %d for field IndexTableName", wireType) 49060 } 49061 var stringLen uint64 49062 for shift := uint(0); ; shift += 7 { 49063 if shift >= 64 { 49064 return ErrIntOverflowPlan 49065 } 49066 if iNdEx >= l { 49067 return io.ErrUnexpectedEOF 49068 } 49069 b := dAtA[iNdEx] 49070 iNdEx++ 49071 stringLen |= uint64(b&0x7F) << shift 49072 if b < 0x80 { 49073 break 49074 } 49075 } 49076 intStringLen := int(stringLen) 49077 if intStringLen < 0 { 49078 return ErrInvalidLengthPlan 49079 } 49080 postIndex := iNdEx + intStringLen 49081 if postIndex < 0 { 49082 return ErrInvalidLengthPlan 49083 } 49084 if postIndex > l { 49085 return io.ErrUnexpectedEOF 49086 } 49087 m.IndexTableName = string(dAtA[iNdEx:postIndex]) 49088 iNdEx = postIndex 49089 default: 49090 iNdEx = preIndex 49091 skippy, err := skipPlan(dAtA[iNdEx:]) 49092 if err != nil { 49093 return err 49094 } 49095 if (skippy < 0) || (iNdEx+skippy) < 0 { 49096 return ErrInvalidLengthPlan 49097 } 49098 if (iNdEx + skippy) > l { 49099 return io.ErrUnexpectedEOF 49100 } 49101 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49102 iNdEx += skippy 49103 } 49104 } 49105 49106 if iNdEx > l { 49107 return io.ErrUnexpectedEOF 49108 } 49109 return nil 49110 } 49111 func (m *TruncateTable) Unmarshal(dAtA []byte) error { 49112 l := len(dAtA) 49113 iNdEx := 0 49114 for iNdEx < l { 49115 preIndex := iNdEx 49116 var wire uint64 49117 for shift := uint(0); ; shift += 7 { 49118 if shift >= 64 { 49119 return ErrIntOverflowPlan 49120 } 49121 if iNdEx >= l { 49122 return io.ErrUnexpectedEOF 49123 } 49124 b := dAtA[iNdEx] 49125 iNdEx++ 49126 wire |= uint64(b&0x7F) << shift 49127 if b < 0x80 { 49128 break 49129 } 49130 } 49131 fieldNum := int32(wire >> 3) 49132 wireType := int(wire & 0x7) 49133 if wireType == 4 { 49134 return fmt.Errorf("proto: TruncateTable: wiretype end group for non-group") 49135 } 49136 if fieldNum <= 0 { 49137 return fmt.Errorf("proto: TruncateTable: illegal tag %d (wire type %d)", fieldNum, wire) 49138 } 49139 switch fieldNum { 49140 case 1: 49141 if wireType != 2 { 49142 return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType) 49143 } 49144 var stringLen uint64 49145 for shift := uint(0); ; shift += 7 { 49146 if shift >= 64 { 49147 return ErrIntOverflowPlan 49148 } 49149 if iNdEx >= l { 49150 return io.ErrUnexpectedEOF 49151 } 49152 b := dAtA[iNdEx] 49153 iNdEx++ 49154 stringLen |= uint64(b&0x7F) << shift 49155 if b < 0x80 { 49156 break 49157 } 49158 } 49159 intStringLen := int(stringLen) 49160 if intStringLen < 0 { 49161 return ErrInvalidLengthPlan 49162 } 49163 postIndex := iNdEx + intStringLen 49164 if postIndex < 0 { 49165 return ErrInvalidLengthPlan 49166 } 49167 if postIndex > l { 49168 return io.ErrUnexpectedEOF 49169 } 49170 m.Database = string(dAtA[iNdEx:postIndex]) 49171 iNdEx = postIndex 49172 case 2: 49173 if wireType != 2 { 49174 return fmt.Errorf("proto: wrong wireType = %d for field Table", wireType) 49175 } 49176 var stringLen uint64 49177 for shift := uint(0); ; shift += 7 { 49178 if shift >= 64 { 49179 return ErrIntOverflowPlan 49180 } 49181 if iNdEx >= l { 49182 return io.ErrUnexpectedEOF 49183 } 49184 b := dAtA[iNdEx] 49185 iNdEx++ 49186 stringLen |= uint64(b&0x7F) << shift 49187 if b < 0x80 { 49188 break 49189 } 49190 } 49191 intStringLen := int(stringLen) 49192 if intStringLen < 0 { 49193 return ErrInvalidLengthPlan 49194 } 49195 postIndex := iNdEx + intStringLen 49196 if postIndex < 0 { 49197 return ErrInvalidLengthPlan 49198 } 49199 if postIndex > l { 49200 return io.ErrUnexpectedEOF 49201 } 49202 m.Table = string(dAtA[iNdEx:postIndex]) 49203 iNdEx = postIndex 49204 case 3: 49205 if wireType != 2 { 49206 return fmt.Errorf("proto: wrong wireType = %d for field IndexTableNames", wireType) 49207 } 49208 var stringLen uint64 49209 for shift := uint(0); ; shift += 7 { 49210 if shift >= 64 { 49211 return ErrIntOverflowPlan 49212 } 49213 if iNdEx >= l { 49214 return io.ErrUnexpectedEOF 49215 } 49216 b := dAtA[iNdEx] 49217 iNdEx++ 49218 stringLen |= uint64(b&0x7F) << shift 49219 if b < 0x80 { 49220 break 49221 } 49222 } 49223 intStringLen := int(stringLen) 49224 if intStringLen < 0 { 49225 return ErrInvalidLengthPlan 49226 } 49227 postIndex := iNdEx + intStringLen 49228 if postIndex < 0 { 49229 return ErrInvalidLengthPlan 49230 } 49231 if postIndex > l { 49232 return io.ErrUnexpectedEOF 49233 } 49234 m.IndexTableNames = append(m.IndexTableNames, string(dAtA[iNdEx:postIndex])) 49235 iNdEx = postIndex 49236 case 4: 49237 if wireType != 2 { 49238 return fmt.Errorf("proto: wrong wireType = %d for field PartitionTableNames", wireType) 49239 } 49240 var stringLen uint64 49241 for shift := uint(0); ; shift += 7 { 49242 if shift >= 64 { 49243 return ErrIntOverflowPlan 49244 } 49245 if iNdEx >= l { 49246 return io.ErrUnexpectedEOF 49247 } 49248 b := dAtA[iNdEx] 49249 iNdEx++ 49250 stringLen |= uint64(b&0x7F) << shift 49251 if b < 0x80 { 49252 break 49253 } 49254 } 49255 intStringLen := int(stringLen) 49256 if intStringLen < 0 { 49257 return ErrInvalidLengthPlan 49258 } 49259 postIndex := iNdEx + intStringLen 49260 if postIndex < 0 { 49261 return ErrInvalidLengthPlan 49262 } 49263 if postIndex > l { 49264 return io.ErrUnexpectedEOF 49265 } 49266 m.PartitionTableNames = append(m.PartitionTableNames, string(dAtA[iNdEx:postIndex])) 49267 iNdEx = postIndex 49268 case 5: 49269 if wireType != 2 { 49270 return fmt.Errorf("proto: wrong wireType = %d for field ClusterTable", wireType) 49271 } 49272 var msglen int 49273 for shift := uint(0); ; shift += 7 { 49274 if shift >= 64 { 49275 return ErrIntOverflowPlan 49276 } 49277 if iNdEx >= l { 49278 return io.ErrUnexpectedEOF 49279 } 49280 b := dAtA[iNdEx] 49281 iNdEx++ 49282 msglen |= int(b&0x7F) << shift 49283 if b < 0x80 { 49284 break 49285 } 49286 } 49287 if msglen < 0 { 49288 return ErrInvalidLengthPlan 49289 } 49290 postIndex := iNdEx + msglen 49291 if postIndex < 0 { 49292 return ErrInvalidLengthPlan 49293 } 49294 if postIndex > l { 49295 return io.ErrUnexpectedEOF 49296 } 49297 if m.ClusterTable == nil { 49298 m.ClusterTable = &ClusterTable{} 49299 } 49300 if err := m.ClusterTable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 49301 return err 49302 } 49303 iNdEx = postIndex 49304 case 6: 49305 if wireType != 0 { 49306 return fmt.Errorf("proto: wrong wireType = %d for field TableId", wireType) 49307 } 49308 m.TableId = 0 49309 for shift := uint(0); ; shift += 7 { 49310 if shift >= 64 { 49311 return ErrIntOverflowPlan 49312 } 49313 if iNdEx >= l { 49314 return io.ErrUnexpectedEOF 49315 } 49316 b := dAtA[iNdEx] 49317 iNdEx++ 49318 m.TableId |= uint64(b&0x7F) << shift 49319 if b < 0x80 { 49320 break 49321 } 49322 } 49323 case 7: 49324 if wireType == 0 { 49325 var v uint64 49326 for shift := uint(0); ; shift += 7 { 49327 if shift >= 64 { 49328 return ErrIntOverflowPlan 49329 } 49330 if iNdEx >= l { 49331 return io.ErrUnexpectedEOF 49332 } 49333 b := dAtA[iNdEx] 49334 iNdEx++ 49335 v |= uint64(b&0x7F) << shift 49336 if b < 0x80 { 49337 break 49338 } 49339 } 49340 m.ForeignTbl = append(m.ForeignTbl, v) 49341 } else if wireType == 2 { 49342 var packedLen int 49343 for shift := uint(0); ; shift += 7 { 49344 if shift >= 64 { 49345 return ErrIntOverflowPlan 49346 } 49347 if iNdEx >= l { 49348 return io.ErrUnexpectedEOF 49349 } 49350 b := dAtA[iNdEx] 49351 iNdEx++ 49352 packedLen |= int(b&0x7F) << shift 49353 if b < 0x80 { 49354 break 49355 } 49356 } 49357 if packedLen < 0 { 49358 return ErrInvalidLengthPlan 49359 } 49360 postIndex := iNdEx + packedLen 49361 if postIndex < 0 { 49362 return ErrInvalidLengthPlan 49363 } 49364 if postIndex > l { 49365 return io.ErrUnexpectedEOF 49366 } 49367 var elementCount int 49368 var count int 49369 for _, integer := range dAtA[iNdEx:postIndex] { 49370 if integer < 128 { 49371 count++ 49372 } 49373 } 49374 elementCount = count 49375 if elementCount != 0 && len(m.ForeignTbl) == 0 { 49376 m.ForeignTbl = make([]uint64, 0, elementCount) 49377 } 49378 for iNdEx < postIndex { 49379 var v uint64 49380 for shift := uint(0); ; shift += 7 { 49381 if shift >= 64 { 49382 return ErrIntOverflowPlan 49383 } 49384 if iNdEx >= l { 49385 return io.ErrUnexpectedEOF 49386 } 49387 b := dAtA[iNdEx] 49388 iNdEx++ 49389 v |= uint64(b&0x7F) << shift 49390 if b < 0x80 { 49391 break 49392 } 49393 } 49394 m.ForeignTbl = append(m.ForeignTbl, v) 49395 } 49396 } else { 49397 return fmt.Errorf("proto: wrong wireType = %d for field ForeignTbl", wireType) 49398 } 49399 case 8: 49400 if wireType != 0 { 49401 return fmt.Errorf("proto: wrong wireType = %d for field IsDelete", wireType) 49402 } 49403 var v int 49404 for shift := uint(0); ; shift += 7 { 49405 if shift >= 64 { 49406 return ErrIntOverflowPlan 49407 } 49408 if iNdEx >= l { 49409 return io.ErrUnexpectedEOF 49410 } 49411 b := dAtA[iNdEx] 49412 iNdEx++ 49413 v |= int(b&0x7F) << shift 49414 if b < 0x80 { 49415 break 49416 } 49417 } 49418 m.IsDelete = bool(v != 0) 49419 default: 49420 iNdEx = preIndex 49421 skippy, err := skipPlan(dAtA[iNdEx:]) 49422 if err != nil { 49423 return err 49424 } 49425 if (skippy < 0) || (iNdEx+skippy) < 0 { 49426 return ErrInvalidLengthPlan 49427 } 49428 if (iNdEx + skippy) > l { 49429 return io.ErrUnexpectedEOF 49430 } 49431 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49432 iNdEx += skippy 49433 } 49434 } 49435 49436 if iNdEx > l { 49437 return io.ErrUnexpectedEOF 49438 } 49439 return nil 49440 } 49441 func (m *ClusterTable) Unmarshal(dAtA []byte) error { 49442 l := len(dAtA) 49443 iNdEx := 0 49444 for iNdEx < l { 49445 preIndex := iNdEx 49446 var wire uint64 49447 for shift := uint(0); ; shift += 7 { 49448 if shift >= 64 { 49449 return ErrIntOverflowPlan 49450 } 49451 if iNdEx >= l { 49452 return io.ErrUnexpectedEOF 49453 } 49454 b := dAtA[iNdEx] 49455 iNdEx++ 49456 wire |= uint64(b&0x7F) << shift 49457 if b < 0x80 { 49458 break 49459 } 49460 } 49461 fieldNum := int32(wire >> 3) 49462 wireType := int(wire & 0x7) 49463 if wireType == 4 { 49464 return fmt.Errorf("proto: ClusterTable: wiretype end group for non-group") 49465 } 49466 if fieldNum <= 0 { 49467 return fmt.Errorf("proto: ClusterTable: illegal tag %d (wire type %d)", fieldNum, wire) 49468 } 49469 switch fieldNum { 49470 case 1: 49471 if wireType != 0 { 49472 return fmt.Errorf("proto: wrong wireType = %d for field IsClusterTable", wireType) 49473 } 49474 var v int 49475 for shift := uint(0); ; shift += 7 { 49476 if shift >= 64 { 49477 return ErrIntOverflowPlan 49478 } 49479 if iNdEx >= l { 49480 return io.ErrUnexpectedEOF 49481 } 49482 b := dAtA[iNdEx] 49483 iNdEx++ 49484 v |= int(b&0x7F) << shift 49485 if b < 0x80 { 49486 break 49487 } 49488 } 49489 m.IsClusterTable = bool(v != 0) 49490 case 2: 49491 if wireType == 0 { 49492 var v uint32 49493 for shift := uint(0); ; shift += 7 { 49494 if shift >= 64 { 49495 return ErrIntOverflowPlan 49496 } 49497 if iNdEx >= l { 49498 return io.ErrUnexpectedEOF 49499 } 49500 b := dAtA[iNdEx] 49501 iNdEx++ 49502 v |= uint32(b&0x7F) << shift 49503 if b < 0x80 { 49504 break 49505 } 49506 } 49507 m.AccountIDs = append(m.AccountIDs, v) 49508 } else if wireType == 2 { 49509 var packedLen int 49510 for shift := uint(0); ; shift += 7 { 49511 if shift >= 64 { 49512 return ErrIntOverflowPlan 49513 } 49514 if iNdEx >= l { 49515 return io.ErrUnexpectedEOF 49516 } 49517 b := dAtA[iNdEx] 49518 iNdEx++ 49519 packedLen |= int(b&0x7F) << shift 49520 if b < 0x80 { 49521 break 49522 } 49523 } 49524 if packedLen < 0 { 49525 return ErrInvalidLengthPlan 49526 } 49527 postIndex := iNdEx + packedLen 49528 if postIndex < 0 { 49529 return ErrInvalidLengthPlan 49530 } 49531 if postIndex > l { 49532 return io.ErrUnexpectedEOF 49533 } 49534 var elementCount int 49535 var count int 49536 for _, integer := range dAtA[iNdEx:postIndex] { 49537 if integer < 128 { 49538 count++ 49539 } 49540 } 49541 elementCount = count 49542 if elementCount != 0 && len(m.AccountIDs) == 0 { 49543 m.AccountIDs = make([]uint32, 0, elementCount) 49544 } 49545 for iNdEx < postIndex { 49546 var v uint32 49547 for shift := uint(0); ; shift += 7 { 49548 if shift >= 64 { 49549 return ErrIntOverflowPlan 49550 } 49551 if iNdEx >= l { 49552 return io.ErrUnexpectedEOF 49553 } 49554 b := dAtA[iNdEx] 49555 iNdEx++ 49556 v |= uint32(b&0x7F) << shift 49557 if b < 0x80 { 49558 break 49559 } 49560 } 49561 m.AccountIDs = append(m.AccountIDs, v) 49562 } 49563 } else { 49564 return fmt.Errorf("proto: wrong wireType = %d for field AccountIDs", wireType) 49565 } 49566 case 3: 49567 if wireType != 0 { 49568 return fmt.Errorf("proto: wrong wireType = %d for field ColumnIndexOfAccountId", wireType) 49569 } 49570 m.ColumnIndexOfAccountId = 0 49571 for shift := uint(0); ; shift += 7 { 49572 if shift >= 64 { 49573 return ErrIntOverflowPlan 49574 } 49575 if iNdEx >= l { 49576 return io.ErrUnexpectedEOF 49577 } 49578 b := dAtA[iNdEx] 49579 iNdEx++ 49580 m.ColumnIndexOfAccountId |= int32(b&0x7F) << shift 49581 if b < 0x80 { 49582 break 49583 } 49584 } 49585 default: 49586 iNdEx = preIndex 49587 skippy, err := skipPlan(dAtA[iNdEx:]) 49588 if err != nil { 49589 return err 49590 } 49591 if (skippy < 0) || (iNdEx+skippy) < 0 { 49592 return ErrInvalidLengthPlan 49593 } 49594 if (iNdEx + skippy) > l { 49595 return io.ErrUnexpectedEOF 49596 } 49597 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49598 iNdEx += skippy 49599 } 49600 } 49601 49602 if iNdEx > l { 49603 return io.ErrUnexpectedEOF 49604 } 49605 return nil 49606 } 49607 func (m *ShowVariables) Unmarshal(dAtA []byte) error { 49608 l := len(dAtA) 49609 iNdEx := 0 49610 for iNdEx < l { 49611 preIndex := iNdEx 49612 var wire uint64 49613 for shift := uint(0); ; shift += 7 { 49614 if shift >= 64 { 49615 return ErrIntOverflowPlan 49616 } 49617 if iNdEx >= l { 49618 return io.ErrUnexpectedEOF 49619 } 49620 b := dAtA[iNdEx] 49621 iNdEx++ 49622 wire |= uint64(b&0x7F) << shift 49623 if b < 0x80 { 49624 break 49625 } 49626 } 49627 fieldNum := int32(wire >> 3) 49628 wireType := int(wire & 0x7) 49629 if wireType == 4 { 49630 return fmt.Errorf("proto: ShowVariables: wiretype end group for non-group") 49631 } 49632 if fieldNum <= 0 { 49633 return fmt.Errorf("proto: ShowVariables: illegal tag %d (wire type %d)", fieldNum, wire) 49634 } 49635 switch fieldNum { 49636 case 1: 49637 if wireType != 0 { 49638 return fmt.Errorf("proto: wrong wireType = %d for field Global", wireType) 49639 } 49640 var v int 49641 for shift := uint(0); ; shift += 7 { 49642 if shift >= 64 { 49643 return ErrIntOverflowPlan 49644 } 49645 if iNdEx >= l { 49646 return io.ErrUnexpectedEOF 49647 } 49648 b := dAtA[iNdEx] 49649 iNdEx++ 49650 v |= int(b&0x7F) << shift 49651 if b < 0x80 { 49652 break 49653 } 49654 } 49655 m.Global = bool(v != 0) 49656 case 2: 49657 if wireType != 2 { 49658 return fmt.Errorf("proto: wrong wireType = %d for field Where", wireType) 49659 } 49660 var msglen int 49661 for shift := uint(0); ; shift += 7 { 49662 if shift >= 64 { 49663 return ErrIntOverflowPlan 49664 } 49665 if iNdEx >= l { 49666 return io.ErrUnexpectedEOF 49667 } 49668 b := dAtA[iNdEx] 49669 iNdEx++ 49670 msglen |= int(b&0x7F) << shift 49671 if b < 0x80 { 49672 break 49673 } 49674 } 49675 if msglen < 0 { 49676 return ErrInvalidLengthPlan 49677 } 49678 postIndex := iNdEx + msglen 49679 if postIndex < 0 { 49680 return ErrInvalidLengthPlan 49681 } 49682 if postIndex > l { 49683 return io.ErrUnexpectedEOF 49684 } 49685 m.Where = append(m.Where, &Expr{}) 49686 if err := m.Where[len(m.Where)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 49687 return err 49688 } 49689 iNdEx = postIndex 49690 default: 49691 iNdEx = preIndex 49692 skippy, err := skipPlan(dAtA[iNdEx:]) 49693 if err != nil { 49694 return err 49695 } 49696 if (skippy < 0) || (iNdEx+skippy) < 0 { 49697 return ErrInvalidLengthPlan 49698 } 49699 if (iNdEx + skippy) > l { 49700 return io.ErrUnexpectedEOF 49701 } 49702 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49703 iNdEx += skippy 49704 } 49705 } 49706 49707 if iNdEx > l { 49708 return io.ErrUnexpectedEOF 49709 } 49710 return nil 49711 } 49712 func (m *SetVariables) Unmarshal(dAtA []byte) error { 49713 l := len(dAtA) 49714 iNdEx := 0 49715 for iNdEx < l { 49716 preIndex := iNdEx 49717 var wire uint64 49718 for shift := uint(0); ; shift += 7 { 49719 if shift >= 64 { 49720 return ErrIntOverflowPlan 49721 } 49722 if iNdEx >= l { 49723 return io.ErrUnexpectedEOF 49724 } 49725 b := dAtA[iNdEx] 49726 iNdEx++ 49727 wire |= uint64(b&0x7F) << shift 49728 if b < 0x80 { 49729 break 49730 } 49731 } 49732 fieldNum := int32(wire >> 3) 49733 wireType := int(wire & 0x7) 49734 if wireType == 4 { 49735 return fmt.Errorf("proto: SetVariables: wiretype end group for non-group") 49736 } 49737 if fieldNum <= 0 { 49738 return fmt.Errorf("proto: SetVariables: illegal tag %d (wire type %d)", fieldNum, wire) 49739 } 49740 switch fieldNum { 49741 case 1: 49742 if wireType != 2 { 49743 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) 49744 } 49745 var msglen int 49746 for shift := uint(0); ; shift += 7 { 49747 if shift >= 64 { 49748 return ErrIntOverflowPlan 49749 } 49750 if iNdEx >= l { 49751 return io.ErrUnexpectedEOF 49752 } 49753 b := dAtA[iNdEx] 49754 iNdEx++ 49755 msglen |= int(b&0x7F) << shift 49756 if b < 0x80 { 49757 break 49758 } 49759 } 49760 if msglen < 0 { 49761 return ErrInvalidLengthPlan 49762 } 49763 postIndex := iNdEx + msglen 49764 if postIndex < 0 { 49765 return ErrInvalidLengthPlan 49766 } 49767 if postIndex > l { 49768 return io.ErrUnexpectedEOF 49769 } 49770 m.Items = append(m.Items, &SetVariablesItem{}) 49771 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 49772 return err 49773 } 49774 iNdEx = postIndex 49775 default: 49776 iNdEx = preIndex 49777 skippy, err := skipPlan(dAtA[iNdEx:]) 49778 if err != nil { 49779 return err 49780 } 49781 if (skippy < 0) || (iNdEx+skippy) < 0 { 49782 return ErrInvalidLengthPlan 49783 } 49784 if (iNdEx + skippy) > l { 49785 return io.ErrUnexpectedEOF 49786 } 49787 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49788 iNdEx += skippy 49789 } 49790 } 49791 49792 if iNdEx > l { 49793 return io.ErrUnexpectedEOF 49794 } 49795 return nil 49796 } 49797 func (m *SetVariablesItem) Unmarshal(dAtA []byte) error { 49798 l := len(dAtA) 49799 iNdEx := 0 49800 for iNdEx < l { 49801 preIndex := iNdEx 49802 var wire uint64 49803 for shift := uint(0); ; shift += 7 { 49804 if shift >= 64 { 49805 return ErrIntOverflowPlan 49806 } 49807 if iNdEx >= l { 49808 return io.ErrUnexpectedEOF 49809 } 49810 b := dAtA[iNdEx] 49811 iNdEx++ 49812 wire |= uint64(b&0x7F) << shift 49813 if b < 0x80 { 49814 break 49815 } 49816 } 49817 fieldNum := int32(wire >> 3) 49818 wireType := int(wire & 0x7) 49819 if wireType == 4 { 49820 return fmt.Errorf("proto: SetVariablesItem: wiretype end group for non-group") 49821 } 49822 if fieldNum <= 0 { 49823 return fmt.Errorf("proto: SetVariablesItem: illegal tag %d (wire type %d)", fieldNum, wire) 49824 } 49825 switch fieldNum { 49826 case 1: 49827 if wireType != 0 { 49828 return fmt.Errorf("proto: wrong wireType = %d for field System", wireType) 49829 } 49830 var v int 49831 for shift := uint(0); ; shift += 7 { 49832 if shift >= 64 { 49833 return ErrIntOverflowPlan 49834 } 49835 if iNdEx >= l { 49836 return io.ErrUnexpectedEOF 49837 } 49838 b := dAtA[iNdEx] 49839 iNdEx++ 49840 v |= int(b&0x7F) << shift 49841 if b < 0x80 { 49842 break 49843 } 49844 } 49845 m.System = bool(v != 0) 49846 case 2: 49847 if wireType != 0 { 49848 return fmt.Errorf("proto: wrong wireType = %d for field Global", wireType) 49849 } 49850 var v int 49851 for shift := uint(0); ; shift += 7 { 49852 if shift >= 64 { 49853 return ErrIntOverflowPlan 49854 } 49855 if iNdEx >= l { 49856 return io.ErrUnexpectedEOF 49857 } 49858 b := dAtA[iNdEx] 49859 iNdEx++ 49860 v |= int(b&0x7F) << shift 49861 if b < 0x80 { 49862 break 49863 } 49864 } 49865 m.Global = bool(v != 0) 49866 case 3: 49867 if wireType != 2 { 49868 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 49869 } 49870 var stringLen uint64 49871 for shift := uint(0); ; shift += 7 { 49872 if shift >= 64 { 49873 return ErrIntOverflowPlan 49874 } 49875 if iNdEx >= l { 49876 return io.ErrUnexpectedEOF 49877 } 49878 b := dAtA[iNdEx] 49879 iNdEx++ 49880 stringLen |= uint64(b&0x7F) << shift 49881 if b < 0x80 { 49882 break 49883 } 49884 } 49885 intStringLen := int(stringLen) 49886 if intStringLen < 0 { 49887 return ErrInvalidLengthPlan 49888 } 49889 postIndex := iNdEx + intStringLen 49890 if postIndex < 0 { 49891 return ErrInvalidLengthPlan 49892 } 49893 if postIndex > l { 49894 return io.ErrUnexpectedEOF 49895 } 49896 m.Name = string(dAtA[iNdEx:postIndex]) 49897 iNdEx = postIndex 49898 case 4: 49899 if wireType != 2 { 49900 return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) 49901 } 49902 var msglen int 49903 for shift := uint(0); ; shift += 7 { 49904 if shift >= 64 { 49905 return ErrIntOverflowPlan 49906 } 49907 if iNdEx >= l { 49908 return io.ErrUnexpectedEOF 49909 } 49910 b := dAtA[iNdEx] 49911 iNdEx++ 49912 msglen |= int(b&0x7F) << shift 49913 if b < 0x80 { 49914 break 49915 } 49916 } 49917 if msglen < 0 { 49918 return ErrInvalidLengthPlan 49919 } 49920 postIndex := iNdEx + msglen 49921 if postIndex < 0 { 49922 return ErrInvalidLengthPlan 49923 } 49924 if postIndex > l { 49925 return io.ErrUnexpectedEOF 49926 } 49927 if m.Value == nil { 49928 m.Value = &Expr{} 49929 } 49930 if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 49931 return err 49932 } 49933 iNdEx = postIndex 49934 case 5: 49935 if wireType != 2 { 49936 return fmt.Errorf("proto: wrong wireType = %d for field Reserved", wireType) 49937 } 49938 var msglen int 49939 for shift := uint(0); ; shift += 7 { 49940 if shift >= 64 { 49941 return ErrIntOverflowPlan 49942 } 49943 if iNdEx >= l { 49944 return io.ErrUnexpectedEOF 49945 } 49946 b := dAtA[iNdEx] 49947 iNdEx++ 49948 msglen |= int(b&0x7F) << shift 49949 if b < 0x80 { 49950 break 49951 } 49952 } 49953 if msglen < 0 { 49954 return ErrInvalidLengthPlan 49955 } 49956 postIndex := iNdEx + msglen 49957 if postIndex < 0 { 49958 return ErrInvalidLengthPlan 49959 } 49960 if postIndex > l { 49961 return io.ErrUnexpectedEOF 49962 } 49963 if m.Reserved == nil { 49964 m.Reserved = &Expr{} 49965 } 49966 if err := m.Reserved.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 49967 return err 49968 } 49969 iNdEx = postIndex 49970 default: 49971 iNdEx = preIndex 49972 skippy, err := skipPlan(dAtA[iNdEx:]) 49973 if err != nil { 49974 return err 49975 } 49976 if (skippy < 0) || (iNdEx+skippy) < 0 { 49977 return ErrInvalidLengthPlan 49978 } 49979 if (iNdEx + skippy) > l { 49980 return io.ErrUnexpectedEOF 49981 } 49982 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 49983 iNdEx += skippy 49984 } 49985 } 49986 49987 if iNdEx > l { 49988 return io.ErrUnexpectedEOF 49989 } 49990 return nil 49991 } 49992 func (m *Prepare) Unmarshal(dAtA []byte) error { 49993 l := len(dAtA) 49994 iNdEx := 0 49995 for iNdEx < l { 49996 preIndex := iNdEx 49997 var wire uint64 49998 for shift := uint(0); ; shift += 7 { 49999 if shift >= 64 { 50000 return ErrIntOverflowPlan 50001 } 50002 if iNdEx >= l { 50003 return io.ErrUnexpectedEOF 50004 } 50005 b := dAtA[iNdEx] 50006 iNdEx++ 50007 wire |= uint64(b&0x7F) << shift 50008 if b < 0x80 { 50009 break 50010 } 50011 } 50012 fieldNum := int32(wire >> 3) 50013 wireType := int(wire & 0x7) 50014 if wireType == 4 { 50015 return fmt.Errorf("proto: Prepare: wiretype end group for non-group") 50016 } 50017 if fieldNum <= 0 { 50018 return fmt.Errorf("proto: Prepare: illegal tag %d (wire type %d)", fieldNum, wire) 50019 } 50020 switch fieldNum { 50021 case 1: 50022 if wireType != 2 { 50023 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 50024 } 50025 var stringLen uint64 50026 for shift := uint(0); ; shift += 7 { 50027 if shift >= 64 { 50028 return ErrIntOverflowPlan 50029 } 50030 if iNdEx >= l { 50031 return io.ErrUnexpectedEOF 50032 } 50033 b := dAtA[iNdEx] 50034 iNdEx++ 50035 stringLen |= uint64(b&0x7F) << shift 50036 if b < 0x80 { 50037 break 50038 } 50039 } 50040 intStringLen := int(stringLen) 50041 if intStringLen < 0 { 50042 return ErrInvalidLengthPlan 50043 } 50044 postIndex := iNdEx + intStringLen 50045 if postIndex < 0 { 50046 return ErrInvalidLengthPlan 50047 } 50048 if postIndex > l { 50049 return io.ErrUnexpectedEOF 50050 } 50051 m.Name = string(dAtA[iNdEx:postIndex]) 50052 iNdEx = postIndex 50053 case 2: 50054 if wireType != 2 { 50055 return fmt.Errorf("proto: wrong wireType = %d for field Schemas", wireType) 50056 } 50057 var msglen int 50058 for shift := uint(0); ; shift += 7 { 50059 if shift >= 64 { 50060 return ErrIntOverflowPlan 50061 } 50062 if iNdEx >= l { 50063 return io.ErrUnexpectedEOF 50064 } 50065 b := dAtA[iNdEx] 50066 iNdEx++ 50067 msglen |= int(b&0x7F) << shift 50068 if b < 0x80 { 50069 break 50070 } 50071 } 50072 if msglen < 0 { 50073 return ErrInvalidLengthPlan 50074 } 50075 postIndex := iNdEx + msglen 50076 if postIndex < 0 { 50077 return ErrInvalidLengthPlan 50078 } 50079 if postIndex > l { 50080 return io.ErrUnexpectedEOF 50081 } 50082 m.Schemas = append(m.Schemas, &ObjectRef{}) 50083 if err := m.Schemas[len(m.Schemas)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 50084 return err 50085 } 50086 iNdEx = postIndex 50087 case 3: 50088 if wireType != 2 { 50089 return fmt.Errorf("proto: wrong wireType = %d for field Plan", wireType) 50090 } 50091 var msglen int 50092 for shift := uint(0); ; shift += 7 { 50093 if shift >= 64 { 50094 return ErrIntOverflowPlan 50095 } 50096 if iNdEx >= l { 50097 return io.ErrUnexpectedEOF 50098 } 50099 b := dAtA[iNdEx] 50100 iNdEx++ 50101 msglen |= int(b&0x7F) << shift 50102 if b < 0x80 { 50103 break 50104 } 50105 } 50106 if msglen < 0 { 50107 return ErrInvalidLengthPlan 50108 } 50109 postIndex := iNdEx + msglen 50110 if postIndex < 0 { 50111 return ErrInvalidLengthPlan 50112 } 50113 if postIndex > l { 50114 return io.ErrUnexpectedEOF 50115 } 50116 if m.Plan == nil { 50117 m.Plan = &Plan{} 50118 } 50119 if err := m.Plan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 50120 return err 50121 } 50122 iNdEx = postIndex 50123 case 4: 50124 if wireType == 0 { 50125 var v int32 50126 for shift := uint(0); ; shift += 7 { 50127 if shift >= 64 { 50128 return ErrIntOverflowPlan 50129 } 50130 if iNdEx >= l { 50131 return io.ErrUnexpectedEOF 50132 } 50133 b := dAtA[iNdEx] 50134 iNdEx++ 50135 v |= int32(b&0x7F) << shift 50136 if b < 0x80 { 50137 break 50138 } 50139 } 50140 m.ParamTypes = append(m.ParamTypes, v) 50141 } else if wireType == 2 { 50142 var packedLen int 50143 for shift := uint(0); ; shift += 7 { 50144 if shift >= 64 { 50145 return ErrIntOverflowPlan 50146 } 50147 if iNdEx >= l { 50148 return io.ErrUnexpectedEOF 50149 } 50150 b := dAtA[iNdEx] 50151 iNdEx++ 50152 packedLen |= int(b&0x7F) << shift 50153 if b < 0x80 { 50154 break 50155 } 50156 } 50157 if packedLen < 0 { 50158 return ErrInvalidLengthPlan 50159 } 50160 postIndex := iNdEx + packedLen 50161 if postIndex < 0 { 50162 return ErrInvalidLengthPlan 50163 } 50164 if postIndex > l { 50165 return io.ErrUnexpectedEOF 50166 } 50167 var elementCount int 50168 var count int 50169 for _, integer := range dAtA[iNdEx:postIndex] { 50170 if integer < 128 { 50171 count++ 50172 } 50173 } 50174 elementCount = count 50175 if elementCount != 0 && len(m.ParamTypes) == 0 { 50176 m.ParamTypes = make([]int32, 0, elementCount) 50177 } 50178 for iNdEx < postIndex { 50179 var v int32 50180 for shift := uint(0); ; shift += 7 { 50181 if shift >= 64 { 50182 return ErrIntOverflowPlan 50183 } 50184 if iNdEx >= l { 50185 return io.ErrUnexpectedEOF 50186 } 50187 b := dAtA[iNdEx] 50188 iNdEx++ 50189 v |= int32(b&0x7F) << shift 50190 if b < 0x80 { 50191 break 50192 } 50193 } 50194 m.ParamTypes = append(m.ParamTypes, v) 50195 } 50196 } else { 50197 return fmt.Errorf("proto: wrong wireType = %d for field ParamTypes", wireType) 50198 } 50199 default: 50200 iNdEx = preIndex 50201 skippy, err := skipPlan(dAtA[iNdEx:]) 50202 if err != nil { 50203 return err 50204 } 50205 if (skippy < 0) || (iNdEx+skippy) < 0 { 50206 return ErrInvalidLengthPlan 50207 } 50208 if (iNdEx + skippy) > l { 50209 return io.ErrUnexpectedEOF 50210 } 50211 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50212 iNdEx += skippy 50213 } 50214 } 50215 50216 if iNdEx > l { 50217 return io.ErrUnexpectedEOF 50218 } 50219 return nil 50220 } 50221 func (m *Execute) Unmarshal(dAtA []byte) error { 50222 l := len(dAtA) 50223 iNdEx := 0 50224 for iNdEx < l { 50225 preIndex := iNdEx 50226 var wire uint64 50227 for shift := uint(0); ; shift += 7 { 50228 if shift >= 64 { 50229 return ErrIntOverflowPlan 50230 } 50231 if iNdEx >= l { 50232 return io.ErrUnexpectedEOF 50233 } 50234 b := dAtA[iNdEx] 50235 iNdEx++ 50236 wire |= uint64(b&0x7F) << shift 50237 if b < 0x80 { 50238 break 50239 } 50240 } 50241 fieldNum := int32(wire >> 3) 50242 wireType := int(wire & 0x7) 50243 if wireType == 4 { 50244 return fmt.Errorf("proto: Execute: wiretype end group for non-group") 50245 } 50246 if fieldNum <= 0 { 50247 return fmt.Errorf("proto: Execute: illegal tag %d (wire type %d)", fieldNum, wire) 50248 } 50249 switch fieldNum { 50250 case 1: 50251 if wireType != 2 { 50252 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 50253 } 50254 var stringLen uint64 50255 for shift := uint(0); ; shift += 7 { 50256 if shift >= 64 { 50257 return ErrIntOverflowPlan 50258 } 50259 if iNdEx >= l { 50260 return io.ErrUnexpectedEOF 50261 } 50262 b := dAtA[iNdEx] 50263 iNdEx++ 50264 stringLen |= uint64(b&0x7F) << shift 50265 if b < 0x80 { 50266 break 50267 } 50268 } 50269 intStringLen := int(stringLen) 50270 if intStringLen < 0 { 50271 return ErrInvalidLengthPlan 50272 } 50273 postIndex := iNdEx + intStringLen 50274 if postIndex < 0 { 50275 return ErrInvalidLengthPlan 50276 } 50277 if postIndex > l { 50278 return io.ErrUnexpectedEOF 50279 } 50280 m.Name = string(dAtA[iNdEx:postIndex]) 50281 iNdEx = postIndex 50282 case 2: 50283 if wireType != 2 { 50284 return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType) 50285 } 50286 var msglen int 50287 for shift := uint(0); ; shift += 7 { 50288 if shift >= 64 { 50289 return ErrIntOverflowPlan 50290 } 50291 if iNdEx >= l { 50292 return io.ErrUnexpectedEOF 50293 } 50294 b := dAtA[iNdEx] 50295 iNdEx++ 50296 msglen |= int(b&0x7F) << shift 50297 if b < 0x80 { 50298 break 50299 } 50300 } 50301 if msglen < 0 { 50302 return ErrInvalidLengthPlan 50303 } 50304 postIndex := iNdEx + msglen 50305 if postIndex < 0 { 50306 return ErrInvalidLengthPlan 50307 } 50308 if postIndex > l { 50309 return io.ErrUnexpectedEOF 50310 } 50311 m.Args = append(m.Args, &Expr{}) 50312 if err := m.Args[len(m.Args)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 50313 return err 50314 } 50315 iNdEx = postIndex 50316 default: 50317 iNdEx = preIndex 50318 skippy, err := skipPlan(dAtA[iNdEx:]) 50319 if err != nil { 50320 return err 50321 } 50322 if (skippy < 0) || (iNdEx+skippy) < 0 { 50323 return ErrInvalidLengthPlan 50324 } 50325 if (iNdEx + skippy) > l { 50326 return io.ErrUnexpectedEOF 50327 } 50328 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50329 iNdEx += skippy 50330 } 50331 } 50332 50333 if iNdEx > l { 50334 return io.ErrUnexpectedEOF 50335 } 50336 return nil 50337 } 50338 func (m *Deallocate) Unmarshal(dAtA []byte) error { 50339 l := len(dAtA) 50340 iNdEx := 0 50341 for iNdEx < l { 50342 preIndex := iNdEx 50343 var wire uint64 50344 for shift := uint(0); ; shift += 7 { 50345 if shift >= 64 { 50346 return ErrIntOverflowPlan 50347 } 50348 if iNdEx >= l { 50349 return io.ErrUnexpectedEOF 50350 } 50351 b := dAtA[iNdEx] 50352 iNdEx++ 50353 wire |= uint64(b&0x7F) << shift 50354 if b < 0x80 { 50355 break 50356 } 50357 } 50358 fieldNum := int32(wire >> 3) 50359 wireType := int(wire & 0x7) 50360 if wireType == 4 { 50361 return fmt.Errorf("proto: Deallocate: wiretype end group for non-group") 50362 } 50363 if fieldNum <= 0 { 50364 return fmt.Errorf("proto: Deallocate: illegal tag %d (wire type %d)", fieldNum, wire) 50365 } 50366 switch fieldNum { 50367 case 1: 50368 if wireType != 2 { 50369 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 50370 } 50371 var stringLen uint64 50372 for shift := uint(0); ; shift += 7 { 50373 if shift >= 64 { 50374 return ErrIntOverflowPlan 50375 } 50376 if iNdEx >= l { 50377 return io.ErrUnexpectedEOF 50378 } 50379 b := dAtA[iNdEx] 50380 iNdEx++ 50381 stringLen |= uint64(b&0x7F) << shift 50382 if b < 0x80 { 50383 break 50384 } 50385 } 50386 intStringLen := int(stringLen) 50387 if intStringLen < 0 { 50388 return ErrInvalidLengthPlan 50389 } 50390 postIndex := iNdEx + intStringLen 50391 if postIndex < 0 { 50392 return ErrInvalidLengthPlan 50393 } 50394 if postIndex > l { 50395 return io.ErrUnexpectedEOF 50396 } 50397 m.Name = string(dAtA[iNdEx:postIndex]) 50398 iNdEx = postIndex 50399 default: 50400 iNdEx = preIndex 50401 skippy, err := skipPlan(dAtA[iNdEx:]) 50402 if err != nil { 50403 return err 50404 } 50405 if (skippy < 0) || (iNdEx+skippy) < 0 { 50406 return ErrInvalidLengthPlan 50407 } 50408 if (iNdEx + skippy) > l { 50409 return io.ErrUnexpectedEOF 50410 } 50411 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50412 iNdEx += skippy 50413 } 50414 } 50415 50416 if iNdEx > l { 50417 return io.ErrUnexpectedEOF 50418 } 50419 return nil 50420 } 50421 func (m *OtherDCL) Unmarshal(dAtA []byte) error { 50422 l := len(dAtA) 50423 iNdEx := 0 50424 for iNdEx < l { 50425 preIndex := iNdEx 50426 var wire uint64 50427 for shift := uint(0); ; shift += 7 { 50428 if shift >= 64 { 50429 return ErrIntOverflowPlan 50430 } 50431 if iNdEx >= l { 50432 return io.ErrUnexpectedEOF 50433 } 50434 b := dAtA[iNdEx] 50435 iNdEx++ 50436 wire |= uint64(b&0x7F) << shift 50437 if b < 0x80 { 50438 break 50439 } 50440 } 50441 fieldNum := int32(wire >> 3) 50442 wireType := int(wire & 0x7) 50443 if wireType == 4 { 50444 return fmt.Errorf("proto: OtherDCL: wiretype end group for non-group") 50445 } 50446 if fieldNum <= 0 { 50447 return fmt.Errorf("proto: OtherDCL: illegal tag %d (wire type %d)", fieldNum, wire) 50448 } 50449 switch fieldNum { 50450 case 1: 50451 if wireType == 0 { 50452 var v int32 50453 for shift := uint(0); ; shift += 7 { 50454 if shift >= 64 { 50455 return ErrIntOverflowPlan 50456 } 50457 if iNdEx >= l { 50458 return io.ErrUnexpectedEOF 50459 } 50460 b := dAtA[iNdEx] 50461 iNdEx++ 50462 v |= int32(b&0x7F) << shift 50463 if b < 0x80 { 50464 break 50465 } 50466 } 50467 m.ParamTypes = append(m.ParamTypes, v) 50468 } else if wireType == 2 { 50469 var packedLen int 50470 for shift := uint(0); ; shift += 7 { 50471 if shift >= 64 { 50472 return ErrIntOverflowPlan 50473 } 50474 if iNdEx >= l { 50475 return io.ErrUnexpectedEOF 50476 } 50477 b := dAtA[iNdEx] 50478 iNdEx++ 50479 packedLen |= int(b&0x7F) << shift 50480 if b < 0x80 { 50481 break 50482 } 50483 } 50484 if packedLen < 0 { 50485 return ErrInvalidLengthPlan 50486 } 50487 postIndex := iNdEx + packedLen 50488 if postIndex < 0 { 50489 return ErrInvalidLengthPlan 50490 } 50491 if postIndex > l { 50492 return io.ErrUnexpectedEOF 50493 } 50494 var elementCount int 50495 var count int 50496 for _, integer := range dAtA[iNdEx:postIndex] { 50497 if integer < 128 { 50498 count++ 50499 } 50500 } 50501 elementCount = count 50502 if elementCount != 0 && len(m.ParamTypes) == 0 { 50503 m.ParamTypes = make([]int32, 0, elementCount) 50504 } 50505 for iNdEx < postIndex { 50506 var v int32 50507 for shift := uint(0); ; shift += 7 { 50508 if shift >= 64 { 50509 return ErrIntOverflowPlan 50510 } 50511 if iNdEx >= l { 50512 return io.ErrUnexpectedEOF 50513 } 50514 b := dAtA[iNdEx] 50515 iNdEx++ 50516 v |= int32(b&0x7F) << shift 50517 if b < 0x80 { 50518 break 50519 } 50520 } 50521 m.ParamTypes = append(m.ParamTypes, v) 50522 } 50523 } else { 50524 return fmt.Errorf("proto: wrong wireType = %d for field ParamTypes", wireType) 50525 } 50526 default: 50527 iNdEx = preIndex 50528 skippy, err := skipPlan(dAtA[iNdEx:]) 50529 if err != nil { 50530 return err 50531 } 50532 if (skippy < 0) || (iNdEx+skippy) < 0 { 50533 return ErrInvalidLengthPlan 50534 } 50535 if (iNdEx + skippy) > l { 50536 return io.ErrUnexpectedEOF 50537 } 50538 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50539 iNdEx += skippy 50540 } 50541 } 50542 50543 if iNdEx > l { 50544 return io.ErrUnexpectedEOF 50545 } 50546 return nil 50547 } 50548 func (m *TableLockInfo) Unmarshal(dAtA []byte) error { 50549 l := len(dAtA) 50550 iNdEx := 0 50551 for iNdEx < l { 50552 preIndex := iNdEx 50553 var wire uint64 50554 for shift := uint(0); ; shift += 7 { 50555 if shift >= 64 { 50556 return ErrIntOverflowPlan 50557 } 50558 if iNdEx >= l { 50559 return io.ErrUnexpectedEOF 50560 } 50561 b := dAtA[iNdEx] 50562 iNdEx++ 50563 wire |= uint64(b&0x7F) << shift 50564 if b < 0x80 { 50565 break 50566 } 50567 } 50568 fieldNum := int32(wire >> 3) 50569 wireType := int(wire & 0x7) 50570 if wireType == 4 { 50571 return fmt.Errorf("proto: TableLockInfo: wiretype end group for non-group") 50572 } 50573 if fieldNum <= 0 { 50574 return fmt.Errorf("proto: TableLockInfo: illegal tag %d (wire type %d)", fieldNum, wire) 50575 } 50576 switch fieldNum { 50577 case 1: 50578 if wireType != 0 { 50579 return fmt.Errorf("proto: wrong wireType = %d for field LockType", wireType) 50580 } 50581 m.LockType = 0 50582 for shift := uint(0); ; shift += 7 { 50583 if shift >= 64 { 50584 return ErrIntOverflowPlan 50585 } 50586 if iNdEx >= l { 50587 return io.ErrUnexpectedEOF 50588 } 50589 b := dAtA[iNdEx] 50590 iNdEx++ 50591 m.LockType |= TableLockType(b&0x7F) << shift 50592 if b < 0x80 { 50593 break 50594 } 50595 } 50596 case 2: 50597 if wireType != 2 { 50598 return fmt.Errorf("proto: wrong wireType = %d for field TableDef", wireType) 50599 } 50600 var msglen int 50601 for shift := uint(0); ; shift += 7 { 50602 if shift >= 64 { 50603 return ErrIntOverflowPlan 50604 } 50605 if iNdEx >= l { 50606 return io.ErrUnexpectedEOF 50607 } 50608 b := dAtA[iNdEx] 50609 iNdEx++ 50610 msglen |= int(b&0x7F) << shift 50611 if b < 0x80 { 50612 break 50613 } 50614 } 50615 if msglen < 0 { 50616 return ErrInvalidLengthPlan 50617 } 50618 postIndex := iNdEx + msglen 50619 if postIndex < 0 { 50620 return ErrInvalidLengthPlan 50621 } 50622 if postIndex > l { 50623 return io.ErrUnexpectedEOF 50624 } 50625 if m.TableDef == nil { 50626 m.TableDef = &TableDef{} 50627 } 50628 if err := m.TableDef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 50629 return err 50630 } 50631 iNdEx = postIndex 50632 default: 50633 iNdEx = preIndex 50634 skippy, err := skipPlan(dAtA[iNdEx:]) 50635 if err != nil { 50636 return err 50637 } 50638 if (skippy < 0) || (iNdEx+skippy) < 0 { 50639 return ErrInvalidLengthPlan 50640 } 50641 if (iNdEx + skippy) > l { 50642 return io.ErrUnexpectedEOF 50643 } 50644 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50645 iNdEx += skippy 50646 } 50647 } 50648 50649 if iNdEx > l { 50650 return io.ErrUnexpectedEOF 50651 } 50652 return nil 50653 } 50654 func (m *LockTables) Unmarshal(dAtA []byte) error { 50655 l := len(dAtA) 50656 iNdEx := 0 50657 for iNdEx < l { 50658 preIndex := iNdEx 50659 var wire uint64 50660 for shift := uint(0); ; shift += 7 { 50661 if shift >= 64 { 50662 return ErrIntOverflowPlan 50663 } 50664 if iNdEx >= l { 50665 return io.ErrUnexpectedEOF 50666 } 50667 b := dAtA[iNdEx] 50668 iNdEx++ 50669 wire |= uint64(b&0x7F) << shift 50670 if b < 0x80 { 50671 break 50672 } 50673 } 50674 fieldNum := int32(wire >> 3) 50675 wireType := int(wire & 0x7) 50676 if wireType == 4 { 50677 return fmt.Errorf("proto: LockTables: wiretype end group for non-group") 50678 } 50679 if fieldNum <= 0 { 50680 return fmt.Errorf("proto: LockTables: illegal tag %d (wire type %d)", fieldNum, wire) 50681 } 50682 switch fieldNum { 50683 case 1: 50684 if wireType != 2 { 50685 return fmt.Errorf("proto: wrong wireType = %d for field TableLocks", wireType) 50686 } 50687 var msglen int 50688 for shift := uint(0); ; shift += 7 { 50689 if shift >= 64 { 50690 return ErrIntOverflowPlan 50691 } 50692 if iNdEx >= l { 50693 return io.ErrUnexpectedEOF 50694 } 50695 b := dAtA[iNdEx] 50696 iNdEx++ 50697 msglen |= int(b&0x7F) << shift 50698 if b < 0x80 { 50699 break 50700 } 50701 } 50702 if msglen < 0 { 50703 return ErrInvalidLengthPlan 50704 } 50705 postIndex := iNdEx + msglen 50706 if postIndex < 0 { 50707 return ErrInvalidLengthPlan 50708 } 50709 if postIndex > l { 50710 return io.ErrUnexpectedEOF 50711 } 50712 m.TableLocks = append(m.TableLocks, &TableLockInfo{}) 50713 if err := m.TableLocks[len(m.TableLocks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 50714 return err 50715 } 50716 iNdEx = postIndex 50717 default: 50718 iNdEx = preIndex 50719 skippy, err := skipPlan(dAtA[iNdEx:]) 50720 if err != nil { 50721 return err 50722 } 50723 if (skippy < 0) || (iNdEx+skippy) < 0 { 50724 return ErrInvalidLengthPlan 50725 } 50726 if (iNdEx + skippy) > l { 50727 return io.ErrUnexpectedEOF 50728 } 50729 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50730 iNdEx += skippy 50731 } 50732 } 50733 50734 if iNdEx > l { 50735 return io.ErrUnexpectedEOF 50736 } 50737 return nil 50738 } 50739 func (m *UnLockTables) Unmarshal(dAtA []byte) error { 50740 l := len(dAtA) 50741 iNdEx := 0 50742 for iNdEx < l { 50743 preIndex := iNdEx 50744 var wire uint64 50745 for shift := uint(0); ; shift += 7 { 50746 if shift >= 64 { 50747 return ErrIntOverflowPlan 50748 } 50749 if iNdEx >= l { 50750 return io.ErrUnexpectedEOF 50751 } 50752 b := dAtA[iNdEx] 50753 iNdEx++ 50754 wire |= uint64(b&0x7F) << shift 50755 if b < 0x80 { 50756 break 50757 } 50758 } 50759 fieldNum := int32(wire >> 3) 50760 wireType := int(wire & 0x7) 50761 if wireType == 4 { 50762 return fmt.Errorf("proto: UnLockTables: wiretype end group for non-group") 50763 } 50764 if fieldNum <= 0 { 50765 return fmt.Errorf("proto: UnLockTables: illegal tag %d (wire type %d)", fieldNum, wire) 50766 } 50767 switch fieldNum { 50768 default: 50769 iNdEx = preIndex 50770 skippy, err := skipPlan(dAtA[iNdEx:]) 50771 if err != nil { 50772 return err 50773 } 50774 if (skippy < 0) || (iNdEx+skippy) < 0 { 50775 return ErrInvalidLengthPlan 50776 } 50777 if (iNdEx + skippy) > l { 50778 return io.ErrUnexpectedEOF 50779 } 50780 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 50781 iNdEx += skippy 50782 } 50783 } 50784 50785 if iNdEx > l { 50786 return io.ErrUnexpectedEOF 50787 } 50788 return nil 50789 } 50790 func (m *MetadataScanInfo) Unmarshal(dAtA []byte) error { 50791 l := len(dAtA) 50792 iNdEx := 0 50793 for iNdEx < l { 50794 preIndex := iNdEx 50795 var wire uint64 50796 for shift := uint(0); ; shift += 7 { 50797 if shift >= 64 { 50798 return ErrIntOverflowPlan 50799 } 50800 if iNdEx >= l { 50801 return io.ErrUnexpectedEOF 50802 } 50803 b := dAtA[iNdEx] 50804 iNdEx++ 50805 wire |= uint64(b&0x7F) << shift 50806 if b < 0x80 { 50807 break 50808 } 50809 } 50810 fieldNum := int32(wire >> 3) 50811 wireType := int(wire & 0x7) 50812 if wireType == 4 { 50813 return fmt.Errorf("proto: MetadataScanInfo: wiretype end group for non-group") 50814 } 50815 if fieldNum <= 0 { 50816 return fmt.Errorf("proto: MetadataScanInfo: illegal tag %d (wire type %d)", fieldNum, wire) 50817 } 50818 switch fieldNum { 50819 case 1: 50820 if wireType != 2 { 50821 return fmt.Errorf("proto: wrong wireType = %d for field ColName", wireType) 50822 } 50823 var stringLen uint64 50824 for shift := uint(0); ; shift += 7 { 50825 if shift >= 64 { 50826 return ErrIntOverflowPlan 50827 } 50828 if iNdEx >= l { 50829 return io.ErrUnexpectedEOF 50830 } 50831 b := dAtA[iNdEx] 50832 iNdEx++ 50833 stringLen |= uint64(b&0x7F) << shift 50834 if b < 0x80 { 50835 break 50836 } 50837 } 50838 intStringLen := int(stringLen) 50839 if intStringLen < 0 { 50840 return ErrInvalidLengthPlan 50841 } 50842 postIndex := iNdEx + intStringLen 50843 if postIndex < 0 { 50844 return ErrInvalidLengthPlan 50845 } 50846 if postIndex > l { 50847 return io.ErrUnexpectedEOF 50848 } 50849 m.ColName = string(dAtA[iNdEx:postIndex]) 50850 iNdEx = postIndex 50851 case 2: 50852 if wireType != 2 { 50853 return fmt.Errorf("proto: wrong wireType = %d for field ObjectName", wireType) 50854 } 50855 var stringLen uint64 50856 for shift := uint(0); ; shift += 7 { 50857 if shift >= 64 { 50858 return ErrIntOverflowPlan 50859 } 50860 if iNdEx >= l { 50861 return io.ErrUnexpectedEOF 50862 } 50863 b := dAtA[iNdEx] 50864 iNdEx++ 50865 stringLen |= uint64(b&0x7F) << shift 50866 if b < 0x80 { 50867 break 50868 } 50869 } 50870 intStringLen := int(stringLen) 50871 if intStringLen < 0 { 50872 return ErrInvalidLengthPlan 50873 } 50874 postIndex := iNdEx + intStringLen 50875 if postIndex < 0 { 50876 return ErrInvalidLengthPlan 50877 } 50878 if postIndex > l { 50879 return io.ErrUnexpectedEOF 50880 } 50881 m.ObjectName = string(dAtA[iNdEx:postIndex]) 50882 iNdEx = postIndex 50883 case 3: 50884 if wireType != 0 { 50885 return fmt.Errorf("proto: wrong wireType = %d for field IsHidden", wireType) 50886 } 50887 var v int 50888 for shift := uint(0); ; shift += 7 { 50889 if shift >= 64 { 50890 return ErrIntOverflowPlan 50891 } 50892 if iNdEx >= l { 50893 return io.ErrUnexpectedEOF 50894 } 50895 b := dAtA[iNdEx] 50896 iNdEx++ 50897 v |= int(b&0x7F) << shift 50898 if b < 0x80 { 50899 break 50900 } 50901 } 50902 m.IsHidden = bool(v != 0) 50903 case 4: 50904 if wireType != 2 { 50905 return fmt.Errorf("proto: wrong wireType = %d for field ObjLoc", wireType) 50906 } 50907 var byteLen int 50908 for shift := uint(0); ; shift += 7 { 50909 if shift >= 64 { 50910 return ErrIntOverflowPlan 50911 } 50912 if iNdEx >= l { 50913 return io.ErrUnexpectedEOF 50914 } 50915 b := dAtA[iNdEx] 50916 iNdEx++ 50917 byteLen |= int(b&0x7F) << shift 50918 if b < 0x80 { 50919 break 50920 } 50921 } 50922 if byteLen < 0 { 50923 return ErrInvalidLengthPlan 50924 } 50925 postIndex := iNdEx + byteLen 50926 if postIndex < 0 { 50927 return ErrInvalidLengthPlan 50928 } 50929 if postIndex > l { 50930 return io.ErrUnexpectedEOF 50931 } 50932 m.ObjLoc = append(m.ObjLoc[:0], dAtA[iNdEx:postIndex]...) 50933 if m.ObjLoc == nil { 50934 m.ObjLoc = []byte{} 50935 } 50936 iNdEx = postIndex 50937 case 5: 50938 if wireType != 2 { 50939 return fmt.Errorf("proto: wrong wireType = %d for field CreateTs", wireType) 50940 } 50941 var byteLen int 50942 for shift := uint(0); ; shift += 7 { 50943 if shift >= 64 { 50944 return ErrIntOverflowPlan 50945 } 50946 if iNdEx >= l { 50947 return io.ErrUnexpectedEOF 50948 } 50949 b := dAtA[iNdEx] 50950 iNdEx++ 50951 byteLen |= int(b&0x7F) << shift 50952 if b < 0x80 { 50953 break 50954 } 50955 } 50956 if byteLen < 0 { 50957 return ErrInvalidLengthPlan 50958 } 50959 postIndex := iNdEx + byteLen 50960 if postIndex < 0 { 50961 return ErrInvalidLengthPlan 50962 } 50963 if postIndex > l { 50964 return io.ErrUnexpectedEOF 50965 } 50966 m.CreateTs = append(m.CreateTs[:0], dAtA[iNdEx:postIndex]...) 50967 if m.CreateTs == nil { 50968 m.CreateTs = []byte{} 50969 } 50970 iNdEx = postIndex 50971 case 6: 50972 if wireType != 2 { 50973 return fmt.Errorf("proto: wrong wireType = %d for field DeleteTs", wireType) 50974 } 50975 var byteLen int 50976 for shift := uint(0); ; shift += 7 { 50977 if shift >= 64 { 50978 return ErrIntOverflowPlan 50979 } 50980 if iNdEx >= l { 50981 return io.ErrUnexpectedEOF 50982 } 50983 b := dAtA[iNdEx] 50984 iNdEx++ 50985 byteLen |= int(b&0x7F) << shift 50986 if b < 0x80 { 50987 break 50988 } 50989 } 50990 if byteLen < 0 { 50991 return ErrInvalidLengthPlan 50992 } 50993 postIndex := iNdEx + byteLen 50994 if postIndex < 0 { 50995 return ErrInvalidLengthPlan 50996 } 50997 if postIndex > l { 50998 return io.ErrUnexpectedEOF 50999 } 51000 m.DeleteTs = append(m.DeleteTs[:0], dAtA[iNdEx:postIndex]...) 51001 if m.DeleteTs == nil { 51002 m.DeleteTs = []byte{} 51003 } 51004 iNdEx = postIndex 51005 case 7: 51006 if wireType != 0 { 51007 return fmt.Errorf("proto: wrong wireType = %d for field RowCnt", wireType) 51008 } 51009 m.RowCnt = 0 51010 for shift := uint(0); ; shift += 7 { 51011 if shift >= 64 { 51012 return ErrIntOverflowPlan 51013 } 51014 if iNdEx >= l { 51015 return io.ErrUnexpectedEOF 51016 } 51017 b := dAtA[iNdEx] 51018 iNdEx++ 51019 m.RowCnt |= int64(b&0x7F) << shift 51020 if b < 0x80 { 51021 break 51022 } 51023 } 51024 case 8: 51025 if wireType != 0 { 51026 return fmt.Errorf("proto: wrong wireType = %d for field NullCnt", wireType) 51027 } 51028 m.NullCnt = 0 51029 for shift := uint(0); ; shift += 7 { 51030 if shift >= 64 { 51031 return ErrIntOverflowPlan 51032 } 51033 if iNdEx >= l { 51034 return io.ErrUnexpectedEOF 51035 } 51036 b := dAtA[iNdEx] 51037 iNdEx++ 51038 m.NullCnt |= int64(b&0x7F) << shift 51039 if b < 0x80 { 51040 break 51041 } 51042 } 51043 case 9: 51044 if wireType != 0 { 51045 return fmt.Errorf("proto: wrong wireType = %d for field CompressSize", wireType) 51046 } 51047 m.CompressSize = 0 51048 for shift := uint(0); ; shift += 7 { 51049 if shift >= 64 { 51050 return ErrIntOverflowPlan 51051 } 51052 if iNdEx >= l { 51053 return io.ErrUnexpectedEOF 51054 } 51055 b := dAtA[iNdEx] 51056 iNdEx++ 51057 m.CompressSize |= int64(b&0x7F) << shift 51058 if b < 0x80 { 51059 break 51060 } 51061 } 51062 case 10: 51063 if wireType != 0 { 51064 return fmt.Errorf("proto: wrong wireType = %d for field OriginSize", wireType) 51065 } 51066 m.OriginSize = 0 51067 for shift := uint(0); ; shift += 7 { 51068 if shift >= 64 { 51069 return ErrIntOverflowPlan 51070 } 51071 if iNdEx >= l { 51072 return io.ErrUnexpectedEOF 51073 } 51074 b := dAtA[iNdEx] 51075 iNdEx++ 51076 m.OriginSize |= int64(b&0x7F) << shift 51077 if b < 0x80 { 51078 break 51079 } 51080 } 51081 case 11: 51082 if wireType != 2 { 51083 return fmt.Errorf("proto: wrong wireType = %d for field ZoneMap", wireType) 51084 } 51085 var byteLen int 51086 for shift := uint(0); ; shift += 7 { 51087 if shift >= 64 { 51088 return ErrIntOverflowPlan 51089 } 51090 if iNdEx >= l { 51091 return io.ErrUnexpectedEOF 51092 } 51093 b := dAtA[iNdEx] 51094 iNdEx++ 51095 byteLen |= int(b&0x7F) << shift 51096 if b < 0x80 { 51097 break 51098 } 51099 } 51100 if byteLen < 0 { 51101 return ErrInvalidLengthPlan 51102 } 51103 postIndex := iNdEx + byteLen 51104 if postIndex < 0 { 51105 return ErrInvalidLengthPlan 51106 } 51107 if postIndex > l { 51108 return io.ErrUnexpectedEOF 51109 } 51110 m.ZoneMap = append(m.ZoneMap[:0], dAtA[iNdEx:postIndex]...) 51111 if m.ZoneMap == nil { 51112 m.ZoneMap = []byte{} 51113 } 51114 iNdEx = postIndex 51115 default: 51116 iNdEx = preIndex 51117 skippy, err := skipPlan(dAtA[iNdEx:]) 51118 if err != nil { 51119 return err 51120 } 51121 if (skippy < 0) || (iNdEx+skippy) < 0 { 51122 return ErrInvalidLengthPlan 51123 } 51124 if (iNdEx + skippy) > l { 51125 return io.ErrUnexpectedEOF 51126 } 51127 m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) 51128 iNdEx += skippy 51129 } 51130 } 51131 51132 if iNdEx > l { 51133 return io.ErrUnexpectedEOF 51134 } 51135 return nil 51136 } 51137 func skipPlan(dAtA []byte) (n int, err error) { 51138 l := len(dAtA) 51139 iNdEx := 0 51140 depth := 0 51141 for iNdEx < l { 51142 var wire uint64 51143 for shift := uint(0); ; shift += 7 { 51144 if shift >= 64 { 51145 return 0, ErrIntOverflowPlan 51146 } 51147 if iNdEx >= l { 51148 return 0, io.ErrUnexpectedEOF 51149 } 51150 b := dAtA[iNdEx] 51151 iNdEx++ 51152 wire |= (uint64(b) & 0x7F) << shift 51153 if b < 0x80 { 51154 break 51155 } 51156 } 51157 wireType := int(wire & 0x7) 51158 switch wireType { 51159 case 0: 51160 for shift := uint(0); ; shift += 7 { 51161 if shift >= 64 { 51162 return 0, ErrIntOverflowPlan 51163 } 51164 if iNdEx >= l { 51165 return 0, io.ErrUnexpectedEOF 51166 } 51167 iNdEx++ 51168 if dAtA[iNdEx-1] < 0x80 { 51169 break 51170 } 51171 } 51172 case 1: 51173 iNdEx += 8 51174 case 2: 51175 var length int 51176 for shift := uint(0); ; shift += 7 { 51177 if shift >= 64 { 51178 return 0, ErrIntOverflowPlan 51179 } 51180 if iNdEx >= l { 51181 return 0, io.ErrUnexpectedEOF 51182 } 51183 b := dAtA[iNdEx] 51184 iNdEx++ 51185 length |= (int(b) & 0x7F) << shift 51186 if b < 0x80 { 51187 break 51188 } 51189 } 51190 if length < 0 { 51191 return 0, ErrInvalidLengthPlan 51192 } 51193 iNdEx += length 51194 case 3: 51195 depth++ 51196 case 4: 51197 if depth == 0 { 51198 return 0, ErrUnexpectedEndOfGroupPlan 51199 } 51200 depth-- 51201 case 5: 51202 iNdEx += 4 51203 default: 51204 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 51205 } 51206 if iNdEx < 0 { 51207 return 0, ErrInvalidLengthPlan 51208 } 51209 if depth == 0 { 51210 return iNdEx, nil 51211 } 51212 } 51213 return 0, io.ErrUnexpectedEOF 51214 } 51215 51216 var ( 51217 ErrInvalidLengthPlan = fmt.Errorf("proto: negative length found during unmarshaling") 51218 ErrIntOverflowPlan = fmt.Errorf("proto: integer overflow") 51219 ErrUnexpectedEndOfGroupPlan = fmt.Errorf("proto: unexpected end of group") 51220 )