Class: Couchbase::Management::AnalyticsIndexManager::CreateDatasetOptions
- Inherits:
-
Object
- Object
- Couchbase::Management::AnalyticsIndexManager::CreateDatasetOptions
- Defined in:
- lib/couchbase/management/analytics_index_manager.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/management/analytics_index_manager.rb more...
Instance Attribute Summary collapse
-
#condition ⇒ String
WHERE clause to use for creating dataset.
-
#dataverse_name ⇒ String
The name of the dataverse to use (defaults to
nil
). -
#ignore_if_exists ⇒ Boolean
Ignore if the dataset already exists.
-
#timeout ⇒ Integer
The time in milliseconds allowed for the operation to complete.
Instance Method Summary collapse
-
#initialize {|| ... } ⇒ CreateDatasetOptions
constructor
A new instance of CreateDatasetOptions.
Constructor Details
#initialize {|| ... } ⇒ CreateDatasetOptions
Returns a new instance of CreateDatasetOptions.
267 268 269 270 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 267 def initialize @ignore_if_exists = false yield self if block_given? end |
Instance Attribute Details
#condition ⇒ String
Returns WHERE clause to use for creating dataset.
258 259 260 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 258 def condition @condition end |
#dataverse_name ⇒ String
Returns The name of the dataverse to use (defaults to nil
).
261 262 263 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 261 def dataverse_name @dataverse_name end |
#ignore_if_exists ⇒ Boolean
Returns ignore if the dataset already exists.
255 256 257 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 255 def ignore_if_exists @ignore_if_exists end |
#timeout ⇒ Integer
Returns the time in milliseconds allowed for the operation to complete.
264 265 266 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 264 def timeout @timeout end |