|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjnicli.PrefetchedCursor
Field Summary | |
java.lang.Object[] |
objects
|
long[] |
oids
|
Constructor Summary | |
PrefetchedCursor()
|
Method Summary | |
long |
getOid()
Get OID of the current object. |
boolean |
hasMoreElements()
|
java.lang.Object |
nextElement()
|
int |
size()
Get number of selected records |
void |
update()
Update current object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.Object[] objects
public long[] oids
Constructor Detail |
public PrefetchedCursor()
Method Detail |
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
public long getOid()
Cursor
Enumeration.nextElement()
method and its result is OID of the object returned
by nextElement()
.
getOid
in interface Cursor
public void update()
Cursor
Enumeration.nextElement()
and store updated object, returned by nextElement()
.
This method is not supported for prefetched cursor (which is returned for remote database or
when AUTOCOMMIT flag is set in select). In this case you should use Database.update method
specifying OID of updated object. This OID can be obtained using Cursor.getOid() method.
update
in interface Cursor
public int size()
Cursor
size
in interface Cursor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |