Class: Aerospike::WildcardValue
- Defined in:
- lib/aerospike/value/value.rb
Overview
Wildcard 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:
167 168 169 |
# File 'lib/aerospike/value/value.rb', line 167 def initialize self end |
Instance Method Details
#estimate_size ⇒ Object
183 184 185 |
# File 'lib/aerospike/value/value.rb', line 183 def estimate_size 0 end |
#get ⇒ Object
175 176 177 |
# File 'lib/aerospike/value/value.rb', line 175 def get nil end |
#pack(packer) ⇒ Object
191 192 193 |
# File 'lib/aerospike/value/value.rb', line 191 def pack(packer) packer.pack(self) end |
#to_bytes ⇒ Object
195 196 197 |
# File 'lib/aerospike/value/value.rb', line 195 def to_bytes "" end |
#to_msgpack_ext ⇒ Object
199 200 201 |
# File 'lib/aerospike/value/value.rb', line 199 def to_msgpack_ext 0.chr end |
#to_s ⇒ Object
179 180 181 |
# File 'lib/aerospike/value/value.rb', line 179 def to_s "*" end |
#type ⇒ Object
171 172 173 |
# File 'lib/aerospike/value/value.rb', line 171 def type raise Aerospike::Exceptions::Aerospike.new(Aerospike::ResultCode::PARAMETER_ERROR, "Invalid particle type: wildcard") end |
#write(buffer, offset) ⇒ Object
187 188 189 |
# File 'lib/aerospike/value/value.rb', line 187 def write(buffer, offset) 0 end |