apache-iotdb 2.0.4.dev0__py3-none-any.whl → 2.0.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apache-iotdb
3
- Version: 2.0.4.dev0
3
+ Version: 2.0.5
4
4
  Summary: Apache IoTDB client API
5
5
  Author-email: Apache IoTDB <dev@iotdb.apache.org>
6
6
  License-Expression: Apache-2.0
@@ -20,20 +20,20 @@ iotdb/template/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,78
20
20
  iotdb/thrift/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  iotdb/thrift/common/__init__.py,sha256=YFcZTT8Cm-6Y4oTiCaqq0DT1lw2W09WqoEc5_pTAwW0,34
22
22
  iotdb/thrift/common/constants.py,sha256=IKRM8SpfhYWXERWBgUbUhbdFpn363hmZjXDhEYnVRbw,366
23
- iotdb/thrift/common/ttypes.py,sha256=a3ku19FQ7JomwGNxU0DzsGL3m-hV3JuX4ovFAluw-kg,117248
24
- iotdb/thrift/confignode/IConfigNodeRPCService.py,sha256=s_MSIRqwrgUbBbmbj22iBFK_bPxiIVQEqLe_8v5-YZY,950392
23
+ iotdb/thrift/common/ttypes.py,sha256=4j0Z4qATXiiZZJcGJPYcQ0ZM9lrkfHacant_sfLMGLs,122969
24
+ iotdb/thrift/confignode/IConfigNodeRPCService.py,sha256=izk5YJSwyPsdE4tAHxdV-QCrYSbPDjAMaV_kuIbU3aw,981762
25
25
  iotdb/thrift/confignode/__init__.py,sha256=_SxvW-9GzGZcPWR-szpFI_VrvxJvSfjwu8HEieGWtik,59
26
26
  iotdb/thrift/confignode/constants.py,sha256=IKRM8SpfhYWXERWBgUbUhbdFpn363hmZjXDhEYnVRbw,366
27
- iotdb/thrift/confignode/ttypes.py,sha256=EGZJFglcybpLimNs0FHoudwdhEwTmnsw0ZlqIJw5YqE,693436
28
- iotdb/thrift/datanode/IDataNodeRPCService.py,sha256=fQzCY_FJH1VVJW7KFGKU3RMBMvAQ_F_YcWyJMNMw7oM,601663
27
+ iotdb/thrift/confignode/ttypes.py,sha256=a0E2bDpoS6wMoqI70T3roFG0KLz0ih8E9lHlX4LpxEo,720680
28
+ iotdb/thrift/datanode/IDataNodeRPCService.py,sha256=j-kPM1ik0ZoJVRII8XsQP1vZsw2w_PmnfGpJ7KP1j0c,608238
29
29
  iotdb/thrift/datanode/MPPDataExchangeService.py,sha256=Pk3n-6JLTzf_SAVSC5cdUjgYUsi1fL4h2J5HIc_jPWU,35226
30
30
  iotdb/thrift/datanode/__init__.py,sha256=J5dw3MYQMv2wUCQqOxUUdaNrCJP8j3Iy80Fv-PJ70S4,83
31
31
  iotdb/thrift/datanode/constants.py,sha256=IKRM8SpfhYWXERWBgUbUhbdFpn363hmZjXDhEYnVRbw,366
32
- iotdb/thrift/datanode/ttypes.py,sha256=1bKRSVm0qx-E8CrB7Pl3qFTSp5qBw-avj9n7LVyBk1k,437451
33
- iotdb/thrift/rpc/IClientRPCService.py,sha256=gHrJArjwcFMkcKIR46CFiz_D5rhR-WetjQSI8jRLXeY,416186
32
+ iotdb/thrift/datanode/ttypes.py,sha256=_aqTQSN-ut7cP8YKwPbT8ybq78QgrHW6r4UeE6ua0vY,443032
33
+ iotdb/thrift/rpc/IClientRPCService.py,sha256=WWe9xw8RShCNQd8Nd96qYRFcUoBGlDQURJQGpq2-qf4,423023
34
34
  iotdb/thrift/rpc/__init__.py,sha256=69gRO2XxQu71SDeCRxiZFjK6Xw_61hdl5MdWceI-e1A,55
35
35
  iotdb/thrift/rpc/constants.py,sha256=IKRM8SpfhYWXERWBgUbUhbdFpn363hmZjXDhEYnVRbw,366
36
- iotdb/thrift/rpc/ttypes.py,sha256=SBn1WHuSwmEoZrO6Ke2Ddcty6z52Hu1lGJp0uDJ1z8Y,301147
36
+ iotdb/thrift/rpc/ttypes.py,sha256=1nzauuA3sfqerhiXjALiRNW7rcEBczYlC8AoVVGcXjQ,307518
37
37
  iotdb/tsfile/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
38
38
  iotdb/tsfile/common/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
39
39
  iotdb/tsfile/common/constant/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
@@ -75,11 +75,11 @@ tests/integration/dbapi/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMD
75
75
  tests/integration/dbapi/test_connection.py,sha256=FgM9Ama-YHcuZ-IaukAjoFcqnff9YEkAvVnXg9Y7AXg,1702
76
76
  tests/integration/dbapi/test_cursor.py,sha256=5pmvTMTfsBDn9hVbBEnbrB4Obknbx3zDHm2VA19yheQ,3956
77
77
  tests/integration/sqlalchemy/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
78
- tests/integration/sqlalchemy/test_dialect.py,sha256=QvhZ3h-gbXQHRLQglbIeBM-YaJxWjd8NFwCCtRZDCQg,3478
78
+ tests/integration/sqlalchemy/test_dialect.py,sha256=BCMtPFLp5GWr6TsNv0ny4KJVsKBBXiTafMp8ak_ZqJ8,3478
79
79
  tests/unit/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
80
80
  tests/unit/test_numpy_tablet.py,sha256=w3lLK8Cft7lGsCj_6Z1Y7kDshltN0osSDJb-EESi6_Y,7235
81
- apache_iotdb-2.0.4.dev0.dist-info/METADATA,sha256=WeT2VCWGgFNJ3PbhgqAklYeQALwYGiCNERS3VpnM34Q,18772
82
- apache_iotdb-2.0.4.dev0.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
83
- apache_iotdb-2.0.4.dev0.dist-info/entry_points.txt,sha256=BmQWy6NHyWXorQcVm8-VWpt9MSqe46UFyV2hnsl4yok,73
84
- apache_iotdb-2.0.4.dev0.dist-info/top_level.txt,sha256=B9jGGOaAAqF1WrWw2jX2K-naWAZn2nhyrL-6hM1qwyM,12
85
- apache_iotdb-2.0.4.dev0.dist-info/RECORD,,
81
+ apache_iotdb-2.0.5.dist-info/METADATA,sha256=aMF7CWXzccMEHHAJAXLDVbvHn0wY8lJ-7WQ9kdDjTCk,18767
82
+ apache_iotdb-2.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
83
+ apache_iotdb-2.0.5.dist-info/entry_points.txt,sha256=BmQWy6NHyWXorQcVm8-VWpt9MSqe46UFyV2hnsl4yok,73
84
+ apache_iotdb-2.0.5.dist-info/top_level.txt,sha256=B9jGGOaAAqF1WrWw2jX2K-naWAZn2nhyrL-6hM1qwyM,12
85
+ apache_iotdb-2.0.5.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -162,6 +162,7 @@ class TAggregationType(object):
162
162
  MAX = 28
163
163
  COUNT_ALL = 29
164
164
  APPROX_COUNT_DISTINCT = 30
165
+ APPROX_MOST_FREQUENT = 31
165
166
 
166
167
  _VALUES_TO_NAMES = {
167
168
  0: "COUNT",
@@ -195,6 +196,7 @@ class TAggregationType(object):
195
196
  28: "MAX",
196
197
  29: "COUNT_ALL",
197
198
  30: "APPROX_COUNT_DISTINCT",
199
+ 31: "APPROX_MOST_FREQUENT",
198
200
  }
