public final class CompletionTokenStream extends TokenFilter
ConcatenateGraphFilter
but we can set the payload and provide access to config options.AttributeSource.State
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
void |
setPayload(BytesRef payload)
Sets a payload available throughout successive token stream enumeration
|
Automaton |
toAutomaton()
Delegates to...At
|
Automaton |
toAutomaton(boolean unicodeAware)
Delegates to...
|
close, end, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
public void setPayload(BytesRef payload)
public boolean incrementToken() throws IOException
incrementToken
in class TokenStream
IOException
public Automaton toAutomaton() throws IOException
IOException
ConcatenateGraphFilter.toAutomaton()
public Automaton toAutomaton(boolean unicodeAware) throws IOException
IOException
ConcatenateGraphFilter.toAutomaton(boolean)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.