public abstract class NumericTokenizer
extends org.apache.lucene.analysis.Tokenizer
| Modifier | Constructor and Description |
|---|---|
protected |
NumericTokenizer(org.apache.lucene.analysis.NumericTokenStream numericTokenStream,
char[] buffer,
Object extra) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
end() |
boolean |
incrementToken() |
void |
reset() |
protected abstract void |
setValue(org.apache.lucene.analysis.NumericTokenStream tokenStream,
String value) |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringprotected final Object extra
protected NumericTokenizer(org.apache.lucene.analysis.NumericTokenStream numericTokenStream,
char[] buffer,
Object extra)
throws IOException
IOExceptionpublic void reset()
throws IOException
reset in class org.apache.lucene.analysis.TokenizerIOExceptionpublic final boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionpublic void end()
throws IOException
end in class org.apache.lucene.analysis.TokenStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.lucene.analysis.TokenizerIOExceptionprotected abstract void setValue(org.apache.lucene.analysis.NumericTokenStream tokenStream,
String value)
Copyright © 2009–2017. All rights reserved.