Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement query profile #1365

Merged
merged 19 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
javadoc fixes
  • Loading branch information
kolea2 committed Mar 13, 2024
commit 6c041b2a16dd52f47c9dd48da058cbc6f10e4855
Expand Up @@ -66,8 +66,7 @@ default AggregationResults runAggregation(AggregationQuery query) {

/**
* Submits a {@link AggregationQuery} with a specified {@link
* com.google.cloud.datastore.models.QueryProfile.QueryMode} and returns {@link
* AggregationResults}.
* com.google.cloud.datastore.models.ExplainOptions} and returns {@link AggregationResults}.
*
* @throws DatastoreException upon failure
*/
Expand Down
Expand Up @@ -22,7 +22,7 @@
import java.util.Map;
import org.threeten.bp.Duration;

/** Model class for {@code com.google.datastore.v1.ExecutionStats} */
/** Model class for {@link com.google.datastore.v1.ExecutionStats} */
@BetaApi
public class ExecutionStats {
private final long resultsReturned;
Expand Down
Expand Up @@ -20,7 +20,7 @@
import com.google.common.base.Objects;
import java.util.Optional;

/** Model class for {@code com.google.datastore.v1.ExplainMetrics}. */
/** Model class for {@link com.google.datastore.v1.ExplainMetrics}. */
@BetaApi
public class ExplainMetrics {
private final PlanSummary planSummary;
Expand All @@ -41,7 +41,7 @@ public PlanSummary getPlanSummary() {

/**
* Returns the aggregated stats from the execution of the query, if present. Only present when
* 'analyze' is set to true for {@code ExplainOptions}.
* 'analyze' is set to true for {@link ExplainOptions}.
*/
public Optional<ExecutionStats> getExecutionStats() {
return Optional.ofNullable(executionStats);
Expand Down
Expand Up @@ -21,7 +21,7 @@
import com.google.common.base.Objects;

/**
* Model class for {@code com.google.datastore.v1.ExplainOptions}. Contains the explain options for
* Model class for {@link com.google.datastore.v1.ExplainOptions}. Contains the explain options for
* the query. Analyze is set to 'false' by default.
*/
@BetaApi
Expand Down
Expand Up @@ -23,7 +23,7 @@
import java.util.List;
import java.util.Map;

/** Model class for {@code com.google.datastore.v1.PlanSummary} */
/** Model class for {@link com.google.datastore.v1.PlanSummary} */
@BetaApi
public class PlanSummary {
private final List<Map<String, Object>> indexesUsed = new ArrayList<>();
Expand Down