Package org.apache.lucene.analysis.sinks
Class TeeSinkTokenFilter.SinkTokenStream
- java.lang.Object
-
- org.apache.lucene.util.AttributeSource
-
- org.apache.lucene.analysis.TokenStream
-
- org.apache.lucene.analysis.sinks.TeeSinkTokenFilter.SinkTokenStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- TeeSinkTokenFilter
public static final class TeeSinkTokenFilter.SinkTokenStream extends TokenStream
TokenStream output from a tee.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource
AttributeSource.State
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.analysis.TokenStream
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end()
boolean
incrementToken()
void
reset()
-
Methods inherited from class org.apache.lucene.analysis.TokenStream
close
-
Methods inherited from class org.apache.lucene.util.AttributeSource
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
-
-
-
-
Method Detail
-
incrementToken
public final boolean incrementToken()
- Specified by:
incrementToken
in classTokenStream
-
end
public void end() throws IOException
- Overrides:
end
in classTokenStream
- Throws:
IOException
-
reset
public final void reset()
- Overrides:
reset
in classTokenStream
-
-