Class: Couchbase::Cluster::QueryMetaData
- Inherits:
-
Object
- Object
- Couchbase::Cluster::QueryMetaData
- Defined in:
- lib/couchbase/query_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/query_options.rb more...
Instance Attribute Summary collapse
-
#client_context_id ⇒ String
Returns the client context identifier string set of the query request.
-
#metrics ⇒ QueryMetrics
Metrics as returned by the query engine, if enabled.
-
#profile ⇒ Hash
Returns the profiling information returned by the query engine which is then decoded as JSON object.
-
#request_id ⇒ String
Returns the request identifier string of the query request.
-
#signature ⇒ Hash
Returns the signature as returned by the query engine which is then decoded as JSON object.
-
#status ⇒ Symbol
Returns raw query execution status as returned by the query engine.
-
#warnings ⇒ Array<QueryWarning>
List of warnings returned by the query engine.
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ QueryMetaData
constructor
A new instance of QueryMetaData.
Constructor Details
#initialize {|self| ... } ⇒ QueryMetaData
Returns a new instance of QueryMetaData.
204 205 206 |
# File 'lib/couchbase/query_options.rb', line 204 def initialize yield self if block_given? end |
Instance Attribute Details
#client_context_id ⇒ String
Returns the client context identifier string set of the query request
186 187 188 |
# File 'lib/couchbase/query_options.rb', line 186 def client_context_id @client_context_id end |
#metrics ⇒ QueryMetrics
Returns metrics as returned by the query engine, if enabled.
198 199 200 |
# File 'lib/couchbase/query_options.rb', line 198 def metrics @metrics end |
#profile ⇒ Hash
Returns the profiling information returned by the query engine which is then decoded as JSON object
195 196 197 |
# File 'lib/couchbase/query_options.rb', line 195 def profile @profile end |
#request_id ⇒ String
Returns the request identifier string of the query request
183 184 185 |
# File 'lib/couchbase/query_options.rb', line 183 def request_id @request_id end |
#signature ⇒ Hash
Returns the signature as returned by the query engine which is then decoded as JSON object
192 193 194 |
# File 'lib/couchbase/query_options.rb', line 192 def signature @signature end |
#status ⇒ Symbol
Returns raw query execution status as returned by the query engine
189 190 191 |
# File 'lib/couchbase/query_options.rb', line 189 def status @status end |
#warnings ⇒ Array<QueryWarning>
Returns list of warnings returned by the query engine.
201 202 203 |
# File 'lib/couchbase/query_options.rb', line 201 def warnings @warnings end |