couchbase 3.4.3 → 3.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/ext/couchbase/CMakeLists.txt +15 -1
  4. data/ext/couchbase/core/bucket.cxx +183 -152
  5. data/ext/couchbase/core/bucket.hxx +17 -4
  6. data/ext/couchbase/core/cluster.hxx +34 -13
  7. data/ext/couchbase/core/cluster_options.hxx +3 -0
  8. data/ext/couchbase/core/crud_component.cxx +51 -22
  9. data/ext/couchbase/core/error_context/key_value.cxx +2 -1
  10. data/ext/couchbase/core/error_context/key_value.hxx +10 -12
  11. data/ext/couchbase/core/impl/build_deferred_query_indexes.cxx +115 -50
  12. data/ext/couchbase/core/impl/cluster.cxx +6 -0
  13. data/ext/couchbase/core/impl/create_bucket.cxx +155 -0
  14. data/ext/couchbase/core/impl/create_query_index.cxx +172 -59
  15. data/ext/couchbase/core/impl/dns_srv_tracker.cxx +2 -1
  16. data/ext/couchbase/core/impl/drop_bucket.cxx +66 -0
  17. data/ext/couchbase/core/impl/drop_query_index.cxx +138 -59
  18. data/ext/couchbase/core/impl/flush_bucket.cxx +66 -0
  19. data/ext/couchbase/core/impl/get_all_buckets.cxx +163 -0
  20. data/ext/couchbase/core/impl/get_all_query_indexes.cxx +67 -37
  21. data/ext/couchbase/core/impl/get_bucket.cxx +153 -0
  22. data/ext/couchbase/core/impl/internal_manager_error_context.cxx +113 -0
  23. data/ext/couchbase/core/impl/internal_manager_error_context.hxx +60 -0
  24. data/ext/couchbase/core/impl/key_value_error_category.cxx +2 -4
  25. data/ext/couchbase/core/impl/key_value_error_context.cxx +98 -0
  26. data/ext/couchbase/core/impl/lookup_in.cxx +1 -0
  27. data/ext/couchbase/core/impl/lookup_in_all_replicas.cxx +176 -0
  28. data/ext/couchbase/core/impl/lookup_in_all_replicas.hxx +80 -0
  29. data/ext/couchbase/core/impl/lookup_in_any_replica.cxx +167 -0
  30. data/ext/couchbase/core/impl/lookup_in_any_replica.hxx +75 -0
  31. data/ext/couchbase/core/impl/lookup_in_replica.cxx +97 -0
  32. data/ext/couchbase/core/impl/lookup_in_replica.hxx +67 -0
  33. data/ext/couchbase/core/impl/manager_error_context.cxx +100 -0
  34. data/ext/couchbase/core/impl/query.cxx +1 -0
  35. data/ext/couchbase/core/impl/query_error_context.cxx +75 -0
  36. data/ext/couchbase/core/impl/update_bucket.cxx +130 -0
  37. data/ext/couchbase/core/impl/watch_query_indexes.cxx +53 -29
  38. data/ext/couchbase/core/io/dns_client.cxx +111 -40
  39. data/ext/couchbase/core/io/dns_config.cxx +5 -4
  40. data/ext/couchbase/core/io/http_session.hxx +24 -1
  41. data/ext/couchbase/core/io/mcbp_command.hxx +9 -2
  42. data/ext/couchbase/core/io/mcbp_session.cxx +80 -43
  43. data/ext/couchbase/core/io/mcbp_session.hxx +4 -3
  44. data/ext/couchbase/core/logger/custom_rotating_file_sink.cxx +1 -1
  45. data/ext/couchbase/core/logger/logger.cxx +80 -20
  46. data/ext/couchbase/core/logger/logger.hxx +31 -0
  47. data/ext/couchbase/core/meta/features.hxx +25 -0
  48. data/ext/couchbase/core/operations/document_lookup_in_all_replicas.hxx +192 -0
  49. data/ext/couchbase/core/operations/document_lookup_in_any_replica.hxx +188 -0
  50. data/ext/couchbase/core/operations/document_query.cxx +11 -0
  51. data/ext/couchbase/core/operations/document_query.hxx +1 -0
  52. data/ext/couchbase/core/operations.hxx +2 -0
  53. data/ext/couchbase/core/origin.cxx +270 -0
  54. data/ext/couchbase/core/origin.hxx +2 -0
  55. data/ext/couchbase/core/protocol/client_response.hxx +1 -0
  56. data/ext/couchbase/core/protocol/cmd_hello.hxx +1 -0
  57. data/ext/couchbase/core/protocol/cmd_lookup_in_replica.cxx +107 -0
  58. data/ext/couchbase/core/protocol/cmd_lookup_in_replica.hxx +137 -0
  59. data/ext/couchbase/core/protocol/hello_feature.hxx +6 -0
  60. data/ext/couchbase/core/protocol/hello_feature_fmt.hxx +3 -0
  61. data/ext/couchbase/core/protocol/status.cxx +2 -2
  62. data/ext/couchbase/core/range_scan_options.cxx +3 -27
  63. data/ext/couchbase/core/range_scan_options.hxx +13 -17
  64. data/ext/couchbase/core/range_scan_orchestrator.cxx +388 -170
  65. data/ext/couchbase/core/range_scan_orchestrator.hxx +13 -2
  66. data/ext/couchbase/core/range_scan_orchestrator_options.hxx +5 -3
  67. data/ext/couchbase/core/scan_options.hxx +0 -19
  68. data/ext/couchbase/core/scan_result.cxx +19 -5
  69. data/ext/couchbase/core/scan_result.hxx +5 -2
  70. data/ext/couchbase/core/timeout_defaults.hxx +2 -3
  71. data/ext/couchbase/core/topology/capabilities.hxx +3 -0
  72. data/ext/couchbase/core/topology/capabilities_fmt.hxx +8 -0
  73. data/ext/couchbase/core/topology/collections_manifest_fmt.hxx +1 -1
  74. data/ext/couchbase/core/topology/configuration.hxx +15 -0
  75. data/ext/couchbase/core/topology/configuration_json.hxx +6 -1
  76. data/ext/couchbase/core/utils/connection_string.cxx +62 -47
  77. data/ext/couchbase/core/utils/connection_string.hxx +1 -0
  78. data/ext/couchbase/couchbase/analytics_error_context.hxx +1 -1
  79. data/ext/couchbase/couchbase/behavior_options.hxx +19 -2
  80. data/ext/couchbase/couchbase/bucket_manager.hxx +135 -0
  81. data/ext/couchbase/couchbase/build_query_index_options.hxx +0 -30
  82. data/ext/couchbase/couchbase/cluster.hxx +14 -0
  83. data/ext/couchbase/couchbase/collection.hxx +111 -0
  84. data/ext/couchbase/couchbase/collection_query_index_manager.hxx +7 -48
  85. data/ext/couchbase/couchbase/create_bucket_options.hxx +41 -0
  86. data/ext/couchbase/couchbase/create_primary_query_index_options.hxx +0 -29
  87. data/ext/couchbase/couchbase/create_query_index_options.hxx +0 -33
  88. data/ext/couchbase/couchbase/drop_bucket_options.hxx +41 -0
  89. data/ext/couchbase/couchbase/drop_primary_query_index_options.hxx +0 -30
  90. data/ext/couchbase/couchbase/drop_query_index_options.hxx +0 -31
  91. data/ext/couchbase/couchbase/error_codes.hxx +1 -2
  92. data/ext/couchbase/couchbase/error_context.hxx +10 -2
  93. data/ext/couchbase/couchbase/flush_bucket_options.hxx +41 -0
  94. data/ext/couchbase/{core/topology/error_map_fmt.hxx → couchbase/fmt/key_value_error_map_attribute.hxx} +21 -21
  95. data/ext/couchbase/couchbase/get_all_buckets_options.hxx +44 -0
  96. data/ext/couchbase/couchbase/get_all_query_indexes_options.hxx +0 -30
  97. data/ext/couchbase/couchbase/get_and_lock_options.hxx +2 -2
  98. data/ext/couchbase/couchbase/get_and_touch_options.hxx +2 -2
  99. data/ext/couchbase/couchbase/get_bucket_options.hxx +43 -0
  100. data/ext/couchbase/couchbase/get_options.hxx +2 -2
  101. data/ext/couchbase/couchbase/insert_options.hxx +3 -3
  102. data/ext/couchbase/couchbase/key_value_error_context.hxx +7 -2
  103. data/ext/couchbase/couchbase/lookup_in_all_replicas_options.hxx +109 -0
  104. data/ext/couchbase/couchbase/lookup_in_any_replica_options.hxx +101 -0
  105. data/ext/couchbase/couchbase/lookup_in_options.hxx +2 -2
  106. data/ext/couchbase/couchbase/lookup_in_replica_result.hxx +74 -0
  107. data/ext/couchbase/couchbase/lookup_in_result.hxx +26 -0
  108. data/ext/couchbase/couchbase/management/bucket_settings.hxx +116 -0
  109. data/ext/couchbase/couchbase/manager_error_context.hxx +29 -53
  110. data/ext/couchbase/couchbase/mutate_in_options.hxx +2 -2
  111. data/ext/couchbase/couchbase/query_error_context.hxx +3 -1
  112. data/ext/couchbase/couchbase/query_index_manager.hxx +16 -83
  113. data/ext/couchbase/couchbase/query_options.hxx +18 -0
  114. data/ext/couchbase/couchbase/remove_options.hxx +2 -2
  115. data/ext/couchbase/couchbase/replace_options.hxx +3 -3
  116. data/ext/couchbase/couchbase/security_options.hxx +15 -0
  117. data/ext/couchbase/couchbase/subdocument_error_context.hxx +4 -2
  118. data/ext/couchbase/couchbase/touch_options.hxx +2 -2
  119. data/ext/couchbase/couchbase/unlock_options.hxx +2 -2
  120. data/ext/couchbase/couchbase/update_bucket_options.hxx +41 -0
  121. data/ext/couchbase/couchbase/upsert_options.hxx +3 -3
  122. data/ext/couchbase/couchbase/watch_query_indexes_options.hxx +0 -31
  123. data/ext/couchbase/test/CMakeLists.txt +1 -0
  124. data/ext/couchbase/test/test_integration_collections.cxx +6 -0
  125. data/ext/couchbase/test/test_integration_crud.cxx +5 -0
  126. data/ext/couchbase/test/test_integration_examples.cxx +137 -1
  127. data/ext/couchbase/test/test_integration_management.cxx +709 -266
  128. data/ext/couchbase/test/test_integration_query.cxx +19 -7
  129. data/ext/couchbase/test/test_integration_range_scan.cxx +351 -112
  130. data/ext/couchbase/test/test_integration_search.cxx +10 -1
  131. data/ext/couchbase/test/test_integration_subdoc.cxx +655 -0
  132. data/ext/couchbase/test/test_transaction_public_async_api.cxx +13 -12
  133. data/ext/couchbase/test/test_transaction_public_blocking_api.cxx +27 -21
  134. data/ext/couchbase/test/test_unit_connection_string.cxx +29 -0
  135. data/ext/couchbase/test/test_unit_query.cxx +75 -0
  136. data/ext/couchbase.cxx +583 -29
  137. data/ext/revisions.rb +3 -3
  138. data/lib/couchbase/cluster.rb +1 -1
  139. data/lib/couchbase/collection.rb +108 -0
  140. data/lib/couchbase/collection_options.rb +100 -0
  141. data/lib/couchbase/errors.rb +5 -0
  142. data/lib/couchbase/key_value_scan.rb +125 -0
  143. data/lib/couchbase/options.rb +151 -0
  144. data/lib/couchbase/scope.rb +1 -1
  145. data/lib/couchbase/utils/time.rb +14 -1
  146. data/lib/couchbase/version.rb +1 -1
  147. metadata +41 -7
  148. data/ext/couchbase/core/impl/collection_query_index_manager.cxx +0 -93
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: couchbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.3
4
+ version: 3.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Avseyev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-17 00:00:00.000000000 Z
11
+ date: 2023-08-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Modern SDK for Couchbase Server
14
14
  email:
