Module datarush.library
Class RecordToIDMap.ReadAccessor
java.lang.Object
com.pervasive.datarush.tokens.record.RecordToIDMap.ReadAccessor
- Enclosing class:
- RecordToIDMap
An accessor for performing lookup operations.
NOTE: From a thread safety standpoint, it is safe to
have multiple ReadAccessors in different threads that reference a single
RecordToIDMap. However, each thread must have
its own ReadAccessor instance.
-
Method Summary
Modifier and TypeMethodDescriptionintgetID()Looks up the current record in the map, returning its ID.
-
Method Details
-
getID
public int getID()Looks up the current record in the map, returning its ID. Returns -1 if not found.- Returns:
- the ID or -1 if not found.
-