Class: Impala::Protocol::Fb303::FacebookService::Processor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Processor
Defined in:
lib/impala/protocol/facebook_service.rb

Instance Method Summary collapse

Instance Method Details

#process_aliveSince(seqid, iprot, oprot) ⇒ Object



270
271
272
273
274
275
# File 'lib/impala/protocol/facebook_service.rb', line 270

def process_aliveSince(seqid, iprot, oprot)
  args = read_args(iprot, AliveSince_args)
  result = AliveSince_result.new()
  result.success = @handler.aliveSince()
  write_result(result, oprot, 'aliveSince', seqid)
end

#process_getCounter(seqid, iprot, oprot) ⇒ Object



235
236
237
238
239
240
# File 'lib/impala/protocol/facebook_service.rb', line 235

def process_getCounter(seqid, iprot, oprot)
  args = read_args(iprot, GetCounter_args)
  result = GetCounter_result.new()
  result.success = @handler.getCounter(args.key)
  write_result(result, oprot, 'getCounter', seqid)
end

#process_getCounters(seqid, iprot, oprot) ⇒ Object



228
229
230
231
232
233
# File 'lib/impala/protocol/facebook_service.rb', line 228

def process_getCounters(seqid, iprot, oprot)
  args = read_args(iprot, GetCounters_args)
  result = GetCounters_result.new()
  result.success = @handler.getCounters()
  write_result(result, oprot, 'getCounters', seqid)
end

#process_getCpuProfile(seqid, iprot, oprot) ⇒ Object



263
264
265
266
267
268
# File 'lib/impala/protocol/facebook_service.rb', line 263

def process_getCpuProfile(seqid, iprot, oprot)
  args = read_args(iprot, GetCpuProfile_args)
  result = GetCpuProfile_result.new()
  result.success = @handler.getCpuProfile(args.profileDurationInSec)
  write_result(result, oprot, 'getCpuProfile', seqid)
end

#process_getName(seqid, iprot, oprot) ⇒ Object



200
201
202
203
204
205
# File 'lib/impala/protocol/facebook_service.rb', line 200

def process_getName(seqid, iprot, oprot)
  args = read_args(iprot, GetName_args)
  result = GetName_result.new()
  result.success = @handler.getName()
  write_result(result, oprot, 'getName', seqid)
end

#process_getOption(seqid, iprot, oprot) ⇒ Object



249
250
251
252
253
254
# File 'lib/impala/protocol/facebook_service.rb', line 249

def process_getOption(seqid, iprot, oprot)
  args = read_args(iprot, GetOption_args)
  result = GetOption_result.new()
  result.success = @handler.getOption(args.key)
  write_result(result, oprot, 'getOption', seqid)
end

#process_getOptions(seqid, iprot, oprot) ⇒ Object



256
257
258
259
260
261
# File 'lib/impala/protocol/facebook_service.rb', line 256

def process_getOptions(seqid, iprot, oprot)
  args = read_args(iprot, GetOptions_args)
  result = GetOptions_result.new()
  result.success = @handler.getOptions()
  write_result(result, oprot, 'getOptions', seqid)
end

#process_getStatus(seqid, iprot, oprot) ⇒ Object



214
215
216
217
218
219
# File 'lib/impala/protocol/facebook_service.rb', line 214

def process_getStatus(seqid, iprot, oprot)
  args = read_args(iprot, GetStatus_args)
  result = GetStatus_result.new()
  result.success = @handler.getStatus()
  write_result(result, oprot, 'getStatus', seqid)
end

#process_getStatusDetails(seqid, iprot, oprot) ⇒ Object



221
222
223
224
225
226
# File 'lib/impala/protocol/facebook_service.rb', line 221

def process_getStatusDetails(seqid, iprot, oprot)
  args = read_args(iprot, GetStatusDetails_args)
  result = GetStatusDetails_result.new()
  result.success = @handler.getStatusDetails()
  write_result(result, oprot, 'getStatusDetails', seqid)
end

#process_getVersion(seqid, iprot, oprot) ⇒ Object



207
208
209
210
211
212
# File 'lib/impala/protocol/facebook_service.rb', line 207

def process_getVersion(seqid, iprot, oprot)
  args = read_args(iprot, GetVersion_args)
  result = GetVersion_result.new()
  result.success = @handler.getVersion()
  write_result(result, oprot, 'getVersion', seqid)
end

#process_reinitialize(seqid, iprot, oprot) ⇒ Object



277
278
279
280
281
# File 'lib/impala/protocol/facebook_service.rb', line 277

def process_reinitialize(seqid, iprot, oprot)
  args = read_args(iprot, Reinitialize_args)
  @handler.reinitialize()
  return
end

#process_setOption(seqid, iprot, oprot) ⇒ Object



242
243
244
245
246
247
# File 'lib/impala/protocol/facebook_service.rb', line 242

def process_setOption(seqid, iprot, oprot)
  args = read_args(iprot, SetOption_args)
  result = SetOption_result.new()
  @handler.setOption(args.key, args.value)
  write_result(result, oprot, 'setOption', seqid)
end

#process_shutdown(seqid, iprot, oprot) ⇒ Object



283
284
285
286
287
# File 'lib/impala/protocol/facebook_service.rb', line 283

def process_shutdown(seqid, iprot, oprot)
  args = read_args(iprot, Shutdown_args)
  @handler.shutdown()
  return
end