public class ClientQueryResult extends ClientObject implements javax.jcr.query.QueryResult
RemoteQueryResult
interface. This class makes a remote query result locally available using
the JCR QueryResult
interface.QueryResult
,
RemoteQueryResult
Constructor and Description |
---|
ClientQueryResult(javax.jcr.Session session,
RemoteQueryResult remote,
LocalAdapterFactory factory)
Creates a client adapter for the given remote query result.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getColumnNames() |
javax.jcr.NodeIterator |
getNodes() |
javax.jcr.query.RowIterator |
getRows() |
String[] |
getSelectorNames() |
getFactory, getItem, getNode, getNodeTypeArray
public ClientQueryResult(javax.jcr.Session session, RemoteQueryResult remote, LocalAdapterFactory factory)
session
- current sessionremote
- remote query resultfactory
- adapter factorypublic String[] getColumnNames() throws javax.jcr.RepositoryException
getColumnNames
in interface javax.jcr.query.QueryResult
javax.jcr.RepositoryException
public javax.jcr.query.RowIterator getRows() throws javax.jcr.RepositoryException
getRows
in interface javax.jcr.query.QueryResult
javax.jcr.RepositoryException
public javax.jcr.NodeIterator getNodes() throws javax.jcr.RepositoryException
getNodes
in interface javax.jcr.query.QueryResult
javax.jcr.RepositoryException
public String[] getSelectorNames() throws javax.jcr.RepositoryException
getSelectorNames
in interface javax.jcr.query.QueryResult
javax.jcr.RepositoryException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.