@@ -114,10 +114,10 @@ files:
114
114
  - ext/couchbase/core/impl/bootstrap_state_listener.hxx
115
115
  - ext/couchbase/core/impl/build_deferred_query_indexes.cxx
116
116
  - ext/couchbase/core/impl/cluster.cxx
117
- - ext/couchbase/core/impl/collection_query_index_manager.cxx
118
117
  - ext/couchbase/core/impl/common_error_category.cxx
119
118
  - ext/couchbase/core/impl/configuration_profiles_registry.cxx
120
119
  - ext/couchbase/core/impl/conjunction_query.cxx
120
+ - ext/couchbase/core/impl/create_bucket.cxx
121
121
  - ext/couchbase/core/impl/create_query_index.cxx
122
122
  - ext/couchbase/core/impl/date_range.cxx
123
123
  - ext/couchbase/core/impl/date_range_facet.cxx
@@ -127,6 +127,7 @@ files:
127
127
  - ext/couchbase/core/impl/disjunction_query.cxx
128
128
  - ext/couchbase/core/impl/dns_srv_tracker.cxx
129
129
  - ext/couchbase/core/impl/dns_srv_tracker.hxx
130
+ - ext/couchbase/core/impl/drop_bucket.cxx
130
131
  - ext/couchbase/core/impl/drop_query_index.cxx
