public class QueryResultRowImpl extends Object implements QueryResultRow
QueryResultRowImpl implements a QueryResultRow that is
 initialized from a multistatus response.| Constructor and Description | 
|---|
| QueryResultRowImpl(MultiStatusResponse response,
                  String[] columnNames,
                  NamePathResolver resolver,
                  QValueFactory qValueFactory,
                  ValueFactory valueFactory,
                  IdFactory idFactory) | 
| Modifier and Type | Method and Description | 
|---|---|
| NodeId | getNodeId(String selectorName)Returns  NodeIdof node for a givenselectornamethis
 result row represents. | 
| double | getScore(String selectorName)Returns score for the given  selectorNameof this result row. | 
| QValue[] | getValues()Returns an array of  QValues. | 
public QueryResultRowImpl(MultiStatusResponse response, String[] columnNames, NamePathResolver resolver, QValueFactory qValueFactory, ValueFactory valueFactory, IdFactory idFactory) throws RepositoryException
RepositoryExceptionpublic NodeId getNodeId(String 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(String 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()Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.