Class: Impala::Protocol::Beeswax::BeeswaxException
- Inherits:
-
Thrift::Exception
- Object
- Thrift::Exception
- Impala::Protocol::Beeswax::BeeswaxException
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/beeswax_types.rb
Constant Summary collapse
- MESSAGE =
1
- LOG_CONTEXT =
2
- HANDLE =
3
- ERRORCODE =
4
- SQLSTATE =
5
- FIELDS =
{ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}, LOG_CONTEXT => {:type => ::Thrift::Types::STRING, :name => 'log_context'}, HANDLE => {:type => ::Thrift::Types::STRUCT, :name => 'handle', :class => ::Impala::Protocol::Beeswax::QueryHandle}, ERRORCODE => {:type => ::Thrift::Types::I32, :name => 'errorCode', :default => 0, :optional => true}, SQLSTATE => {:type => ::Thrift::Types::STRING, :name => 'SQLState', :default => %q" ", :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
147 |
# File 'lib/impala/protocol/beeswax_types.rb', line 147 def struct_fields; FIELDS; end |
#validate ⇒ Object
149 150 |
# File 'lib/impala/protocol/beeswax_types.rb', line 149 def validate end |