| | |
| | | } |
| | | |
| | | private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass(); |
| | | static final long UNDEFINED_SIZE = -1; |
| | | |
| | | private final IndexManager indexMgr; |
| | | private final FileChannel channel; |
| | |
| | | // idSet will be null if skipping. |
| | | if (idSet != null) |
| | | { |
| | | idSet.addEntryID(entryID); |
| | | if (entryID == UNDEFINED_SIZE) |
| | | { |
| | | idSet.setUndefined(); |
| | | } |
| | | else |
| | | { |
| | | idSet.addEntryID(entryID); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | return cmp; |
| | | } |
| | | |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public String toString() |
| | | { |
| | | return getClass().getSimpleName() + "(" |
| | | + ", indexMgr=" + indexMgr + "bufferID=" + bufferID + ", record=" + record + ", recordState=" + recordState |
| | | + ")"; |
| | | } |
| | | } |