131
132
  - ext/couchbase/core/impl/encoded_search_facet.hxx
132
133
  - ext/couchbase/core/impl/encoded_search_query.hxx
@@ -135,10 +136,12 @@ files:
135
136
  - ext/couchbase/core/impl/expiry.cxx
136
137
  - ext/couchbase/core/impl/fail_fast_retry_strategy.cxx
137
138
  - ext/couchbase/core/impl/field_level_encryption_error_category.cxx
139
+ - ext/couchbase/core/impl/flush_bucket.cxx
138
140
  - ext/couchbase/core/impl/geo_bounding_box_query.cxx
139
141
  - ext/couchbase/core/impl/geo_distance_query.cxx
140
142
  - ext/couchbase/core/impl/geo_polygon_query.cxx
141
143
  - ext/couchbase/core/impl/get.cxx
144
+ - ext/couchbase/core/impl/get_all_buckets.cxx
142
145
  - ext/couchbase/core/impl/get_all_query_indexes.cxx
143
146
  - ext/couchbase/core/impl/get_all_replicas.cxx
144
147
  - ext/couchbase/core/impl/get_all_replicas.hxx
@@ -146,12 +149,15 @@ files:
146
149
  - ext/couchbase/core/impl/get_and_touch.cxx
147
150
  - ext/couchbase/core/impl/get_any_replica.cxx
