|
||||||||||
| 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 multi status 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 QValues. |
| 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)
QueryResultRowNodeId of node for a given selectorname this
result row represents.
getNodeId in interface QueryResultRowselectorName - 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)
QueryResultRowselectorName of this result row.
getScore in interface QueryResultRowselectorName - the name of a selector or null for the
default selector.
public QValue[] getValues()
QueryResultRowQValues.
getValues in interface QueryResultRowQValues 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 | |||||||||