org.apache.jackrabbit.rmi.remote
Interface RemoteQueryResult

All Superinterfaces:
Remote
All Known Implementing Classes:
ServerQueryResult

public interface RemoteQueryResult
extends Remote

Remote version of the JCR QueryResult interface. Used by the ServerQueryResult and ClientQueryResult adapter base classes to provide transparent RMI access to remote items.

RMI errors are signaled with RemoteExceptions.

See Also:
QueryResult, ClientQueryResult, ServerQueryResult

Method Summary
 String[] getColumnNames()
           
 RemoteIterator getNodes()
           
 RemoteIterator getRows()
           
 

Method Detail

getColumnNames

String[] getColumnNames()
                        throws RepositoryException,
                               RemoteException
Returns:
a PropertyIterator
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors
See Also:
QueryResult.getColumnNames()

getRows

RemoteIterator getRows()
                       throws RepositoryException,
                              RemoteException
Returns:
a RowIterator
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors
See Also:
QueryResult.getRows()

getNodes

RemoteIterator getNodes()
                        throws RepositoryException,
                               RemoteException
Returns:
a remote node iterator
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors
See Also:
QueryResult.getNodes()


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.