public abstract static class DirectCandidateGenerator.TokenConsumer
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected org.apache.lucene.analysis.tokenattributes.CharTermAttribute |
charTermAttr |
|
protected org.apache.lucene.analysis.tokenattributes.OffsetAttribute |
offsetAttr |
|
protected org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute |
posIncAttr |
Constructor | Description |
---|---|
TokenConsumer() |
Modifier and Type | Method | Description |
---|---|---|
void |
end() |
|
protected org.apache.lucene.util.BytesRef |
fillBytesRef(org.apache.lucene.util.BytesRefBuilder spare) |
|
abstract void |
nextToken() |
|
void |
reset(org.apache.lucene.analysis.TokenStream stream) |
protected org.apache.lucene.analysis.tokenattributes.CharTermAttribute charTermAttr
protected org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute posIncAttr
protected org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAttr
public void reset(org.apache.lucene.analysis.TokenStream stream)
protected org.apache.lucene.util.BytesRef fillBytesRef(org.apache.lucene.util.BytesRefBuilder spare)
public abstract void nextToken() throws java.io.IOException
java.io.IOException
public void end()