Class: Hexspace::TCLIService::Processor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Processor
Defined in:
lib/hexspace/tcli_service.rb

Instance Method Summary collapse

Instance Method Details

#process_CancelDelegationToken(seqid, iprot, oprot) ⇒ Object



571
572
573
574
575
576
# File 'lib/hexspace/tcli_service.rb', line 571

def process_CancelDelegationToken(seqid, iprot, oprot)
  args = read_args(iprot, CancelDelegationToken_args)
  result = CancelDelegationToken_result.new()
  result.success = @handler.CancelDelegationToken(args.req)
  write_result(result, oprot, 'CancelDelegationToken', seqid)
end

#process_CancelOperation(seqid, iprot, oprot) ⇒ Object



536
537
538
539
540
541
# File 'lib/hexspace/tcli_service.rb', line 536

def process_CancelOperation(seqid, iprot, oprot)
  args = read_args(iprot, CancelOperation_args)
  result = CancelOperation_result.new()
  result.success = @handler.CancelOperation(args.req)
  write_result(result, oprot, 'CancelOperation', seqid)
end

#process_CloseOperation(seqid, iprot, oprot) ⇒ Object



543
544
545
546
547
548
# File 'lib/hexspace/tcli_service.rb', line 543

def process_CloseOperation(seqid, iprot, oprot)
  args = read_args(iprot, CloseOperation_args)
  result = CloseOperation_result.new()
  result.success = @handler.CloseOperation(args.req)
  write_result(result, oprot, 'CloseOperation', seqid)
end

#process_CloseSession(seqid, iprot, oprot) ⇒ Object



445
446
447
448
449
450
# File 'lib/hexspace/tcli_service.rb', line 445

def process_CloseSession(seqid, iprot, oprot)
  args = read_args(iprot, CloseSession_args)
  result = CloseSession_result.new()
  result.success = @handler.CloseSession(args.req)
  write_result(result, oprot, 'CloseSession', seqid)
end

#process_ExecuteStatement(seqid, iprot, oprot) ⇒ Object



459
460
461
462
463
464
# File 'lib/hexspace/tcli_service.rb', line 459

def process_ExecuteStatement(seqid, iprot, oprot)
  args = read_args(iprot, ExecuteStatement_args)
  result = ExecuteStatement_result.new()
  result.success = @handler.ExecuteStatement(args.req)
  write_result(result, oprot, 'ExecuteStatement', seqid)
end

#process_FetchResults(seqid, iprot, oprot) ⇒ Object



557
558
559
560
561
562
# File 'lib/hexspace/tcli_service.rb', line 557

def process_FetchResults(seqid, iprot, oprot)
  args = read_args(iprot, FetchResults_args)
  result = FetchResults_result.new()
  result.success = @handler.FetchResults(args.req)
  write_result(result, oprot, 'FetchResults', seqid)
end

#process_GetCatalogs(seqid, iprot, oprot) ⇒ Object



473
474
475
476
477
478
# File 'lib/hexspace/tcli_service.rb', line 473

def process_GetCatalogs(seqid, iprot, oprot)
  args = read_args(iprot, GetCatalogs_args)
  result = GetCatalogs_result.new()
  result.success = @handler.GetCatalogs(args.req)
  write_result(result, oprot, 'GetCatalogs', seqid)
end

#process_GetColumns(seqid, iprot, oprot) ⇒ Object



501
502
503
504
505
506
# File 'lib/hexspace/tcli_service.rb', line 501

def process_GetColumns(seqid, iprot, oprot)
  args = read_args(iprot, GetColumns_args)
  result = GetColumns_result.new()
  result.success = @handler.GetColumns(args.req)
  write_result(result, oprot, 'GetColumns', seqid)
end

#process_GetCrossReference(seqid, iprot, oprot) ⇒ Object



522
523
524
525
526
527
# File 'lib/hexspace/tcli_service.rb', line 522

def process_GetCrossReference(seqid, iprot, oprot)
  args = read_args(iprot, GetCrossReference_args)
  result = GetCrossReference_result.new()
  result.success = @handler.GetCrossReference(args.req)
  write_result(result, oprot, 'GetCrossReference', seqid)
end

#process_GetDelegationToken(seqid, iprot, oprot) ⇒ Object



564
565
566
567
568
569
# File 'lib/hexspace/tcli_service.rb', line 564

def process_GetDelegationToken(seqid, iprot, oprot)
  args = read_args(iprot, GetDelegationToken_args)
  result = GetDelegationToken_result.new()
  result.success = @handler.GetDelegationToken(args.req)
  write_result(result, oprot, 'GetDelegationToken', seqid)
end

#process_GetFunctions(seqid, iprot, oprot) ⇒ Object



508
509
510
511
512
513
# File 'lib/hexspace/tcli_service.rb', line 508

