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, toString
public 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.TokenStream
IOException
public void end() throws IOException
end
in class org.apache.lucene.analysis.TokenStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.lucene.analysis.TokenStream
IOException
public void reset() throws IOException
reset
in class org.apache.lucene.analysis.TokenStream
IOException
Copyright © 2009–2016. All rights reserved.