public class MetaDataQueryResult extends Object implements javax.jcr.query.QueryResult
NodeIterator and the RowIterator in order to provide query results
when metadata is requested. This is done because there are no sql queries that can be executed to obtain certain types of
metadata in a return QueryResult from the ModeShapeEngine.| Modifier and Type | Method and Description |
|---|---|
static MetaDataQueryResult |
createResultSet(List<List<?>> records,
ResultSetMetaData resultSetMetaData) |
String[] |
getColumnNames() |
String[] |
getColumnTypes() |
javax.jcr.NodeIterator |
getNodes() |
javax.jcr.query.RowIterator |
getRows() |
String[] |
getSelectorNames() |
public static MetaDataQueryResult createResultSet(List<List<?>> records, ResultSetMetaData resultSetMetaData) throws SQLException
SQLExceptionpublic String[] getColumnNames() throws javax.jcr.RepositoryException
getColumnNames in interface javax.jcr.query.QueryResultjavax.jcr.RepositoryExceptionpublic javax.jcr.NodeIterator getNodes()
getNodes in interface javax.jcr.query.QueryResultpublic javax.jcr.query.RowIterator getRows()
getRows in interface javax.jcr.query.QueryResultpublic String[] getColumnTypes()
public String[] getSelectorNames()
getSelectorNames in interface javax.jcr.query.QueryResultCopyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.