Class: Impala::Protocol::TExpr
- Inherits:
-
Object
- Object
- Impala::Protocol::TExpr
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/exprs_types.rb
Constant Summary collapse
- NODES =
1
- FIELDS =
{ NODES => { :type => ::Thrift::Types::LIST, :name => 'nodes', :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::TExprNode } } }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
335 |
# File 'lib/impala/protocol/exprs_types.rb', line 335 def struct_fields; FIELDS; end |
#validate ⇒ Object
337 338 339 |
# File 'lib/impala/protocol/exprs_types.rb', line 337 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field nodes is unset!') unless @nodes end |