org.apache.solr.handler
Class AnalysisRequestHandlerBase.ListBasedTokenStream

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

protected static final class AnalysisRequestHandlerBase.ListBasedTokenStream
extends 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
AttributeSource.AttributeFactory, AttributeSource.State
 
Method Summary
 boolean incrementToken()
           
 void reset()
           
 
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, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

incrementToken

public boolean incrementToken()
Specified by:
incrementToken in class TokenStream

reset

public void reset()
           throws IOException
Overrides:
reset in class TokenStream
Throws:
IOException


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.