public final class TokenStreamFromTermPositionVector extends TokenStream
AttributeSource.State
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
DEFAULT_ATTRIBUTE_FACTORY
Constructor and Description |
---|
TokenStreamFromTermPositionVector(Terms vector)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
void |
reset() |
close, end
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public TokenStreamFromTermPositionVector(Terms vector) throws IOException
vector
- Terms that contains the data for
creating the TokenStream. Must have positions and offsets.IOException
public boolean incrementToken()
incrementToken
in class TokenStream
public void reset()
reset
in class TokenStream
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.