RollingBuffer.Resettable
protected static class LookaheadTokenFilter.Position extends Object implements RollingBuffer.Resettable
Modifier and Type | Field | Description |
---|---|---|
int |
endOffset |
|
List<org.apache.lucene.util.AttributeSource.State> |
inputTokens |
|
int |
nextRead |
|
int |
startOffset |
Modifier | Constructor | Description |
---|---|---|
protected |
Position() |
Modifier and Type | Method | Description |
---|---|---|
void |
add(org.apache.lucene.util.AttributeSource.State state) |
|
org.apache.lucene.util.AttributeSource.State |
nextState() |
|
void |
reset() |
public final List<org.apache.lucene.util.AttributeSource.State> inputTokens
public int nextRead
public int startOffset
public int endOffset
public void reset()
reset
in interface RollingBuffer.Resettable
public void add(org.apache.lucene.util.AttributeSource.State state)
public org.apache.lucene.util.AttributeSource.State nextState()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.