Package org.terrier.realtime.multi
Class MultiDirect
- java.lang.Object
-
- org.terrier.realtime.multi.MultiDirect
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,PostingIndex<Pointer>
public class MultiDirect extends java.lang.Object implements PostingIndex<Pointer>
Multi Direct Index structure. This class is based upon the MultiInverted structure.- Since:
- 4.0
- Author:
- Richard McCreadie
-
-
Constructor Summary
Constructors Constructor Description MultiDirect(PostingIndex<Pointer>[] postings, MultiLexicon lex, boolean blocks, boolean fields)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Not implemented.IterablePostinggetPostings(Pointer _multiPointer)Returns the posting iterator given a pointer.
-
-
-
Constructor Detail
-
MultiDirect
public MultiDirect(PostingIndex<Pointer>[] postings, MultiLexicon lex, boolean blocks, boolean fields)
Constructor.
-
-
Method Detail
-
getPostings
public IterablePosting getPostings(Pointer _multiPointer) throws java.io.IOException
Returns the posting iterator given a pointer.- Specified by:
getPostingsin interfacePostingIndex<Pointer>- Returns:
- the posting iterator given a pointer.
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOExceptionNot implemented.- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-