Modifier and Type | Field and Description |
---|---|
static String |
JCR_PATH
The "jcr:path" pseudo-property.
|
static String |
JCR_SCORE
The "jcr:score" pseudo-property.
|
static String |
REP_EXCERPT
The "rep:excerpt" pseudo-property.
|
static String |
REP_SPELLCHECK
The "rep:spellcheck" pseudo-property.
|
static String |
REP_SUGGEST
The "rep:suggest" pseudo-property.
|
Modifier and Type | Method and Description |
---|---|
void |
bindValue(String varName,
PropertyValue value) |
ResultImpl |
executeQuery() |
SelectorExecutionPlan |
getBestSelectorExecutionPlan(FilterImpl filter) |
List<String> |
getBindVariableNames() |
PropertyValue |
getBindVariableValue(String bindVariableName) |
int |
getColumnIndex(String columnName) |
ColumnImpl[] |
getColumns() |
ConstraintImpl |
getConstraint() |
double |
getEstimatedCost()
Get the estimated cost.
|
ExecutionContext |
getExecutionContext() |
NamePathMapper |
getNamePathMapper() |
String |
getOakPath(String path)
Validate the path is syntactically correct, and convert it to an Oak
internal path (including namespace remapping if needed).
|
OrderingImpl[] |
getOrderings() |
String |
getPlan()
Get the query plan.
|
Iterator<ResultRowImpl> |
getRows() |
int |
getSelectorIndex(String selectorName) |
String[] |
getSelectorNames() |
QueryEngineSettings |
getSettings() |
long |
getSize() |
SourceImpl |
getSource() |
String |
getStatement() |
Tree |
getTree(String path) |
void |
init()
Initialize the query.
|
boolean |
isMeasureOrExplainEnabled() |
void |
prepare()
Prepare the query.
|
void |
setDistinct(boolean distinct) |
void |
setExecutionContext(ExecutionContext context) |
void |
setExplain(boolean explain) |
void |
setInternal(boolean isInternal) |
void |
setLimit(long limit) |
void |
setMeasure(boolean measure) |
void |
setOffset(long offset) |
void |
setOrderings(OrderingImpl[] orderings) |
void |
setTraversalEnabled(boolean traversalEnabled) |
String |
toString() |
public static final String JCR_PATH
public static final String JCR_SCORE
public static final String REP_EXCERPT
public static final String REP_SPELLCHECK
public static final String REP_SUGGEST
public void init()
Query
public ColumnImpl[] getColumns()
getColumns
in interface Query
public ConstraintImpl getConstraint()
public OrderingImpl[] getOrderings()
public SourceImpl getSource()
public void bindValue(String varName, PropertyValue value)
public void setExplain(boolean explain)
setExplain
in interface Query
public void setMeasure(boolean measure)
setMeasure
in interface Query
public void setDistinct(boolean distinct)
public ResultImpl executeQuery()
executeQuery
in interface Query
public Iterator<ResultRowImpl> getRows()
public String getPlan()
Query
public double getEstimatedCost()
Query
getEstimatedCost
in interface Query
public void prepare()
Query
public int getSelectorIndex(String selectorName)
getSelectorIndex
in interface Query
public int getColumnIndex(String columnName)
getColumnIndex
in interface Query
public PropertyValue getBindVariableValue(String bindVariableName)
public String[] getSelectorNames()
getSelectorNames
in interface Query
public List<String> getBindVariableNames()
getBindVariableNames
in interface Query
public void setTraversalEnabled(boolean traversalEnabled)
setTraversalEnabled
in interface Query
public SelectorExecutionPlan getBestSelectorExecutionPlan(FilterImpl filter)
public void setExecutionContext(ExecutionContext context)
setExecutionContext
in interface Query
public void setOrderings(OrderingImpl[] orderings)
setOrderings
in interface Query
public NamePathMapper getNamePathMapper()
public boolean isMeasureOrExplainEnabled()
isMeasureOrExplainEnabled
in interface Query
public String getOakPath(String path)
path
- the pathpublic String getStatement()
public QueryEngineSettings getSettings()
public void setInternal(boolean isInternal)
setInternal
in interface Query
public ExecutionContext getExecutionContext()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"