in N1QL, responses are JSON and include metadata. the metrics field contains statistics, including the time taken to execute the query (so notably elapsedTime and executionTime).
in the 2.2.0 developer preview of the Java SDK, you can access these metrics as a QueryMetrics object using the info() method on the QueryResult.
in
N1QL, responses are JSON and include metadata. themetricsfield contains statistics, including the time taken to execute the query (so notablyelapsedTimeandexecutionTime).in the
2.2.0 developer previewof the Java SDK, you can access these metrics as aQueryMetricsobject using theinfo()method on theQueryResult.