Class: AppMap::Rails::SQLHandler::SQLReturn

Inherits:
Trace::MethodReturnIgnoreValue show all
Defined in:
lib/appmap/rails/sql_handler.rb

Constant Summary

Constants inherited from Trace::MethodEvent

Trace::MethodEvent::COUNTER_LOCK, Trace::MethodEvent::LIMIT

Instance Attribute Summary

Attributes inherited from Trace::MethodReturnIgnoreValue

#elapsed, #parent_id

Attributes inherited from Trace::MethodEventStruct

#defined_class, #event, #id, #lineno, #method_id, #path, #static, #thread_id

Instance Method Summary collapse

Methods inherited from Trace::MethodReturnIgnoreValue

build_from_tracepoint, #to_h

Methods inherited from Trace::MethodEvent

build_from_tracepoint, display_string, next_id, value_in_binding

Constructor Details

#initialize(path, lineno, parent_id, elapsed) ⇒ SQLReturn

Returns a new instance of SQLReturn.



30
31
32
33
34
35
# File 'lib/appmap/rails/sql_handler.rb', line 30

def initialize(path, lineno, parent_id, elapsed)
  super AppMap::Trace::MethodEvent.next_id, :return, SQLHandler, :call, path, lineno, false, Thread.current.object_id

  self.parent_id = parent_id
  self.elapsed = elapsed
end