Class ExplainMetrics

java.lang.Object
com.google.cloud.datastore.models.ExplainMetrics

@BetaApi public class ExplainMetrics extends Object
Model class for ExplainMetrics.
  • Constructor Details

    • ExplainMetrics

      @InternalApi public ExplainMetrics(ExplainMetrics proto)
  • Method Details

    • getPlanSummary

      public PlanSummary getPlanSummary()
      Returns the planning phase information for the query.
    • getExecutionStats

      public Optional<ExecutionStats> getExecutionStats()
      Returns the aggregated stats from the execution of the query, if present. Only present when 'analyze' is set to true for ExplainOptions.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object