Closeable, AutoCloseablepublic final class TokenStreamFromTermPositionVector
extends org.apache.lucene.analysis.TokenStream
| Constructor | Description |
|---|---|
TokenStreamFromTermPositionVector(org.apache.lucene.index.TermPositionVector termPositionVector) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
incrementToken() |
|
void |
reset() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringpublic TokenStreamFromTermPositionVector(org.apache.lucene.index.TermPositionVector termPositionVector)
termPositionVector - TermPositionVector that contains the data for
creating the TokenStream. Must have positions and offsets.public boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionpublic void reset()
throws IOException
reset in class org.apache.lucene.analysis.TokenStreamIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.