Class: Couchbase::Cluster::AnalyticsMetrics
- Inherits:
-
Object
- Object
- Couchbase::Cluster::AnalyticsMetrics
- Defined in:
- lib/couchbase/analytics_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/analytics_options.rb more...
Instance Attribute Summary collapse
-
#elapsed_time ⇒ Integer
Duration in milliseconds.
- #error_count ⇒ Integer
-
#execution_time ⇒ Integer
Duration in milliseconds.
- #processed_objects ⇒ Integer
- #result_count ⇒ Integer
- #result_size ⇒ Integer
- #warning_count ⇒ Integer
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ AnalyticsMetrics
constructor
A new instance of AnalyticsMetrics.
Constructor Details
#initialize {|self| ... } ⇒ AnalyticsMetrics
Returns a new instance of AnalyticsMetrics.
57 58 59 |
# File 'lib/couchbase/analytics_options.rb', line 57 def initialize yield self if block_given? end |
Instance Attribute Details
#elapsed_time ⇒ Integer
Returns duration in milliseconds.
36 37 38 |
# File 'lib/couchbase/analytics_options.rb', line 36 def elapsed_time @elapsed_time end |
#error_count ⇒ Integer
48 49 50 |
# File 'lib/couchbase/analytics_options.rb', line 48 def error_count @error_count end |
#execution_time ⇒ Integer
Returns duration in milliseconds.
39 40 41 |
# File 'lib/couchbase/analytics_options.rb', line 39 def execution_time @execution_time end |
#processed_objects ⇒ Integer
51 52 53 |
# File 'lib/couchbase/analytics_options.rb', line 51 def processed_objects @processed_objects end |
#result_count ⇒ Integer
42 43 44 |
# File 'lib/couchbase/analytics_options.rb', line 42 def result_count @result_count end |
#result_size ⇒ Integer
45 46 47 |
# File 'lib/couchbase/analytics_options.rb', line 45 def result_size @result_size end |
#warning_count ⇒ Integer
54 55 56 |
# File 'lib/couchbase/analytics_options.rb', line 54 def warning_count @warning_count end |