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:
- QueryResult
public class ClientQueryResult
- extends ClientObject
- implements 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(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 RepositoryException
-
- Specified by:
getColumnNames
in interface QueryResult
- Throws:
RepositoryException
getRows
public RowIterator getRows()
throws RepositoryException
-
- Specified by:
getRows
in interface QueryResult
- Throws:
RepositoryException
getNodes
public NodeIterator getNodes()
throws RepositoryException
-
- Specified by:
getNodes
in interface QueryResult
- Throws:
RepositoryException
getSelectorNames
public String[] getSelectorNames()
throws RepositoryException
- Specified by:
getSelectorNames
in interface QueryResult
- Throws:
RepositoryException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.