public class RecordFoundEntries extends FoundEntriesObject
addNewOnesFirst, buffer, database, dispatcher, ids, indexName, indexRecorder, isAllInclusive, mySortID, needCompact, searcher, sortComparer, sortCriteria, sortState, viewsBOOLEAN, BYTE_ARRAY, CREATED_FIELD, DATE, DATE_TIME, DECIMAL, DOUBLE, FIRST_SPECIAL_FIELD, FLAG_SYNCHRONIZED, FLAGS_FIELD, INTEGER, JAVA_OBJECT, LONG, MAX_ID, MODIFIED_BY_FIELD, MODIFIED_FIELD, NAME_FIELD, OBJECT_BYTES_FIELD, OBJECT_TEXT_FIELD, OID_FIELD, OPTION_ERROR_ON_NEED_REINDEX, PLAIN_DATE, PLAIN_TIME, reservedFieldHeaders, reservedFieldIDs, reservedFieldNames, reservedFieldTypes, SORT_DATE_ONLY, SORT_IGNORE_CASE, SORT_TIME_ONLY, SORT_UNKNOWN_IS_GREATER_THAN_KNOWN, SORT_UNKNOWN_IS_LESS_THAN_KNOWN, STRING, TIME, TIMESTAMP| Modifier | Constructor and Description |
|---|---|
protected |
RecordFoundEntries(Database database) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addEntriesFrom(FoundEntriesObject from,
int start,
int length) |
protected void |
clearEntries() |
protected void |
copyEntriesFrom(FoundEntriesObject from,
int start,
int length) |
protected int |
doAdd(DatabaseEntryObject entry) |
protected int |
doChange(int index,
DatabaseEntryObject entry) |
protected void |
doDelete(int index,
DatabaseEntryObject entry) |
protected void |
doErase(int index,
DatabaseEntryObject entry) |
protected void |
doExclude(int index) |
protected int |
doInclude(DatabaseEntryObject entry) |
protected void |
doLoad(int index,
DatabaseEntryObject data) |
protected boolean |
doSortMe(Handle h,
Comparer comparer) |
protected int |
doStore(int index,
DatabaseEntryObject entry) |
protected int |
doStoreChange(int index,
DatabaseEntryObject entry,
boolean isStore) |
protected void |
doUpdate(int index,
DatabaseEntryObject entry) |
protected void |
indexFromFoundEntries(FoundEntries entries) |
int |
indexOf(DatabaseEntry entry)
Return the index of the entry in the FoundEntries object.
|
protected boolean |
readFrom(InputStream stream,
Handle h,
int size) |
protected void |
recordChange(int oldIndex,
int newIndex,
DatabaseEntry e)
If new Index is -1 the entry at oldIndex was deleted and the entry e will be null.
|
protected boolean |
writeTo(OutputStream stream,
Handle h)
Write the FoundEntries to an OutputStream and put in the returnValue of the Handle,
an ewe.sys.Long object holding the number of bytes written.
|
add, addData, change, checkView, copyStateFrom, delete, deleted, dispatchEvent, erase, exclude, exclude, excludeAll, filterAll, findAll, findAll, findAll, findAll, findFirst, findFirst, findInsertIndex, findLast, findLast, findRange, get, get, get, getCopy, getCurrentState, getData, getData, getDatabase, getEmptyView, getEntrySelector, getEventDispatcher, getFullView, getNew, getNewFoundEntries, getSortComparer, getSortCriteria, getSortEntry, getSubSet, hasChangedSince, include, includeAll, includeExclude, isAllInclusive, isSorted, searchIsCompatibleWithSortState, searchWillFilter, set, setAddNewEntriesFirst, setAllInclusive, setData, setSort, size, sort, sort, sort, sort, sort, sort, sortMe, store, toString, validateEntries, writeAndReturnTrueprotected RecordFoundEntries(Database database)
protected void copyEntriesFrom(FoundEntriesObject from, int start, int length)
copyEntriesFrom in class FoundEntriesObjectprotected void clearEntries()
clearEntries in class FoundEntriesObjectprotected void addEntriesFrom(FoundEntriesObject from, int start, int length)
addEntriesFrom in class FoundEntriesObjectprotected int doChange(int index,
DatabaseEntryObject entry)
throws IOException
doChange in class FoundEntriesObjectIOExceptionprotected int doStore(int index,
DatabaseEntryObject entry)
throws IOException
doStore in class FoundEntriesObjectIOExceptionprotected int doStoreChange(int index,
DatabaseEntryObject entry,
boolean isStore)
throws IOException
IOExceptionprotected int doAdd(DatabaseEntryObject entry) throws IOException
doAdd in class FoundEntriesObjectIOExceptionprotected void doDelete(int index,
DatabaseEntryObject entry)
throws IOException
doDelete in class FoundEntriesObjectIOExceptionprotected void doErase(int index,
DatabaseEntryObject entry)
throws IOException
doErase in class FoundEntriesObjectIOExceptionprotected int doInclude(DatabaseEntryObject entry) throws IllegalArgumentException, IOException
doInclude in class FoundEntriesObjectIllegalArgumentExceptionIOExceptionprotected void doUpdate(int index,
DatabaseEntryObject entry)
throws IOException
doUpdate in class FoundEntriesObjectIOExceptionprotected void doExclude(int index)
doExclude in class FoundEntriesObjectprotected void doLoad(int index,
DatabaseEntryObject data)
throws IOException
doLoad in class FoundEntriesObjectIOExceptionpublic int indexOf(DatabaseEntry entry)
FoundEntriesentry - the entry to look for.protected boolean doSortMe(Handle h, Comparer comparer) throws IOException
doSortMe in class FoundEntriesObjectIOExceptionprotected void recordChange(int oldIndex,
int newIndex,
DatabaseEntry e)
throws IOException
FoundEntriesObjectrecordChange in class FoundEntriesObjectIOExceptionprotected boolean writeTo(OutputStream stream, Handle h) throws IOException
writeTo in class FoundEntriesObjectIOExceptionprotected boolean readFrom(InputStream stream, Handle h, int size) throws IOException
readFrom in class FoundEntriesObjectIOExceptionprotected void indexFromFoundEntries(FoundEntries entries)
indexFromFoundEntries in class FoundEntriesObject