148
151
  - ext/couchbase/core/impl/get_any_replica.hxx
152
+ - ext/couchbase/core/impl/get_bucket.cxx
149
153
  - ext/couchbase/core/impl/get_replica.cxx
150
154
  - ext/couchbase/core/impl/get_replica.hxx
151
155
  - ext/couchbase/core/impl/increment.cxx
152
156
  - ext/couchbase/core/impl/insert.cxx
153
157
  - ext/couchbase/core/impl/internal_date_range_facet_result.cxx
154
158
  - ext/couchbase/core/impl/internal_date_range_facet_result.hxx
159
+ - ext/couchbase/core/impl/internal_manager_error_context.cxx
160
+ - ext/couchbase/core/impl/internal_manager_error_context.hxx
155
161
  - ext/couchbase/core/impl/internal_numeric_range_facet_result.cxx
156
162
  - ext/couchbase/core/impl/internal_numeric_range_facet_result.hxx
157
163
  - ext/couchbase/core/impl/internal_search_error_context.cxx
@@ -168,8 +174,16 @@ files:
168
174
  - ext/couchbase/core/impl/internal_term_facet_result.cxx
169
175
  - ext/couchbase/core/impl/internal_term_facet_result.hxx
170
176
  - ext/couchbase/core/impl/key_value_error_category.cxx
