Class: Aerospike::WildcardValue
- Defined in:
- lib/aerospike/value/value.rb
Overview
Wildcard value.
Constant Summary
Constants inherited from Value
Instance Method Summary collapse
- #estimate_size ⇒ Object
- #get ⇒ Object
-
#initialize ⇒ WildcardValue
constructor
:nodoc:.
- #pack(packer) ⇒ Object
- #to_bytes ⇒ Object
- #to_msgpack_ext ⇒ Object
- #to_s ⇒ Object
- #type ⇒ Object
- #write(buffer, offset) ⇒ Object
Methods inherited from Value
Constructor Details
#initialize ⇒ WildcardValue
:nodoc:
144 145 146 |
# File 'lib/aerospike/value/value.rb', line 144 def initialize self end |
Instance Method Details
#estimate_size ⇒ Object
160 161 162 |
# File 'lib/aerospike/value/value.rb', line 160 def estimate_size 0 end |
#get ⇒ Object
152 153 154 |
# File 'lib/aerospike/value/value.rb', line 152 def get nil end |
#pack(packer) ⇒ Object
168 169 170 |
# File 'lib/aerospike/value/value.rb', line 168 def pack(packer) packer.pack(self) end |
#to_bytes ⇒ Object
172 173 174 |
# File 'lib/aerospike/value/value.rb', line 172 def to_bytes '' end |
#to_msgpack_ext ⇒ Object
176 177 178 |
# File 'lib/aerospike/value/value.rb', line 176 def to_msgpack_ext 0.chr end |
#to_s ⇒ Object
156 157 158 |
# File 'lib/aerospike/value/value.rb', line 156 def to_s "*" end |
#type ⇒ Object
148 149 150 |
# File 'lib/aerospike/value/value.rb', line 148 def type raise Aerospike::Exceptions::Aerospike.new(Aerospike::ResultCode::PARAMETER_ERROR, "Invalid particle type: wildcard") end |
#write(buffer, offset) ⇒ Object
164 165 166 |
# File 'lib/aerospike/value/value.rb', line 164 def write(buffer, offset) 0 end |