199
201
 
200
202
  _NAMES_TO_VALUES = {
@@ -229,6 +231,7 @@ class TAggregationType(object):
229
231
  "MAX": 28,
230
232
  "COUNT_ALL": 29,
231
233
  "APPROX_COUNT_DISTINCT": 30,
234
+ "APPROX_MOST_FREQUENT": 31,
232
235
  }
233
236
 
234
237
 
@@ -2283,6 +2286,130 @@ class TSetThrottleQuotaReq(object):
2283
2286
  return not (self == other)
2284
2287
 
2285
2288
 
2289
+ class TPipeHeartbeatResp(object):
2290
+ """
2291
+ Attributes:
2292
+ - pipeMetaList
2293
+ - pipeCompletedList
2294
+ - pipeRemainingEventCountList
2295
+ - pipeRemainingTimeList
2296
+
2297
+ """
2298
+
2299
+
2300
+ def __init__(self, pipeMetaList=None, pipeCompletedList=None, pipeRemainingEventCountList=None, pipeRemainingTimeList=None,):
2301
+ self.pipeMetaList = pipeMetaList
2302
+ self.pipeCompletedList = pipeCompletedList
2303
+ self.pipeRemainingEventCountList = pipeRemainingEventCountList
2304
+ self.pipeRemainingTimeList = pipeRemainingTimeList
2305
+
2306
+ def read(self, iprot):
2307
+ if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
2308
+ iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
2309
+ return
2310
+ iprot.readStructBegin()
2311
+ while True:
2312
+ (fname, ftype, fid) = iprot.readFieldBegin()
2313
+ if ftype == TType.STOP:
2314
+ break
2315
+ if fid == 1:
2316
+ if ftype == TType.LIST:
2317
+ self.pipeMetaList = []
2318
+ (_etype84, _size81) = iprot.readListBegin()
2319
+ for _i85 in range(_size81):
2320
+ _elem86 = iprot.readBinary()
2321
+ self.pipeMetaList.append(_elem86)
2322
+ iprot.readListEnd()
2323
+ else:
2324
+ iprot.skip(ftype)
2325
+ elif fid == 2:
2326
+ if ftype == TType.LIST:
2327
+ self.pipeCompletedList = []
2328
+ (_etype90, _size87) = iprot.readListBegin()
2329
+ for _i91 in range(_size87):
2330
+ _elem92 = iprot.readBool()
2331
+ self.pipeCompletedList.append(_elem92)
2332
+ iprot.readListEnd()
2333
+ else:
2334
+ iprot.skip(ftype)
2335
+ elif fid == 3:
2336
+ if ftype == TType.LIST:
2337
+ self.pipeRemainingEventCountList = []
2338
+ (_etype96, _size93) = iprot.readListBegin()
2339
+ for _i97 in range(_size93):
2340
+ _elem98 = iprot.readI64()
2341
+ self.pipeRemainingEventCountList.append(_elem98)
2342
+ iprot.readListEnd()
2343
+ else:
2344
+ iprot.skip(ftype)
2345
+ elif fid == 4:
2346
+ if ftype == TType.LIST:
2347
+ self.pipeRemainingTimeList = []
2348
+ (_etype102, _size99) = iprot.readListBegin()
2349
+ for _i103 in range(_size99):
2350
+ _elem104 = iprot.readDouble()
2351
+ self.pipeRemainingTimeList.append(_elem104)
2352
+ iprot.readListEnd()
2353
+ else:
2354
+ iprot.skip(ftype)
2355
+ else:
2356
+ iprot.skip(ftype)
2357
+ iprot.readFieldEnd()
2358
+ iprot.readStructEnd()
2359
+
2360
+ def write(self, oprot):
2361
+ if oprot._fast_encode is not None and self.thrift_spec is not None:
2362
+ oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
2363
+ return
2364
+ oprot.writeStructBegin('TPipeHeartbeatResp')
2365
+ if self.pipeMetaList is not None:
2366
+ oprot.writeFieldBegin('pipeMetaList', TType.LIST, 1)
2367
+ oprot.writeListBegin(TType.STRING, len(self.pipeMetaList))
2368
+ for iter105 in self.pipeMetaList:
2369
+ oprot.writeBinary(iter105)
2370
+ oprot.writeListEnd()
2371
+ oprot.writeFieldEnd()
2372
+ if self.pipeCompletedList is not None:
2373
+ oprot.writeFieldBegin('pipeCompletedList', TType.LIST, 2)
2374
+ oprot.writeListBegin(TType.BOOL, len(self.pipeCompletedList))
2375
+ for iter106 in self.pipeCompletedList:
2376
+ oprot.writeBool(iter106)
2377
+ oprot.writeListEnd()
2378
+ oprot.writeFieldEnd()
2379
+ if self.pipeRemainingEventCountList is not None:
2380
+ oprot.writeFieldBegin('pipeRemainingEventCountList', TType.LIST, 3)
2381
+ oprot.writeListBegin(TType.I64, len(self.pipeRemainingEventCountList))
2382
+ for iter107 in self.pipeRemainingEventCountList:
2383
+ oprot.writeI64(iter107)
2384
+ oprot.writeListEnd()
2385
+ oprot.writeFieldEnd()
2386
+ if self.pipeRemainingTimeList is not None:
2387
+ oprot.writeFieldBegin('pipeRemainingTimeList', TType.LIST, 4)
2388
+ oprot.writeListBegin(TType.DOUBLE, len(self.pipeRemainingTimeList))
2389
+ for iter108 in self.pipeRemainingTimeList:
2390
+ oprot.writeDouble(iter108)
2391
+ oprot.writeListEnd()
2392
+ oprot.writeFieldEnd()
2393
+ oprot.writeFieldStop()
2394
+ oprot.writeStructEnd()
2395
+
2396
+ def validate(self):
2397
+ if self.pipeMetaList is None:
2398
+ raise TProtocolException(message='Required field pipeMetaList is unset!')
2399
+ return
2400
+
2401
+ def __repr__(self):
2402
+ L = ['%s=%r' % (key, value)
2403
+ for key, value in self.__dict__.items()]
2404
+ return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
2405
+
2406
+ def __eq__(self, other):
2407
+ return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
2408
+
2409
+ def __ne__(self, other):
2410
+ return not (self == other)
2411
+
2412
+
2286
2413
  class TLicense(object):
