Module: Couchbase::Options
- Defined in:
- lib/couchbase/options.rb
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, LookupInAllReplicas, LookupInAnyReplica, MutateIn, Ping, Prepend, Query, Remove, RemoveMulti, Replace, Scan, Search, Touch, Unlock, Upsert, UpsertMulti, VectorSearch, 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.
-
.LookupInAllReplicas(**args) ⇒ LookupInAllReplicas
Construct LookupInAllReplics options for Collection#lookup_in_all_replicas.
-
.LookupInAnyReplica(**args) ⇒ LookupInAnyReplica
Construct LookupInAnyReplica options for Collection#lookup_in_any_replica.
-
.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.
-
.Scan(**args) ⇒ Scan
Construct Scan options for Collection#scan.
-
.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
2826 2827 2828 |
# File 'lib/couchbase/options.rb', line 2826 def Analytics(**args) Analytics.new(**args) end |
.Append(**args) ⇒ Append
Construct Append options for BinaryCollection#append
2754 2755 2756 |
# File 'lib/couchbase/options.rb', line 2754 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
2789 2790 2791 |
# File 'lib/couchbase/options.rb', line 2789 def Cluster(**args) Cluster.new(**args) end |
.Decrement(**args) ⇒ Decrement
Construct Decrement options for BinaryCollection#decrement
2815 2816 2817 |
# File 'lib/couchbase/options.rb', line 2815 def Decrement(**args) Decrement.new(**args) end |
.Diagnostics(**args) ⇒ Diagnostics
Construct Diagnostics options for Cluster#diagnostics
2773 2774 2775 |
# File 'lib/couchbase/options.rb', line 2773 def Diagnostics(**args) Diagnostics.new(**args) end |
.Exists(**args) ⇒ Exists
Construct Exists options for Collection#exists
2613 2614 2615 |
# File 'lib/couchbase/options.rb', line 2613 def Exists(**args) Exists.new(**args) end |
.Get(**args) ⇒ Get
Construct Get options for Collection#get
2556 2557 2558 |
# File 'lib/couchbase/options.rb', line 2556 def Get(**args) Get.new(**args) end |
.GetAllReplicas(**args) ⇒ GetAllReplicas
Construct GetAllReplicas options for Collection#get_any_replica
2595 2596 2597 |
# File 'lib/couchbase/options.rb', line 2595 def GetAllReplicas(**args) GetAllReplicas.new(**args) end |
.GetAndLock(**args) ⇒ GetAndLock
Construct GetAndLock options for Collection#get_and_lock
2578 2579 2580 |
# File 'lib/couchbase/options.rb', line 2578 def GetAndLock(**args) GetAndLock.new(**args) end |
.GetAndTouch(**args) ⇒ GetAndTouch
Construct GetAndTouch options for Collection#get_and_touch
2588 2589 2590 |
# File 'lib/couchbase/options.rb', line 2588 def GetAndTouch(**args) GetAndTouch.new(**args) end |
.GetAnyReplica(**args) ⇒ GetAnyReplica
Construct GetAnyReplica options for Collection#get_all_replicas
2602 2603 2604 |
# File 'lib/couchbase/options.rb', line 2602 def GetAnyReplica(**args) GetAnyReplica.new(**args) end |
.GetMulti(**args) ⇒ GetMulti
Construct GetMulti options for Collection#get_multi
2568 2569 2570 |
# File 'lib/couchbase/options.rb', line 2568 def GetMulti(**args) GetMulti.new(**args) end |
.Increment(**args) ⇒ Increment
Construct Increment options for BinaryCollection#increment
2802 2803 2804 |
# File 'lib/couchbase/options.rb', line 2802 def Increment(**args) Increment.new(**args) end |
.Insert(**args) ⇒ Insert
Construct Insert options for Collection#insert
2678 2679 2680 |
# File 'lib/couchbase/options.rb', line 2678 def Insert(**args) Insert.new(**args) end |
.LookupIn(**args) ⇒ LookupIn
Construct LookupIn options for Collection#lookup_in
2742 2743 2744 |
# File 'lib/couchbase/options.rb', line 2742 def LookupIn(**args) LookupIn.new(**args) end |
.LookupInAllReplicas(**args) ⇒ LookupInAllReplicas
Construct LookupInAllReplics options for Collection#lookup_in_all_replicas
2888 2889 2890 |
# File 'lib/couchbase/options.rb', line 2888 def LookupInAllReplicas(**args) LookupInAllReplicas.new(**args) end |
.LookupInAnyReplica(**args) ⇒ LookupInAnyReplica
Construct LookupInAnyReplica options for Collection#lookup_in_any_replica
2881 2882 2883 |
# File 'lib/couchbase/options.rb', line 2881 def LookupInAnyReplica(**args) LookupInAnyReplica.new(**args) end |
.MutateIn(**args) ⇒ MutateIn
Construct MutateIn options for Collection#mutate_in
2729 2730 2731 |
# File 'lib/couchbase/options.rb', line 2729 def MutateIn(**args) MutateIn.new(**args) end |
.Ping(**args) ⇒ Ping
Construct Ping options for Bucket#ping
2780 2781 2782 |
# File 'lib/couchbase/options.rb', line 2780 def Ping(**args) Ping.new(**args) end |
.Prepend(**args) ⇒ Prepend
Construct Prepend options for BinaryCollection#prepend
2766 2767 2768 |
# File 'lib/couchbase/options.rb', line 2766 def Prepend(**args) Prepend.new(**args) end |
.Query(**args) ⇒ Query
Construct Query options for Cluster#query
2837 2838 2839 |
# File 'lib/couchbase/options.rb', line 2837 def Query(**args) Query.new(**args) end |
.Remove(**args) ⇒ Remove
Construct Remove options for Collection#remove
2651 2652 2653 |
# File 'lib/couchbase/options.rb', line 2651 def Remove(**args) Remove.new(**args) end |
.RemoveMulti(**args) ⇒ RemoveMulti
Construct RemoveMulti options for Collection#remove_multi
2667 2668 2669 |
# File 'lib/couchbase/options.rb', line 2667 def RemoveMulti(**args) RemoveMulti.new(**args) end |
.Replace(**args) ⇒ Replace
Construct Replace options for Collection#replace
2716 2717 2718 |
# File 'lib/couchbase/options.rb', line 2716 def Replace(**args) Replace.new(**args) end |
.Scan(**args) ⇒ Scan
Construct Scan options for Collection#scan
2874 2875 2876 |
# File 'lib/couchbase/options.rb', line 2874 def Scan(**args) Scan.new(**args) end |
.Search(**args) ⇒ Search
Construct Search options for Cluster#search_query
2853 2854 2855 |
# File 'lib/couchbase/options.rb', line 2853 def Search(**args) Search.new(**args) end |
.Touch(**args) ⇒ Touch
Construct Touch options for Collection#touch
2623 2624 2625 |
# File 'lib/couchbase/options.rb', line 2623 def Touch(**args) Touch.new(**args) end |
.Unlock(**args) ⇒ Unlock
Construct Unlock options for Collection#touch
2634 2635 2636 |
# File 'lib/couchbase/options.rb', line 2634 def Unlock(**args) Unlock.new(**args) end |
.Upsert(**args) ⇒ Upsert
Construct Upsert options for Collection#upsert
2689 2690 2691 |
# File 'lib/couchbase/options.rb', line 2689 def Upsert(**args) Upsert.new(**args) end |
.UpsertMulti(**args) ⇒ UpsertMulti
Construct UpsertMulti options for Collection#upsert_multi
2704 2705 2706 |
# File 'lib/couchbase/options.rb', line 2704 def UpsertMulti(**args) UpsertMulti.new(**args) end |
.View(**args) ⇒ View
Construct View options for Bucket#view_query
2867 2868 2869 |
# File 'lib/couchbase/options.rb', line 2867 def View(**args) View.new(**args) end |