apache-iotdb 2.0.8__tar.gz → 2.0.10__tar.gz
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.
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/PKG-INFO +1 -1
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/apache_iotdb.egg-info/PKG-INFO +1 -1
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/common/ttypes.py +13 -1
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/confignode/IConfigNodeRPCService.py +404 -56
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/confignode/ttypes.py +820 -606
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/datanode/IDataNodeRPCService.py +770 -27
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/datanode/MPPDataExchangeService.py +10 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/datanode/ttypes.py +872 -353
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/rpc/IClientRPCService.py +567 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/rpc/ttypes.py +377 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/utils/rpc_utils.py +53 -3
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/pyproject.toml +1 -1
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_treemodel_insert.py +1 -2
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/README.md +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/apache_iotdb.egg-info/SOURCES.txt +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/apache_iotdb.egg-info/dependency_links.txt +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/apache_iotdb.egg-info/entry_points.txt +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/apache_iotdb.egg-info/requires.txt +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/apache_iotdb.egg-info/top_level.txt +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/Session.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/SessionPool.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/dbapi/Connection.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/dbapi/Cursor.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/dbapi/Exceptions.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/dbapi/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/sqlalchemy/IoTDBDialect.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/sqlalchemy/IoTDBIdentifierPreparer.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/sqlalchemy/IoTDBSQLCompiler.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/sqlalchemy/IoTDBTypeCompiler.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/sqlalchemy/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/table_session.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/table_session_pool.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/template/MeasurementNode.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/template/Template.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/template/TemplateNode.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/template/TemplateQueryType.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/template/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/common/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/common/constants.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/confignode/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/confignode/constants.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/datanode/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/datanode/constants.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/rpc/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/thrift/rpc/constants.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/tsfile/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/tsfile/common/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/tsfile/common/constant/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/tsfile/common/constant/tsfile_constant.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/tsfile/utils/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/tsfile/utils/date_utils.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/tsfile/utils/pair.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/tsfile/utils/read_write_io_utils.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/tsfile/utils/tsblock_serde.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/utils/BitMap.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/utils/Field.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/utils/IoTDBConstants.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/utils/NumpyTablet.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/utils/RowRecord.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/utils/SessionDataSet.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/utils/Tablet.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/utils/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/utils/exception.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/iotdb/utils/iotdb_rpc_dataset.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/setup.cfg +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/dbapi/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/dbapi/test_connection.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/dbapi/test_cursor.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/iotdb_container.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/sqlalchemy/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/sqlalchemy/test_dialect.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/tablet_performance_comparison.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_aligned_timeseries.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_dataframe.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_delete_data.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_new_data_types.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_one_device.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_relational_session.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_session.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_session_pool.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_tablemodel_insert.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_tablemodel_query.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_tablet.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/integration/test_todf.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/unit/__init__.py +0 -0
- {apache_iotdb-2.0.8 → apache_iotdb-2.0.10}/tests/unit/test_numpy_tablet.py +0 -0
|
@@ -378,16 +378,18 @@ class TSStatus(object):
|
|
|
378
378
|
- subStatus
|
|
379
379
|
- redirectNode
|
|
380
380
|
- needRetry
|
|
381
|
+
- responseData
|
|
381
382
|
|
|
382
383
|
"""
|
|
383
384
|
|
|
384
385
|
|
|
385
|
-
def __init__(self, code=None, message=None, subStatus=None, redirectNode=None, needRetry=None,):
|
|
386
|
+
def __init__(self, code=None, message=None, subStatus=None, redirectNode=None, needRetry=None, responseData=None,):
|
|
386
387
|
self.code = code
|
|
387
388
|
self.message = message
|
|
388
389
|
self.subStatus = subStatus
|
|
389
390
|
self.redirectNode = redirectNode
|
|
390
391
|
self.needRetry = needRetry
|
|
392
|
+
self.responseData = responseData
|
|
391
393
|
|
|
392
394
|
def read(self, iprot):
|
|
393
395
|
if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
|
|
@@ -430,6 +432,11 @@ class TSStatus(object):
|
|
|
430
432
|
self.needRetry = iprot.readBool()
|
|
431
433
|
else:
|
|
432
434
|
iprot.skip(ftype)
|
|
435
|
+
elif fid == 6:
|
|
436
|
+
if ftype == TType.STRING:
|
|
437
|
+
self.responseData = iprot.readBinary()
|
|
438
|
+
else:
|
|
439
|
+
iprot.skip(ftype)
|
|
433
440
|
else:
|
|
434
441
|
iprot.skip(ftype)
|
|
435
442
|
iprot.readFieldEnd()
|
|
@@ -463,6 +470,10 @@ class TSStatus(object):
|
|
|
463
470
|
oprot.writeFieldBegin('needRetry', TType.BOOL, 5)
|
|
464
471
|
oprot.writeBool(self.needRetry)
|
|
465
472
|
oprot.writeFieldEnd()
|
|
473
|
+
if self.responseData is not None:
|
|
474
|
+
oprot.writeFieldBegin('responseData', TType.STRING, 6)
|
|
475
|
+
oprot.writeBinary(self.responseData)
|
|
476
|
+
oprot.writeFieldEnd()
|
|
466
477
|
oprot.writeFieldStop()
|
|
467
478
|
oprot.writeStructEnd()
|
|
468
479
|
|
|
@@ -3515,6 +3526,7 @@ TSStatus.thrift_spec = (
|
|
|
3515
3526
|
(3, TType.LIST, 'subStatus', (TType.STRUCT, [TSStatus, None], False), None, ), # 3
|
|
3516
3527
|
(4, TType.STRUCT, 'redirectNode', [TEndPoint, None], None, ), # 4
|
|
3517
3528
|
(5, TType.BOOL, 'needRetry', None, None, ), # 5
|
|
3529
|
+
(6, TType.STRING, 'responseData', 'BINARY', None, ), # 6
|
|
3518
3530
|
)
|
|
3519
3531
|
all_structs.append(TConsensusGroupId)
|
|
3520
3532
|
TConsensusGroupId.thrift_spec = (
|
|
@@ -355,6 +355,9 @@ class Iface(object):
|
|
|
355
355
|
"""
|
|
356
356
|
pass
|
|
357
357
|
|
|
358
|
+
def dataPartitionTableIntegrityCheck(self):
|
|
359
|
+
pass
|
|
360
|
+
|
|
358
361
|
def operatePermission(self, req):
|
|
359
362
|
"""
|
|
360
363
|
Execute permission write operations such as create user, create role, and grant permission.
|
|
@@ -1377,6 +1380,16 @@ class Iface(object):
|
|
|
1377
1380
|
"""
|
|
1378
1381
|
pass
|
|
1379
1382
|
|
|
1383
|
+
def getRegionGroupsByTime(self, req):
|
|
1384
|
+
"""
|
|
1385
|
+
Get a database's DataRegion groups that overlap a time range
|
|
1386
|
+
|
|
1387
|
+
Parameters:
|
|
1388
|
+
- req
|
|
1389
|
+
|
|
1390
|
+
"""
|
|
1391
|
+
pass
|
|
1392
|
+
|
|
1380
1393
|
def createCQ(self, req):
|
|
1381
1394
|
"""
|
|
1382
1395
|
Create a CQ
|
|
@@ -2641,6 +2654,32 @@ class Client(Iface):
|
|
|
2641
2654
|
return result.success
|
|
2642
2655
|
raise TApplicationException(TApplicationException.MISSING_RESULT, "getOrCreateDataPartitionTable failed: unknown result")
|
|
2643
2656
|
|
|
2657
|
+
def dataPartitionTableIntegrityCheck(self):
|
|
2658
|
+
self.send_dataPartitionTableIntegrityCheck()
|
|
2659
|
+
return self.recv_dataPartitionTableIntegrityCheck()
|
|
2660
|
+
|
|
2661
|
+
def send_dataPartitionTableIntegrityCheck(self):
|
|
2662
|
+
self._oprot.writeMessageBegin('dataPartitionTableIntegrityCheck', TMessageType.CALL, self._seqid)
|
|
2663
|
+
args = dataPartitionTableIntegrityCheck_args()
|
|
2664
|
+
args.write(self._oprot)
|
|
2665
|
+
self._oprot.writeMessageEnd()
|
|
2666
|
+
self._oprot.trans.flush()
|
|
2667
|
+
|
|
2668
|
+
def recv_dataPartitionTableIntegrityCheck(self):
|
|
2669
|
+
iprot = self._iprot
|
|
2670
|
+
(fname, mtype, rseqid) = iprot.readMessageBegin()
|
|
2671
|
+
if mtype == TMessageType.EXCEPTION:
|
|
2672
|
+
x = TApplicationException()
|
|
2673
|
+
x.read(iprot)
|
|
2674
|
+
iprot.readMessageEnd()
|
|
2675
|
+
raise x
|
|
2676
|
+
result = dataPartitionTableIntegrityCheck_result()
|
|
2677
|
+
result.read(iprot)
|
|
2678
|
+
iprot.readMessageEnd()
|
|
2679
|
+
if result.success is not None:
|
|
2680
|
+
return result.success
|
|
2681
|
+
raise TApplicationException(TApplicationException.MISSING_RESULT, "dataPartitionTableIntegrityCheck failed: unknown result")
|
|
2682
|
+
|
|
2644
2683
|
def operatePermission(self, req):
|
|
2645
2684
|
"""
|
|
2646
2685
|
Execute permission write operations such as create user, create role, and grant permission.
|
|
@@ -6186,6 +6225,40 @@ class Client(Iface):
|
|
|
6186
6225
|
return result.success
|
|
6187
6226
|
raise TApplicationException(TApplicationException.MISSING_RESULT, "getSeriesSlotList failed: unknown result")
|
|
6188
6227
|
|
|
6228
|
+
def getRegionGroupsByTime(self, req):
|
|
6229
|
+
"""
|
|
6230
|
+
Get a database's DataRegion groups that overlap a time range
|
|
6231
|
+
|
|
6232
|
+
Parameters:
|
|
6233
|
+
- req
|
|
6234
|
+
|
|
6235
|
+
"""
|
|
6236
|
+
self.send_getRegionGroupsByTime(req)
|
|
6237
|
+
return self.recv_getRegionGroupsByTime()
|
|
6238
|
+
|
|
6239
|
+
def send_getRegionGroupsByTime(self, req):
|
|
6240
|
+
self._oprot.writeMessageBegin('getRegionGroupsByTime', TMessageType.CALL, self._seqid)
|
|
6241
|
+
args = getRegionGroupsByTime_args()
|
|
6242
|
+
args.req = req
|
|
6243
|
+
args.write(self._oprot)
|
|
6244
|
+
self._oprot.writeMessageEnd()
|
|
6245
|
+
self._oprot.trans.flush()
|
|
6246
|
+
|
|
6247
|
+
def recv_getRegionGroupsByTime(self):
|
|
6248
|
+
iprot = self._iprot
|
|
6249
|
+
(fname, mtype, rseqid) = iprot.readMessageBegin()
|
|
6250
|
+
if mtype == TMessageType.EXCEPTION:
|
|
6251
|
+
x = TApplicationException()
|
|
6252
|
+
x.read(iprot)
|
|
6253
|
+
iprot.readMessageEnd()
|
|
6254
|
+
raise x
|
|
6255
|
+
result = getRegionGroupsByTime_result()
|
|
6256
|
+
result.read(iprot)
|
|
6257
|
+
iprot.readMessageEnd()
|
|
6258
|
+
if result.success is not None:
|
|
6259
|
+
return result.success
|
|
6260
|
+
raise TApplicationException(TApplicationException.MISSING_RESULT, "getRegionGroupsByTime failed: unknown result")
|
|
6261
|
+
|
|
6189
6262
|
def createCQ(self, req):
|
|
6190
6263
|
"""
|
|
6191
6264
|
Create a CQ
|
|
@@ -7003,6 +7076,7 @@ class Processor(Iface, TProcessor):
|
|
|
7003
7076
|
self._processMap["getSchemaNodeManagementPartition"] = Processor.process_getSchemaNodeManagementPartition
|
|
7004
7077
|
self._processMap["getDataPartitionTable"] = Processor.process_getDataPartitionTable
|
|
7005
7078
|
self._processMap["getOrCreateDataPartitionTable"] = Processor.process_getOrCreateDataPartitionTable
|
|
7079
|
+
self._processMap["dataPartitionTableIntegrityCheck"] = Processor.process_dataPartitionTableIntegrityCheck
|
|
7006
7080
|
self._processMap["operatePermission"] = Processor.process_operatePermission
|
|
7007
7081
|
self._processMap["operateRPermission"] = Processor.process_operateRPermission
|
|
7008
7082
|
self._processMap["queryPermission"] = Processor.process_queryPermission
|
|
@@ -7109,6 +7183,7 @@ class Processor(Iface, TProcessor):
|
|
|
7109
7183
|
self._processMap["getTimeSlotList"] = Processor.process_getTimeSlotList
|
|
7110
7184
|
self._processMap["countTimeSlotList"] = Processor.process_countTimeSlotList
|
|
7111
7185
|
self._processMap["getSeriesSlotList"] = Processor.process_getSeriesSlotList
|
|
7186
|
+
self._processMap["getRegionGroupsByTime"] = Processor.process_getRegionGroupsByTime
|
|
7112
7187
|
self._processMap["createCQ"] = Processor.process_createCQ
|
|
7113
7188
|
self._processMap["dropCQ"] = Processor.process_dropCQ
|
|
7114
7189
|
self._processMap["showCQ"] = Processor.process_showCQ
|
|
@@ -7845,6 +7920,29 @@ class Processor(Iface, TProcessor):
|
|
|
7845
7920
|
oprot.writeMessageEnd()
|
|
7846
7921
|
oprot.trans.flush()
|
|
7847
7922
|
|
|
7923
|
+
def process_dataPartitionTableIntegrityCheck(self, seqid, iprot, oprot):
|
|
7924
|
+
args = dataPartitionTableIntegrityCheck_args()
|
|
7925
|
+
args.read(iprot)
|
|
7926
|
+
iprot.readMessageEnd()
|
|
7927
|
+
result = dataPartitionTableIntegrityCheck_result()
|
|
7928
|
+
try:
|
|
7929
|
+
result.success = self._handler.dataPartitionTableIntegrityCheck()
|
|
7930
|
+
msg_type = TMessageType.REPLY
|
|
7931
|
+
except TTransport.TTransportException:
|
|
7932
|
+
raise
|
|
7933
|
+
except TApplicationException as ex:
|
|
7934
|
+
logging.exception('TApplication exception in handler')
|
|
7935
|
+
msg_type = TMessageType.EXCEPTION
|
|
7936
|
+
result = ex
|
|
7937
|
+
except Exception:
|
|
7938
|
+
logging.exception('Unexpected exception in handler')
|
|
7939
|
+
msg_type = TMessageType.EXCEPTION
|
|
7940
|
+
result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
|
|
7941
|
+
oprot.writeMessageBegin("dataPartitionTableIntegrityCheck", msg_type, seqid)
|
|
7942
|
+
result.write(oprot)
|
|
7943
|
+
oprot.writeMessageEnd()
|
|
7944
|
+
oprot.trans.flush()
|
|
7945
|
+
|
|
7848
7946
|
def process_operatePermission(self, seqid, iprot, oprot):
|
|
7849
7947
|
args = operatePermission_args()
|
|
7850
7948
|
args.read(iprot)
|
|
@@ -10283,6 +10381,29 @@ class Processor(Iface, TProcessor):
|
|
|
10283
10381
|
oprot.writeMessageEnd()
|
|
10284
10382
|
oprot.trans.flush()
|
|
10285
10383
|
|
|
10384
|
+
def process_getRegionGroupsByTime(self, seqid, iprot, oprot):
|
|
10385
|
+
args = getRegionGroupsByTime_args()
|
|
10386
|
+
args.read(iprot)
|
|
10387
|
+
iprot.readMessageEnd()
|
|
10388
|
+
result = getRegionGroupsByTime_result()
|
|
10389
|
+
try:
|
|
10390
|
+
result.success = self._handler.getRegionGroupsByTime(args.req)
|
|
10391
|
+
msg_type = TMessageType.REPLY
|
|
10392
|
+
except TTransport.TTransportException:
|
|
10393
|
+
raise
|
|
10394
|
+
except TApplicationException as ex:
|
|
10395
|
+
logging.exception('TApplication exception in handler')
|
|
10396
|
+
msg_type = TMessageType.EXCEPTION
|
|
10397
|
+
result = ex
|
|
10398
|
+
except Exception:
|
|
10399
|
+
logging.exception('Unexpected exception in handler')
|
|
10400
|
+
msg_type = TMessageType.EXCEPTION
|
|
10401
|
+
result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error')
|
|
10402
|
+
oprot.writeMessageBegin("getRegionGroupsByTime", msg_type, seqid)
|
|
10403
|
+
result.write(oprot)
|
|
10404
|
+
oprot.writeMessageEnd()
|
|
10405
|
+
oprot.trans.flush()
|
|
10406
|
+
|
|
10286
10407
|
def process_createCQ(self, seqid, iprot, oprot):
|
|
10287
10408
|
args = createCQ_args()
|
|
10288
10409
|
args.read(iprot)
|
|
@@ -13718,17 +13839,17 @@ class getSchemaPartitionTableWithSlots_args(object):
|
|
|
13718
13839
|
if fid == -1:
|
|
13719
13840
|
if ftype == TType.MAP:
|
|
13720
13841
|
self.dbSlotMap = {}
|
|
13721
|
-
(
|
|
13722
|
-
for
|
|
13723
|
-
|
|
13724
|
-
|
|
13725
|
-
(
|
|
13726
|
-
for
|
|
13727
|
-
|
|
13728
|
-
|
|
13729
|
-
|
|
13842
|
+
(_ktype879, _vtype880, _size878) = iprot.readMapBegin()
|
|
13843
|
+
for _i882 in range(_size878):
|
|
13844
|
+
_key883 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
|
|
13845
|
+
_val884 = []
|
|
13846
|
+
(_etype888, _size885) = iprot.readListBegin()
|
|
13847
|
+
for _i889 in range(_size885):
|
|
13848
|
+
_elem890 = iotdb.thrift.common.ttypes.TSeriesPartitionSlot()
|
|
13849
|
+
_elem890.read(iprot)
|
|
13850
|
+
_val884.append(_elem890)
|
|
13730
13851
|
iprot.readListEnd()
|
|
13731
|
-
self.dbSlotMap[
|
|
13852
|
+
self.dbSlotMap[_key883] = _val884
|
|
13732
13853
|
iprot.readMapEnd()
|
|
13733
13854
|
else:
|
|
13734
13855
|
iprot.skip(ftype)
|
|
@@ -13745,11 +13866,11 @@ class getSchemaPartitionTableWithSlots_args(object):
|
|
|
13745
13866
|
if self.dbSlotMap is not None:
|
|
13746
13867
|
oprot.writeFieldBegin('dbSlotMap', TType.MAP, -1)
|
|
13747
13868
|
oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.dbSlotMap))
|
|
13748
|
-
for
|
|
13749
|
-
oprot.writeString(
|
|
13750
|
-
oprot.writeListBegin(TType.STRUCT, len(
|
|
13751
|
-
for
|
|
13752
|
-
|
|
13869
|
+
for kiter891, viter892 in self.dbSlotMap.items():
|
|
13870
|
+
oprot.writeString(kiter891.encode('utf-8') if sys.version_info[0] == 2 else kiter891)
|
|
13871
|
+
oprot.writeListBegin(TType.STRUCT, len(viter892))
|
|
13872
|
+
for iter893 in viter892:
|
|
13873
|
+
iter893.write(oprot)
|
|
13753
13874
|
oprot.writeListEnd()
|
|
13754
13875
|
oprot.writeMapEnd()
|
|
13755
13876
|
oprot.writeFieldEnd()
|
|
@@ -13980,17 +14101,17 @@ class getOrCreateSchemaPartitionTableWithSlots_args(object):
|
|
|
13980
14101
|
if fid == -1:
|
|
13981
14102
|
if ftype == TType.MAP:
|
|
13982
14103
|
self.dbSlotMap = {}
|
|
13983
|
-
(
|
|
13984
|
-
for
|
|
13985
|
-
|
|
13986
|
-
|
|
13987
|
-
(
|
|
13988
|
-
for
|
|
13989
|
-
|
|
13990
|
-
|
|
13991
|
-
|
|
14104
|
+
(_ktype895, _vtype896, _size894) = iprot.readMapBegin()
|
|
14105
|
+
for _i898 in range(_size894):
|
|
14106
|
+
_key899 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
|
|
14107
|
+
_val900 = []
|
|
14108
|
+
(_etype904, _size901) = iprot.readListBegin()
|
|
14109
|
+
for _i905 in range(_size901):
|
|
14110
|
+
_elem906 = iotdb.thrift.common.ttypes.TSeriesPartitionSlot()
|
|
14111
|
+
_elem906.read(iprot)
|
|
14112
|
+
_val900.append(_elem906)
|
|
13992
14113
|
iprot.readListEnd()
|
|
13993
|
-
self.dbSlotMap[
|
|
14114
|
+
self.dbSlotMap[_key899] = _val900
|
|
13994
14115
|
iprot.readMapEnd()
|
|
13995
14116
|
else:
|
|
13996
14117
|
iprot.skip(ftype)
|
|
@@ -14007,11 +14128,11 @@ class getOrCreateSchemaPartitionTableWithSlots_args(object):
|
|
|
14007
14128
|
if self.dbSlotMap is not None:
|
|
14008
14129
|
oprot.writeFieldBegin('dbSlotMap', TType.MAP, -1)
|
|
14009
14130
|
oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.dbSlotMap))
|
|
14010
|
-
for
|
|
14011
|
-
oprot.writeString(
|
|
14012
|
-
oprot.writeListBegin(TType.STRUCT, len(
|
|
14013
|
-
for
|
|
14014
|
-
|
|
14131
|
+
for kiter907, viter908 in self.dbSlotMap.items():
|
|
14132
|
+
oprot.writeString(kiter907.encode('utf-8') if sys.version_info[0] == 2 else kiter907)
|
|
14133
|
+
oprot.writeListBegin(TType.STRUCT, len(viter908))
|
|
14134
|
+
for iter909 in viter908:
|
|
14135
|
+
iter909.write(oprot)
|
|
14015
14136
|
oprot.writeListEnd()
|
|
14016
14137
|
oprot.writeMapEnd()
|
|
14017
14138
|
oprot.writeFieldEnd()
|
|
@@ -14463,6 +14584,111 @@ getOrCreateDataPartitionTable_result.thrift_spec = (
|
|
|
14463
14584
|
)
|
|
14464
14585
|
|
|
14465
14586
|
|
|
14587
|
+
class dataPartitionTableIntegrityCheck_args(object):
|
|
14588
|
+
|
|
14589
|
+
|
|
14590
|
+
def read(self, iprot):
|
|
14591
|
+
if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
|
|
14592
|
+
iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
|
|
14593
|
+
return
|
|
14594
|
+
iprot.readStructBegin()
|
|
14595
|
+
while True:
|
|
14596
|
+
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
14597
|
+
if ftype == TType.STOP:
|
|
14598
|
+
break
|
|
14599
|
+
else:
|
|
14600
|
+
iprot.skip(ftype)
|
|
14601
|
+
iprot.readFieldEnd()
|
|
14602
|
+
iprot.readStructEnd()
|
|
14603
|
+
|
|
14604
|
+
def write(self, oprot):
|
|
14605
|
+
if oprot._fast_encode is not None and self.thrift_spec is not None:
|
|
14606
|
+
oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
|
|
14607
|
+
return
|
|
14608
|
+
oprot.writeStructBegin('dataPartitionTableIntegrityCheck_args')
|
|
14609
|
+
oprot.writeFieldStop()
|
|
14610
|
+
oprot.writeStructEnd()
|
|
14611
|
+
|
|
14612
|
+
def validate(self):
|
|
14613
|
+
return
|
|
14614
|
+
|
|
14615
|
+
def __repr__(self):
|
|
14616
|
+
L = ['%s=%r' % (key, value)
|
|
14617
|
+
for key, value in self.__dict__.items()]
|
|
14618
|
+
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
14619
|
+
|
|
14620
|
+
def __eq__(self, other):
|
|
14621
|
+
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
14622
|
+
|
|
14623
|
+
def __ne__(self, other):
|
|
14624
|
+
return not (self == other)
|
|
14625
|
+
all_structs.append(dataPartitionTableIntegrityCheck_args)
|
|
14626
|
+
dataPartitionTableIntegrityCheck_args.thrift_spec = (
|
|
14627
|
+
)
|
|
14628
|
+
|
|
14629
|
+
|
|
14630
|
+
class dataPartitionTableIntegrityCheck_result(object):
|
|
14631
|
+
"""
|
|
14632
|
+
Attributes:
|
|
14633
|
+
- success
|
|
14634
|
+
|
|
14635
|
+
"""
|
|
14636
|
+
|
|
14637
|
+
|
|
14638
|
+
def __init__(self, success=None,):
|
|
14639
|
+
self.success = success
|
|
14640
|
+
|
|
14641
|
+
def read(self, iprot):
|
|
14642
|
+
if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
|
|
14643
|
+
iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
|
|
14644
|
+
return
|
|
14645
|
+
iprot.readStructBegin()
|
|
14646
|
+
while True:
|
|
14647
|
+
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
14648
|
+
if ftype == TType.STOP:
|
|
14649
|
+
break
|
|
14650
|
+
if fid == 0:
|
|
14651
|
+
if ftype == TType.STRUCT:
|
|
14652
|
+
self.success = iotdb.thrift.common.ttypes.TSStatus()
|
|
14653
|
+
self.success.read(iprot)
|
|
14654
|
+
else:
|
|
14655
|
+
iprot.skip(ftype)
|
|
14656
|
+
else:
|
|
14657
|
+
iprot.skip(ftype)
|
|
14658
|
+
iprot.readFieldEnd()
|
|
14659
|
+
iprot.readStructEnd()
|
|
14660
|
+
|
|
14661
|
+
def write(self, oprot):
|
|
14662
|
+
if oprot._fast_encode is not None and self.thrift_spec is not None:
|
|
14663
|
+
oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
|
|
14664
|
+
return
|
|
14665
|
+
oprot.writeStructBegin('dataPartitionTableIntegrityCheck_result')
|
|
14666
|
+
if self.success is not None:
|
|
14667
|
+
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
14668
|
+
self.success.write(oprot)
|
|
14669
|
+
oprot.writeFieldEnd()
|
|
14670
|
+
oprot.writeFieldStop()
|
|
14671
|
+
oprot.writeStructEnd()
|
|
14672
|
+
|
|
14673
|
+
def validate(self):
|
|
14674
|
+
return
|
|
14675
|
+
|
|
14676
|
+
def __repr__(self):
|
|
14677
|
+
L = ['%s=%r' % (key, value)
|
|
14678
|
+
for key, value in self.__dict__.items()]
|
|
14679
|
+
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
14680
|
+
|
|
14681
|
+
def __eq__(self, other):
|
|
14682
|
+
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
14683
|
+
|
|
14684
|
+
def __ne__(self, other):
|
|
14685
|
+
return not (self == other)
|
|
14686
|
+
all_structs.append(dataPartitionTableIntegrityCheck_result)
|
|
14687
|
+
dataPartitionTableIntegrityCheck_result.thrift_spec = (
|
|
14688
|
+
(0, TType.STRUCT, 'success', [iotdb.thrift.common.ttypes.TSStatus, None], None, ), # 0
|
|
14689
|
+
)
|
|
14690
|
+
|
|
14691
|
+
|
|
14466
14692
|
class operatePermission_args(object):
|
|
14467
14693
|
"""
|
|
14468
14694
|
Attributes:
|
|
@@ -18791,10 +19017,10 @@ class clearCache_args(object):
|
|
|
18791
19017
|
if fid == -1:
|
|
18792
19018
|
if ftype == TType.SET:
|
|
18793
19019
|
self.cacheClearOptions = set()
|
|
18794
|
-
(
|
|
18795
|
-
for
|
|
18796
|
-
|
|
18797
|
-
self.cacheClearOptions.add(
|
|
19020
|
+
(_etype913, _size910) = iprot.readSetBegin()
|
|
19021
|
+
for _i914 in range(_size910):
|
|
19022
|
+
_elem915 = iprot.readI32()
|
|
19023
|
+
self.cacheClearOptions.add(_elem915)
|
|
18798
19024
|
iprot.readSetEnd()
|
|
18799
19025
|
else:
|
|
18800
19026
|
iprot.skip(ftype)
|
|
@@ -18811,8 +19037,8 @@ class clearCache_args(object):
|
|
|
18811
19037
|
if self.cacheClearOptions is not None:
|
|
18812
19038
|
oprot.writeFieldBegin('cacheClearOptions', TType.SET, -1)
|
|
18813
19039
|
oprot.writeSetBegin(TType.I32, len(self.cacheClearOptions))
|
|
18814
|
-
for
|
|
18815
|
-
oprot.writeI32(
|
|
19040
|
+
for iter916 in self.cacheClearOptions:
|
|
19041
|
+
oprot.writeI32(iter916)
|
|
18816
19042
|
oprot.writeSetEnd()
|
|
18817
19043
|
oprot.writeFieldEnd()
|
|
18818
19044
|
oprot.writeFieldStop()
|
|
@@ -27026,6 +27252,128 @@ getSeriesSlotList_result.thrift_spec = (
|
|
|
27026
27252
|
)
|
|
27027
27253
|
|
|
27028
27254
|
|
|
27255
|
+
class getRegionGroupsByTime_args(object):
|
|
27256
|
+
"""
|
|
27257
|
+
Attributes:
|
|
27258
|
+
- req
|
|
27259
|
+
|
|
27260
|
+
"""
|
|
27261
|
+
|
|
27262
|
+
|
|
27263
|
+
def __init__(self, req=None,):
|
|
27264
|
+
self.req = req
|
|
27265
|
+
|
|
27266
|
+
def read(self, iprot):
|
|
27267
|
+
if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
|
|
27268
|
+
iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
|
|
27269
|
+
return
|
|
27270
|
+
iprot.readStructBegin()
|
|
27271
|
+
while True:
|
|
27272
|
+
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
27273
|
+
if ftype == TType.STOP:
|
|
27274
|
+
break
|
|
27275
|
+
if fid == -1:
|
|
27276
|
+
if ftype == TType.STRUCT:
|
|
27277
|
+
self.req = TGetRegionGroupsByTimeReq()
|
|
27278
|
+
self.req.read(iprot)
|
|
27279
|
+
else:
|
|
27280
|
+
iprot.skip(ftype)
|
|
27281
|
+
else:
|
|
27282
|
+
iprot.skip(ftype)
|
|
27283
|
+
iprot.readFieldEnd()
|
|
27284
|
+
iprot.readStructEnd()
|
|
27285
|
+
|
|
27286
|
+
def write(self, oprot):
|
|
27287
|
+
if oprot._fast_encode is not None and self.thrift_spec is not None:
|
|
27288
|
+
oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
|
|
27289
|
+
return
|
|
27290
|
+
oprot.writeStructBegin('getRegionGroupsByTime_args')
|
|
27291
|
+
if self.req is not None:
|
|
27292
|
+
oprot.writeFieldBegin('req', TType.STRUCT, -1)
|
|
27293
|
+
self.req.write(oprot)
|
|
27294
|
+
oprot.writeFieldEnd()
|
|
27295
|
+
oprot.writeFieldStop()
|
|
27296
|
+
oprot.writeStructEnd()
|
|
27297
|
+
|
|
27298
|
+
def validate(self):
|
|
27299
|
+
return
|
|
27300
|
+
|
|
27301
|
+
def __repr__(self):
|
|
27302
|
+
L = ['%s=%r' % (key, value)
|
|
27303
|
+
for key, value in self.__dict__.items()]
|
|
27304
|
+
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
27305
|
+
|
|
27306
|
+
def __eq__(self, other):
|
|
27307
|
+
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
27308
|
+
|
|
27309
|
+
def __ne__(self, other):
|
|
27310
|
+
return not (self == other)
|
|
27311
|
+
all_structs.append(getRegionGroupsByTime_args)
|
|
27312
|
+
getRegionGroupsByTime_args.thrift_spec = ()
|
|
27313
|
+
|
|
27314
|
+
|
|
27315
|
+
class getRegionGroupsByTime_result(object):
|
|
27316
|
+
"""
|
|
27317
|
+
Attributes:
|
|
27318
|
+
- success
|
|
27319
|
+
|
|
27320
|
+
"""
|
|
27321
|
+
|
|
27322
|
+
|
|
27323
|
+
def __init__(self, success=None,):
|
|
27324
|
+
self.success = success
|
|
27325
|
+
|
|
27326
|
+
def read(self, iprot):
|
|
27327
|
+
if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
|
|
27328
|
+
iprot._fast_decode(self, iprot, [self.__class__, self.thrift_spec])
|
|
27329
|
+
return
|
|
27330
|
+
iprot.readStructBegin()
|
|
27331
|
+
while True:
|
|
27332
|
+
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
27333
|
+
if ftype == TType.STOP:
|
|
27334
|
+
break
|
|
27335
|
+
if fid == 0:
|
|
27336
|
+
if ftype == TType.STRUCT:
|
|
27337
|
+
self.success = TGetRegionGroupsByTimeResp()
|
|
27338
|
+
self.success.read(iprot)
|
|
27339
|
+
else:
|
|
27340
|
+
iprot.skip(ftype)
|
|
27341
|
+
else:
|
|
27342
|
+
iprot.skip(ftype)
|
|
27343
|
+
iprot.readFieldEnd()
|
|
27344
|
+
iprot.readStructEnd()
|
|
27345
|
+
|
|
27346
|
+
def write(self, oprot):
|
|
27347
|
+
if oprot._fast_encode is not None and self.thrift_spec is not None:
|
|
27348
|
+
oprot.trans.write(oprot._fast_encode(self, [self.__class__, self.thrift_spec]))
|
|
27349
|
+
return
|
|
27350
|
+
oprot.writeStructBegin('getRegionGroupsByTime_result')
|
|
27351
|
+
if self.success is not None:
|
|
27352
|
+
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
27353
|
+
self.success.write(oprot)
|
|
27354
|
+
oprot.writeFieldEnd()
|
|
27355
|
+
oprot.writeFieldStop()
|
|
27356
|
+
oprot.writeStructEnd()
|
|
27357
|
+
|
|
27358
|
+
def validate(self):
|
|
27359
|
+
return
|
|
27360
|
+
|
|
27361
|
+
def __repr__(self):
|
|
27362
|
+
L = ['%s=%r' % (key, value)
|
|
27363
|
+
for key, value in self.__dict__.items()]
|
|
27364
|
+
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
27365
|
+
|
|
27366
|
+
def __eq__(self, other):
|
|
27367
|
+
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
27368
|
+
|
|
27369
|
+
def __ne__(self, other):
|
|
27370
|
+
return not (self == other)
|
|
27371
|
+
all_structs.append(getRegionGroupsByTime_result)
|
|
27372
|
+
getRegionGroupsByTime_result.thrift_spec = (
|
|
27373
|
+
(0, TType.STRUCT, 'success', [TGetRegionGroupsByTimeResp, None], None, ), # 0
|
|
27374
|
+
)
|
|
27375
|
+
|
|
27376
|
+
|
|
27029
27377
|
class createCQ_args(object):
|
|
27030
27378
|
"""
|
|
27031
27379
|
Attributes:
|
|
@@ -28159,10 +28507,10 @@ class showSpaceQuota_args(object):
|
|
|
28159
28507
|
if fid == -1:
|
|
28160
28508
|
if ftype == TType.LIST:
|
|
28161
28509
|
self.databases = []
|
|
28162
|
-
(
|
|
28163
|
-
for
|
|
28164
|
-
|
|
28165
|
-
self.databases.append(
|
|
28510
|
+
(_etype920, _size917) = iprot.readListBegin()
|
|
28511
|
+
for _i921 in range(_size917):
|
|
28512
|
+
_elem922 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
|
|
28513
|
+
self.databases.append(_elem922)
|
|
28166
28514
|
iprot.readListEnd()
|
|
28167
28515
|
else:
|
|
28168
28516
|
iprot.skip(ftype)
|
|
@@ -28179,8 +28527,8 @@ class showSpaceQuota_args(object):
|
|
|
28179
28527
|
if self.databases is not None:
|
|
28180
28528
|
oprot.writeFieldBegin('databases', TType.LIST, -1)
|
|
28181
28529
|
oprot.writeListBegin(TType.STRING, len(self.databases))
|
|
28182
|
-
for
|
|
28183
|
-
oprot.writeString(
|
|
28530
|
+
for iter923 in self.databases:
|
|
28531
|
+
oprot.writeString(iter923.encode('utf-8') if sys.version_info[0] == 2 else iter923)
|
|
28184
28532
|
oprot.writeListEnd()
|
|
28185
28533
|
oprot.writeFieldEnd()
|
|
28186
28534
|
oprot.writeFieldStop()
|
|
@@ -29603,16 +29951,16 @@ class fetchTables_args(object):
|
|
|
29603
29951
|
if fid == -1:
|
|
29604
29952
|
if ftype == TType.MAP:
|
|
29605
29953
|
self.fetchTableMap = {}
|
|
29606
|
-
(
|
|
29607
|
-
for
|
|
29608
|
-
|
|
29609
|
-
|
|
29610
|
-
(
|
|
29611
|
-
for
|
|
29612
|
-
|
|
29613
|
-
|
|
29954
|
+
(_ktype925, _vtype926, _size924) = iprot.readMapBegin()
|
|
29955
|
+
for _i928 in range(_size924):
|
|
29956
|
+
_key929 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
|
|
29957
|
+
_val930 = set()
|
|
29958
|
+
(_etype934, _size931) = iprot.readSetBegin()
|
|
29959
|
+
for _i935 in range(_size931):
|
|
29960
|
+
_elem936 = iprot.readString().decode('utf-8', errors='replace') if sys.version_info[0] == 2 else iprot.readString()
|
|
29961
|
+
_val930.add(_elem936)
|
|
29614
29962
|
iprot.readSetEnd()
|
|
29615
|
-
self.fetchTableMap[
|
|
29963
|
+
self.fetchTableMap[_key929] = _val930
|
|
29616
29964
|
iprot.readMapEnd()
|
|
29617
29965
|
else:
|
|
29618
29966
|
iprot.skip(ftype)
|
|
@@ -29629,11 +29977,11 @@ class fetchTables_args(object):
|
|
|
29629
29977
|
if self.fetchTableMap is not None:
|
|
29630
29978
|
oprot.writeFieldBegin('fetchTableMap', TType.MAP, -1)
|
|
29631
29979
|
oprot.writeMapBegin(TType.STRING, TType.SET, len(self.fetchTableMap))
|
|
29632
|
-
for
|
|
29633
|
-
oprot.writeString(
|
|
29634
|
-
oprot.writeSetBegin(TType.STRING, len(
|
|
29635
|
-
for
|
|
29636
|
-
oprot.writeString(
|
|
29980
|
+
for kiter937, viter938 in self.fetchTableMap.items():
|
|
29981
|
+
oprot.writeString(kiter937.encode('utf-8') if sys.version_info[0] == 2 else kiter937)
|
|
29982
|
+
oprot.writeSetBegin(TType.STRING, len(viter938))
|
|
29983
|
+
for iter939 in viter938:
|
|
29984
|
+
oprot.writeString(iter939.encode('utf-8') if sys.version_info[0] == 2 else iter939)
|
|
29637
29985
|
oprot.writeSetEnd()
|
|
29638
29986
|
oprot.writeMapEnd()
|
|
29639
29987
|
oprot.writeFieldEnd()
|