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