Class: Hadoop::API::StackTraceElement

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/common_types.rb

Overview

A single stack frame in a stack dump

Constant Summary collapse

CLASSNAME =
1
FILENAME =
2
LINENUMBER =
3
METHODNAME =
4
ISNATIVEMETHOD =
5
STRINGREPRESENTATION =
6
FIELDS =
{
  CLASSNAME => {:type => ::Thrift::Types::STRING, :name => 'className'},
  FILENAME => {:type => ::Thrift::Types::STRING, :name => 'fileName'},
  LINENUMBER => {:type => ::Thrift::Types::I32, :name => 'lineNumber'},
  METHODNAME => {:type => ::Thrift::Types::STRING, :name => 'methodName'},
  ISNATIVEMETHOD => {:type => ::Thrift::Types::BOOL, :name => 'isNativeMethod'},
  STRINGREPRESENTATION => {:type => ::Thrift::Types::STRING, :name => 'stringRepresentation'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



80
# File 'lib/thrift/common_types.rb', line 80

def struct_fields; FIELDS; end

#validateObject



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

def validate
end