Class: Couchbase::Cluster::AnalyticsMetaData

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| ... } ⇒ AnalyticsMetaData

Returns a new instance of AnalyticsMetaData.

Yield Parameters:



84
85
86
# File 'lib/couchbase/analytics_options.rb', line 84

def initialize
  yield self if block_given?
end

Instance Attribute Details

#client_context_idString

Returns:

  • (String)


69
70
71
# File 'lib/couchbase/analytics_options.rb', line 69

def client_context_id
  @client_context_id
end

#metricsAnalyticsMetrics

Returns:



81
82
83
# File 'lib/couchbase/analytics_options.rb', line 81

def metrics
  @metrics
end

#request_idString

Returns:

  • (String)


66
67
68
# File 'lib/couchbase/analytics_options.rb', line 66

def request_id
  @request_id
end

#signatureHash

Returns the signature as returned by the query engine which is then decoded as JSON object

Returns:

  • (Hash)

    returns the signature as returned by the query engine which is then decoded as JSON object



75
76
77
# File 'lib/couchbase/analytics_options.rb', line 75

def signature
  @signature
end

#status:running, ...

Returns:

  • (:running, :success, :errors, :completed, :stopped, :timeout, :closed, :fatal, :aborted, :unknown)


72
73
74
# File 'lib/couchbase/analytics_options.rb', line 72

def status
  @status
end

#warningsArray<AnalyticsWarning>

Returns:



78
79
80
# File 'lib/couchbase/analytics_options.rb', line 78

def warnings
  @warnings
end