public interface Query extends Query
Query
interface that adds the ModeShape-specific constant for the
full-text search
query language.Modifier and Type | Field and Description |
---|---|
static String |
FULL_TEXT_SEARCH
A string constant representing the ModeShape full-text search query language.
|
Modifier and Type | Method and Description |
---|---|
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.
|
bindValue, execute, getBindVariableNames, getLanguage, getStatement, getStoredQueryPath, setLimit, setOffset, storeAsNode
static final String FULL_TEXT_SEARCH
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
objectInvalidQueryException
- if the query contains an unbound variable.RepositoryException
- if another error occurs.Query.execute()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.