public interface OXQExpression extends OXQDynamicContext
javax.xml.xquery.XQExpression
.
Use method OXQView.getExpression(XQExpression)
to access these extensions. For example:
OXQDataSource ds = new OXQDataSource(); XQConnection con = ds.getConnection(); XQExpression expr = con.createExpression(); OXQExpression oexpr = OXQView.getExpression(expr); ...
Modifier and Type | Method and Description |
---|---|
XQResultSequence |
executeQuery(OXQEntity query)
Executes a query expression.
|
XQExpression |
getXQView()
Returns the
XQExpression instance corresponding to this instance. |
bindBigDecimal, bindBigInteger, bindBinary, bindCalendar, bindDocument, bindDuration, bindQName, getConnection, getDebugListener, getDefaultCollection, getDefaultResourceCollection, getPageManager, getUpdateMode, getUserExtension, setDebugListener, setDefaultCollection, setDefaultResourceCollection, setPageManager, setUpdateMode, setUserExtension, unbindAllExternalVariablesAndContextItem
XQExpression getXQView()
XQExpression
instance corresponding to this instance.getXQView
in interface OXQDynamicContext
XQResultSequence executeQuery(OXQEntity query) throws XQException
query
- the XQuery expression. The permitted entity data
is the same as what is permitted for MODULE
entities except that collections are not allowed. Cannot be null
. See the OXQEntity
documentation for a description of what data
may be for MODULE
entities.XQResultSequence
object containing the result of the query executionXQException
- if (1) there are errors when executing the query, (2) the expression is in a closed state, (3) the execution is cancelled, (4) the query parameter is null