org.modeshape.jdbc.delegate
Class HttpQueryResult
java.lang.Object
org.modeshape.jdbc.delegate.HttpQueryResult
- All Implemented Interfaces:
- QueryResult
public final class HttpQueryResult
- extends Object
- implements QueryResult
A simple implementation of the QueryResult
interface used to iterate over list of rows
- Author:
- Horia Chiorean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getColumnNames
public String[] getColumnNames()
throws RepositoryException
- Specified by:
getColumnNames
in interface QueryResult
- Throws:
RepositoryException
getRows
public RowIterator getRows()
throws RepositoryException
- Specified by:
getRows
in interface QueryResult
- Throws:
RepositoryException
getNodes
public NodeIterator getNodes()
throws RepositoryException
- Specified by:
getNodes
in interface QueryResult
- Throws:
RepositoryException
getSelectorNames
public String[] getSelectorNames()
throws RepositoryException
- Specified by:
getSelectorNames
in interface QueryResult
- Throws:
RepositoryException
getColumnTypes
public String[] getColumnTypes()
- Description copied from interface:
QueryResult
- Returns an array of the
PropertyType
name for each of the columns in this result.
- Returns:
- the array of property type names; never null, never has null elements, and the size always matches
QueryResult.getColumnNames()
.
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.