|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataHashCursor
This cursor class has been deprecated. To position a cursor by key, use the key-based methods in the IDataCursor
or IDataSharedCursor
class.
This interface defines methods you can use to traverse an IData object by key. It is returned by an IData object's getHashCursor method.
Because this interface extends IDataCursor, you can also use the methods from that interface to access, traverse, and manipulate the IData object--you may arbitrarily mix the methods in IDataHashCursor and IDataCursor as needed. For example, you might use IDataHashCursor.first(key) method to initially position the cursor at a particular key, and then use IDataCursor.next to move through the rest of the object.
If you write a class that implements the IData interface, that class must support the getHashCursor method and that method must return a class that implements this interface.
Note: The contents of an IData object is not synchronized, so information, such as the value returned by count, might not be accurate if multiple cursors modify a single IData.
IData
,
IDataFactory
,
IDataCursor
,
IDataTreeCursor
Method Summary | |
---|---|
boolean |
first(java.lang.String key)
Deprecated. Replaced by key-based methods in IDataCursor . |
boolean |
last(java.lang.String key)
Deprecated. Replaced by key-based methods in IDataCursor . |
boolean |
next(java.lang.String key)
Deprecated. Replaced by key-based methods in IDataCursor . |
boolean |
previous(java.lang.String key)
Deprecated. Replaced by key-based methods in IDataCursor . |
Methods inherited from interface com.wm.data.IDataCursor |
---|
delete, destroy, first, getCursorClone, getKey, getLastError, getValue, hasMoreData, hasMoreErrors, insertAfter, insertBefore, insertDataAfter, insertDataBefore, last, next, previous, setErrorMode, setKey, setValue |
Method Detail |
---|
boolean first(java.lang.String key)
IDataCursor
.
first
in interface IDataCursor
key
- a String that specifies the name of the key to which you want the cursor moved.
previous(java.lang.String)
,
next(java.lang.String)
,
last(java.lang.String)
boolean last(java.lang.String key)
IDataCursor
.
last
in interface IDataCursor
key
- a String that specifies the name of the key to which you want the cursor moved.
previous(java.lang.String)
,
next(java.lang.String)
,
first(java.lang.String)
boolean next(java.lang.String key)
IDataCursor
.
next
in interface IDataCursor
key
- a String that specifies the name of the key to which you want the cursor moved.
previous(java.lang.String)
,
first(java.lang.String)
,
last(java.lang.String)
boolean previous(java.lang.String key)
IDataCursor
.
previous
in interface IDataCursor
key
- a String that specifies the name of the key to which you want the cursor moved.
next(java.lang.String)
,
first(java.lang.String)
,
last(java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |