org.alfresco.repo.search.impl.lucene.query
Class CachingTermPositions
java.lang.Object
org.alfresco.repo.search.impl.lucene.query.CachingTermPositions
- All Implemented Interfaces:
- org.apache.lucene.index.TermDocs, org.apache.lucene.index.TermPositions
public class CachingTermPositions
- extends java.lang.Object
- implements org.apache.lucene.index.TermPositions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingTermPositions
public CachingTermPositions(org.apache.lucene.index.TermPositions delegate)
nextPosition
public int nextPosition()
throws java.io.IOException
- Specified by:
nextPosition
in interface org.apache.lucene.index.TermPositions
- Throws:
java.io.IOException
reset
public void reset()
seek
public void seek(org.apache.lucene.index.Term term)
throws java.io.IOException
- Specified by:
seek
in interface org.apache.lucene.index.TermDocs
- Throws:
java.io.IOException
seek
public void seek(org.apache.lucene.index.TermEnum termEnum)
throws java.io.IOException
- Specified by:
seek
in interface org.apache.lucene.index.TermDocs
- Throws:
java.io.IOException
doc
public int doc()
- Specified by:
doc
in interface org.apache.lucene.index.TermDocs
freq
public int freq()
- Specified by:
freq
in interface org.apache.lucene.index.TermDocs
next
public boolean next()
throws java.io.IOException
- Specified by:
next
in interface org.apache.lucene.index.TermDocs
- Throws:
java.io.IOException
read
public int read(int[] docs,
int[] freqs)
throws java.io.IOException
- Specified by:
read
in interface org.apache.lucene.index.TermDocs
- Throws:
java.io.IOException
skipTo
public boolean skipTo(int target)
throws java.io.IOException
- Specified by:
skipTo
in interface org.apache.lucene.index.TermDocs
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface org.apache.lucene.index.TermDocs
- Throws:
java.io.IOException
getPayload
public byte[] getPayload(byte[] data,
int offset)
throws java.io.IOException
- Specified by:
getPayload
in interface org.apache.lucene.index.TermPositions
- Throws:
java.io.IOException
getPayloadLength
public int getPayloadLength()
- Specified by:
getPayloadLength
in interface org.apache.lucene.index.TermPositions
isPayloadAvailable
public boolean isPayloadAvailable()
- Specified by:
isPayloadAvailable
in interface org.apache.lucene.index.TermPositions
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.