public class AqlQueryExplainOptions extends Object
| Constructor and Description |
|---|
AqlQueryExplainOptions() |
| Modifier and Type | Method and Description |
|---|---|
AqlQueryExplainOptions |
allPlans(Boolean allPlans) |
protected AqlQueryExplainOptions |
bindVars(Map<String,Object> bindVars) |
Boolean |
getAllPlans() |
protected Map<String,Object> |
getBindVars() |
Integer |
getMaxNumberOfPlans() |
protected String |
getQuery() |
Collection<String> |
getRules() |
AqlQueryExplainOptions |
maxNumberOfPlans(Integer maxNumberOfPlans) |
protected AqlQueryExplainOptions |
query(String query) |
AqlQueryExplainOptions |
rules(Collection<String> rules) |
protected AqlQueryExplainOptions bindVars(Map<String,Object> bindVars)
bindVars - key/value pairs representing the bind parametersprotected String getQuery()
protected AqlQueryExplainOptions query(String query)
query - the query which you want explainedpublic Integer getMaxNumberOfPlans()
public AqlQueryExplainOptions maxNumberOfPlans(Integer maxNumberOfPlans)
maxNumberOfPlans - an optional maximum number of plans that the optimizer is allowed to generate. Setting this attribute
to a low value allows to put a cap on the amount of work the optimizer does.public Boolean getAllPlans()
public AqlQueryExplainOptions allPlans(Boolean allPlans)
allPlans - if set to true, all possible execution plans will be returned. The default is false, meaning only the
optimal plan will be returned.public Collection<String> getRules()
public AqlQueryExplainOptions rules(Collection<String> rules)
rules - an array of to-be-included or to-be-excluded optimizer rules can be put into this attribute, telling
the optimizer to include or exclude specific rules.Copyright © 2016–2019 ArangoDB GmbH. All rights reserved.