Class: Impala::Protocol::TEqJoinCondition

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

Constant Summary collapse

LEFT =
1
RIGHT =
2
FIELDS =
{
LEFT => { :type => ::Thrift::Types::STRUCT, :name => 'left', :class => Impala::Protocol::TExpr },
RIGHT => { :type => ::Thrift::Types::STRUCT, :name => 'right', :class => Impala::Protocol::TExpr }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


174
175
176
177
# File 'lib/impala/protocol/plan_nodes_types.rb', line 174

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