Class: Couchbase::Management::Options::Query::WatchIndexes
- Inherits:
-
Options::Base
- Object
- Options::Base
- Couchbase::Management::Options::Query::WatchIndexes
- Defined in:
- lib/couchbase/management/query_index_manager.rb
Overview
Options for QueryIndexManager#watch_indexes
Instance Attribute Summary collapse
Attributes inherited from Options::Base
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize(watch_primary: false, scope_name: nil, collection_name: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ WatchIndexes
constructor
Creates an instance of options for QueryIndexManager#watch_indexes.
Constructor Details
#initialize(watch_primary: false, scope_name: nil, collection_name: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ WatchIndexes
Creates an instance of options for QueryIndexManager#watch_indexes
319 320 321 322 323 324 325 326 327 328 329 330 |
# File 'lib/couchbase/management/query_index_manager.rb', line 319 def initialize(watch_primary: false, scope_name: nil, collection_name: nil, retry_strategy: nil, client_context: nil, parent_span: nil) super(timeout: nil, retry_strategy: retry_strategy, client_context: client_context, parent_span: parent_span) @watch_primary = watch_primary @scope_name = scope_name @collection_name = collection_name yield self if block_given? end |
Instance Attribute Details
#collection_name ⇒ String?
306 307 308 |
# File 'lib/couchbase/management/query_index_manager.rb', line 306 def collection_name @collection_name end |
#scope_name ⇒ String?
305 306 307 |
# File 'lib/couchbase/management/query_index_manager.rb', line 305 def scope_name @scope_name end |
#watch_primary ⇒ Boolean
304 305 306 |
# File 'lib/couchbase/management/query_index_manager.rb', line 304 def watch_primary @watch_primary end |