class Impala::Protocol::Beeswax::BeeswaxService::Get_state_result

Constants

ERROR
FIELDS
SUCCESS

Public Instance Methods

struct_fields() click to toggle source
# File lib/impala/protocol/beeswax_service.rb, line 504
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/impala/protocol/beeswax_service.rb, line 506
def validate
  unless @success.nil? || ::Impala::Protocol::Beeswax::QueryState::VALID_VALUES.include?(@success)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field success!')
  end
end