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, setImplicitTimeZone
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bindAtomicValue, bindBoolean, bindByte, bindContextItem, bindDocument, bindDouble, bindFloat, bindInt, bindItem, bindLong, bindNode, bindObject, bindSequence, bindShort, getImplicitTimeZone, setImplicitTimeZone
protected SaxonXQPreparedExpression(SaxonXQConnection connection, XQueryExpression expression, DynamicQueryContext context) throws XQException
XQException
protected DynamicQueryContext getDynamicContext()
getDynamicContext
in class SaxonXQDynamicContext
protected void checkNotClosed() throws XQException
checkNotClosed
in class SaxonXQDynamicContext
XQException
protected SaxonXQDataFactory getDataFactory() throws XQException
getDataFactory
in class SaxonXQDynamicContext
XQException
public void cancel() throws XQException
cancel
in interface XQPreparedExpression
XQException
public void clearWarnings()
clearWarnings
in interface XQPreparedExpression
public void close()
close
in interface XQPreparedExpression
public XQResultSequence executeQuery() throws XQException
executeQuery
in interface XQPreparedExpression
XQException
public javax.xml.namespace.QName[] getAllExternalVariables() throws XQException
getAllExternalVariables
in interface XQPreparedExpression
XQException
public javax.xml.namespace.QName[] getUnboundExternalVariables() throws XQException
getUnboundExternalVariables
in interface XQPreparedExpression
XQException
public int getQueryTimeout() throws XQException
getQueryTimeout
in interface XQPreparedExpression
XQException
public XQSequenceType getStaticResultType() throws XQException
getStaticResultType
in interface XQPreparedExpression
XQException
public XQSequenceType getStaticVariableType(javax.xml.namespace.QName name) throws XQException
getStaticVariableType
in interface XQPreparedExpression
XQException
public XQWarning getWarnings() throws XQException
getWarnings
in interface XQPreparedExpression
XQException
public boolean isClosed()
isClosed
in interface XQPreparedExpression
public void setQueryTimeout(int seconds)
setQueryTimeout
in interface XQPreparedExpression