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:
92 93 94 |
# File 'lib/aerospike/value/value.rb', line 92 def initialize self end |
Instance Method Details
#estimate_size ⇒ Object
108 109 110 |
# File 'lib/aerospike/value/value.rb', line 108 def estimate_size 0 end |
#get ⇒ Object
100 101 102 |
# File 'lib/aerospike/value/value.rb', line 100 def get nil end |
#pack(packer) ⇒ Object
116 117 118 |
# File 'lib/aerospike/value/value.rb', line 116 def pack(packer) packer.write_nil end |
#to_bytes ⇒ Object
120 121 122 |
# File 'lib/aerospike/value/value.rb', line 120 def to_bytes '' end |
#to_s ⇒ Object
104 105 106 |
# File 'lib/aerospike/value/value.rb', line 104 def to_s '' end |
#type ⇒ Object
96 97 98 |
# File 'lib/aerospike/value/value.rb', line 96 def type Aerospike::ParticleType::NULL end |
#write(buffer, offset) ⇒ Object
112 113 114 |
# File 'lib/aerospike/value/value.rb', line 112 def write(buffer, offset) 0 end |