177
+ - ext/couchbase/core/impl/key_value_error_context.cxx
171
178
  - ext/couchbase/core/impl/lookup_in.cxx
179
+ - ext/couchbase/core/impl/lookup_in_all_replicas.cxx
180
+ - ext/couchbase/core/impl/lookup_in_all_replicas.hxx
181
+ - ext/couchbase/core/impl/lookup_in_any_replica.cxx
182
+ - ext/couchbase/core/impl/lookup_in_any_replica.hxx
183
+ - ext/couchbase/core/impl/lookup_in_replica.cxx
184
+ - ext/couchbase/core/impl/lookup_in_replica.hxx
172
185
  - ext/couchbase/core/impl/management_error_category.cxx
186
+ - ext/couchbase/core/impl/manager_error_context.cxx
173
187
  - ext/couchbase/core/impl/match_all_query.cxx
174
188
  - ext/couchbase/core/impl/match_none_query.cxx
175
189
  - ext/couchbase/core/impl/match_phrase_query.cxx
@@ -189,6 +203,7 @@ files:
189
203
  - ext/couchbase/core/impl/prepend.cxx
190
204
  - ext/couchbase/core/impl/query.cxx
191
205
  - ext/couchbase/core/impl/query_error_category.cxx
206
+ - ext/couchbase/core/impl/query_error_context.cxx
192
207
  - ext/couchbase/core/impl/query_string_query.cxx
193
208
  - ext/couchbase/core/impl/regexp_query.cxx
194
209
  - ext/couchbase/core/impl/remove.cxx
@@ -238,6 +253,7 @@ files:
238
253
  - ext/couchbase/core/impl/transaction_get_result.cxx
239
254
  - ext/couchbase/core/impl/transaction_op_error_category.cxx
240
255
  - ext/couchbase/core/impl/unlock.cxx
256
+ - ext/couchbase/core/impl/update_bucket.cxx
241
257
  - ext/couchbase/core/impl/upsert.cxx
242
258
  - ext/couchbase/core/impl/view_error_category.cxx
243
259
  - ext/couchbase/core/impl/watch_query_indexes.cxx
@@ -379,6 +395,8 @@ files:
379
395
  - ext/couchbase/core/operations/document_insert.hxx
380
396
  - ext/couchbase/core/operations/document_lookup_in.cxx
381
397
  - ext/couchbase/core/operations/document_lookup_in.hxx
398
+ - ext/couchbase/core/operations/document_lookup_in_all_replicas.hxx
399
+ - ext/couchbase/core/operations/document_lookup_in_any_replica.hxx
382
400
  - ext/couchbase/core/operations/document_mutate_in.cxx
383
401
  - ext/couchbase/core/operations/document_mutate_in.hxx
384
402
  - ext/couchbase/core/operations/document_prepend.cxx
@@ -559,6 +577,7 @@ files:
559
577
  - ext/couchbase/core/operations/mcbp_noop.cxx
560
578
  - ext/couchbase/core/operations/mcbp_noop.hxx
561
579
  - ext/couchbase/core/operations/operation_traits.hxx
580
+ - ext/couchbase/core/origin.cxx
562
581
  - ext/couchbase/core/origin.hxx
563
582
  - ext/couchbase/core/pending_operation.hxx
564
583
  - ext/couchbase/core/ping_collector.hxx
