public class SimpleQueryResult extends Object
Constructor and Description |
---|
SimpleQueryResult(String[] columnNames,
String[] selectorNames,
RowIterator rowIterator,
long totalNumberOfResults)
Deprecated.
Creates a query result with the given column and selector names and
row iterator.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getColumnNames()
Deprecated.
Returns the column names of this query.
|
NodeIterator |
getNodes()
Deprecated.
Returns the nodes that match this query.
|
RowIterator |
getRows()
Deprecated.
Returns the query result rows.
|
String[] |
getSelectorNames()
Deprecated.
Returns the selector names of this query.
|
long |
getTotalNumberOfResults()
Deprecated.
|
public SimpleQueryResult(String[] columnNames, String[] selectorNames, RowIterator rowIterator, long totalNumberOfResults)
columnNames
- column namesselectorNames
- selector namesrowIterator
- iterator over matching rowspublic long getTotalNumberOfResults()
public String[] getColumnNames()
public String[] getSelectorNames()
public RowIterator getRows() throws RepositoryException
RepositoryException
- if the query results have already
been iterated throughpublic NodeIterator getNodes() throws RepositoryException
RepositoryException
- if this query has more than one selector,
or if the query results have already been
iterated through"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"