Skip to content

Commit 69f27e9

Browse files
committed
change thrift compiler version to 0.14.1
1 parent 357307a commit 69f27e9

File tree

104 files changed

+8227
-8436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+8227
-8436
lines changed

src/Apache.IoTDB/Rpc/Generated/FunctionType.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
/**
2-
* Autogenerated by Thrift Compiler (0.15.0)
2+
* Autogenerated by Thrift Compiler (0.14.1)
33
*
44
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
55
* @generated
66
*/
77

88
#pragma warning disable IDE0079 // remove unnecessary pragmas
99
#pragma warning disable IDE1006 // parts of the code use IDL spelling
10-
#pragma warning disable IDE0083 // pattern matching "that is not SomeType" requires net5.0 but we still support earlier versions
1110

1211
public enum FunctionType
1312
{

src/Apache.IoTDB/Rpc/Generated/IClientRPCService.cs

Lines changed: 3820 additions & 4493 deletions
Large diffs are not rendered by default.

src/Apache.IoTDB/Rpc/Generated/Model.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
/**
2-
* Autogenerated by Thrift Compiler (0.15.0)
2+
* Autogenerated by Thrift Compiler (0.14.1)
33
*
44
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
55
* @generated
66
*/
77

88
#pragma warning disable IDE0079 // remove unnecessary pragmas
99
#pragma warning disable IDE1006 // parts of the code use IDL spelling
10-
#pragma warning disable IDE0083 // pattern matching "that is not SomeType" requires net5.0 but we still support earlier versions
1110

1211
public enum Model
1312
{

src/Apache.IoTDB/Rpc/Generated/ServerProperties.cs

Lines changed: 63 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Autogenerated by Thrift Compiler (0.15.0)
2+
* Autogenerated by Thrift Compiler (0.14.1)
33
*
44
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
55
* @generated
@@ -27,7 +27,6 @@
2727

2828
#pragma warning disable IDE0079 // remove unnecessary pragmas
2929
#pragma warning disable IDE1006 // parts of the code use IDL spelling
30-
#pragma warning disable IDE0083 // pattern matching "that is not SomeType" requires net5.0 but we still support earlier versions
3130

3231

3332
public partial class ServerProperties : TBase
@@ -166,13 +165,13 @@ public ServerProperties(string version, List<string> supportedTimeAggregationOpe
166165
if (field.Type == TType.List)
167166
{
168167
{
169-
TList _list487 = await iprot.ReadListBeginAsync(cancellationToken);
170-
SupportedTimeAggregationOperations = new List<string>(_list487.Count);
171-
for(int _i488 = 0; _i488 < _list487.Count; ++_i488)
168+
TList _list383 = await iprot.ReadListBeginAsync(cancellationToken);
169+
SupportedTimeAggregationOperations = new List<string>(_list383.Count);
170+
for(int _i384 = 0; _i384 < _list383.Count; ++_i384)
172171
{
173-
string _elem489;
174-
_elem489 = await iprot.ReadStringAsync(cancellationToken);
175-
SupportedTimeAggregationOperations.Add(_elem489);
172+
string _elem385;
173+
_elem385 = await iprot.ReadStringAsync(cancellationToken);
174+
SupportedTimeAggregationOperations.Add(_elem385);
176175
}
177176
await iprot.ReadListEndAsync(cancellationToken);
178177
}
@@ -277,85 +276,85 @@ public ServerProperties(string version, List<string> supportedTimeAggregationOpe
277276
oprot.IncrementRecursionDepth();
278277
try
279278
{
280-
var tmp490 = new TStruct("ServerProperties");
281-
await oprot.WriteStructBeginAsync(tmp490, cancellationToken);
282-
var tmp491 = new TField();
279+
var struc = new TStruct("ServerProperties");
280+
await oprot.WriteStructBeginAsync(struc, cancellationToken);
281+
var field = new TField();
283282
if((Version != null))
284283
{
285-
tmp491.Name = "version";
286-
tmp491.Type = TType.String;
287-
tmp491.ID = 1;
288-
await oprot.WriteFieldBeginAsync(tmp491, cancellationToken);
284+
field.Name = "version";
285+
field.Type = TType.String;
286+
field.ID = 1;
287+
await oprot.WriteFieldBeginAsync(field, cancellationToken);
289288
await oprot.WriteStringAsync(Version, cancellationToken);
290289
await oprot.WriteFieldEndAsync(cancellationToken);
291290
}
292291
if((SupportedTimeAggregationOperations != null))
293292
{
294-
tmp491.Name = "supportedTimeAggregationOperations";
295-
tmp491.Type = TType.List;
296-
tmp491.ID = 2;
297-
await oprot.WriteFieldBeginAsync(tmp491, cancellationToken);
293+
field.Name = "supportedTimeAggregationOperations";
294+
field.Type = TType.List;
295+
field.ID = 2;
296+
await oprot.WriteFieldBeginAsync(field, cancellationToken);
298297
{
299298
await oprot.WriteListBeginAsync(new TList(TType.String, SupportedTimeAggregationOperations.Count), cancellationToken);
300-
foreach (string _iter492 in SupportedTimeAggregationOperations)
299+
foreach (string _iter386 in SupportedTimeAggregationOperations)
301300
{
302-
await oprot.WriteStringAsync(_iter492, cancellationToken);
301+
await oprot.WriteStringAsync(_iter386, cancellationToken);
303302
}
304303
await oprot.WriteListEndAsync(cancellationToken);
305304
}
306305
await oprot.WriteFieldEndAsync(cancellationToken);
307306
}
308307
if((TimestampPrecision != null))
309308
{
310-
tmp491.Name = "timestampPrecision";
311-
tmp491.Type = TType.String;
312-
tmp491.ID = 3;
313-
await oprot.WriteFieldBeginAsync(tmp491, cancellationToken);
309+
field.Name = "timestampPrecision";
310+
field.Type = TType.String;
311+
field.ID = 3;
312+
await oprot.WriteFieldBeginAsync(field, cancellationToken);
314313
await oprot.WriteStringAsync(TimestampPrecision, cancellationToken);
315314
await oprot.WriteFieldEndAsync(cancellationToken);
316315
}
317316
if(__isset.maxConcurrentClientNum)
318317
{
319-
tmp491.Name = "maxConcurrentClientNum";
320-
tmp491.Type = TType.I32;
321-
tmp491.ID = 4;
322-
await oprot.WriteFieldBeginAsync(tmp491, cancellationToken);
318+
field.Name = "maxConcurrentClientNum";
319+
field.Type = TType.I32;
320+
field.ID = 4;
321+
await oprot.WriteFieldBeginAsync(field, cancellationToken);
323322
await oprot.WriteI32Async(MaxConcurrentClientNum, cancellationToken);
324323
await oprot.WriteFieldEndAsync(cancellationToken);
325324
}
326325
if(__isset.thriftMaxFrameSize)
327326
{
328-
tmp491.Name = "thriftMaxFrameSize";
329-
tmp491.Type = TType.I32;
330-
tmp491.ID = 5;
331-
await oprot.WriteFieldBeginAsync(tmp491, cancellationToken);
327+
field.Name = "thriftMaxFrameSize";
328+
field.Type = TType.I32;
329+
field.ID = 5;
330+
await oprot.WriteFieldBeginAsync(field, cancellationToken);
332331
await oprot.WriteI32Async(ThriftMaxFrameSize, cancellationToken);
333332
await oprot.WriteFieldEndAsync(cancellationToken);
334333
}
335334
if(__isset.isReadOnly)
336335
{
337-
tmp491.Name = "isReadOnly";
338-
tmp491.Type = TType.Bool;
339-
tmp491.ID = 6;
340-
await oprot.WriteFieldBeginAsync(tmp491, cancellationToken);
336+
field.Name = "isReadOnly";
337+
field.Type = TType.Bool;
338+
field.ID = 6;
339+
await oprot.WriteFieldBeginAsync(field, cancellationToken);
341340
await oprot.WriteBoolAsync(IsReadOnly, cancellationToken);
342341
await oprot.WriteFieldEndAsync(cancellationToken);
343342
}
344343
if((BuildInfo != null) && __isset.buildInfo)
345344
{
346-
tmp491.Name = "buildInfo";
347-
tmp491.Type = TType.String;
348-
tmp491.ID = 7;
349-
await oprot.WriteFieldBeginAsync(tmp491, cancellationToken);
345+
field.Name = "buildInfo";
346+
field.Type = TType.String;
347+
field.ID = 7;
348+
await oprot.WriteFieldBeginAsync(field, cancellationToken);
350349
await oprot.WriteStringAsync(BuildInfo, cancellationToken);
351350
await oprot.WriteFieldEndAsync(cancellationToken);
352351
}
353352
if((Logo != null) && __isset.logo)
354353
{
355-
tmp491.Name = "logo";
356-
tmp491.Type = TType.String;
357-
tmp491.ID = 8;
358-
await oprot.WriteFieldBeginAsync(tmp491, cancellationToken);
354+
field.Name = "logo";
355+
field.Type = TType.String;
356+
field.ID = 8;
357+
await oprot.WriteFieldBeginAsync(field, cancellationToken);
359358
await oprot.WriteStringAsync(Logo, cancellationToken);
360359
await oprot.WriteFieldEndAsync(cancellationToken);
361360
}
@@ -423,49 +422,49 @@ public override int GetHashCode() {
423422

424423
public override string ToString()
425424
{
426-
var tmp493 = new StringBuilder("ServerProperties(");
425+
var sb = new StringBuilder("ServerProperties(");
427426
if((Version != null))
428427
{
429-
tmp493.Append(", Version: ");
430-
Version.ToString(tmp493);
428+
sb.Append(", Version: ");
429+
Version.ToString(sb);
431430
}
432431
if((SupportedTimeAggregationOperations != null))
433432
{
434-
tmp493.Append(", SupportedTimeAggregationOperations: ");
435-
SupportedTimeAggregationOperations.ToString(tmp493);
433+
sb.Append(", SupportedTimeAggregationOperations: ");
434+
SupportedTimeAggregationOperations.ToString(sb);
436435
}
437436
if((TimestampPrecision != null))
438437
{
439-
tmp493.Append(", TimestampPrecision: ");
440-
TimestampPrecision.ToString(tmp493);
438+
sb.Append(", TimestampPrecision: ");
439+
TimestampPrecision.ToString(sb);
441440
}
442441
if(__isset.maxConcurrentClientNum)
443442
{
444-
tmp493.Append(", MaxConcurrentClientNum: ");
445-
MaxConcurrentClientNum.ToString(tmp493);
443+
sb.Append(", MaxConcurrentClientNum: ");
444+
MaxConcurrentClientNum.ToString(sb);
446445
}
447446
if(__isset.thriftMaxFrameSize)
448447
{
449-
tmp493.Append(", ThriftMaxFrameSize: ");
450-
ThriftMaxFrameSize.ToString(tmp493);
448+
sb.Append(", ThriftMaxFrameSize: ");
449+
ThriftMaxFrameSize.ToString(sb);
451450
}
452451
if(__isset.isReadOnly)
453452
{
454-
tmp493.Append(", IsReadOnly: ");
455-
IsReadOnly.ToString(tmp493);
453+
sb.Append(", IsReadOnly: ");
454+
IsReadOnly.ToString(sb);
456455
}
457456
if((BuildInfo != null) && __isset.buildInfo)
458457
{
459-
tmp493.Append(", BuildInfo: ");
460-
BuildInfo.ToString(tmp493);
458+
sb.Append(", BuildInfo: ");
459+
BuildInfo.ToString(sb);
461460
}
462461
if((Logo != null) && __isset.logo)
463462
{
464-
tmp493.Append(", Logo: ");
465-
Logo.ToString(tmp493);
463+
sb.Append(", Logo: ");
464+
Logo.ToString(sb);
466465
}
467-
tmp493.Append(')');
468-
return tmp493.ToString();
466+
sb.Append(')');
467+
return sb.ToString();
469468
}
470469
}
471470

src/Apache.IoTDB/Rpc/Generated/TAINodeConfiguration.cs

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Autogenerated by Thrift Compiler (0.15.0)
2+
* Autogenerated by Thrift Compiler (0.14.1)
33
*
44
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
55
* @generated
@@ -27,7 +27,6 @@
2727

2828
#pragma warning disable IDE0079 // remove unnecessary pragmas
2929
#pragma warning disable IDE1006 // parts of the code use IDL spelling
30-
#pragma warning disable IDE0083 // pattern matching "that is not SomeType" requires net5.0 but we still support earlier versions
3130

3231

3332
public partial class TAINodeConfiguration : TBase
@@ -119,24 +118,24 @@ public TAINodeConfiguration(TAINodeLocation location, TNodeResource resource) :
119118
oprot.IncrementRecursionDepth();
120119
try
121120
{
122-
var tmp52 = new TStruct("TAINodeConfiguration");
123-
await oprot.WriteStructBeginAsync(tmp52, cancellationToken);
124-
var tmp53 = new TField();
121+
var struc = new TStruct("TAINodeConfiguration");
122+
await oprot.WriteStructBeginAsync(struc, cancellationToken);
123+
var field = new TField();
125124
if((Location != null))
126125
{
127-
tmp53.Name = "location";
128-
tmp53.Type = TType.Struct;
129-
tmp53.ID = 1;
130-
await oprot.WriteFieldBeginAsync(tmp53, cancellationToken);
126+
field.Name = "location";
127+
field.Type = TType.Struct;
128+
field.ID = 1;
129+
await oprot.WriteFieldBeginAsync(field, cancellationToken);
131130
await Location.WriteAsync(oprot, cancellationToken);
132131
await oprot.WriteFieldEndAsync(cancellationToken);
133132
}
134133
if((Resource != null))
135134
{
136-
tmp53.Name = "resource";
137-
tmp53.Type = TType.Struct;
138-
tmp53.ID = 2;
139-
await oprot.WriteFieldBeginAsync(tmp53, cancellationToken);
135+
field.Name = "resource";
136+
field.Type = TType.Struct;
137+
field.ID = 2;
138+
await oprot.WriteFieldBeginAsync(field, cancellationToken);
140139
await Resource.WriteAsync(oprot, cancellationToken);
141140
await oprot.WriteFieldEndAsync(cancellationToken);
142141
}
@@ -174,19 +173,19 @@ public override int GetHashCode() {
174173

175174
public override string ToString()
176175
{
177-
var tmp54 = new StringBuilder("TAINodeConfiguration(");
176+
var sb = new StringBuilder("TAINodeConfiguration(");
178177
if((Location != null))
179178
{
180-
tmp54.Append(", Location: ");
181-
Location.ToString(tmp54);
179+
sb.Append(", Location: ");
180+
Location.ToString(sb);
182181
}
183182
if((Resource != null))
184183
{
185-
tmp54.Append(", Resource: ");
186-
Resource.ToString(tmp54);
184+
sb.Append(", Resource: ");
185+
Resource.ToString(sb);
187186
}
188-
tmp54.Append(')');
189-
return tmp54.ToString();
187+
sb.Append(')');
188+
return sb.ToString();
190189
}
191190
}
192191

0 commit comments

Comments
 (0)