@@ -618,6 +637,8 @@ files:
618
637
  - ext/couchbase/core/protocol/cmd_insert.hxx
619
638
  - ext/couchbase/core/protocol/cmd_lookup_in.cxx
620
639
  - ext/couchbase/core/protocol/cmd_lookup_in.hxx
640
+ - ext/couchbase/core/protocol/cmd_lookup_in_replica.cxx
641
+ - ext/couchbase/core/protocol/cmd_lookup_in_replica.hxx
621
642
  - ext/couchbase/core/protocol/cmd_mutate_in.cxx
622
643
  - ext/couchbase/core/protocol/cmd_mutate_in.hxx
623
644
  - ext/couchbase/core/protocol/cmd_noop.cxx
@@ -710,7 +731,6 @@ files:
710
731
  - ext/couchbase/core/topology/configuration_fmt.hxx
711
732
  - ext/couchbase/core/topology/configuration_json.hxx
712
733
  - ext/couchbase/core/topology/error_map.hxx
713
- - ext/couchbase/core/topology/error_map_fmt.hxx
714
734
  - ext/couchbase/core/topology/error_map_json.hxx
715
735
  - ext/couchbase/core/tracing/CMakeLists.txt
716
736
  - ext/couchbase/core/tracing/constants.hxx
@@ -815,6 +835,7 @@ files:
815
835
  - ext/couchbase/couchbase/boolean_field_query.hxx
816
836
  - ext/couchbase/couchbase/boolean_query.hxx
817
837
  - ext/couchbase/couchbase/bucket.hxx
838
+ - ext/couchbase/couchbase/bucket_manager.hxx
818
839
  - ext/couchbase/couchbase/build_query_index_options.hxx
819
840
  - ext/couchbase/couchbase/cas.hxx
820
841
  - ext/couchbase/couchbase/certificate_authenticator.hxx
@@ -838,6 +859,7 @@ files:
838
859
  - ext/couchbase/couchbase/configuration_profiles_registry.hxx
839
860
  - ext/couchbase/couchbase/conjunction_query.hxx
840
861
  - ext/couchbase/couchbase/counter_result.hxx
862
+ - ext/couchbase/couchbase/create_bucket_options.hxx
841
863
  - ext/couchbase/couchbase/create_primary_query_index_options.hxx
842
864
  - ext/couchbase/couchbase/create_query_index_options.hxx
843
865
  - ext/couchbase/couchbase/date_range.hxx
@@ -848,6 +870,7 @@ files:
848
870
  - ext/couchbase/couchbase/disjunction_query.hxx
849
871
  - ext/couchbase/couchbase/dns_options.hxx
850
872
  - ext/couchbase/couchbase/doc_id_query.hxx
873
+ - ext/couchbase/couchbase/drop_bucket_options.hxx
851
874
  - ext/couchbase/couchbase/drop_primary_query_index_options.hxx
852
875
  - ext/couchbase/couchbase/drop_query_index_options.hxx
853
876
  - ext/couchbase/couchbase/durability_level.hxx
@@ -857,10 +880,12 @@ files:
857
880
  - ext/couchbase/couchbase/exists_result.hxx
858
881
  - ext/couchbase/couchbase/expiry.hxx
859
882
  - ext/couchbase/couchbase/fail_fast_retry_strategy.hxx
883
+ - ext/couchbase/couchbase/flush_bucket_options.hxx
860
884
  - ext/couchbase/couchbase/fmt/analytics_scan_consistency.hxx
861
885
  - ext/couchbase/couchbase/fmt/analytics_status.hxx
862
886
  - ext/couchbase/couchbase/fmt/cas.hxx
863
887
  - ext/couchbase/couchbase/fmt/durability_level.hxx
888
+ - ext/couchbase/couchbase/fmt/key_value_error_map_attribute.hxx
864
889
  - ext/couchbase/couchbase/fmt/key_value_extended_error_info.hxx
