Package org.terrier.structures
Interface PostingIndex<POINTERTYPE extends Pointer>
-
- Type Parameters:
POINTERTYPE- the type of pointer required to access this posting source
- All Superinterfaces:
java.lang.AutoCloseable,java.io.Closeable
- All Known Implementing Classes:
BitPostingIndex,MemoryDirectIndex,MemoryFieldsDirectIndex,MemoryFieldsInvertedIndex,MemoryInvertedIndex,MultiDirect,MultiInverted
public interface PostingIndex<POINTERTYPE extends Pointer> extends java.io.CloseableAn interface for accessing a posting list.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IterablePostinggetPostings(Pointer lEntry)Returns the posting iterator given a pointer.
-
-
-
Method Detail
-
getPostings
IterablePosting getPostings(Pointer lEntry) throws java.io.IOException
Returns the posting iterator given a pointer.- Returns:
- the posting iterator given a pointer.
- Throws:
java.io.IOException
-
-