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:
66 67 68 |
# File 'lib/aerospike/value/value.rb', line 66 def initialize self end |
Instance Method Details
#estimate_size ⇒ Object
83 84 85 |
# File 'lib/aerospike/value/value.rb', line 83 def estimate_size 0 end |
#get ⇒ Object
74 75 76 |
# File 'lib/aerospike/value/value.rb', line 74 def get nil end |
#pack(packer) ⇒ Object
91 92 93 |
# File 'lib/aerospike/value/value.rb', line 91 def pack(packer) packer.write_nil end |
#to_bytes ⇒ Object
95 96 97 |
# File 'lib/aerospike/value/value.rb', line 95 def to_bytes '' end |
#to_s ⇒ Object
78 79 80 |
# File 'lib/aerospike/value/value.rb', line 78 def to_s '' end |
#type ⇒ Object
70 71 72 |
# File 'lib/aerospike/value/value.rb', line 70 def type Aerospike::ParticleType::NULL end |
#write(buffer, offset) ⇒ Object
87 88 89 |
# File 'lib/aerospike/value/value.rb', line 87 def write(buffer, offset) 0 end |