865
890
  - ext/couchbase/couchbase/fmt/key_value_status_code.hxx
866
891
  - ext/couchbase/couchbase/fmt/mutation_token.hxx
@@ -873,11 +898,13 @@ files:
873
898
  - ext/couchbase/couchbase/geo_distance_query.hxx
874
899
  - ext/couchbase/couchbase/geo_point.hxx
875
900
  - ext/couchbase/couchbase/geo_polygon_query.hxx
901
+ - ext/couchbase/couchbase/get_all_buckets_options.hxx
876
902
  - ext/couchbase/couchbase/get_all_query_indexes_options.hxx
877
903
  - ext/couchbase/couchbase/get_all_replicas_options.hxx
878
904
  - ext/couchbase/couchbase/get_and_lock_options.hxx
879
905
  - ext/couchbase/couchbase/get_and_touch_options.hxx
880
906
  - ext/couchbase/couchbase/get_any_replica_options.hxx
907
+ - ext/couchbase/couchbase/get_bucket_options.hxx
881
908
  - ext/couchbase/couchbase/get_options.hxx
882
909
  - ext/couchbase/couchbase/get_replica_result.hxx
883
910
  - ext/couchbase/couchbase/get_result.hxx
@@ -890,9 +917,13 @@ files:
890
917
  - ext/couchbase/couchbase/key_value_error_map_info.hxx
891
918
  - ext/couchbase/couchbase/key_value_extended_error_info.hxx
892
919
  - ext/couchbase/couchbase/key_value_status_code.hxx
920
+ - ext/couchbase/couchbase/lookup_in_all_replicas_options.hxx
921
+ - ext/couchbase/couchbase/lookup_in_any_replica_options.hxx
893
922
  - ext/couchbase/couchbase/lookup_in_options.hxx
923
+ - ext/couchbase/couchbase/lookup_in_replica_result.hxx
894
924
  - ext/couchbase/couchbase/lookup_in_result.hxx
895
925
  - ext/couchbase/couchbase/lookup_in_specs.hxx
926
+ - ext/couchbase/couchbase/management/bucket_settings.hxx
896
927
  - ext/couchbase/couchbase/management/query_index.hxx
897
928
  - ext/couchbase/couchbase/manager_error_context.hxx
898
929
  - ext/couchbase/couchbase/match_all_query.hxx
@@ -1007,6 +1038,7 @@ files:
1007
1038
  - ext/couchbase/couchbase/transactions/transactions_config.hxx
1008
1039
  - ext/couchbase/couchbase/transactions/transactions_query_config.hxx
1009
1040
  - ext/couchbase/couchbase/unlock_options.hxx
1041
+ - ext/couchbase/couchbase/update_bucket_options.hxx
1010
1042
  - ext/couchbase/couchbase/upsert_options.hxx
1011
1043
  - ext/couchbase/couchbase/wan_development_configuration_profile.hxx
1012
1044
  - ext/couchbase/couchbase/watch_query_indexes_options.hxx
@@ -1049,6 +1081,7 @@ files:
1049
1081
  - ext/couchbase/test/test_unit_json_transcoder.cxx
1050
1082
  - ext/couchbase/test/test_unit_jsonsl.cxx
1051
1083
  - ext/couchbase/test/test_unit_options.cxx
1084
+ - ext/couchbase/test/test_unit_query.cxx
1052
1085
  - ext/couchbase/test/test_unit_search.cxx
1053
1086
  - ext/couchbase/test/test_unit_transaction_logging.cxx
1054
1087
  - ext/couchbase/test/test_unit_transaction_utils.cxx
@@ -2359,6 +2392,7 @@ files:
2359
2392
  - lib/couchbase/diagnostics.rb
2360
2393
  - lib/couchbase/errors.rb
2361
2394
  - lib/couchbase/json_transcoder.rb
2395
+ - lib/couchbase/key_value_scan.rb
2362
2396
  - lib/couchbase/logger.rb
2363
2397
  - lib/couchbase/management.rb
