Class: Hive2::Thrift::TCLIService::Client

Inherits:
Object
  • Object
show all
Includes:
Thrift::Client
Defined in:
lib/thrift/t_c_l_i_service.rb

Instance Method Summary collapse

Instance Method Details

#CancelDelegationToken(req) ⇒ Object


271
272
273
274
# File 'lib/thrift/t_c_l_i_service.rb', line 271

def CancelDelegationToken(req)
  send_CancelDelegationToken(req)
  return recv_CancelDelegationToken()
end

#CancelOperation(req) ⇒ Object


196
197
198
199
# File 'lib/thrift/t_c_l_i_service.rb', line 196

def CancelOperation(req)
  send_CancelOperation(req)
  return recv_CancelOperation()
end

#CloseOperation(req) ⇒ Object


211
212
213
214
# File 'lib/thrift/t_c_l_i_service.rb', line 211

def CloseOperation(req)
  send_CloseOperation(req)
  return recv_CloseOperation()
end

#CloseSession(req) ⇒ Object


31
32
33
34
# File 'lib/thrift/t_c_l_i_service.rb', line 31

def CloseSession(req)
  send_CloseSession(req)
  return recv_CloseSession()
end

#ExecuteStatement(req) ⇒ Object


61
62
63
64
# File 'lib/thrift/t_c_l_i_service.rb', line 61

def ExecuteStatement(req)
  send_ExecuteStatement(req)
  return recv_ExecuteStatement()
end

#FetchResults(req) ⇒ Object


241
242
243
244
# File 'lib/thrift/t_c_l_i_service.rb', line 241

def FetchResults(req)
  send_FetchResults(req)
  return recv_FetchResults()
end

#GetCatalogs(req) ⇒ Object


91
92
93
94
# File 'lib/thrift/t_c_l_i_service.rb', line 91

def GetCatalogs(req)
  send_GetCatalogs(req)
  return recv_GetCatalogs()
end

#GetColumns(req) ⇒ Object


151
152
153
154
# File 'lib/thrift/t_c_l_i_service.rb', line 151

def GetColumns(req)
  send_GetColumns(req)
  return recv_GetColumns()
end

#GetDelegationToken(req) ⇒ Object


256
257
258
259
# File 'lib/thrift/t_c_l_i_service.rb', line 256

def GetDelegationToken(req)
  send_GetDelegationToken(req)
  return recv_GetDelegationToken()
end

#GetFunctions(req) ⇒ Object


166
167
168
169
# File 'lib/thrift/t_c_l_i_service.rb', line 166

def GetFunctions(req)
  send_GetFunctions(req)
  return recv_GetFunctions()
end

#GetInfo(req) ⇒ Object


46
47
48
49
# File 'lib/thrift/t_c_l_i_service.rb', line 46

def GetInfo(req)
  send_GetInfo(req)
  return recv_GetInfo()
end

#GetOperationStatus(req) ⇒ Object


181
182
183
184
# File 'lib/thrift/t_c_l_i_service.rb', line 181

def GetOperationStatus(req)
  send_GetOperationStatus(req)
  return recv_GetOperationStatus()
end

#GetResultSetMetadata(req) ⇒ Object


226
227
228
229
# File 'lib/thrift/t_c_l_i_service.rb', line 226

def GetResultSetMetadata(req)
  (req)
  return ()
end

#GetSchemas(req) ⇒ Object


106
107
108
109
# File 'lib/thrift/t_c_l_i_service.rb', line 106

def GetSchemas(req)
  send_GetSchemas(req)
  return recv_GetSchemas()
end

#GetTables(req) ⇒ Object


121
122
123
124
# File 'lib/thrift/t_c_l_i_service.rb', line 121

def GetTables(req)
  send_GetTables(req)
  return recv_GetTables()
end

#GetTableTypes(req) ⇒ Object


136
137
138
139
# File 'lib/thrift/t_c_l_i_service.rb', line 136

def GetTableTypes(req)
  send_GetTableTypes(req)
  return recv_GetTableTypes()
end

#GetTypeInfo(req) ⇒ Object


76
77
78
79
# File 'lib/thrift/t_c_l_i_service.rb', line 76

def GetTypeInfo(req)
  send_GetTypeInfo(req)
  return recv_GetTypeInfo()
end

#OpenSession(req) ⇒ Object


16
17
18
19
# File 'lib/thrift/t_c_l_i_service.rb', line 16

def OpenSession(req)
  send_OpenSession(req)
  return recv_OpenSession()
end

#recv_CancelDelegationTokenObject

Raises:

  • (::Thrift::ApplicationException)

280
281
282
283
284
# File 'lib/thrift/t_c_l_i_service.rb', line 280