def process_GetFunctions(seqid, iprot, oprot)
  args = read_args(iprot, GetFunctions_args)
  result = GetFunctions_result.new()
  result.success = @handler.GetFunctions(args.req)
  write_result(result, oprot, 'GetFunctions', seqid)
end

#process_GetInfo(seqid, iprot, oprot) ⇒ Object



452
453
454
455
456
457
# File 'lib/hexspace/tcli_service.rb', line 452

def process_GetInfo(seqid, iprot, oprot)
  args = read_args(iprot, GetInfo_args)
  result = GetInfo_result.new()
  result.success = @handler.GetInfo(args.req)
  write_result(result, oprot, 'GetInfo', seqid)
end

#process_GetOperationStatus(seqid, iprot, oprot) ⇒ Object



529
530
531
532
533
534
# File 'lib/hexspace/tcli_service.rb', line 529

def process_GetOperationStatus(seqid, iprot, oprot)
  args = read_args(iprot, GetOperationStatus_args)
  result = GetOperationStatus_result.new()
  result.success = @handler.GetOperationStatus(args.req)
  write_result(result, oprot, 'GetOperationStatus', seqid)
end

#process_GetPrimaryKeys(seqid, iprot, oprot) ⇒ Object



515
516
517
518
519
520
# File 'lib/hexspace/tcli_service.rb', line 515

def process_GetPrimaryKeys(seqid, iprot, oprot)
  args = read_args(iprot, GetPrimaryKeys_args)
  result = GetPrimaryKeys_result.new()
  result.success = @handler.GetPrimaryKeys(args.req)
  write_result(result, oprot, 'GetPrimaryKeys', seqid)
end

#process_GetResultSetMetadata(seqid, iprot, oprot) ⇒ Object



550
551
552
553
554
555
# File 'lib/hexspace/tcli_service.rb', line 550

def (seqid, iprot, oprot)
  args = read_args(iprot, GetResultSetMetadata_args)
  result = GetResultSetMetadata_result.new()
  result.success = @handler.GetResultSetMetadata(args.req)
  write_result(result, oprot, 'GetResultSetMetadata', seqid)
end

#process_GetSchemas(seqid, iprot, oprot) ⇒ Object



480
481
482
483
484
485
# File 'lib/hexspace/tcli_service.rb', line 480

def process_GetSchemas(seqid, iprot, oprot)
  args = read_args(iprot, GetSchemas_args)
  result = GetSchemas_result.new()
  result.success = @handler.GetSchemas(args.req)
  write_result(result, oprot, 'GetSchemas', seqid)
end

#process_GetTables(seqid, iprot, oprot) ⇒ Object



487
488
489
490
491
492
# File 'lib/hexspace/tcli_service.rb', line 487

def process_GetTables(seqid, iprot, oprot)
  args = read_args(iprot, GetTables_args)
  result = GetTables_result.new()
  result.success = @handler.GetTables(args.req)
  write_result(result, oprot, 'GetTables', seqid)
end

#process_GetTableTypes(seqid, iprot, oprot) ⇒ Object



494
495
496
497
498
499
# File 'lib/hexspace/tcli_service.rb', line 494

def process_GetTableTypes(seqid, iprot, oprot)
  args = read_args(iprot, GetTableTypes_args)
  result = GetTableTypes_result.new()
  result.success = @handler.GetTableTypes(args.req)
  write_result(result, oprot, 'GetTableTypes', seqid)
end

#process_GetTypeInfo(seqid, iprot, oprot) ⇒ Object



466
467
468
469
470
471
# File 'lib/hexspace/tcli_service.rb', line 466

def process_GetTypeInfo(seqid, iprot, oprot)
  args = read_args(iprot, GetTypeInfo_args)
  result = GetTypeInfo_result.new()
  result.success = @handler.GetTypeInfo(args.req)
  write_result(result, oprot, 'GetTypeInfo', seqid)
end

#process_OpenSession(seqid, iprot, oprot) ⇒ Object



438
439
440
441
442
443
# File 'lib/hexspace/tcli_service.rb', line 438

def process_OpenSession(seqid, iprot, oprot)
  args = read_args(iprot, OpenSession_args)
  result = OpenSession_result.new()
  result.success = @handler.OpenSession(args.req)
  write_result(result, oprot, 'OpenSession', seqid)
end

#process_RenewDelegationToken(seqid, iprot, oprot) ⇒ Object



578
579
580
581
582
583
# File 'lib/hexspace/tcli_service.rb', line 578

def process_RenewDelegationToken(seqid, iprot, oprot)
  args = read_args(iprot, RenewDelegationToken_args)
  result = RenewDelegationToken_result.new()
  result.success = @handler.RenewDelegationToken(args.req)
  write_result(result, oprot, 'RenewDelegationToken', seqid)
end