Class: Aerospike::WildcardValue

Inherits:
Value
  • Object
show all
Defined in:
lib/aerospike/value/value.rb

Overview

Wildcard value.

Instance Method Summary collapse

Methods inherited from Value

of, validate_hash_key

Constructor Details

#initializeWildcardValue

:nodoc:



167
168
169
# File 'lib/aerospike/value/value.rb', line 167

def initialize
  self
end

Instance Method Details

#estimate_sizeObject



183
184
185
# File 'lib/aerospike/value/value.rb', line 183

def estimate_size
  0
end

#getObject



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_bytesObject



195
196
197
# File 'lib/aerospike/value/value.rb', line 195

def to_bytes
  ""
end

#to_msgpack_extObject



199
200
201
# File 'lib/aerospike/value/value.rb', line 199

def to_msgpack_ext
  0.chr
end

#to_sObject



179
180
181
# File 'lib/aerospike/value/value.rb', line 179

def to_s
  "*"
end

#typeObject



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