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

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

public interface PostingIndex<POINTERTYPE extends Pointer>
extends java.io.Closeable

An interface for accessing a posting list.


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

Method Detail

getPostings

IterablePosting getPostings(POINTERTYPE pointer)
                            throws java.io.IOException
Get the posting given a pointer

Throws:
java.io.IOException


Terrier 3.5. Copyright © 2004-2011 University of Glasgow