Module: Couchbase::Options
- Defined in:
- lib/couchbase/options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/options.rb more...
Overview
Definition of the Option classes for data APIs
Defined Under Namespace
Classes: Analytics, Append, Base, Cluster, CouchbaseList, CouchbaseMap, CouchbaseQueue, CouchbaseSet, Decrement, Diagnostics, Exists, Get, GetAllReplicas, GetAndLock, GetAndTouch, GetAnyReplica, GetMulti, Increment, Insert, LookupIn, MutateIn, Ping, Prepend, Query, Remove, RemoveMulti, Replace, Search, Touch, Unlock, Upsert, UpsertMulti, View
Class Method Summary collapse
-
.Analytics(**args) ⇒ Analytics
Construct Analytics options for Cluster#analytics_query.
-
.Append(**args) ⇒ Append
Construct Append options for BinaryCollection#append.
-
.Cluster(**args) ⇒ Cluster
Construct Cluster options for Cluster.connect.
-
.Decrement(**args) ⇒ Decrement
Construct Decrement options for BinaryCollection#decrement.
-
.Diagnostics(**args) ⇒ Diagnostics
Construct Diagnostics options for Cluster#diagnostics.
-
.Exists(**args) ⇒ Exists
Construct Exists options for Collection#exists.
-
.Get(**args) ⇒ Get
Construct Get options for Collection#get.
-
.GetAllReplicas(**args) ⇒ GetAllReplicas
Construct GetAllReplicas options for Collection#get_any_replica.
-
.GetAndLock(**args) ⇒ GetAndLock
Construct GetAndLock options for Collection#get_and_lock.
-
.GetAndTouch(**args) ⇒ GetAndTouch
Construct GetAndTouch options for Collection#get_and_touch.
-
.GetAnyReplica(**args) ⇒ GetAnyReplica
Construct GetAnyReplica options for Collection#get_all_replicas.
-
.GetMulti(**args) ⇒ GetMulti
Construct GetMulti options for Collection#get_multi.
-
.Increment(**args) ⇒ Increment
Construct Increment options for BinaryCollection#increment.
-
.Insert(**args) ⇒ Insert
Construct Insert options for Collection#insert.
-
.LookupIn(**args) ⇒ LookupIn
Construct LookupIn options for Collection#lookup_in.
-
.MutateIn(**args) ⇒ MutateIn
Construct MutateIn options for Collection#mutate_in.
-
.Ping(**args) ⇒ Ping
Construct Ping options for Bucket#ping.
-
.Prepend(**args) ⇒ Prepend
Construct Prepend options for BinaryCollection#prepend.
-
.Query(**args) ⇒ Query
Construct Query options for Cluster#query.
-
.Remove(**args) ⇒ Remove
Construct Remove options for Collection#remove.
-
.RemoveMulti(**args) ⇒ RemoveMulti
Construct RemoveMulti options for Collection#remove_multi.
-
.Replace(**args) ⇒ Replace
Construct Replace options for Collection#replace.
-
.Search(**args) ⇒ Search
Construct Search options for Cluster#search_query.
-
.Touch(**args) ⇒ Touch
Construct Touch options for Collection#touch.
-
.Unlock(**args) ⇒ Unlock
Construct Unlock options for Collection#touch.
-
.Upsert(**args) ⇒ Upsert
Construct Upsert options for Collection#upsert.
-
.UpsertMulti(**args) ⇒ UpsertMulti
Construct UpsertMulti options for Collection#upsert_multi.
-
.View(**args) ⇒ View
Construct View options for Bucket#view_query.
Class Method Details
.Analytics(**args) ⇒ Analytics
Construct Analytics options for Cluster#analytics_query
2533 2534 2535 |
# File 'lib/couchbase/options.rb', line 2533 def Analytics(**args) Analytics.new(**args) end |
.Append(**args) ⇒ Append
Construct Append options for BinaryCollection#append
2461 2462 2463 |
# File 'lib/couchbase/options.rb', line 2461 def Append(**args) Append.new(**args) end |
.Cluster(**args) ⇒ Cluster
Construct Cluster options for Cluster.connect
It forwards all its arguments to Couchbase::Options::Cluster#initialize
2496 2497 2498 |
# File 'lib/couchbase/options.rb', line 2496 def Cluster(**args) Cluster.new(**args) end |
.Decrement(**args) ⇒ Decrement
Construct Decrement options for BinaryCollection#decrement
2522 2523 2524 |
# File 'lib/couchbase/options.rb', line 2522 def Decrement(**args) Decrement.new(**args) end |
.Diagnostics(**args) ⇒ Diagnostics
Construct Diagnostics options for Cluster#diagnostics
2480 2481 2482 |
# File 'lib/couchbase/options.rb', line 2480 def Diagnostics(**args) Diagnostics.new(**args) end |
.Exists(**args) ⇒ Exists
Construct Exists options for Collection#exists
2320 2321 2322 |
# File 'lib/couchbase/options.rb', line 2320 def Exists(**args) Exists.new(**args) end |
.Get(**args) ⇒ Get
Construct Get options for Collection#get
2263 2264 2265 |
# File 'lib/couchbase/options.rb', line 2263 def Get(**args) Get.new(**args) end |
.GetAllReplicas(**args) ⇒ GetAllReplicas
Construct GetAllReplicas options for Collection#get_any_replica
2302 2303 2304 |
# File 'lib/couchbase/options.rb', line 2302 def GetAllReplicas(**args) GetAllReplicas.new(**args) end |
.GetAndLock(**args) ⇒ GetAndLock
Construct GetAndLock options for Collection#get_and_lock
2285 2286 2287 |
# File 'lib/couchbase/options.rb', line 2285 def GetAndLock(**args) GetAndLock.new(**args) end |
.GetAndTouch(**args) ⇒ GetAndTouch
Construct GetAndTouch options for Collection#get_and_touch
2295 2296 2297 |
# File 'lib/couchbase/options.rb', line 2295 def GetAndTouch(**args) GetAndTouch.new(**args) end |
.GetAnyReplica(**args) ⇒ GetAnyReplica
Construct GetAnyReplica options for Collection#get_all_replicas
2309 2310 2311 |
# File 'lib/couchbase/options.rb', line 2309 def GetAnyReplica(**args) GetAnyReplica.new(**args) end |
.GetMulti(**args) ⇒ GetMulti
Construct GetMulti options for Collection#get_multi
2275 2276 2277 |
# File 'lib/couchbase/options.rb', line 2275 def GetMulti(**args) GetMulti.new(**args) end |
.Increment(**args) ⇒ Increment
Construct Increment options for BinaryCollection#increment
2509 2510 2511 |
# File 'lib/couchbase/options.rb', line 2509 def Increment(**args) Increment.new(**args) end |
.Insert(**args) ⇒ Insert
Construct Insert options for Collection#insert
2385 2386 2387 |
# File 'lib/couchbase/options.rb', line 2385 def Insert(**args) Insert.new(**args) end |
.LookupIn(**args) ⇒ LookupIn
Construct LookupIn options for Collection#lookup_in
2449 2450 2451 |
# File 'lib/couchbase/options.rb', line 2449 def LookupIn(**args) LookupIn.new(**args) end |
.MutateIn(**args) ⇒ MutateIn
Construct MutateIn options for Collection#mutate_in
2436 2437 2438 |
# File 'lib/couchbase/options.rb', line 2436 def MutateIn(**args) MutateIn.new(**args) end |
.Ping(**args) ⇒ Ping
Construct Ping options for Bucket#ping
2487 2488 2489 |
# File 'lib/couchbase/options.rb', line 2487 def Ping(**args) Ping.new(**args) end |
.Prepend(**args) ⇒ Prepend
Construct Prepend options for BinaryCollection#prepend
2473 2474 2475 |
# File 'lib/couchbase/options.rb', line 2473 def Prepend(**args) Prepend.new(**args) end |
.Query(**args) ⇒ Query
Construct Query options for Cluster#query
2544 2545 2546 |
# File 'lib/couchbase/options.rb', line 2544 def Query(**args) Query.new(**args) end |
.Remove(**args) ⇒ Remove
Construct Remove options for Collection#remove
2358 2359 2360 |
# File 'lib/couchbase/options.rb', line 2358 def Remove(**args) Remove.new(**args) end |
.RemoveMulti(**args) ⇒ RemoveMulti
Construct RemoveMulti options for Collection#remove_multi
2374 2375 2376 |
# File 'lib/couchbase/options.rb', line 2374 def RemoveMulti(**args) RemoveMulti.new(**args) end |
.Replace(**args) ⇒ Replace
Construct Replace options for Collection#replace
2423 2424 2425 |
# File 'lib/couchbase/options.rb', line 2423 def Replace(**args) Replace.new(**args) end |
.Search(**args) ⇒ Search
Construct Search options for Cluster#search_query
2560 2561 2562 |
# File 'lib/couchbase/options.rb', line 2560 def Search(**args) Search.new(**args) end |
.Touch(**args) ⇒ Touch
Construct Touch options for Collection#touch
2330 2331 2332 |
# File 'lib/couchbase/options.rb', line 2330 def Touch(**args) Touch.new(**args) end |
.Unlock(**args) ⇒ Unlock
Construct Unlock options for Collection#touch
2341 2342 2343 |
# File 'lib/couchbase/options.rb', line 2341 def Unlock(**args) Unlock.new(**args) end |
.Upsert(**args) ⇒ Upsert
Construct Upsert options for Collection#upsert
2396 2397 2398 |
# File 'lib/couchbase/options.rb', line 2396 def Upsert(**args) Upsert.new(**args) end |
.UpsertMulti(**args) ⇒ UpsertMulti
Construct UpsertMulti options for Collection#upsert_multi
2411 2412 2413 |
# File 'lib/couchbase/options.rb', line 2411 def UpsertMulti(**args) UpsertMulti.new(**args) end |
.View(**args) ⇒ View
Construct View options for Bucket#view_query
2574 2575 2576 |
# File 'lib/couchbase/options.rb', line 2574 def View(**args) View.new(**args) end |