Class DefaultAnalyticsQueryResult

java.lang.Object
com.couchbase.client.java.analytics.DefaultAnalyticsQueryResult
All Implemented Interfaces:
AnalyticsQueryResult, Iterable<AnalyticsQueryRow>

@Committed
@Public
public class DefaultAnalyticsQueryResult
extends Object
implements AnalyticsQueryResult
  • Constructor Details

    • DefaultAnalyticsQueryResult

      public DefaultAnalyticsQueryResult​(List<AsyncAnalyticsQueryRow> rows, Object signature, AnalyticsMetrics info, List<JsonObject> errors, String finalStatus, Boolean finalSuccess, boolean parseSuccess, String requestId, String clientContextId)
      Create a default blocking representation of a query result.
      Parameters:
      rows - the list of rows.
      signature - the signature for rows.
      info - the metrics.
      errors - the list of errors and warnings.
      finalStatus - the definitive (but potentially delayed) status of the query.
      finalSuccess - the definitive (but potentially delayed) success of the query.
      parseSuccess - the intermediate result of the query
    • DefaultAnalyticsQueryResult

      public DefaultAnalyticsQueryResult​(AsyncAnalyticsDeferredResultHandle asyncHandle, Object signature, AnalyticsMetrics info, List<JsonObject> errors, String finalStatus, Boolean finalSuccess, boolean parseSuccess, String requestId, String clientContextId)
      Create a default blocking representation of a query result.
      Parameters:
      asyncHandle - the deferred result handle.
      signature - the signature for rows.
      info - the metrics.
      errors - the list of errors and warnings.
      finalStatus - the definitive (but potentially delayed) status of the query.
      finalSuccess - the definitive (but potentially delayed) success of the query.
      parseSuccess - the intermediate result of the query
  • Method Details