Package org.apache.lucene.analysis.sinks
Class TeeSinkTokenFilter.States
java.lang.Object
org.apache.lucene.analysis.sinks.TeeSinkTokenFilter.States
- Enclosing class:
- TeeSinkTokenFilter
A convenience wrapper for storing the cached states as well the final state of the stream.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AttributeSource.State
private final List<AttributeSource.State>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
add
(AttributeSource.State state) (package private) AttributeSource.State
(package private) Iterator<AttributeSource.State>
(package private) void
reset()
(package private) void
setFinalState
(AttributeSource.State finalState)
-
Field Details
-
states
-
finalState
-
-
Constructor Details
-
States
public States()
-
-
Method Details
-
setFinalState
-
getFinalState
AttributeSource.State getFinalState() -
add
-
getStates
Iterator<AttributeSource.State> getStates() -
reset
void reset()
-