public interface Query
Lifecycle: use the constructor to create a new object. Call init() to initialize the bind variable map. If the query is re-executed, a new instance is created.
Modifier and Type | Method and Description |
---|---|
void |
bindValue(String key,
PropertyValue value) |
Result |
executeQuery() |
List<String> |
getBindVariableNames() |
int |
getColumnIndex(String columnName) |
ColumnImpl[] |
getColumns() |
double |
getEstimatedCost()
Get the estimated cost.
|
String |
getPlan()
Get the query plan.
|
Iterator<ResultRowImpl> |
getRows() |
int |
getSelectorIndex(String selectorName) |
String[] |
getSelectorNames() |
long |
getSize() |
Tree |
getTree(String path) |
void |
init()
Initialize the query.
|
void |
prepare()
Prepare the query.
|
void |
setExecutionContext(ExecutionContext context) |
void |
setExplain(boolean explain) |
void |
setLimit(long limit) |
void |
setMeasure(boolean measure) |
void |
setOffset(long offset) |
void |
setOrderings(OrderingImpl[] orderings) |
void |
setTraversalEnabled(boolean traversalEnabled) |
void setExecutionContext(ExecutionContext context)
void setLimit(long limit)
void setOffset(long offset)
void bindValue(String key, PropertyValue value)
void setTraversalEnabled(boolean traversalEnabled)
Result executeQuery()
ColumnImpl[] getColumns()
int getColumnIndex(String columnName)
String[] getSelectorNames()
int getSelectorIndex(String selectorName)
Iterator<ResultRowImpl> getRows()
long getSize()
void setExplain(boolean explain)
void setMeasure(boolean measure)
void setOrderings(OrderingImpl[] orderings)
void init()
void prepare()
String getPlan()
double getEstimatedCost()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"