Class AnalysisRequestHandlerBase.ListBasedTokenStream

java.lang.Object
org.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
org.apache.solr.handler.AnalysisRequestHandlerBase.ListBasedTokenStream
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
AnalysisRequestHandlerBase

protected static final class AnalysisRequestHandlerBase.ListBasedTokenStream extends org.apache.lucene.analysis.TokenStream
TokenStream that iterates over a list of pre-existing Tokens
NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource

    org.apache.lucene.util.AttributeSource.State
  • Field Summary

    Fields inherited from class org.apache.lucene.analysis.TokenStream

    DEFAULT_TOKEN_ATTRIBUTE_FACTORY
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     

    Methods inherited from class org.apache.lucene.analysis.TokenStream

    close, end

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • reset

      public void reset() throws IOException
      Overrides:
      reset in class org.apache.lucene.analysis.TokenStream
      Throws:
      IOException
    • incrementToken

      public boolean incrementToken()
      Specified by:
      incrementToken in class org.apache.lucene.analysis.TokenStream