public final class CompletionTokenStream
extends org.apache.lucene.analysis.TokenStream
| Modifier and Type | Class and Description |
|---|---|
static interface |
CompletionTokenStream.ByteTermAttribute |
static class |
CompletionTokenStream.ByteTermAttributeImpl |
static interface |
CompletionTokenStream.ToFiniteStrings |
| Constructor and Description |
|---|
CompletionTokenStream(org.apache.lucene.analysis.TokenStream input,
org.apache.lucene.util.BytesRef payload,
CompletionTokenStream.ToFiniteStrings toFiniteStrings) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
end() |
boolean |
incrementToken() |
void |
reset() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic CompletionTokenStream(org.apache.lucene.analysis.TokenStream input,
org.apache.lucene.util.BytesRef payload,
CompletionTokenStream.ToFiniteStrings toFiniteStrings)
public 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.TokenStreamIOExceptionpublic void reset()
throws IOException
reset in class org.apache.lucene.analysis.TokenStreamIOExceptionCopyright © 2009–2017. All rights reserved.