|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface of JSQL query iterator
Method Summary | |
java.lang.Object |
getByKey(java.lang.String primaryKey,
java.lang.Object keyValue)
Try to use index to locate object by unique primary key. |
java.lang.Object |
getFirst()
Get first object. |
java.lang.Object |
getNext(java.lang.Object prevObj,
int prevIndex)
Get next object. |
Method Detail |
public java.lang.Object getFirst()
null
if there are no object to
search.public java.lang.Object getNext(java.lang.Object prevObj, int prevIndex)
prevObj
- reference returned by previous call of
getNext
or getFirst
prevIndex
- index of previous object (starting from 0 for first
object)
null
if there are no more objectspublic java.lang.Object getByKey(java.lang.String primaryKey, java.lang.Object keyValue) throws NoIndexException
primaryKey
- name of prinmary key field. This files should be
unique among all searched object.keyValue
- key value
null
if object was not found.
NoIndexException
- if there is no index for this field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |