Class: Couchbase::Datastructures::CouchbaseSetOptions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCouchbaseSetOptions

Returns a new instance of CouchbaseSetOptions.

[View source]

130
131
132
133
134
135
136
# File 'lib/couchbase/datastructures/couchbase_set.rb', line 130

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.


125
126
127
# File 'lib/couchbase/datastructures/couchbase_set.rb', line 125

def get_options
  @get_options
end

#lookup_in_optionsObject

Returns the value of attribute lookup_in_options.


126
127
128
# File 'lib/couchbase/datastructures/couchbase_set.rb', line 126

def lookup_in_options
  @lookup_in_options
end

#mutate_in_optionsObject

Returns the value of attribute mutate_in_options.


127
128
129
# File 'lib/couchbase/datastructures/couchbase_set.rb', line 127

def mutate_in_options
  @mutate_in_options
end

#remove_optionsObject

Returns the value of attribute remove_options.


128
129
130
# File 'lib/couchbase/datastructures/couchbase_set.rb', line 128

def remove_options
  @remove_options
end