public class CachingTermPositions
extends org.apache.lucene.index.PostingsEnum
| Constructor and Description |
|---|
CachingTermPositions(org.apache.lucene.index.PostingsEnum delegate) |
| Modifier and Type | Method and Description |
|---|---|
int |
advance(int target) |
org.apache.lucene.util.AttributeSource |
attributes() |
long |
cost() |
int |
docID() |
int |
endOffset() |
boolean |
equals(Object obj) |
int |
freq() |
org.apache.lucene.util.BytesRef |
getPayload() |
int |
hashCode() |
int |
nextDoc() |
int |
nextPosition() |
void |
reset() |
int |
startOffset() |
String |
toString() |
public CachingTermPositions(org.apache.lucene.index.PostingsEnum delegate)
public int nextPosition()
throws IOException
nextPosition in class org.apache.lucene.index.PostingsEnumIOExceptionpublic void reset()
public int hashCode()
hashCode in class ObjectObject.hashCode()public int freq()
throws IOException
freq in class org.apache.lucene.index.PostingsEnumIOExceptionorg.apache.lucene.index.DocsEnum#freq()public int startOffset()
throws IOException
startOffset in class org.apache.lucene.index.PostingsEnumIOExceptionorg.apache.lucene.index.DocsAndPositionsEnum#startOffset()public int endOffset()
throws IOException
endOffset in class org.apache.lucene.index.PostingsEnumIOExceptionorg.apache.lucene.index.DocsAndPositionsEnum#endOffset()public int docID()
docID in class org.apache.lucene.search.DocIdSetIteratorDocIdSetIterator.docID()public org.apache.lucene.util.BytesRef getPayload()
throws IOException
getPayload in class org.apache.lucene.index.PostingsEnumIOExceptionorg.apache.lucene.index.DocsAndPositionsEnum#getPayload()public org.apache.lucene.util.AttributeSource attributes()
attributes in class org.apache.lucene.index.PostingsEnumorg.apache.lucene.index.DocsEnum#attributes()public int nextDoc()
throws IOException
nextDoc in class org.apache.lucene.search.DocIdSetIteratorIOExceptionDocIdSetIterator.nextDoc()public int advance(int target)
throws IOException
advance in class org.apache.lucene.search.DocIdSetIteratortarget - intIOExceptionDocIdSetIterator.advance(int)public boolean equals(Object obj)
equals in class Objectobj - ObjectObject.equals(java.lang.Object)public long cost()
cost in class org.apache.lucene.search.DocIdSetIteratorDocIdSetIterator.cost()public String toString()
toString in class ObjectObject.toString()Copyright © 2005–2020 Alfresco Software. All rights reserved.