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:
80 81 82 |
# File 'lib/aerospike/value/value.rb', line 80 def initialize self end |
Instance Method Details
#estimate_size ⇒ Object
96 97 98 |
# File 'lib/aerospike/value/value.rb', line 96 def estimate_size 0 end |
#get ⇒ Object
88 89 90 |
# File 'lib/aerospike/value/value.rb', line 88 def get nil end |
#pack(packer) ⇒ Object
104 105 106 |
# File 'lib/aerospike/value/value.rb', line 104 def pack(packer) packer.write_nil end |
#to_bytes ⇒ Object
108 109 110 |
# File 'lib/aerospike/value/value.rb', line 108 def to_bytes '' end |
#to_s ⇒ Object
92 93 94 |
# File 'lib/aerospike/value/value.rb', line 92 def to_s '' end |
#type ⇒ Object
84 85 86 |
# File 'lib/aerospike/value/value.rb', line 84 def type Aerospike::ParticleType::NULL end |
#write(buffer, offset) ⇒ Object
100 101 102 |
# File 'lib/aerospike/value/value.rb', line 100 def write(buffer, offset) 0 end |