Class: Hive2::Thrift::TI64Column

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/thrift/t_c_l_i_service_types.rb

Constant Summary collapse

VALUES =
1
NULLS =
2
FIELDS =
{
  VALUES => {:type => ::Thrift::Types::LIST, :name => 'values', :element => {:type => ::Thrift::Types::I64}},
  NULLS => {:type => ::Thrift::Types::STRING, :name => 'nulls', :binary => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



694
# File 'lib/thrift/t_c_l_i_service_types.rb', line 694

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


696
697
698
699
# File 'lib/thrift/t_c_l_i_service_types.rb', line 696

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