Class: Impala::Protocol::THdfsScanNode
- Inherits:
-
Object
- Object
- Impala::Protocol::THdfsScanNode
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/impala/protocol/plan_nodes_types.rb
Constant Summary collapse
- TUPLE_ID =
1
- FIELDS =
{ TUPLE_ID => { :type => ::Thrift::Types::I32, :name => 'tuple_id' } }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
105 |
# File 'lib/impala/protocol/plan_nodes_types.rb', line 105 def struct_fields; FIELDS; end |
#validate ⇒ Object
107 108 109 |
# File 'lib/impala/protocol/plan_nodes_types.rb', line 107 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tuple_id is unset!') unless @tuple_id end |