public abstract class AddSuffixFilter
extends org.apache.lucene.analysis.TokenFilter
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.lucene.analysis.tokenattributes.KeywordAttribute |
keywordAtt |
protected org.apache.lucene.analysis.tokenattributes.OffsetAttribute |
offsetAtt |
protected org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute |
posIncAtt |
protected org.apache.lucene.analysis.tokenattributes.CharTermAttribute |
termAtt |
protected org.apache.lucene.analysis.tokenattributes.TypeAttribute |
typeAtt |
| Constructor and Description |
|---|
AddSuffixFilter(org.apache.lucene.analysis.TokenStream input,
Character suffixToAdd) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
duplicateCurrentToken() |
protected abstract void |
handleCurrentToken() |
boolean |
incrementToken() |
protected void |
suffixCurrent() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringprotected final org.apache.lucene.analysis.tokenattributes.CharTermAttribute termAtt
protected final org.apache.lucene.analysis.tokenattributes.TypeAttribute typeAtt
protected final org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute posIncAtt
protected final org.apache.lucene.analysis.tokenattributes.KeywordAttribute keywordAtt
protected final org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAtt
public AddSuffixFilter(org.apache.lucene.analysis.TokenStream input,
Character suffixToAdd)
public final boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionprotected abstract void handleCurrentToken()
protected void suffixCurrent()
protected final void duplicateCurrentToken()
Copyright © 2014. All Rights Reserved.