public class ClientRow extends ClientObject implements javax.jcr.query.Row
RemoteRow
interface. This class makes a remote query row locally available using
the JCR Row
interface.Row
,
RemoteRow
Constructor and Description |
---|
ClientRow(javax.jcr.Session session,
RemoteRow remote,
LocalAdapterFactory factory)
Creates a client adapter for the given remote query row.
|
Modifier and Type | Method and Description |
---|---|
javax.jcr.Node |
getNode() |
javax.jcr.Node |
getNode(String selectorName) |
String |
getPath() |
String |
getPath(String selectorName) |
double |
getScore() |
double |
getScore(String selectorName) |
javax.jcr.Value |
getValue(String s) |
javax.jcr.Value[] |
getValues() |
getFactory, getItem, getNode, getNodeTypeArray
public ClientRow(javax.jcr.Session session, RemoteRow remote, LocalAdapterFactory factory)
remote
- remote query rowpublic javax.jcr.Value[] getValues() throws javax.jcr.RepositoryException
getValues
in interface javax.jcr.query.Row
javax.jcr.RepositoryException
public javax.jcr.Value getValue(String s) throws javax.jcr.RepositoryException
getValue
in interface javax.jcr.query.Row
javax.jcr.RepositoryException
public javax.jcr.Node getNode() throws javax.jcr.RepositoryException
getNode
in interface javax.jcr.query.Row
javax.jcr.RepositoryException
public javax.jcr.Node getNode(String selectorName) throws javax.jcr.RepositoryException
getNode
in interface javax.jcr.query.Row
javax.jcr.RepositoryException
public String getPath() throws javax.jcr.RepositoryException
getPath
in interface javax.jcr.query.Row
javax.jcr.RepositoryException
public String getPath(String selectorName) throws javax.jcr.RepositoryException
getPath
in interface javax.jcr.query.Row
javax.jcr.RepositoryException
public double getScore() throws javax.jcr.RepositoryException
getScore
in interface javax.jcr.query.Row
javax.jcr.RepositoryException
public double getScore(String selectorName) throws javax.jcr.RepositoryException
getScore
in interface javax.jcr.query.Row
javax.jcr.RepositoryException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.