org.terrier.structures
Interface PostingIndex<POINTERTYPE extends Pointer>

Type Parameters:
POINTERTYPE - the type of pointer required to access this posting source
All Superinterfaces:
Closeable
All Known Implementing Classes:
BitPostingIndex, BlockDirectIndex, BlockInvertedIndex, DirectIndex, InvertedIndex

public interface PostingIndex<POINTERTYPE extends Pointer>
extends Closeable

An interface for accessing a posting list.


Method Summary
 IterablePosting getPostings(POINTERTYPE lEntry)
          Get the posting given a pointer
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

getPostings

IterablePosting getPostings(POINTERTYPE lEntry)
                            throws IOException
Get the posting given a pointer

Throws:
IOException


Terrier 3.6. Copyright © 2004-2011 University of Glasgow