Class: Impala::Protocol::TIsNullPredicate

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

Constant Summary collapse

IS_NOT_NULL =
1
FIELDS =
{
IS_NOT_NULL => { :type => ::Thrift::Types::BOOL, :name => 'is_not_null' }
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



189
# File 'lib/impala/protocol/exprs_types.rb', line 189

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


191
192
193
# File 'lib/impala/protocol/exprs_types.rb', line 191

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field is_not_null is unset!') if @is_not_null.nil?
end