org.apache.lucene.facet.enhancements.association
Class AssociationListTokenizer
java.lang.Object
org.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.TokenFilter
org.apache.lucene.facet.index.streaming.CategoryTokenizerBase
org.apache.lucene.facet.index.streaming.CategoryListTokenizer
org.apache.lucene.facet.enhancements.association.AssociationListTokenizer
- All Implemented Interfaces:
- Closeable
public class AssociationListTokenizer
- extends CategoryListTokenizer
Tokenizer for associations of a category
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Method Summary |
protected void |
handleStartOfInput()
A method invoked once when the input stream begins, for subclass-specific
processing. |
boolean |
incrementToken()
|
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 |
payloadStream
protected CategoryListPayloadStream payloadStream
AssociationListTokenizer
public AssociationListTokenizer(TokenStream input,
EnhancementsIndexingParams indexingParams,
CategoryEnhancement enhancement)
handleStartOfInput
protected void handleStartOfInput()
throws IOException
- Description copied from class:
CategoryListTokenizer
- A method invoked once when the input stream begins, for subclass-specific
processing. Subclass implementations must invoke this one, too!
- Overrides:
handleStartOfInput
in class CategoryListTokenizer
- Throws:
IOException
incrementToken
public final boolean incrementToken()
throws IOException
- Specified by:
incrementToken
in class CategoryListTokenizer
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.