Class RecordToIDMap.ReadAccessor

java.lang.Object
com.pervasive.datarush.tokens.record.RecordToIDMap.ReadAccessor
Enclosing class:
RecordToIDMap

public static final class RecordToIDMap.ReadAccessor extends Object
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 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.