org.exist.xmlrpc
Class QueryResult
java.lang.Object
org.exist.xmlrpc.QueryResult
- public class QueryResult
- extends java.lang.Object
Simple container for the results of a query. Used to cache
query results that may be retrieved later by the client.
- Author:
- wolf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
queryTime
protected long queryTime
result
protected Sequence result
context
protected XQueryContext context
timestamp
protected long timestamp
exception
protected XPathException exception
QueryResult
public QueryResult(XQueryContext context,
Sequence result)
QueryResult
public QueryResult(XQueryContext context,
Sequence result,
long queryTime)
QueryResult
public QueryResult(XPathException e)
hasErrors
public boolean hasErrors()
getException
public XPathException getException()
getContext
public XQueryContext getContext()
- Returns:
- Returns the context.
getQueryTime
public long getQueryTime()
- Returns:
- Returns the queryTime.
getResult
public Sequence getResult()
- Returns:
- Returns the result.
getTimestamp
public long getTimestamp()
- Returns:
- Returns the timestamp.
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.