Class: Impala::Protocol::TSessionState
- Inherits:
-
Object
- Object
- Impala::Protocol::TSessionState
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/frontend_types.rb
Constant Summary collapse
- DATABASE =
1
- FIELDS =
{ DATABASE => { :type => ::Thrift::Types::STRING, :name => 'database' } }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
158 |
# File 'lib/impala/protocol/frontend_types.rb', line 158 def struct_fields; FIELDS; end |
#validate ⇒ Object
160 161 162 |
# File 'lib/impala/protocol/frontend_types.rb', line 160 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field database is unset!') unless @database end |