@@ -127,7 +127,7 @@ def alterStorageEngine(self, req):
127
127
"""
128
128
pass
129
129
130
- def removeHistoryDataSource (self , req ):
130
+ def removeStorageEngine (self , req ):
131
131
"""
132
132
Parameters:
133
133
- req
@@ -719,37 +719,37 @@ def recv_alterStorageEngine(self):
719
719
return result .success
720
720
raise TApplicationException (TApplicationException .MISSING_RESULT , "alterStorageEngine failed: unknown result" )
721
721
722
- def removeHistoryDataSource (self , req ):
722
+ def removeStorageEngine (self , req ):
723
723
"""
724
724
Parameters:
725
725
- req
726
726
727
727
"""
728
- self .send_removeHistoryDataSource (req )
729
- return self .recv_removeHistoryDataSource ()
728
+ self .send_removeStorageEngine (req )
729
+ return self .recv_removeStorageEngine ()
730
730
731
- def send_removeHistoryDataSource (self , req ):
732
- self ._oprot .writeMessageBegin ('removeHistoryDataSource ' , TMessageType .CALL , self ._seqid )
733
- args = removeHistoryDataSource_args ()
731
+ def send_removeStorageEngine (self , req ):
732
+ self ._oprot .writeMessageBegin ('removeStorageEngine ' , TMessageType .CALL , self ._seqid )
733
+ args = removeStorageEngine_args ()
734
734
args .req = req
735
735
args .write (self ._oprot )
736
736
self ._oprot .writeMessageEnd ()
737
737
self ._oprot .trans .flush ()
738
738
739
- def recv_removeHistoryDataSource (self ):
739
+ def recv_removeStorageEngine (self ):
740
740
iprot = self ._iprot
741
741
(fname , mtype , rseqid ) = iprot .readMessageBegin ()
742
742
if mtype == TMessageType .EXCEPTION :
743
743
x = TApplicationException ()
744
744
x .read (iprot )
745
745
iprot .readMessageEnd ()
746
746
raise x
747
- result = removeHistoryDataSource_result ()
747
+ result = removeStorageEngine_result ()
748
748
result .read (iprot )
749
749
iprot .readMessageEnd ()
750
750
if result .success is not None :
751
751
return result .success
752
- raise TApplicationException (TApplicationException .MISSING_RESULT , "removeHistoryDataSource failed: unknown result" )
752
+ raise TApplicationException (TApplicationException .MISSING_RESULT , "removeStorageEngine failed: unknown result" )
753
753
754
754
def aggregateQuery (self , req ):
755
755
"""
@@ -1663,7 +1663,7 @@ def __init__(self, handler):
1663
1663
self ._processMap ["queryData" ] = Processor .process_queryData
1664
1664
self ._processMap ["addStorageEngines" ] = Processor .process_addStorageEngines
1665
1665
self ._processMap ["alterStorageEngine" ] = Processor .process_alterStorageEngine
1666
- self ._processMap ["removeHistoryDataSource " ] = Processor .process_removeHistoryDataSource
1666
+ self ._processMap ["removeStorageEngine " ] = Processor .process_removeStorageEngine
1667
1667
self ._processMap ["aggregateQuery" ] = Processor .process_aggregateQuery
1668
1668
self ._processMap ["lastQuery" ] = Processor .process_lastQuery
1669
1669
self ._processMap ["downsampleQuery" ] = Processor .process_downsampleQuery
@@ -1967,13 +1967,13 @@ def process_alterStorageEngine(self, seqid, iprot, oprot):
1967
1967
oprot .writeMessageEnd ()
1968
1968
oprot .trans .flush ()
1969
1969
1970
- def process_removeHistoryDataSource (self , seqid , iprot , oprot ):
1971
- args = removeHistoryDataSource_args ()
1970
+ def process_removeStorageEngine (self , seqid , iprot , oprot ):
1971
+ args = removeStorageEngine_args ()
1972
1972
args .read (iprot )
1973
1973
iprot .readMessageEnd ()
1974
- result = removeHistoryDataSource_result ()
1974
+ result = removeStorageEngine_result ()
1975
1975
try :
1976
- result .success = self ._handler .removeHistoryDataSource (args .req )
1976
+ result .success = self ._handler .removeStorageEngine (args .req )
1977
1977
msg_type = TMessageType .REPLY
1978
1978
except TTransport .TTransportException :
1979
1979
raise
@@ -1985,7 +1985,7 @@ def process_removeHistoryDataSource(self, seqid, iprot, oprot):
1985
1985
logging .exception ('Unexpected exception in handler' )
1986
1986
msg_type = TMessageType .EXCEPTION
1987
1987
result = TApplicationException (TApplicationException .INTERNAL_ERROR , 'Internal error' )
1988
- oprot .writeMessageBegin ("removeHistoryDataSource " , msg_type , seqid )
1988
+ oprot .writeMessageBegin ("removeStorageEngine " , msg_type , seqid )
1989
1989
result .write (oprot )
1990
1990
oprot .writeMessageEnd ()
1991
1991
oprot .trans .flush ()
@@ -4012,7 +4012,7 @@ def __ne__(self, other):
4012
4012
)
4013
4013
4014
4014
4015
- class removeHistoryDataSource_args (object ):
4015
+ class removeStorageEngine_args (object ):
4016
4016
"""
4017
4017
Attributes:
4018
4018
- req
@@ -4034,7 +4034,7 @@ def read(self, iprot):
4034
4034
break
4035
4035
if fid == 1 :
4036
4036
if ftype == TType .STRUCT :
4037
- self .req = RemoveHistoryDataSourceReq ()
4037
+ self .req = RemoveStorageEngineReq ()
4038
4038
self .req .read (iprot )
4039
4039
else :
4040
4040
iprot .skip (ftype )
@@ -4047,7 +4047,7 @@ def write(self, oprot):
4047
4047
if oprot ._fast_encode is not None and self .thrift_spec is not None :
4048
4048
oprot .trans .write (oprot ._fast_encode (self , [self .__class__ , self .thrift_spec ]))
4049
4049
return
4050
- oprot .writeStructBegin ('removeHistoryDataSource_args ' )
4050
+ oprot .writeStructBegin ('removeStorageEngine_args ' )
4051
4051
if self .req is not None :
4052
4052
oprot .writeFieldBegin ('req' , TType .STRUCT , 1 )
4053
4053
self .req .write (oprot )
@@ -4068,14 +4068,14 @@ def __eq__(self, other):
4068
4068
4069
4069
def __ne__ (self , other ):
4070
4070
return not (self == other )
4071
- all_structs .append (removeHistoryDataSource_args )
4072
- removeHistoryDataSource_args .thrift_spec = (
4071
+ all_structs .append (removeStorageEngine_args )
4072
+ removeStorageEngine_args .thrift_spec = (
4073
4073
None , # 0
4074
- (1 , TType .STRUCT , 'req' , [RemoveHistoryDataSourceReq , None ], None , ), # 1
4074
+ (1 , TType .STRUCT , 'req' , [RemoveStorageEngineReq , None ], None , ), # 1
4075
4075
)
4076
4076
4077
4077
4078
- class removeHistoryDataSource_result (object ):
4078
+ class removeStorageEngine_result (object ):
4079
4079
"""
4080
4080
Attributes:
4081
4081
- success
@@ -4110,7 +4110,7 @@ def write(self, oprot):
4110
4110
if oprot ._fast_encode is not None and self .thrift_spec is not None :
4111
4111
oprot .trans .write (oprot ._fast_encode (self , [self .__class__ , self .thrift_spec ]))
4112
4112
return
4113
- oprot .writeStructBegin ('removeHistoryDataSource_result ' )
4113
+ oprot .writeStructBegin ('removeStorageEngine_result ' )
4114
4114
if self .success is not None :
4115
4115
oprot .writeFieldBegin ('success' , TType .STRUCT , 0 )
4116
4116
self .success .write (oprot )
@@ -4131,8 +4131,8 @@ def __eq__(self, other):
4131
4131
4132
4132
def __ne__ (self , other ):
4133
4133
return not (self == other )
4134
- all_structs .append (removeHistoryDataSource_result )
4135
- removeHistoryDataSource_result .thrift_spec = (
4134
+ all_structs .append (removeStorageEngine_result )
4135
+ removeStorageEngine_result .thrift_spec = (
4136
4136
(0 , TType .STRUCT , 'success' , [Status , None ], None , ), # 0
4137
4137
)
4138
4138
0 commit comments