org.apache.jackrabbit.rmi.client
Class ClientQueryResult
java.lang.Object
org.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientQueryResult
- All Implemented Interfaces:
- javax.jcr.query.QueryResult
public class ClientQueryResult
- extends ClientObject
- implements javax.jcr.query.QueryResult
Local adapter for the JCR-RMI
RemoteQueryResult
interface. This class makes a remote query result locally available using
the JCR QueryResult
interface.
- See Also:
QueryResult
,
RemoteQueryResult
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientQueryResult
public ClientQueryResult(javax.jcr.Session session,
RemoteQueryResult remote,
LocalAdapterFactory factory)
- Creates a client adapter for the given remote query result.
- Parameters:
session
- current sessionremote
- remote query resultfactory
- adapter factory
getColumnNames
public String[] getColumnNames()
throws javax.jcr.RepositoryException
-
- Specified by:
getColumnNames
in interface javax.jcr.query.QueryResult
- Throws:
javax.jcr.RepositoryException
getRows
public javax.jcr.query.RowIterator getRows()
throws javax.jcr.RepositoryException
-
- Specified by:
getRows
in interface javax.jcr.query.QueryResult
- Throws:
javax.jcr.RepositoryException
getNodes
public javax.jcr.NodeIterator getNodes()
throws javax.jcr.RepositoryException
-
- Specified by:
getNodes
in interface javax.jcr.query.QueryResult
- Throws:
javax.jcr.RepositoryException
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.