|
ModeShape Distribution 3.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Query
A specialization of the standard JCR Query
interface that adds the ModeShape-specific constant for the
full-text search
query language.
Field Summary | |
---|---|
static String |
FULL_TEXT_SEARCH
A string constant representing the ModeShape full-text search query language. |
Fields inherited from interface javax.jcr.query.Query |
---|
JCR_JQOM, JCR_SQL2, SQL, XPATH |
Method Summary | |
---|---|
boolean |
cancel()
Signal that the query, if currently executing , should be cancelled and stopped (with an exception). |
QueryResult |
explain()
Generates a plan for the this query and returns a object that contains no results (nodes
or rows) but does have a query plan. |
String |
getAbstractQueryModelRepresentation()
Get the underlying and immutable Abstract Query Model representation of this query. |
Methods inherited from interface javax.jcr.query.Query |
---|
bindValue, execute, getBindVariableNames, getLanguage, getStatement, getStoredQueryPath, setLimit, setOffset, storeAsNode |
Field Detail |
---|
static final String FULL_TEXT_SEARCH
Method Detail |
---|
boolean cancel()
executing
, should be cancelled and stopped (with an exception).
This method does not block until the query is actually stopped.
String getAbstractQueryModelRepresentation()
QueryResult explain() throws InvalidQueryException, RepositoryException
QueryResult
object that contains no results (nodes
or rows) but does have a query plan.
If this Query
contains a variable (see BindVariableValue
) which
has not been bound to a value (see Query.bindValue(java.lang.String, javax.jcr.Value)
) then this method throws an InvalidQueryException
.
QueryResult
object
InvalidQueryException
- if the query contains an unbound variable.
RepositoryException
- if another error occurs.Query.execute()
|
ModeShape Distribution 3.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |