#include <InvFPDocList.hpp>
Inheritance diagram for InvFPDocList:

Public Methods | |
| InvFPDocList () | |
| InvFPDocList (int *vec) | |
| copy from byteVector | |
| InvFPDocList (int id, int len) | |
| InvFPDocList (MemCache *mc, int id, int len) | |
| constructors for this list getting memory from a MemCache | |
| InvFPDocList (MemCache *mc, int id, int len, int docid, int location) | |
| InvFPDocList (int id, int listlen, int *list, int fr, int *ldocid, int len) | |
| constructor for a list not needing to get any memory | |
| ~InvFPDocList () | |
| bool | addTerm (int docid) |
| increase count for this docid, we don't care about location | |
| bool | addLocation (int docid, LOC_T location) |
| bool | append (InvDocList *tail) |
| append the given list to the end of this list. watch for overlap of lastdocid of this list and first docid of given list. | |
| virtual DocInfo * | nextEntry () |
| fetch the next entry, return a pointer to a local static memory, so do not delete it | |
| virtual void | nextEntry (InvFPDocInfo *info) |
| virtual int | termCTF () |
| int * | byteVec (int &len) |
Protected Methods | |
| virtual void | deltaEncode () |
| virtual void | deltaDecode () |
Private Attributes | |
| InvFPDocInfo | entry |
|
|
|
|
|
copy from byteVector
|
|
||||||||||||
|
constructor for this list using malloc for its own memory usage of InvFPDocList without MemCache has not been tested |
|
||||||||||||||||
|
constructors for this list getting memory from a MemCache
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
constructor for a list not needing to get any memory
|
|
|
|
|
||||||||||||
|
|
|
|
increase count for this docid, we don't care about location
Reimplemented from InvDocList. |
|
|
append the given list to the end of this list. watch for overlap of lastdocid of this list and first docid of given list.
Reimplemented from InvDocList. |
|
|
|
|
|
delta decode docids and positions from begin through end call after read Reimplemented from InvDocList. |
|
|
delta encode docids and positions from begin through end call before write Reimplemented from InvDocList. |
|
|
|
|
|
fetch the next entry, return a pointer to a local static memory, so do not delete it
Reimplemented from InvDocList. |
|
|
Reimplemented from InvDocList. |
|
|
Reimplemented from InvDocList. |
1.2.16