Class: Aerospike::WildcardValue

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

Overview

Wildcard value.

Constant Summary

Constants inherited from Value

Value::INTEGER_RANGE

Instance Method Summary collapse

Methods inherited from Value

of

Constructor Details

#initializeWildcardValue

:nodoc:



144
145
146
# File 'lib/aerospike/value/value.rb', line 144

def initialize
  self
end

Instance Method Details

#estimate_sizeObject



160
161
162
# File 'lib/aerospike/value/value.rb', line 160

def estimate_size
  0
end

#getObject



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_bytesObject



172
173
174
# File 'lib/aerospike/value/value.rb', line 172

def to_bytes
  ''
end

#to_msgpack_extObject



176
177
178
# File 'lib/aerospike/value/value.rb', line 176

def to_msgpack_ext
  0.chr
end

#to_sObject



156
157
158
# File 'lib/aerospike/value/value.rb', line 156

def to_s
  "*"
end

#typeObject



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