public class CachingTermPositions
extends java.lang.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 java.io.IOException
nextPosition
in interface org.apache.lucene.index.TermPositions
java.io.IOException
public void reset()
public void seek(org.apache.lucene.index.Term term) throws java.io.IOException
seek
in interface org.apache.lucene.index.TermDocs
java.io.IOException
public void seek(org.apache.lucene.index.TermEnum termEnum) throws java.io.IOException
seek
in interface org.apache.lucene.index.TermDocs
java.io.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 java.io.IOException
next
in interface org.apache.lucene.index.TermDocs
java.io.IOException
public int read(int[] docs, int[] freqs) throws java.io.IOException
read
in interface org.apache.lucene.index.TermDocs
java.io.IOException
public boolean skipTo(int target) throws java.io.IOException
skipTo
in interface org.apache.lucene.index.TermDocs
java.io.IOException
public void close() throws java.io.IOException
close
in interface org.apache.lucene.index.TermDocs
java.io.IOException
public byte[] getPayload(byte[] data, int offset) throws java.io.IOException
getPayload
in interface org.apache.lucene.index.TermPositions
java.io.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 - 2013 Alfresco Software, Inc. All Rights Reserved.