class Impala::Protocol::TExecSummary

Constants

ERROR_LOGS
EXCH_TO_SENDER_MAP
FIELDS
NODES
PROGRESS
STATE
STATUS

Public Instance Methods

struct_fields() click to toggle source
    # File lib/impala/protocol/exec_stats_types.rb
120 def struct_fields; FIELDS; end
validate() click to toggle source
    # File lib/impala/protocol/exec_stats_types.rb
122 def validate
123   raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field state is unset!') unless @state
124   unless @state.nil? || ::Impala::Protocol::TExecState::VALID_VALUES.include?(@state)
125     raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field state!')
126   end
127 end