Class: Couchbase::Cluster::AnalyticsMetrics

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/analytics_options.rb,
/code/couchbase-ruby-client/lib/couchbase/analytics_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ AnalyticsMetrics

Returns a new instance of AnalyticsMetrics.

Yield Parameters:



59
60
61
# File 'lib/couchbase/analytics_options.rb', line 59

def initialize
  yield self if block_given?
end

Instance Attribute Details

#elapsed_timeInteger

Returns duration in milliseconds.

Returns:

  • (Integer)

    duration in milliseconds



38
39
40
# File 'lib/couchbase/analytics_options.rb', line 38

def elapsed_time
  @elapsed_time
end

#error_countInteger

Returns:

  • (Integer)


50
51
52
# File 'lib/couchbase/analytics_options.rb', line 50

def error_count
  @error_count
end

#execution_timeInteger

Returns duration in milliseconds.

Returns:

  • (Integer)

    duration in milliseconds



41
42
43
# File 'lib/couchbase/analytics_options.rb', line 41

def execution_time
  @execution_time
end

#processed_objectsInteger

Returns:

  • (Integer)


53
54
55
# File 'lib/couchbase/analytics_options.rb', line 53

def processed_objects
  @processed_objects
end

#result_countInteger

Returns:

  • (Integer)


44
45
46
# File 'lib/couchbase/analytics_options.rb', line 44

def result_count
  @result_count
end

#result_sizeInteger

Returns:

  • (Integer)


47
48
49
# File 'lib/couchbase/analytics_options.rb', line 47

def result_size
  @result_size
end

#warning_countInteger

Returns:

  • (Integer)


56
57
58
# File 'lib/couchbase/analytics_options.rb', line 56

def warning_count
  @warning_count
end