Class: Aerospike::NullValue
Overview
Empty value.
Constant Summary
Constants inherited from 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:
65 66 67 |
# File 'lib/aerospike/value/value.rb', line 65 def initialize self end |
Instance Method Details
#estimate_size ⇒ Object
81 82 83 |
# File 'lib/aerospike/value/value.rb', line 81 def estimate_size 0 end |
#get ⇒ Object
73 74 75 |
# File 'lib/aerospike/value/value.rb', line 73 def get nil end |
#pack(packer) ⇒ Object
89 90 91 |
# File 'lib/aerospike/value/value.rb', line 89 def pack(packer) packer.write_nil end |
#to_bytes ⇒ Object
93 94 95 |
# File 'lib/aerospike/value/value.rb', line 93 def to_bytes '' end |
#to_s ⇒ Object
77 78 79 |
# File 'lib/aerospike/value/value.rb', line 77 def to_s '' end |
#type ⇒ Object
69 70 71 |
# File 'lib/aerospike/value/value.rb', line 69 def type Aerospike::ParticleType::NULL end |
#write(buffer, offset) ⇒ Object
85 86 87 |
# File 'lib/aerospike/value/value.rb', line 85 def write(buffer, offset) 0 end |