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
SQLException
public String[] getColumnNames() throws RepositoryException
getColumnNames
in interface QueryResult
RepositoryException
QueryResult.getColumnNames()
public NodeIterator getNodes()
getNodes
in interface QueryResult
public RowIterator getRows()
getRows
in interface QueryResult
public String[] getColumnTypes()
public String[] getSelectorNames()
getSelectorNames
in interface QueryResult
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.