org.priha.query
Class QueryImpl
java.lang.Object
org.priha.query.QueryImpl
- Direct Known Subclasses:
- XPathQueryImpl
public abstract class QueryImpl
- extends java.lang.Object
The root class for Priha query implementations.
- Author:
- Janne Jalkanen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryImpl
public QueryImpl(SessionImpl session,
QueryRootNode root)
- Construct a QueryImpl for a given Session and a given abstract
query tree. Subclasses are expected to create the AQT.
- Parameters:
session
- The Session against which this Query is createdroot
- The AQT Root node
execute
public QueryResult execute()
throws RepositoryException
- Throws:
RepositoryException
getStoredQueryPath
public java.lang.String getStoredQueryPath()
throws ItemNotFoundException,
RepositoryException
- Throws:
ItemNotFoundException
RepositoryException
storeAsNode
public Node storeAsNode(java.lang.String absPath)
throws ItemExistsException,
PathNotFoundException,
VersionException,
ConstraintViolationException,
LockException,
UnsupportedRepositoryOperationException,
RepositoryException
- Throws:
ItemExistsException
PathNotFoundException
VersionException
ConstraintViolationException
LockException
UnsupportedRepositoryOperationException
RepositoryException