Class: Impala::Protocol::TResultSetMetadata
- Inherits:
-
Object
- Object
- Impala::Protocol::TResultSetMetadata
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/frontend_types.rb
Constant Summary collapse
- COLUMNDESCS =
1
- FIELDS =
{ COLUMNDESCS => { :type => ::Thrift::Types::LIST, :name => 'columnDescs', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::TColumnDesc } } }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
198 |
# File 'lib/impala/protocol/frontend_types.rb', line 198 def struct_fields; FIELDS; end |
#validate ⇒ Object
200 201 202 |
# File 'lib/impala/protocol/frontend_types.rb', line 200 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field columnDescs is unset!') unless @columnDescs end |