Class BatchMixedResults


  • public class BatchMixedResults
    extends java.lang.Object
    BatchMixedResults - Mixed success and failures.
    • Constructor Detail

      • BatchMixedResults

        public BatchMixedResults​(java.util.Optional<java.lang.String> batchDecisionId,
                                 java.util.Optional<? extends java.util.Map<java.lang.String,​java.lang.Object>> metrics,
                                 java.util.Optional<? extends java.util.Map<java.lang.String,​Responses>> responses)
      • BatchMixedResults

        public BatchMixedResults()
    • Method Detail

      • batchDecisionId

        public java.util.Optional<java.lang.String> batchDecisionId()
      • metrics

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> metrics()
        If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
      • responses

        public java.util.Optional<java.util.Map<java.lang.String,​Responses>> responses()
      • withBatchDecisionId

        public BatchMixedResults withBatchDecisionId​(java.lang.String batchDecisionId)
      • withBatchDecisionId

        public BatchMixedResults withBatchDecisionId​(java.util.Optional<java.lang.String> batchDecisionId)
      • withMetrics

        public BatchMixedResults withMetrics​(java.util.Map<java.lang.String,​java.lang.Object> metrics)
        If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
      • withMetrics

        public BatchMixedResults withMetrics​(java.util.Optional<? extends java.util.Map<java.lang.String,​java.lang.Object>> metrics)
        If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
      • withResponses

        public BatchMixedResults withResponses​(java.util.Optional<? extends java.util.Map<java.lang.String,​Responses>> responses)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object