Class: Impala::Protocol::TRuntimeProfileTree

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/impala/protocol/runtime_profile_types.rb

Constant Summary collapse

NODES =
1
FIELDS =
{
NODES => { :type => ::Thrift::Types::LIST, :name => 'nodes', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::TRuntimeProfileNode } }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



87
# File 'lib/impala/protocol/runtime_profile_types.rb', line 87

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


89
90
91
# File 'lib/impala/protocol/runtime_profile_types.rb', line 89

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field nodes is unset!') unless @nodes
end