public class CachingTermPositions extends Object implements org.apache.lucene.index.TermPositions
| Constructor and Description |
|---|
CachingTermPositions(org.apache.lucene.index.TermPositions delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
doc() |
int |
freq() |
byte[] |
getPayload(byte[] data,
int offset) |
int |
getPayloadLength() |
boolean |
isPayloadAvailable() |
boolean |
next() |
int |
nextPosition() |
int |
read(int[] docs,
int[] freqs) |
void |
reset() |
void |
seek(org.apache.lucene.index.Term term) |
void |
seek(org.apache.lucene.index.TermEnum termEnum) |
boolean |
skipTo(int target) |
public CachingTermPositions(org.apache.lucene.index.TermPositions delegate)
public int nextPosition()
throws IOException
nextPosition in interface org.apache.lucene.index.TermPositionsIOExceptionpublic void reset()
public void seek(org.apache.lucene.index.Term term)
throws IOException
seek in interface org.apache.lucene.index.TermDocsIOExceptionpublic void seek(org.apache.lucene.index.TermEnum termEnum)
throws IOException
seek in interface org.apache.lucene.index.TermDocsIOExceptionpublic int doc()
doc in interface org.apache.lucene.index.TermDocspublic int freq()
freq in interface org.apache.lucene.index.TermDocspublic boolean next()
throws IOException
next in interface org.apache.lucene.index.TermDocsIOExceptionpublic int read(int[] docs,
int[] freqs)
throws IOException
read in interface org.apache.lucene.index.TermDocsIOExceptionpublic boolean skipTo(int target)
throws IOException
skipTo in interface org.apache.lucene.index.TermDocsIOExceptionpublic void close()
throws IOException
close in interface org.apache.lucene.index.TermDocsIOExceptionpublic byte[] getPayload(byte[] data,
int offset)
throws IOException
getPayload in interface org.apache.lucene.index.TermPositionsIOExceptionpublic int getPayloadLength()
getPayloadLength in interface org.apache.lucene.index.TermPositionspublic boolean isPayloadAvailable()
isPayloadAvailable in interface org.apache.lucene.index.TermPositionsCopyright © 2005–2017 Alfresco Software. All rights reserved.