|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImportIDSet
Interface defining and import ID set.
| Method Summary | |
|---|---|
void |
addEntryID(EntryID entryID,
int entryLimit,
boolean maintainCount)
Add an entry ID to the set. |
int |
getMemorySize()
Return the memory size of a set. |
long |
getUndefinedSize()
Return the undefined size. |
boolean |
isDefined()
Return if a set is defined or not. |
boolean |
merge(byte[] dbBytes,
ImportIDSet bufImportIDSet,
int entryLimit,
boolean maintainCount)
Merge a byte array read from DB with a ID set. |
void |
merge(ImportIDSet bufImportIDSet,
int entryLimit,
boolean maintainCount)
Merge the specified import ID set with the current import ID set using the specified entry limit an maintain count values. |
void |
reset()
Reset set. |
void |
setEntryID(EntryID entryID)
Set the first entry ID to the specified entry ID. |
void |
setUndefined()
Set the import ID set to the undefined state. |
int |
size()
Return the size of the set. |
byte[] |
toDatabase()
Convert a set to a byte array suitable for saving to DB. |
| Method Detail |
|---|
void addEntryID(EntryID entryID,
int entryLimit,
boolean maintainCount)
entryID - The entry ID to add.entryLimit - The entry limit.maintainCount - Maintain count of IDs if in undefined mode.boolean isDefined()
True if a set is defined.int getMemorySize()
byte[] toDatabase()
int size()
boolean merge(byte[] dbBytes,
ImportIDSet bufImportIDSet,
int entryLimit,
boolean maintainCount)
dbBytes - The byte array read from DB.bufImportIDSet - The import ID set to merge.entryLimit - The entry limit.maintainCount - Maintain count of iDs if in undefined mode.
True if the merged set is undefined.
void merge(ImportIDSet bufImportIDSet,
int entryLimit,
boolean maintainCount)
bufImportIDSet - The import ID set to merge.entryLimit - The entry limit to use.maintainCount - True if maintain count is being kept.void setUndefined()
long getUndefinedSize()
void reset()
void setEntryID(EntryID entryID)
entryID - The entry ID to use.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||