Class: Impala::Protocol::Hive::TStructTypeEntry
- Inherits:
-
Object
- Object
- Impala::Protocol::Hive::TStructTypeEntry
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/cli_service_types.rb
Constant Summary collapse
- NAMETOTYPEPTR =
1
- FIELDS =
{ NAMETOTYPEPTR => {:type => ::Thrift::Types::MAP, :name => 'nameToTypePtr', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I32}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
203 |
# File 'lib/impala/protocol/cli_service_types.rb', line 203 def struct_fields; FIELDS; end |
#validate ⇒ Object
205 206 207 |
# File 'lib/impala/protocol/cli_service_types.rb', line 205 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field nameToTypePtr is unset!') unless @nameToTypePtr end |