org.modeshape.jdbc.metadata
Class MetaDataQueryResult
java.lang.Object
   org.modeshape.jdbc.metadata.MetaDataQueryResult
org.modeshape.jdbc.metadata.MetaDataQueryResult
- All Implemented Interfaces: 
- QueryResult
- public class MetaDataQueryResult 
- extends Object- implements QueryResult
 
The MetaDataQueryResult is used to provide 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 JcrEngine.
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
createResultSet
public static MetaDataQueryResult createResultSet(List<List<?>> records,
                                                  ResultSetMetaData resultSetMetaData)
                                           throws SQLException
- 
 
- 
- Throws:
- SQLException
 
getColumnNames
public String[] getColumnNames()
                        throws RepositoryException
- 
 
- 
- Specified by:
- getColumnNamesin interface- QueryResult
 
- 
- Throws:
- RepositoryException
- See Also:
- QueryResult.getColumnNames()
 
getNodes
public NodeIterator getNodes()
- 
- Specified by:
- getNodesin interface- QueryResult
 
- 
 
getRows
public RowIterator getRows()
- 
- Specified by:
- getRowsin interface- QueryResult
 
- 
 
getColumnTypes
public String[] getColumnTypes()
- 
 
- 
 
getSelectorNames
public String[] getSelectorNames()
- 
- Specified by:
- getSelectorNamesin interface- QueryResult
 
- 
 
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.