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.TermPositions
IOException
public void reset()
public void seek(org.apache.lucene.index.Term term) throws IOException
seek
in interface org.apache.lucene.index.TermDocs
IOException
public void seek(org.apache.lucene.index.TermEnum termEnum) throws IOException
seek
in interface org.apache.lucene.index.TermDocs
IOException
public int doc()
doc
in interface org.apache.lucene.index.TermDocs
public int freq()
freq
in interface org.apache.lucene.index.TermDocs
public boolean next() throws IOException
next
in interface org.apache.lucene.index.TermDocs
IOException
public int read(int[] docs, int[] freqs) throws IOException
read
in interface org.apache.lucene.index.TermDocs
IOException
public boolean skipTo(int target) throws IOException
skipTo
in interface org.apache.lucene.index.TermDocs
IOException
public void close() throws IOException
close
in interface org.apache.lucene.index.TermDocs
IOException
public byte[] getPayload(byte[] data, int offset) throws IOException
getPayload
in interface org.apache.lucene.index.TermPositions
IOException
public int getPayloadLength()
getPayloadLength
in interface org.apache.lucene.index.TermPositions
public boolean isPayloadAvailable()
isPayloadAvailable
in interface org.apache.lucene.index.TermPositions
Copyright © 2005–2017 Alfresco Software. All rights reserved.