2364
2398
  - lib/couchbase/management/analytics_index_manager.rb
@@ -2394,9 +2428,9 @@ metadata:
2394
2428
  homepage_uri: https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html
2395
2429
  bug_tracker_uri: https://couchbase.com/issues/browse/RCBC
2396
2430
  mailing_list_uri: https://forums.couchbase.com/c/ruby-sdk
2397
- source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.4.3
2398
- changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.4.3
2399
- documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.4.3/index.html
2431
+ source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.4.4
2432
+ changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.4.4
2433
+ documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.4.4/index.html
2400
2434
  github_repo: ssh://github.com/couchbase/couchbase-ruby-client
2401
2435
  rubygems_mfa_required: 'true'
2402
2436
  post_install_message:
@@ -1,93 +0,0 @@
1
- /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright 2020-Present Couchbase, Inc.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
-
18
- #include <core/query_context.hxx>
19
- #include <couchbase/collection_query_index_manager.hxx>
20
-
21
- namespace couchbase
22
- {
23
-
24
- void
25
- collection_query_index_manager::get_all_indexes(const get_all_query_indexes_options& options, get_all_query_indexes_handler&& handler) const
26
- {
27
- return core::impl::initiate_get_all_query_indexes(core_,
28
- "",
29
- options.build(),
30
- core::query_context(bucket_name_, scope_name_),
31
- collection_name_,
32
- std::forward<get_all_query_indexes_handler>(handler));
33
- }
34
-
35
- void
36
- collection_query_index_manager::create_index(std::string index_name,
37
- std::vector<std::string> fields,
38
- const create_query_index_options& options,
39
- create_query_index_handler&& handler) const
40
- {
41
- return core::impl::initiate_create_query_index(core_,
42
- "",
43
- std::move(index_name),
44
- std::move(fields),
45
- options.build(),
46
- { bucket_name_, scope_name_ },
47
- collection_name_,
48
- std::forward<create_query_index_handler>(handler));
49
- }
50
-
51
- void
52
- collection_query_index_manager::create_primary_index(const create_primary_query_index_options& options,
53
- create_query_index_handler&& handler) const
54
- {
55
- return core::impl::initiate_create_primary_query_index(
56
- core_, "", options.build(), { bucket_name_, scope_name_ }, collection_name_, std::move(handler));
57
- }
58
-
59
- void
60
- collection_query_index_manager::drop_primary_index(const drop_primary_query_index_options& options,
61
- drop_query_index_handler&& handler) const
62
- {
63
- return core::impl::initiate_drop_primary_query_index(
64
- core_, "", options.build(), { bucket_name_, scope_name_ }, collection_name_, std::move(handler));
65
- }
66
- void
67
- collection_query_index_manager::drop_index(std::string index_name,
68
- const drop_query_index_options& options,
69
- drop_query_index_handler&& handler) const
70
- {
71
- return core::impl::initiate_drop_query_index(
72
- core_, "", std::move(index_name), options.build(), { bucket_name_, scope_name_ }, collection_name_, std::move(handler));
73
- }
74
- void
75
- collection_query_index_manager::build_deferred_indexes(const build_query_index_options& options,
76
- build_deferred_query_indexes_handler&& handler) const
77
- {
78
- return core::impl::initiate_build_deferred_indexes(core_,
79
- "",
80
- options.build(),
81
- { bucket_name_, scope_name_ },
82
- collection_name_,
83
- std::forward<build_deferred_query_indexes_handler>(handler));
84
- }
85
- void
86
- collection_query_index_manager::watch_indexes(std::vector<std::string> index_names,
87
- const watch_query_indexes_options& options,
88
- watch_query_indexes_handler&& handler) const
89
- {
90
- return core::impl::initiate_watch_query_indexes(
91
- core_, "", std::move(index_names), options.build(), { bucket_name_, scope_name_ }, collection_name_, std::move(handler));
92
- }
93
- } // namespace couchbase