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