public interface QueryResult
| Modifier and Type | Method and Description | 
|---|---|
| long | count() | 
| boolean | getBoolean(int i) | 
| boolean | getBoolean(String column) | 
| DocumentModelList | getDocumentModels() | 
| Iterator | getDocuments(int start) | 
| double | getDouble(int i,
         double defaultValue) | 
| double | getDouble(String column,
         double defaultValue) | 
| long | getLong(int i,
       long defaultValue) | 
| long | getLong(String column,
       long defaultValue) | 
| Object | getObject() | 
| Object | getObject(String column)Currently not implemented. | 
| String | getString(int i) | 
| String | getString(String column) | 
| long | getTotalSize()Returns the total size the query results would have if no limit and
 offset was passed. | 
| boolean | isEmpty() | 
| boolean | next() | 
| long | row()Retrieves the current row number. | 
long count()
long getTotalSize()
boolean isEmpty()
boolean next()
long row()
If there is no current row (no next() was called) returns 0
String getString(int i) throws QueryException
QueryExceptionString getString(String column) throws QueryException
QueryExceptionboolean getBoolean(int i)
                   throws QueryException
QueryExceptionboolean getBoolean(String column) throws QueryException
QueryExceptionlong getLong(int i,
           long defaultValue)
             throws QueryException
QueryExceptionlong getLong(String column, long defaultValue) throws QueryException
QueryExceptiondouble getDouble(int i,
               double defaultValue)
                 throws QueryException
QueryExceptiondouble getDouble(String column, double defaultValue) throws QueryException
QueryExceptionObject getObject(String column) throws QueryException
QueryExceptionObject getObject() throws QueryException
QueryExceptionDocumentModelList getDocumentModels() throws QueryException
QueryExceptionIterator getDocuments(int start)
Copyright © 2014 Nuxeo SA. All rights reserved.