Class: Couchbase::Management::AnalyticsIndexManager::CreateDatasetOptions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize {|| ... } ⇒ CreateDatasetOptions

Returns a new instance of CreateDatasetOptions.

Yield Parameters:

[View source]

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

#conditionString

Returns WHERE clause to use for creating dataset.

Returns:

  • (String)

    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_nameString

Returns The name of the dataverse to use (defaults to nil).

Returns:

  • (String)

    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_existsBoolean

Returns ignore if the dataset already exists.

Returns:

  • (Boolean)

    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

#timeoutInteger

Returns the time in milliseconds allowed for the operation to complete.

Returns:

  • (Integer)

    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