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 void
close()
Not implemented.IterablePosting
getPostings(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:
getPostings
in interfacePostingIndex<Pointer>
- Returns:
- the posting iterator given a pointer.
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
Not implemented.- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-