public class MetaDataQueryResult extends Object implements 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() |
NodeIterator |
getNodes() |
RowIterator |
getRows() |
String[] |
getSelectorNames() |
public static MetaDataQueryResult createResultSet(List<List<?>> records, ResultSetMetaData resultSetMetaData) throws SQLException
SQLExceptionpublic String[] getColumnNames() throws RepositoryException
getColumnNames in interface QueryResultRepositoryExceptionQueryResult.getColumnNames()public NodeIterator getNodes()
getNodes in interface QueryResultpublic RowIterator getRows()
getRows in interface QueryResultpublic String[] getColumnTypes()
public String[] getSelectorNames()
getSelectorNames in interface QueryResultCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.