Class: Impala::Protocol::TImpalaPlanServiceException

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

Constant Summary collapse

MSG =
1
FIELDS =
{
MSG => { :type => ::Thrift::Types::STRING, :name => 'msg' }
}

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ TImpalaPlanServiceException

Returns a new instance of TImpalaPlanServiceException.



14
15
16
17
# File 'lib/impala/protocol/impala_plan_service_types.rb', line 14

def initialize(message=nil)
  super()
  self.msg = message
end

Instance Method Details

#messageObject



19
# File 'lib/impala/protocol/impala_plan_service_types.rb', line 19

def message; msg end

#struct_fieldsObject



27
# File 'lib/impala/protocol/impala_plan_service_types.rb', line 27

def struct_fields; FIELDS; end

#validateObject



29
30
# File 'lib/impala/protocol/impala_plan_service_types.rb', line 29

def validate
end