Tanl Linguistic Pipeline

IXE::PostingList Class Reference

This class, given a IndexTable::const_iterator, accesses the list of postings for a word. More...

#include <PostingList.h>

List of all members.

Classes

class  const_iterator
class  HitsCursor
 Cursor over hit lists. More...
class  remap_iterator
 Iterates through postings, but skipping those for documents which have been remapped. More...

Public Types

typedef Size size_type
typedef ptrdiff_t difference_type
typedef Posting value_type
typedef value_type * pointer
typedef value_type const * const_pointer
typedef value_type & reference
typedef value_type const & const_reference

Public Member Functions

 PostingList (byte const *ptr)
 Create a PostingList from memory (typically a mmapped file).
 PostingList (FileHandle *fh, off64_t offset, size_type size)
 Read a PostingList from file: a portion of the file is mmapped and unmapped when the PostingList is destroyed.
 PostingList (FileHandle *fh, Lexicon::const_iterator &cit)
void open (FileHandle *fh, off64_t offset, size_type size)
void open (FileHandle *fh, Lexicon::const_iterator &cit)
size_type size () const
const_iterator begin () const
const_iterator end () const
remap_iterator remap_begin (int displace, Remap &remap) const

Friends

class const_iterator

Detailed Description

This class, given a IndexTable::const_iterator, accesses the list of postings for a word.

Once an instance is created, the list can be iterated over.

See also:
Common/IndexTable.h
Index/Posting.h

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.