Class AnalyticsMeta


  • public class AnalyticsMeta
    extends Object
    Holds associated metadata returned by the server for the performed analytics request.
    • Method Detail

      • requestId

        public String requestId()
        Get the request identifier of the query request
        Returns:
        request identifier
      • clientContextId

        public String clientContextId()
        Get the client context identifier as set by the client
        Returns:
        client context identifier
      • signatureAs

        public <T> Optional<T> signatureAs​(Class<T> target)
        Get the signature as the target type, if present.
        Type Parameters:
        T - the generic target type.
        Parameters:
        target - the target type.
        Returns:
        the decoded signature if present.
      • status

        public AnalyticsStatus status()
        Get the status of the response.
        Returns:
        the status of the response.
      • metrics

        public AnalyticsMetrics metrics()
        Get the associated metrics for the response.
        Returns:
        the metrics for the analytics response.
      • warnings

        public Optional<JsonObject> warnings()
        Returns warnings if present.
        Returns:
        warnings, if present.
      • errors

        public Optional<JsonObject> errors()
        Returns errors if present.
        Returns:
        errors, if present.