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
2102 2103 2104 |
# File 'lib/couchbase/options.rb', line 2102 def Analytics(**args) Analytics.new(**args) end |
.Append(**args) ⇒ Append
Construct Append options for BinaryCollection#append
2019 2020 2021 |
# File 'lib/couchbase/options.rb', line 2019 def Append(**args) Append.new(**args) end |
.Cluster(**args) ⇒ Cluster
Construct Cluster options for Cluster.connect
2065 2066 2067 |
# File 'lib/couchbase/options.rb', line 2065 def Cluster(**args) Cluster.new(**args) end |
.Decrement(**args) ⇒ Decrement
Construct Decrement options for BinaryCollection#decrement
2091 2092 2093 |
# File 'lib/couchbase/options.rb', line 2091 def Decrement(**args) Decrement.new(**args) end |
.Diagnostics(**args) ⇒ Diagnostics
Construct Diagnostics options for Cluster#diagnostics
2038 2039 2040 |
# File 'lib/couchbase/options.rb', line 2038 def Diagnostics(**args) Diagnostics.new(**args) end |
.Exists(**args) ⇒ Exists
Construct Exists options for Collection#exists
1878 1879 1880 |
# File 'lib/couchbase/options.rb', line 1878 def Exists(**args) Exists.new(**args) end |
.Get(**args) ⇒ Get
Construct Get options for Collection#get
1821 1822 1823 |
# File 'lib/couchbase/options.rb', line 1821 def Get(**args) Get.new(**args) end |
.GetAllReplicas(**args) ⇒ GetAllReplicas
Construct GetAllReplicas options for Collection#get_any_replica
1860 1861 1862 |
# File 'lib/couchbase/options.rb', line 1860 def GetAllReplicas(**args) GetAllReplicas.new(**args) end |
.GetAndLock(**args) ⇒ GetAndLock
Construct GetAndLock options for Collection#get_and_lock
1843 1844 1845 |
# File 'lib/couchbase/options.rb', line 1843 def GetAndLock(**args) GetAndLock.new(**args) end |
.GetAndTouch(**args) ⇒ GetAndTouch
Construct GetAndTouch options for Collection#get_and_touch
1853 1854 1855 |
# File 'lib/couchbase/options.rb', line 1853 def GetAndTouch(**args) GetAndTouch.new(**args) end |
.GetAnyReplica(**args) ⇒ GetAnyReplica
Construct GetAnyReplica options for Collection#get_all_replicas
1867 1868 1869 |
# File 'lib/couchbase/options.rb', line 1867 def GetAnyReplica(**args) GetAnyReplica.new(**args) end |
.GetMulti(**args) ⇒ GetMulti
Construct GetMulti options for Collection#get_multi
1833 1834 1835 |
# File 'lib/couchbase/options.rb', line 1833 def GetMulti(**args) GetMulti.new(**args) end |
.Increment(**args) ⇒ Increment
Construct Increment options for BinaryCollection#increment
2078 2079 2080 |
# File 'lib/couchbase/options.rb', line 2078 def Increment(**args) Increment.new(**args) end |
.Insert(**args) ⇒ Insert
Construct Insert options for Collection#insert
1943 1944 1945 |
# File 'lib/couchbase/options.rb', line 1943 def Insert(**args) Insert.new(**args) end |
.LookupIn(**args) ⇒ LookupIn
Construct LookupIn options for Collection#lookup_in
2007 2008 2009 |
# File 'lib/couchbase/options.rb', line 2007 def LookupIn(**args) LookupIn.new(**args) end |
.MutateIn(**args) ⇒ MutateIn
Construct MutateIn options for Collection#mutate_in
1994 1995 1996 |
# File 'lib/couchbase/options.rb', line 1994 def MutateIn(**args) MutateIn.new(**args) end |
.Ping(**args) ⇒ Ping
Construct Ping options for Bucket#ping
2045 2046 2047 |
# File 'lib/couchbase/options.rb', line 2045 def Ping(**args) Ping.new(**args) end |
.Prepend(**args) ⇒ Prepend
Construct Prepend options for BinaryCollection#prepend
2031 2032 2033 |
# File 'lib/couchbase/options.rb', line 2031 def Prepend(**args) Prepend.new(**args) end |
.Query(**args) ⇒ Query
Construct Query options for Cluster#query
2113 2114 2115 |
# File 'lib/couchbase/options.rb', line 2113 def Query(**args) Query.new(**args) end |
.Remove(**args) ⇒ Remove
Construct Remove options for Collection#remove
1916 1917 1918 |
# File 'lib/couchbase/options.rb', line 1916 def Remove(**args) Remove.new(**args) end |
.RemoveMulti(**args) ⇒ RemoveMulti
Construct RemoveMulti options for Collection#remove_multi
1932 1933 1934 |
# File 'lib/couchbase/options.rb', line 1932 def RemoveMulti(**args) RemoveMulti.new(**args) end |
.Replace(**args) ⇒ Replace
Construct Replace options for Collection#replace
1981 1982 1983 |
# File 'lib/couchbase/options.rb', line 1981 def Replace(**args) Replace.new(**args) end |
.Search(**args) ⇒ Search
Construct Search options for Cluster#search_query
2129 2130 2131 |
# File 'lib/couchbase/options.rb', line 2129 def Search(**args) Search.new(**args) end |
.Touch(**args) ⇒ Touch
Construct Touch options for Collection#touch
1888 1889 1890 |
# File 'lib/couchbase/options.rb', line 1888 def Touch(**args) Touch.new(**args) end |
.Unlock(**args) ⇒ Unlock
Construct Unlock options for Collection#touch
1899 1900 1901 |
# File 'lib/couchbase/options.rb', line 1899 def Unlock(**args) Unlock.new(**args) end |
.Upsert(**args) ⇒ Upsert
Construct Upsert options for Collection#upsert
1954 1955 1956 |
# File 'lib/couchbase/options.rb', line 1954 def Upsert(**args) Upsert.new(**args) end |
.UpsertMulti(**args) ⇒ UpsertMulti
Construct UpsertMulti options for Collection#upsert_multi
1969 1970 1971 |
# File 'lib/couchbase/options.rb', line 1969 def UpsertMulti(**args) UpsertMulti.new(**args) end |
.View(**args) ⇒ View
Construct View options for Bucket#view_query
2143 2144 2145 |
# File 'lib/couchbase/options.rb', line 2143 def View(**args) View.new(**args) end |