2287
2414
  """
2288
2415
  Attributes:
@@ -2816,11 +2943,11 @@ class TTestConnectionResp(object):
2816
2943
  elif fid == 2:
2817
2944
  if ftype == TType.LIST:
2818
2945
  self.resultList = []
2819
- (_etype84, _size81) = iprot.readListBegin()
2820
- for _i85 in range(_size81):
2821
- _elem86 = TTestConnectionResult()
2822
- _elem86.read(iprot)
2823
- self.resultList.append(_elem86)
2946
+ (_etype112, _size109) = iprot.readListBegin()
2947
+ for _i113 in range(_size109):
2948
+ _elem114 = TTestConnectionResult()
2949
+ _elem114.read(iprot)
2950
+ self.resultList.append(_elem114)
2824
2951
  iprot.readListEnd()
2825
2952
  else:
2826
2953
  iprot.skip(ftype)
@@ -2841,8 +2968,8 @@ class TTestConnectionResp(object):
2841
2968
  if self.resultList is not None:
2842
2969
  oprot.writeFieldBegin('resultList', TType.LIST, 2)
2843
2970
  oprot.writeListBegin(TType.STRUCT, len(self.resultList))
2844
- for iter87 in self.resultList:
2845
- iter87.write(oprot)
2971
+ for iter115 in self.resultList:
2972
+ iter115.write(oprot)
2846
2973
  oprot.writeListEnd()
2847
2974
  oprot.writeFieldEnd()
2848
2975
  oprot.writeFieldStop()
@@ -2892,22 +3019,22 @@ class TNodeLocations(object):
2892
3019
  if fid == 1:
2893
3020
  if ftype == TType.LIST:
2894
3021
  self.configNodeLocations = []
2895
- (_etype91, _size88) = iprot.readListBegin()
2896
- for _i92 in range(_size88):
2897
- _elem93 = TConfigNodeLocation()
2898
- _elem93.read(iprot)
2899
- self.configNodeLocations.append(_elem93)
3022
+ (_etype119, _size116) = iprot.readListBegin()
3023
+ for _i120 in range(_size116):
3024
+ _elem121 = TConfigNodeLocation()
3025
+ _elem121.read(iprot)
3026
+ self.configNodeLocations.append(_elem121)
2900
3027
  iprot.readListEnd()
2901
3028
  else:
2902
3029
  iprot.skip(ftype)
2903
3030
  elif fid == 2:
2904
3031
  if ftype == TType.LIST:
2905
3032
  self.dataNodeLocations = []
2906
- (_etype97, _size94) = iprot.readListBegin()
2907
- for _i98 in range(_size94):
2908
- _elem99 = TDataNodeLocation()
2909
- _elem99.read(iprot)
2910
- self.dataNodeLocations.append(_elem99)
3033
+ (_etype125, _size122) = iprot.readListBegin()
3034
+ for _i126 in range(_size122):
3035
+ _elem127 = TDataNodeLocation()
3036
+ _elem127.read(iprot)
3037
+ self.dataNodeLocations.append(_elem127)
2911
3038
  iprot.readListEnd()
2912
3039
  else:
2913
3040
  iprot.skip(ftype)
@@ -2924,15 +3051,15 @@ class TNodeLocations(object):
2924
3051
  if self.configNodeLocations is not None:
2925
3052
  oprot.writeFieldBegin('configNodeLocations', TType.LIST, 1)
2926
3053
  oprot.writeListBegin(TType.STRUCT, len(self.configNodeLocations))
2927
- for iter100 in self.configNodeLocations:
2928
- iter100.write(oprot)
3054
+ for iter128 in self.configNodeLocations:
3055
+ iter128.write(oprot)
2929
3056
  oprot.writeListEnd()
2930
3057
  oprot.writeFieldEnd()
2931
3058
  if self.dataNodeLocations is not None:
2932
3059
  oprot.writeFieldBegin('dataNodeLocations', TType.LIST, 2)
2933
3060
  oprot.writeListBegin(TType.STRUCT, len(self.dataNodeLocations))
2934
- for iter101 in self.dataNodeLocations:
2935
- iter101.write(oprot)
3061
+ for iter129 in self.dataNodeLocations:
3062
+ iter129.write(oprot)
2936
3063
  oprot.writeListEnd()
2937
3064
  oprot.writeFieldEnd()
2938
3065
  oprot.writeFieldStop()
@@ -3255,6 +3382,14 @@ TSetThrottleQuotaReq.thrift_spec = (
3255
3382
  (1, TType.STRING, 'userName', 'UTF8', None, ), # 1
3256
3383
  (2, TType.STRUCT, 'throttleQuota', [TThrottleQuota, None], None, ), # 2
3257
3384
  )
3385
+ all_structs.append(TPipeHeartbeatResp)
3386
+ TPipeHeartbeatResp.thrift_spec = (
3387
+ None, # 0
3388
+ (1, TType.LIST, 'pipeMetaList', (TType.STRING, 'BINARY', False), None, ), # 1
3389
+ (2, TType.LIST, 'pipeCompletedList', (TType.BOOL, None, False), None, ), # 2
3390
+ (3, TType.LIST, 'pipeRemainingEventCountList', (TType.I64, None, False), None, ), # 3
3391
+ (4, TType.LIST, 'pipeRemainingTimeList', (TType.DOUBLE, None, False), None, ), # 4
3392
+ )
3258
3393
  all_structs.append(TLicense)
3259
3394
  TLicense.thrift_spec = (
3260
3395
  None, # 0