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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
Copyright (C) Wolfgang Meier. All rights reserved.