ModeShape Distribution 3.0.0.Beta1

org.modeshape.jdbc.delegate
Class HttpQueryResult

java.lang.Object
  extended by 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

Method Summary
 String[] getColumnNames()
           
 String[] getColumnTypes()
          Returns an array of the PropertyType name for each of the columns in this result.
 NodeIterator getNodes()
           
 RowIterator getRows()
           
 String[] getSelectorNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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().

ModeShape Distribution 3.0.0.Beta1

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.