Class: Couchbase::Datastructures::CouchbaseMapOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/datastructures/couchbase_map.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/datastructures/couchbase_map.rb
more...

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCouchbaseMapOptions

Returns a new instance of CouchbaseMapOptions.

[View source]

196
197
198
199
200
201
202
# File 'lib/couchbase/datastructures/couchbase_map.rb', line 196

def initialize
  @get_options = Collection::GetOptions.new
  @remove_options = Collection::RemoveOptions.new
  @lookup_in_options = Collection::LookupInOptions.new
  @mutate_in_options = Collection::MutateInOptions.new
  @mutate_in_options.store_semantics = :upsert
end

Instance Attribute Details

#get_optionsObject

Returns the value of attribute get_options.


191
192
193
# File 'lib/couchbase/datastructures/couchbase_map.rb', line 191

def get_options
  @get_options
end

#lookup_in_optionsObject

Returns the value of attribute lookup_in_options.


192
193
194
# File 'lib/couchbase/datastructures/couchbase_map.rb', line 192

def lookup_in_options
  @lookup_in_options
end

#mutate_in_optionsObject

Returns the value of attribute mutate_in_options.


193
194
195
# File 'lib/couchbase/datastructures/couchbase_map.rb', line 193

def mutate_in_options
  @mutate_in_options
end

#remove_optionsObject

Returns the value of attribute remove_options.


194
195
196
# File 'lib/couchbase/datastructures/couchbase_map.rb', line 194

def remove_options
  @remove_options
end