Class: Impala::Protocol::TMergeNode

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/impala/protocol/plan_nodes_types.rb

Constant Summary collapse

RESULT_EXPR_LISTS =
1
CONST_EXPR_LISTS =
2
FIELDS =
{
RESULT_EXPR_LISTS => { :type => ::Thrift::Types::LIST, :name => 'result_expr_lists', :element => { :type => ::Thrift::Types::LIST, :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::TExpr } } },
CONST_EXPR_LISTS => { :type => ::Thrift::Types::LIST, :name => 'const_expr_lists', :element => { :type => ::Thrift::Types::LIST, :element => { :type => ::Thrift::Types::STRUCT, :class => Impala::Protocol::TExpr } } }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


267
268
269
270
# File 'lib/impala/protocol/plan_nodes_types.rb', line 267

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field result_expr_lists is unset!') unless @result_expr_lists
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field const_expr_lists is unset!') unless @const_expr_lists
end