| Modifier and Type | Method and Description |
|---|---|
void |
bindValue(java.lang.String key,
PropertyValue value) |
Query |
buildAlternativeQuery()
Try to convert the query to an alternative form, specially a "union".
|
boolean |
containsUnfilteredFullTextCondition()
Whether the condition contains a fulltext condition that can not be
applied to the filter, for example because it is part of an "or" condition
of the form "where a=1 or contains(., 'x')".
|
Query |
copyOf()
returns a clone of the current object.
|
Result |
executeQuery() |
java.util.List<java.lang.String> |
getBindVariableNames() |
int |
getColumnIndex(java.lang.String columnName) |
ColumnImpl[] |
getColumns() |
double |
getEstimatedCost()
Get the estimated cost.
|
java.lang.String |
getIndexCostInfo()
Get the index cost as a JSON string.
|
java.lang.String |
getPlan()
Get the query plan.
|
java.util.Iterator<ResultRowImpl> |
getRows() |
int |
getSelectorIndex(java.lang.String selectorName) |
java.lang.String[] |
getSelectorNames() |
long |
getSize()
Get the size if known.
|
long |
getSize(Result.SizePrecision precision,
long max)
Get the size if known.
|
java.lang.String |
getStatement() |
Tree |
getTree(java.lang.String path) |
void |
init()
Initialize the query.
|
boolean |
isInit() |
boolean |
isInternal() |
boolean |
isMeasureOrExplainEnabled() |
boolean |
isSortedByIndex()
Returns whether the results will be sorted by index.
|
void |
prepare()
Prepare the query.
|
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 traversal) |
java.lang.String |
toString() |
public void setExecutionContext(ExecutionContext context)
setExecutionContext in interface Querypublic void setOrderings(OrderingImpl[] orderings)
setOrderings in interface Querypublic void bindValue(java.lang.String key,
PropertyValue value)
public void setTraversalEnabled(boolean traversal)
setTraversalEnabled in interface Querypublic void prepare()
Querypublic double getEstimatedCost()
QuerygetEstimatedCost in interface Querypublic java.util.List<java.lang.String> getBindVariableNames()
getBindVariableNames in interface Querypublic ColumnImpl[] getColumns()
getColumns in interface Querypublic java.lang.String[] getSelectorNames()
getSelectorNames in interface Querypublic int getSelectorIndex(java.lang.String selectorName)
getSelectorIndex in interface Querypublic long getSize()
Querypublic long getSize(Result.SizePrecision precision, long max)
Querypublic void setExplain(boolean explain)
setExplain in interface Querypublic void setMeasure(boolean measure)
setMeasure in interface Querypublic void init()
Querypublic java.lang.String toString()
toString in class java.lang.Objectpublic Result executeQuery()
executeQuery in interface Querypublic java.lang.String getPlan()
Querypublic java.lang.String getIndexCostInfo()
QuerygetIndexCostInfo in interface Querypublic boolean isMeasureOrExplainEnabled()
isMeasureOrExplainEnabled in interface Querypublic int getColumnIndex(java.lang.String columnName)
getColumnIndex in interface Querypublic java.util.Iterator<ResultRowImpl> getRows()
public void setInternal(boolean isInternal)
setInternal in interface Querypublic boolean isSortedByIndex()
QueryisSortedByIndex in interface Querypublic Query buildAlternativeQuery()
QueryQuery.init().buildAlternativeQuery in interface Querythis if no conversions are possible or a new instance of
a Query. Cannot return null.public Query copyOf() throws java.lang.IllegalStateException
Query
returns a clone of the current object. Will throw an exception in case it's invoked in a non
appropriate moment. For example the default QueryImpl cannot be cloned once the
Query.init() has been executed.
May return null if not implemented.
public boolean isInit()
public java.lang.String getStatement()
getStatement in interface Querypublic boolean isInternal()
isInternal in interface Querytrue if the current query is internal. false otherwise.public boolean containsUnfilteredFullTextCondition()
QuerycontainsUnfilteredFullTextCondition in interface Query"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"