Class: ElasticSearch::Thrift::Rest::Processor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Processor
Defined in:
lib/elasticsearch/transport/thrift/rest.rb

Instance Method Summary collapse

Instance Method Details

#process_execute(seqid, iprot, oprot) ⇒ Object



36
37
38
39
40
41
# File 'lib/elasticsearch/transport/thrift/rest.rb', line 36

def process_execute(seqid, iprot, oprot)
  args = read_args(iprot, Execute_args)
  result = Execute_result.new()
  result.success = @handler.execute(args.request)
  write_result(result, oprot, 'execute', seqid)
end