def recv_CancelDelegationToken()
  result = receive_message(CancelDelegationToken_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CancelDelegationToken failed: unknown result')
end

#recv_CancelOperationObject

Raises:

  • (::Thrift::ApplicationException)

205
206
207
208
209
# File 'lib/thrift/t_c_l_i_service.rb', line 205

def recv_CancelOperation()
  result = receive_message(CancelOperation_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CancelOperation failed: unknown result')
end

#recv_CloseOperationObject

Raises:

  • (::Thrift::ApplicationException)

220
221
222
223
224
# File 'lib/thrift/t_c_l_i_service.rb', line 220

def recv_CloseOperation()
  result = receive_message(CloseOperation_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CloseOperation failed: unknown result')
end

#recv_CloseSessionObject

Raises:

  • (::Thrift::ApplicationException)

40
41
42
43
44
# File 'lib/thrift/t_c_l_i_service.rb', line 40

def recv_CloseSession()
  result = receive_message(CloseSession_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'CloseSession failed: unknown result')
end

#recv_ExecuteStatementObject

Raises:

  • (::Thrift::ApplicationException)

70
71
72
73
74
# File 'lib/thrift/t_c_l_i_service.rb', line 70

def recv_ExecuteStatement()
  result = receive_message(ExecuteStatement_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'ExecuteStatement failed: unknown result')
end

#recv_FetchResultsObject

Raises:

  • (::Thrift::ApplicationException)

250
251
252
253
254
# File 'lib/thrift/t_c_l_i_service.rb', line 250

def recv_FetchResults()
  result = receive_message(FetchResults_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'FetchResults failed: unknown result')
end

#recv_GetCatalogsObject

Raises:

  • (::Thrift::ApplicationException)

100
101
102
103
104
# File 'lib/thrift/t_c_l_i_service.rb', line 100

def recv_GetCatalogs()
  result = receive_message(GetCatalogs_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetCatalogs failed: unknown result')
end

#recv_GetColumnsObject

Raises:

  • (::Thrift::ApplicationException)

160
161
162
163
164
# File 'lib/thrift/t_c_l_i_service.rb', line 160

def recv_GetColumns()
  result = receive_message(GetColumns_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetColumns failed: unknown result')
end

#recv_GetDelegationTokenObject

Raises:

  • (::Thrift::ApplicationException)

265
266
267
268
269
# File 'lib/thrift/t_c_l_i_service.rb', line 265

def recv_GetDelegationToken()
  result = receive_message(GetDelegationToken_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetDelegationToken failed: unknown result')
end

#recv_GetFunctionsObject

Raises:

  • (::Thrift::ApplicationException)

175
176
177
178
179
# File 'lib/thrift/t_c_l_i_service.rb', line 175

def recv_GetFunctions()
  result = receive_message(GetFunctions_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetFunctions failed: unknown result')
end

#recv_GetInfoObject

Raises:

  • (::Thrift::ApplicationException)

55
56
57
58
59
# File 'lib/thrift/t_c_l_i_service.rb', line 55

def recv_GetInfo()
  result = receive_message(GetInfo_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetInfo failed: unknown result')
end

#recv_GetOperationStatusObject

Raises:

  • (::Thrift::ApplicationException)

190
191
192
193
194
# File 'lib/thrift/t_c_l_i_service.rb', line 190

def recv_GetOperationStatus()
  result = receive_message(GetOperationStatus_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetOperationStatus failed: unknown result')
end

#recv_GetResultSetMetadataObject

Raises:

  • (::Thrift::ApplicationException)

235
236
237
238
239
# File 'lib/thrift/t_c_l_i_service.rb', line 235

def ()
  result = receive_message(GetResultSetMetadata_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetResultSetMetadata failed: unknown result')
end

#recv_GetSchemasObject

Raises:

  • (::Thrift::ApplicationException)

115
116
117
118
119
# File 'lib/thrift/t_c_l_i_service.rb', line 115

def recv_GetSchemas()
  result = receive_message(GetSchemas_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetSchemas failed: unknown result')
end

#recv_GetTablesObject

Raises:

  • (::Thrift::ApplicationException)

130
131
132
133
134
# File 'lib/thrift/t_c_l_i_service.rb', line 130

def recv_GetTables()
  result = receive_message(GetTables_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTables failed: unknown result')
end

#recv_GetTableTypesObject

Raises:

  • (::Thrift::ApplicationException)

145
146
147
148
149
# File 'lib/thrift/t_c_l_i_service.rb', line 145

def recv_GetTableTypes()
  result = receive_message(GetTableTypes_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTableTypes failed: unknown result')
end

#recv_GetTypeInfoObject

Raises:

  • (::Thrift::ApplicationException)

85
86
87
88
89
# File 'lib/thrift/t_c_l_i_service.rb', line 85

def recv_GetTypeInfo()
  result = receive_message(GetTypeInfo_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetTypeInfo failed: unknown result')
end

#recv_OpenSessionObject

Raises:

  • (::Thrift::ApplicationException)

25
26
27
28
29
# File 'lib/thrift/t_c_l_i_service.rb', line 25

def recv_OpenSession()
  result = receive_message(OpenSession_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'OpenSession failed: unknown result')
end

#recv_RenewDelegationTokenObject

Raises:

  • (::Thrift::ApplicationException)

295
296
297
298
299
# File 'lib/thrift/t_c_l_i_service.rb', line 295

def recv_RenewDelegationToken()
  result = receive_message(RenewDelegationToken_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'RenewDelegationToken failed: unknown result')
end

#RenewDelegationToken(req) ⇒ Object


286
287
288
289
# File 'lib/thrift/t_c_l_i_service.rb', line 286

def RenewDelegationToken(req)
  send_RenewDelegationToken(req)
  return recv_RenewDelegationToken()
end

#send_CancelDelegationToken(req) ⇒ Object


276
277
278
# File 'lib/thrift/t_c_l_i_service.rb', line 276

def send_CancelDelegationToken(req)
  send_message('CancelDelegationToken', CancelDelegationToken_args, :req => req)
end

#send_CancelOperation(req) ⇒ Object


201
202
203
# File 'lib/thrift/t_c_l_i_service.rb', line 201

def send_CancelOperation(req)
  send_message('CancelOperation', CancelOperation_args, :req => req)
end

#send_CloseOperation(req) ⇒ Object


216
217
218
# File 'lib/thrift/t_c_l_i_service.rb', line 216

def send_CloseOperation(req)
  send_message('CloseOperation', CloseOperation_args, :req => req)
end

#send_CloseSession(req) ⇒ Object


36
37
38
# File 'lib/thrift/t_c_l_i_service.rb', line 36

def send_CloseSession(req)
  send_message('CloseSession', CloseSession_args, :req => req)
end

#send_ExecuteStatement(req) ⇒ Object


66
67
68
# File 'lib/thrift/t_c_l_i_service.rb', line 66

def send_ExecuteStatement(req)
  send_message('ExecuteStatement', ExecuteStatement_args, :req => req)
end

#send_FetchResults(req) ⇒ Object


246
247
248
# File 'lib/thrift/t_c_l_i_service.rb', line 246

def send_FetchResults(req)
  send_message('FetchResults', FetchResults_args, :req => req)
end

#send_GetCatalogs(req) ⇒ Object


96
97
98
# File 'lib/thrift/t_c_l_i_service.rb', line 96

def send_GetCatalogs(req)
  send_message('GetCatalogs', GetCatalogs_args, :req => req)
end

#send_GetColumns(req) ⇒ Object


156
157
158
# File 'lib/thrift/t_c_l_i_service.rb', line 156

def send_GetColumns(req)
  send_message('GetColumns', GetColumns_args, :req => req)
end

#send_GetDelegationToken(req) ⇒ Object


261
262
263
# File 'lib/thrift/t_c_l_i_service.rb', line 261

def send_GetDelegationToken(req)
  send_message('GetDelegationToken', GetDelegationToken_args, :req => req)
end

#send_GetFunctions(req) ⇒ Object


171
172
173
# File 'lib/thrift/t_c_l_i_service.rb', line 171

def send_GetFunctions(req)
  send_message('GetFunctions', GetFunctions_args, :req => req)
end

#send_GetInfo(req) ⇒ Object


51
52
53
# File 'lib/thrift/t_c_l_i_service.rb', line 51

def send_GetInfo(req)
  send_message('GetInfo', GetInfo_args, :req => req)
end

#send_GetOperationStatus(req) ⇒ Object


186
187
188
# File 'lib/thrift/t_c_l_i_service.rb', line 186

def send_GetOperationStatus(req)
  send_message('GetOperationStatus', GetOperationStatus_args, :req => req)
end

#send_GetResultSetMetadata(req) ⇒ Object


231
232
233
# File 'lib/thrift/t_c_l_i_service.rb', line 231

def (req)
  send_message('GetResultSetMetadata', GetResultSetMetadata_args, :req => req)
end

#send_GetSchemas(req) ⇒ Object


111
112
113
# File 'lib/thrift/t_c_l_i_service.rb', line 111

def send_GetSchemas(req)
  send_message('GetSchemas', GetSchemas_args, :req => req)
end

#send_GetTables(req) ⇒ Object


126
127
128
# File 'lib/thrift/t_c_l_i_service.rb', line 126

def send_GetTables(req)
  send_message('GetTables', GetTables_args, :req => req)
end

#send_GetTableTypes(req) ⇒ Object


141
142
143
# File 'lib/thrift/t_c_l_i_service.rb', line 141

def send_GetTableTypes(req)
  send_message('GetTableTypes', GetTableTypes_args, :req => req)
end

#send_GetTypeInfo(req) ⇒ Object


81
82
83
# File 'lib/thrift/t_c_l_i_service.rb', line 81

def send_GetTypeInfo(req)
  send_message('GetTypeInfo', GetTypeInfo_args, :req => req)
end

#send_OpenSession(req) ⇒ Object


21
22
23
# File 'lib/thrift/t_c_l_i_service.rb', line 21

def send_OpenSession(req)
  send_message('OpenSession', OpenSession_args, :req => req)
end

#send_RenewDelegationToken(req) ⇒ Object


291
292
293
# File 'lib/thrift/t_c_l_i_service.rb', line 291

def send_RenewDelegationToken(req)
  send_message('RenewDelegationToken', RenewDelegationToken_args, :req => req)
end