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
QueryException
String getString(String column) throws QueryException
QueryException
boolean getBoolean(int i) throws QueryException
QueryException
boolean getBoolean(String column) throws QueryException
QueryException
long getLong(int i, long defaultValue) throws QueryException
QueryException
long getLong(String column, long defaultValue) throws QueryException
QueryException
double getDouble(int i, double defaultValue) throws QueryException
QueryException
double getDouble(String column, double defaultValue) throws QueryException
QueryException
Object getObject(String column) throws QueryException
QueryException
Object getObject() throws QueryException
QueryException
DocumentModelList getDocumentModels() throws QueryException
QueryException
Iterator getDocuments(int start)
Copyright © 2011 Nuxeo SA. All Rights Reserved.