|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.spi2dav.QueryResultRowImpl
public class QueryResultRowImpl
QueryResultRowImpl
implements a QueryResultRow that is
initialized from a multistatus response.
Constructor Summary | |
---|---|
QueryResultRowImpl(MultiStatusResponse response,
String[] columnNames,
NamePathResolver resolver,
QValueFactory qValueFactory,
ValueFactory valueFactory,
IdFactory idFactory)
|
Method Summary | |
---|---|
NodeId |
getNodeId(Name selectorName)
Returns NodeId of node for a given selectorname this
result row represents. |
double |
getScore(Name selectorName)
Returns score for the given selectorName of this result row. |
QValue[] |
getValues()
Returns an array of QValue s. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryResultRowImpl(MultiStatusResponse response, String[] columnNames, NamePathResolver resolver, QValueFactory qValueFactory, ValueFactory valueFactory, IdFactory idFactory) throws RepositoryException
RepositoryException
Method Detail |
---|
public NodeId getNodeId(Name selectorName)
QueryResultRow
NodeId
of node for a given selectorname
this
result row represents.
getNodeId
in interface QueryResultRow
selectorName
- the name of a selector or null
for the
default selector.
Node
this result row represents or
null
if there is no node present in this row for the
given selector name.Row.getNode()
,
Row.getNode(String)
public double getScore(Name selectorName)
QueryResultRow
selectorName
of this result row.
getScore
in interface QueryResultRow
selectorName
- the name of a selector or null
for the
default selector.
public QValue[] getValues()
QueryResultRow
QValue
s.
getValues
in interface QueryResultRow
QValue
s representing the values present
in this result row.Row.getValue(String)
,
Row.getValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |