forked from maddyblue/sqlfmt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
session_data.pb.go
executable file
·1773 lines (1727 loc) · 50.9 KB
/
session_data.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: sql/sessiondatapb/session_data.proto
package sessiondatapb
import (
fmt "fmt"
//github_com_cockroachdb_cockroach_pkg_security "github.com/labulakalia/sqlfmt/cockroach/pkg/security"
lex "github.com/labulakalia/sqlfmt/cockroach/pkg/sql/lex"
duration "github.com/labulakalia/sqlfmt/cockroach/pkg/util/duration"
pgdate "github.com/labulakalia/sqlfmt/cockroach/pkg/util/timeutil/pgdate"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/gogo/protobuf/types"
github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
io "io"
math "math"
math_bits "math/bits"
time "time"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var _ = time.Kitchen
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
// VectorizeExecMode controls if an when the Executor executes queries using
// the columnar execution engine.
type VectorizeExecMode int32
const (
// VectorizeUnset means the VectorizeExecMode wasn't explicitly set. Having
// the first enum value as zero is required by proto3. This is mapped to
// VectorizeOn.
VectorizeUnset VectorizeExecMode = 0
// VectorizeOn means that any supported queries will be run using the
// columnar execution.
VectorizeOn VectorizeExecMode = 2
// VectorizeExperimentalAlways means that we attempt to vectorize all
// queries; unsupported queries will fail. Mostly used for testing.
VectorizeExperimentalAlways VectorizeExecMode = 3
// VectorizeOff means that columnar execution is disabled.
VectorizeOff VectorizeExecMode = 4
)
var VectorizeExecMode_name = map[int32]string{
0: "VectorizeUnset",
2: "VectorizeOn",
3: "VectorizeExperimentalAlways",
4: "VectorizeOff",
}
var VectorizeExecMode_value = map[string]int32{
"VectorizeUnset": 0,
"VectorizeOn": 2,
"VectorizeExperimentalAlways": 3,
"VectorizeOff": 4,
}
func (VectorizeExecMode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_9fa1c5a4e61eec38, []int{0}
}
// SessionData contains session parameters that are easily serializable and are
// required to be propagated to the remote nodes for the correct execution of
// DistSQL flows.
type SessionData struct {
// Database indicates the "current" database for the purpose of resolving
// names.
Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
// ApplicationName is the name of the application running the current
// session. This can be used for logging and per-application statistics.
ApplicationName string `protobuf:"bytes,2,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
// User is the name of the user logged into the session.
//UserProto github_com_cockroachdb_cockroach_pkg_security.SQLUsernameProto `protobuf:"bytes,3,opt,name=user_proto,json=userProto,proto3,casttype=sqlfmt/cockroach/pkg/security.SQLUsernameProto" json:"user_proto,omitempty"`
// DataConversion gives access to the data conversion configuration.
DataConversionConfig DataConversionConfig `protobuf:"bytes,4,opt,name=data_conversion_config,json=dataConversionConfig,proto3" json:"data_conversion_config"`
// VectorizeMode indicates which kinds of queries to use vectorized execution
// engine for.
VectorizeMode VectorizeExecMode `protobuf:"varint,5,opt,name=vectorize_mode,json=vectorizeMode,proto3,enum=cockroach.sql.sessiondatapb.VectorizeExecMode" json:"vectorize_mode,omitempty"`
// TestingVectorizeInjectPanics indicates whether random panics are injected
// into the vectorized flow execution. The goal of such behavior is making
// sure that errors that are propagated as panics in the vectorized engine
// are caught in all scenarios.
TestingVectorizeInjectPanics bool `protobuf:"varint,6,opt,name=testing_vectorize_inject_panics,json=testingVectorizeInjectPanics,proto3" json:"testing_vectorize_inject_panics,omitempty"`
// DefaultIntSize specifies the size in bits or bytes (preferred) of how a
// "naked" INT type should be parsed.
DefaultIntSize int32 `protobuf:"varint,7,opt,name=default_int_size,json=defaultIntSize,proto3" json:"default_int_size,omitempty"`
// The name of the location according to whose current timezone we're going to
// parse timestamps. Used to initialize sessiondata.SessionData.Location on
// the remote nodes.
//
// Note that the current serialization of the time.Location objects as
// strings has many drawbacks which could lead to unstable computation on the
// remote nodes. See #36864 and
// https://sqlfmt/cockroach/pull/55377#issuecomment-707794695
// for more details.
Location string `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"`
// SearchPath is a list of namespaces to search builtins in. Used to
// initialize sessiondata.SessionData.SearchPath on the remote nodes.
SearchPath []string `protobuf:"bytes,9,rep,name=search_path,json=searchPath,proto3" json:"search_path,omitempty"`
TemporarySchemaName string `protobuf:"bytes,10,opt,name=temporary_schema_name,json=temporarySchemaName,proto3" json:"temporary_schema_name,omitempty"`
// SeqState gives access to the SQL sequences that have been manipulated by
// the session.
SeqState SequenceState `protobuf:"bytes,11,opt,name=seq_state,json=seqState,proto3" json:"seq_state"`
// WorkMemLimit determines how much RAM (in bytes) a single operation of a
// single query can use before it has to spill to disk.
WorkMemLimit int64 `protobuf:"varint,12,opt,name=WorkMemLimit,proto3" json:"WorkMemLimit,omitempty"`
// IntervalStyleEnabled allows the setting of IntervalStyle to different
// values.
IntervalStyleEnabled bool `protobuf:"varint,13,opt,name=interval_style_enabled,json=intervalStyleEnabled,proto3" json:"interval_style_enabled,omitempty"`
// DateStyleEnabled allows the setting of DateStyle to different
// values.
DateStyleEnabled bool `protobuf:"varint,14,opt,name=date_style_enabled,json=dateStyleEnabled,proto3" json:"date_style_enabled,omitempty"`
// LockTimeout is the maximum amount of time that a query will wait while
// attempting to acquire a lock on a key or while blocking on an existing
// lock in order to perform a non-locking read on a key.
LockTimeout time.Duration `protobuf:"bytes,15,opt,name=lock_timeout,json=lockTimeout,proto3,stdduration" json:"lock_timeout"`
// Internal is true if this query came from InternalExecutor or an internal
// planner.
Internal bool `protobuf:"varint,16,opt,name=internal,proto3" json:"internal,omitempty"`
// OnUpdateRehomeRowEnabled controls whether the ON UPDATE rehome_row()
// will actually trigger on row updates.
OnUpdateRehomeRowEnabled bool `protobuf:"varint,17,opt,name=on_update_rehome_row_enabled,json=onUpdateRehomeRowEnabled,proto3" json:"on_update_rehome_row_enabled,omitempty"`
// JoinReaderOrderingStrategyBatchSize is the size limit on the input rows to
// the joinReader processor (when ordering is required to be maintained) to
// construct a single lookup KV batch.
JoinReaderOrderingStrategyBatchSize int64 `protobuf:"varint,18,opt,name=join_reader_ordering_strategy_batch_size,json=joinReaderOrderingStrategyBatchSize,proto3" json:"join_reader_ordering_strategy_batch_size,omitempty"`
// ParallelizeMultiKeyLookupJoinsEnabled is true when the join reader should
// parallelize lookup batches under all circumstances. Enabling this will
// increase the speed of lookup joins when each input row might get multiple
// looked up rows at the cost of increased memory usage.
ParallelizeMultiKeyLookupJoinsEnabled bool `protobuf:"varint,19,opt,name=parallelize_multi_key_lookup_joins_enabled,json=parallelizeMultiKeyLookupJoinsEnabled,proto3" json:"parallelize_multi_key_lookup_joins_enabled,omitempty"`
}
func (m *SessionData) Reset() { *m = SessionData{} }
func (m *SessionData) String() string { return proto.CompactTextString(m) }
func (*SessionData) ProtoMessage() {}
func (*SessionData) Descriptor() ([]byte, []int) {
return fileDescriptor_9fa1c5a4e61eec38, []int{0}
}
func (m *SessionData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *SessionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
func (m *SessionData) XXX_Merge(src proto.Message) {
xxx_messageInfo_SessionData.Merge(m, src)
}
func (m *SessionData) XXX_Size() int {
return m.Size()
}
func (m *SessionData) XXX_DiscardUnknown() {
xxx_messageInfo_SessionData.DiscardUnknown(m)
}
var xxx_messageInfo_SessionData proto.InternalMessageInfo
// DataConversionConfig contains the parameters that influence the output
// of certain data types as strings or bytes.
type DataConversionConfig struct {
// BytesEncodeFormat indicates how to encode byte arrays when converting to
// string.
BytesEncodeFormat lex.BytesEncodeFormat `protobuf:"varint,1,opt,name=bytes_encode_format,json=bytesEncodeFormat,proto3,enum=cockroach.sql.sessiondatapb.BytesEncodeFormat" json:"bytes_encode_format,omitempty"`
// ExtraFloatDigits indicates the number of digits beyond the standard number
// to use for float conversions.This must be set to a value between -15 and
// 3, inclusive.
ExtraFloatDigits int32 `protobuf:"varint,2,opt,name=extra_float_digits,json=extraFloatDigits,proto3" json:"extra_float_digits,omitempty"`
// IntervalStyle indicates the style to parse and display intervals as.
IntervalStyle duration.IntervalStyle `protobuf:"varint,3,opt,name=interval_style,json=intervalStyle,proto3,enum=cockroach.util.duration.IntervalStyle" json:"interval_style,omitempty"`
// DateStyle indicates the style to parse and display dates as.
DateStyle pgdate.DateStyle `protobuf:"bytes,4,opt,name=date_style,json=dateStyle,proto3" json:"date_style"`
}
func (m *DataConversionConfig) Reset() { *m = DataConversionConfig{} }
func (m *DataConversionConfig) String() string { return proto.CompactTextString(m) }
func (*DataConversionConfig) ProtoMessage() {}
func (*DataConversionConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_9fa1c5a4e61eec38, []int{1}
}
func (m *DataConversionConfig) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *DataConversionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
func (m *DataConversionConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_DataConversionConfig.Merge(m, src)
}
func (m *DataConversionConfig) XXX_Size() int {
return m.Size()
}
func (m *DataConversionConfig) XXX_DiscardUnknown() {
xxx_messageInfo_DataConversionConfig.DiscardUnknown(m)
}
var xxx_messageInfo_DataConversionConfig proto.InternalMessageInfo
// SequenceState is used to marshall the sessiondata.SequenceState struct.
type SequenceState struct {
Seqs []*SequenceState_Seq `protobuf:"bytes,1,rep,name=seqs,proto3" json:"seqs,omitempty"`
// last_seq_incremented is the id of the last sequence incremented by the
// session. This field is filled in iff seqs is not empty.
LastSeqIncremented uint32 `protobuf:"varint,2,opt,name=last_seq_incremented,json=lastSeqIncremented,proto3" json:"last_seq_incremented,omitempty"`
}
func (m *SequenceState) Reset() { *m = SequenceState{} }
func (m *SequenceState) String() string { return proto.CompactTextString(m) }
func (*SequenceState) ProtoMessage() {}
func (*SequenceState) Descriptor() ([]byte, []int) {
return fileDescriptor_9fa1c5a4e61eec38, []int{2}
}
func (m *SequenceState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *SequenceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
func (m *SequenceState) XXX_Merge(src proto.Message) {
xxx_messageInfo_SequenceState.Merge(m, src)
}
func (m *SequenceState) XXX_Size() int {
return m.Size()
}
func (m *SequenceState) XXX_DiscardUnknown() {
xxx_messageInfo_SequenceState.DiscardUnknown(m)
}
var xxx_messageInfo_SequenceState proto.InternalMessageInfo
// Seq represents the last value of one sequence modified by the session.
type SequenceState_Seq struct {
SeqID uint32 `protobuf:"varint,1,opt,name=seq_id,json=seqId,proto3" json:"seq_id,omitempty"`
LatestVal int64 `protobuf:"varint,2,opt,name=latest_val,json=latestVal,proto3" json:"latest_val,omitempty"`
}
func (m *SequenceState_Seq) Reset() { *m = SequenceState_Seq{} }
func (m *SequenceState_Seq) String() string { return proto.CompactTextString(m) }
func (*SequenceState_Seq) ProtoMessage() {}
func (*SequenceState_Seq) Descriptor() ([]byte, []int) {
return fileDescriptor_9fa1c5a4e61eec38, []int{2, 0}
}
func (m *SequenceState_Seq) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *SequenceState_Seq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
func (m *SequenceState_Seq) XXX_Merge(src proto.Message) {
xxx_messageInfo_SequenceState_Seq.Merge(m, src)
}
func (m *SequenceState_Seq) XXX_Size() int {
return m.Size()
}
func (m *SequenceState_Seq) XXX_DiscardUnknown() {
xxx_messageInfo_SequenceState_Seq.DiscardUnknown(m)
}
var xxx_messageInfo_SequenceState_Seq proto.InternalMessageInfo
func init() {
proto.RegisterEnum("cockroach.sql.sessiondatapb.VectorizeExecMode", VectorizeExecMode_name, VectorizeExecMode_value)
proto.RegisterType((*SessionData)(nil), "cockroach.sql.sessiondatapb.SessionData")
proto.RegisterType((*DataConversionConfig)(nil), "cockroach.sql.sessiondatapb.DataConversionConfig")
proto.RegisterType((*SequenceState)(nil), "cockroach.sql.sessiondatapb.SequenceState")
proto.RegisterType((*SequenceState_Seq)(nil), "cockroach.sql.sessiondatapb.SequenceState.Seq")
}
func init() {
proto.RegisterFile("sql/sessiondatapb/session_data.proto", fileDescriptor_9fa1c5a4e61eec38)
}
var fileDescriptor_9fa1c5a4e61eec38 = []byte{
// 1109 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0x4d, 0x73, 0x1b, 0x45,
0x13, 0xd6, 0x46, 0x76, 0x5e, 0x69, 0x64, 0x29, 0xca, 0x44, 0x6f, 0x6a, 0x71, 0x82, 0x24, 0xcc,
0x47, 0x29, 0x29, 0x6a, 0x05, 0x86, 0x73, 0xaa, 0x50, 0x6c, 0x57, 0x19, 0xe2, 0x24, 0xac, 0x70,
0x28, 0x38, 0x30, 0x35, 0xda, 0x6d, 0x49, 0x13, 0xcd, 0xee, 0xac, 0x66, 0x66, 0x1d, 0xcb, 0xfc,
0x01, 0x0e, 0x1c, 0x38, 0x72, 0x87, 0x03, 0xff, 0x83, 0x8b, 0x2f, 0x54, 0xe5, 0x98, 0x93, 0x01,
0xfb, 0x5f, 0x70, 0xa2, 0x66, 0xb4, 0x5a, 0x5b, 0x26, 0xe5, 0x9c, 0x76, 0xba, 0xfb, 0x79, 0x9e,
0xe9, 0x9d, 0xfe, 0x40, 0xef, 0xa9, 0x29, 0xef, 0x2a, 0x50, 0x8a, 0x89, 0x38, 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 0xc4, 0x75, 0xb4, 0x76, 0xce, 0x18, 0x0e, 0xeb, 0x2b, 0xeb, 0xa5, 0x1f,
0x7e, 0x69, 0x16, 0x7e, 0xfb, 0xb5, 0x59, 0xd8, 0x58, 0x29, 0x39, 0x75, 0xa7, 0xd7, 0x3d, 0xfe,
0xbb, 0x59, 0x38, 0x3e, 0x6d, 0x3a, 0x2f, 0x4f, 0x9b, 0xce, 0xab, 0xd3, 0xa6, 0xf3, 0xd7, 0x69,
0xd3, 0xf9, 0xe9, 0xac, 0x59, 0x78, 0x79, 0xd6, 0x2c, 0xbc, 0x3a, 0x6b, 0x16, 0xbe, 0xad, 0x2e,
0xbd, 0xdf, 0xe0, 0xba, 0x9d, 0xfd, 0x4f, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x40, 0xff, 0x5a,
0x10, 0x2b, 0x08, 0x00, 0x00,
}
func (m *SessionData) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *SessionData) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *SessionData) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.ParallelizeMultiKeyLookupJoinsEnabled {
i--
if m.ParallelizeMultiKeyLookupJoinsEnabled {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x1
i--
dAtA[i] = 0x98
}
if m.JoinReaderOrderingStrategyBatchSize != 0 {
i = encodeVarintSessionData(dAtA, i, uint64(m.JoinReaderOrderingStrategyBatchSize))
i--
dAtA[i] = 0x1
i--
dAtA[i] = 0x90
}
if m.OnUpdateRehomeRowEnabled {
i--
if m.OnUpdateRehomeRowEnabled {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x1
i--
dAtA[i] = 0x88
}
if m.Internal {
i--
if m.Internal {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x1
i--
dAtA[i] = 0x80
}
n1, err1 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.LockTimeout, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.LockTimeout):])
if err1 != nil {
return 0, err1
}
i -= n1
i = encodeVarintSessionData(dAtA, i, uint64(n1))
i--
dAtA[i] = 0x7a
if m.DateStyleEnabled {
i--
if m.DateStyleEnabled {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x70
}
if m.IntervalStyleEnabled {
i--
if m.IntervalStyleEnabled {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x68
}
if m.WorkMemLimit != 0 {
i = encodeVarintSessionData(dAtA, i, uint64(m.WorkMemLimit))
i--
dAtA[i] = 0x60
}
{
size, err := m.SeqState.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintSessionData(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x5a
if len(m.TemporarySchemaName) > 0 {
i -= len(m.TemporarySchemaName)
copy(dAtA[i:], m.TemporarySchemaName)
i = encodeVarintSessionData(dAtA, i, uint64(len(m.TemporarySchemaName)))
i--
dAtA[i] = 0x52
}
if len(m.SearchPath) > 0 {
for iNdEx := len(m.SearchPath) - 1; iNdEx >= 0; iNdEx-- {
i -= len(m.SearchPath[iNdEx])
copy(dAtA[i:], m.SearchPath[iNdEx])
i = encodeVarintSessionData(dAtA, i, uint64(len(m.SearchPath[iNdEx])))
i--
dAtA[i] = 0x4a
}
}
if len(m.Location) > 0 {
i -= len(m.Location)
copy(dAtA[i:], m.Location)
i = encodeVarintSessionData(dAtA, i, uint64(len(m.Location)))
i--
dAtA[i] = 0x42
}
if m.DefaultIntSize != 0 {
i = encodeVarintSessionData(dAtA, i, uint64(m.DefaultIntSize))
i--
dAtA[i] = 0x38
}
if m.TestingVectorizeInjectPanics {
i--
if m.TestingVectorizeInjectPanics {
dAtA[i] = 1
} else {
dAtA[i] = 0
}
i--
dAtA[i] = 0x30
}
if m.VectorizeMode != 0 {
i = encodeVarintSessionData(dAtA, i, uint64(m.VectorizeMode))
i--
dAtA[i] = 0x28
}
{
size, err := m.DataConversionConfig.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintSessionData(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x22
//if len(m.UserProto) > 0 {
// i -= len(m.UserProto)
// copy(dAtA[i:], m.UserProto)
// i = encodeVarintSessionData(dAtA, i, uint64(len(m.UserProto)))
// i--
// dAtA[i] = 0x1a
//}
if len(m.ApplicationName) > 0 {
i -= len(m.ApplicationName)
copy(dAtA[i:], m.ApplicationName)
i = encodeVarintSessionData(dAtA, i, uint64(len(m.ApplicationName)))
i--
dAtA[i] = 0x12
}
if len(m.Database) > 0 {
i -= len(m.Database)
copy(dAtA[i:], m.Database)
i = encodeVarintSessionData(dAtA, i, uint64(len(m.Database)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
func (m *DataConversionConfig) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *DataConversionConfig) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *DataConversionConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
{
size, err := m.DateStyle.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintSessionData(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0x22
if m.IntervalStyle != 0 {
i = encodeVarintSessionData(dAtA, i, uint64(m.IntervalStyle))
i--
dAtA[i] = 0x18
}
if m.ExtraFloatDigits != 0 {
i = encodeVarintSessionData(dAtA, i, uint64(m.ExtraFloatDigits))
i--
dAtA[i] = 0x10
}
if m.BytesEncodeFormat != 0 {
i = encodeVarintSessionData(dAtA, i, uint64(m.BytesEncodeFormat))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
func (m *SequenceState) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *SequenceState) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *SequenceState) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.LastSeqIncremented != 0 {
i = encodeVarintSessionData(dAtA, i, uint64(m.LastSeqIncremented))
i--
dAtA[i] = 0x10
}
if len(m.Seqs) > 0 {
for iNdEx := len(m.Seqs) - 1; iNdEx >= 0; iNdEx-- {
{
size, err := m.Seqs[iNdEx].MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
i -= size
i = encodeVarintSessionData(dAtA, i, uint64(size))
}
i--
dAtA[i] = 0xa
}
}
return len(dAtA) - i, nil
}
func (m *SequenceState_Seq) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
if err != nil {
return nil, err
}
return dAtA[:n], nil
}
func (m *SequenceState_Seq) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
func (m *SequenceState_Seq) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
if m.LatestVal != 0 {
i = encodeVarintSessionData(dAtA, i, uint64(m.LatestVal))
i--
dAtA[i] = 0x10
}
if m.SeqID != 0 {
i = encodeVarintSessionData(dAtA, i, uint64(m.SeqID))
i--
dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
func encodeVarintSessionData(dAtA []byte, offset int, v uint64) int {
offset -= sovSessionData(v)
base := offset
for v >= 1<<7 {
dAtA[offset] = uint8(v&0x7f | 0x80)
v >>= 7
offset++
}
dAtA[offset] = uint8(v)
return base
}
func (m *SessionData) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
l = len(m.Database)
if l > 0 {
n += 1 + l + sovSessionData(uint64(l))
}
l = len(m.ApplicationName)
if l > 0 {
n += 1 + l + sovSessionData(uint64(l))
}
//l = len(m.UserProto)
//if l > 0 {
// n += 1 + l + sovSessionData(uint64(l))
//}
l = m.DataConversionConfig.Size()
n += 1 + l + sovSessionData(uint64(l))
if m.VectorizeMode != 0 {
n += 1 + sovSessionData(uint64(m.VectorizeMode))
}
if m.TestingVectorizeInjectPanics {
n += 2
}
if m.DefaultIntSize != 0 {
n += 1 + sovSessionData(uint64(m.DefaultIntSize))
}
l = len(m.Location)
if l > 0 {
n += 1 + l + sovSessionData(uint64(l))
}
if len(m.SearchPath) > 0 {
for _, s := range m.SearchPath {
l = len(s)
n += 1 + l + sovSessionData(uint64(l))
}
}
l = len(m.TemporarySchemaName)
if l > 0 {
n += 1 + l + sovSessionData(uint64(l))
}
l = m.SeqState.Size()
n += 1 + l + sovSessionData(uint64(l))
if m.WorkMemLimit != 0 {
n += 1 + sovSessionData(uint64(m.WorkMemLimit))
}
if m.IntervalStyleEnabled {
n += 2
}
if m.DateStyleEnabled {
n += 2
}
l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.LockTimeout)
n += 1 + l + sovSessionData(uint64(l))
if m.Internal {
n += 3
}
if m.OnUpdateRehomeRowEnabled {
n += 3
}
if m.JoinReaderOrderingStrategyBatchSize != 0 {
n += 2 + sovSessionData(uint64(m.JoinReaderOrderingStrategyBatchSize))
}
if m.ParallelizeMultiKeyLookupJoinsEnabled {
n += 3
}
return n
}
func (m *DataConversionConfig) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.BytesEncodeFormat != 0 {
n += 1 + sovSessionData(uint64(m.BytesEncodeFormat))
}
if m.ExtraFloatDigits != 0 {
n += 1 + sovSessionData(uint64(m.ExtraFloatDigits))
}
if m.IntervalStyle != 0 {
n += 1 + sovSessionData(uint64(m.IntervalStyle))
}
l = m.DateStyle.Size()
n += 1 + l + sovSessionData(uint64(l))
return n
}
func (m *SequenceState) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if len(m.Seqs) > 0 {
for _, e := range m.Seqs {
l = e.Size()
n += 1 + l + sovSessionData(uint64(l))
}
}
if m.LastSeqIncremented != 0 {
n += 1 + sovSessionData(uint64(m.LastSeqIncremented))
}
return n
}
func (m *SequenceState_Seq) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
if m.SeqID != 0 {
n += 1 + sovSessionData(uint64(m.SeqID))
}
if m.LatestVal != 0 {
n += 1 + sovSessionData(uint64(m.LatestVal))
}
return n
}
func sovSessionData(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7
}
func sozSessionData(x uint64) (n int) {
return sovSessionData(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *SessionData) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
preIndex := iNdEx
var wire uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowSessionData
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
wire |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
return fmt.Errorf("proto: SessionData: wiretype end group for non-group")
}
if fieldNum <= 0 {
return fmt.Errorf("proto: SessionData: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Database", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowSessionData
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthSessionData
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthSessionData
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.Database = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field ApplicationName", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowSessionData
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthSessionData
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthSessionData
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
m.ApplicationName = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field UserProto", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowSessionData
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
intStringLen := int(stringLen)
if intStringLen < 0 {
return ErrInvalidLengthSessionData
}
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthSessionData
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
//m.UserProto = github_com_cockroachdb_cockroach_pkg_security.SQLUsernameProto(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field DataConversionConfig", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowSessionData
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
if msglen < 0 {
return ErrInvalidLengthSessionData
}
postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthSessionData
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
if err := m.DataConversionConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
case 5:
if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field VectorizeMode", wireType)
}
m.VectorizeMode = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowSessionData
}
if iNdEx >= l {
return io.ErrUnexpectedEOF
}
b := dAtA[iNdEx]
iNdEx++
m.VectorizeMode |= VectorizeExecMode(b&0x7F) << shift
if b < 0x80 {
break
}
}
case 6:
if wireType != 0 {