Class: Impala::Protocol::THdfsScanNode

Inherits:
Object
  • Object
show all
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_fieldsObject



105
# File 'lib/impala/protocol/plan_nodes_types.rb', line 105

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


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