Class: Aerospike::NullValue
Overview
Empty value.
Instance Method Summary collapse
- #estimate_size ⇒ Object
- #get ⇒ Object
-
#initialize ⇒ NullValue
constructor
:nodoc:.
- #pack(packer) ⇒ Object
- #to_bytes ⇒ Object
- #to_s ⇒ Object
- #type ⇒ Object
- #write(buffer, offset) ⇒ Object
Methods inherited from Value
Constructor Details
#initialize ⇒ NullValue
:nodoc:
89 90 91 |
# File 'lib/aerospike/value/value.rb', line 89 def initialize self end |
Instance Method Details
#estimate_size ⇒ Object
105 106 107 |
# File 'lib/aerospike/value/value.rb', line 105 def estimate_size 0 end |
#get ⇒ Object
97 98 99 |
# File 'lib/aerospike/value/value.rb', line 97 def get nil end |
#pack(packer) ⇒ Object
113 114 115 |
# File 'lib/aerospike/value/value.rb', line 113 def pack(packer) packer.write_nil end |
#to_bytes ⇒ Object
117 118 119 |
# File 'lib/aerospike/value/value.rb', line 117 def to_bytes "" end |
#to_s ⇒ Object
101 102 103 |
# File 'lib/aerospike/value/value.rb', line 101 def to_s "" end |
#type ⇒ Object
93 94 95 |
# File 'lib/aerospike/value/value.rb', line 93 def type Aerospike::ParticleType::NULL end |
#write(buffer, offset) ⇒ Object
109 110 111 |
# File 'lib/aerospike/value/value.rb', line 109 def write(buffer, offset) 0 end |