public class SaxonXQPreparedExpression extends SaxonXQDynamicContext implements XQPreparedExpression
Note that an expression is scrollable or not depending on the scrollability property of the XQConnection that was used to compile this expression (at the time it was compiled). If the expression is scrollable then its results are delivered in an XQSequence that supports scrolling backwards as well as forwards.
For full Javadoc details, see the XQJ interface specification.
| Modifier | Constructor and Description |
|---|---|
protected |
SaxonXQPreparedExpression(SaxonXQConnection connection,
XQueryExpression expression,
DynamicQueryContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
protected void |
checkNotClosed() |
void |
clearWarnings() |
void |
close() |
XQResultSequence |
executeQuery() |
javax.xml.namespace.QName[] |
getAllExternalVariables() |
protected SaxonXQDataFactory |
getDataFactory() |
protected DynamicQueryContext |
getDynamicContext() |
int |
getQueryTimeout() |
XQSequenceType |
getStaticResultType() |
XQSequenceType |
getStaticVariableType(javax.xml.namespace.QName name) |
javax.xml.namespace.QName[] |
getUnboundExternalVariables() |
XQWarning |
getWarnings() |
boolean |
isClosed() |
void |
setQueryTimeout(int seconds) |
bindAtomicValue, bindBoolean, bindByte, bindContextItem, bindDocument, bindDouble, bindFloat, bindInt, bindItem, bindLong, bindNode, bindObject, bindSequence, bindShort, getImplicitTimeZone, setImplicitTimeZoneclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbindAtomicValue, bindBoolean, bindByte, bindContextItem, bindDocument, bindDouble, bindFloat, bindInt, bindItem, bindLong, bindNode, bindObject, bindSequence, bindShort, getImplicitTimeZone, setImplicitTimeZoneprotected SaxonXQPreparedExpression(SaxonXQConnection connection, XQueryExpression expression, DynamicQueryContext context) throws XQException
XQExceptionprotected DynamicQueryContext getDynamicContext()
getDynamicContext in class SaxonXQDynamicContextprotected void checkNotClosed()
throws XQException
checkNotClosed in class SaxonXQDynamicContextXQExceptionprotected SaxonXQDataFactory getDataFactory() throws XQException
getDataFactory in class SaxonXQDynamicContextXQExceptionpublic void cancel()
throws XQException
cancel in interface XQPreparedExpressionXQExceptionpublic void clearWarnings()
clearWarnings in interface XQPreparedExpressionpublic void close()
close in interface XQPreparedExpressionpublic XQResultSequence executeQuery() throws XQException
executeQuery in interface XQPreparedExpressionXQExceptionpublic javax.xml.namespace.QName[] getAllExternalVariables()
throws XQException
getAllExternalVariables in interface XQPreparedExpressionXQExceptionpublic javax.xml.namespace.QName[] getUnboundExternalVariables()
throws XQException
getUnboundExternalVariables in interface XQPreparedExpressionXQExceptionpublic int getQueryTimeout()
throws XQException
getQueryTimeout in interface XQPreparedExpressionXQExceptionpublic XQSequenceType getStaticResultType() throws XQException
getStaticResultType in interface XQPreparedExpressionXQExceptionpublic XQSequenceType getStaticVariableType(javax.xml.namespace.QName name) throws XQException
getStaticVariableType in interface XQPreparedExpressionXQExceptionpublic XQWarning getWarnings() throws XQException
getWarnings in interface XQPreparedExpressionXQExceptionpublic boolean isClosed()
isClosed in interface XQPreparedExpressionpublic void setQueryTimeout(int seconds)
setQueryTimeout in interface XQPreparedExpression