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,AutoCloseable
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.
-
-
Field Summary
Fields Modifier and Type Field Description protected CategoryListPayloadStreampayloadStream-
Fields inherited from class org.apache.lucene.facet.index.streaming.CategoryTokenizerBase
categoryAttribute, indexingParams, payload, payloadAttribute, termAttribute
-
-
Constructor Summary
Constructors Constructor Description AssociationListTokenizer(org.apache.lucene.analysis.TokenStream input, EnhancementsIndexingParams indexingParams, CategoryEnhancement enhancement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandleStartOfInput()A method invoked once when the input stream begins, for subclass-specific processing.booleanincrementToken()-
Methods inherited from class org.apache.lucene.facet.index.streaming.CategoryListTokenizer
handleEndOfInput, reset
-
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
-
-
-
-
Field Detail
-
payloadStream
protected CategoryListPayloadStream payloadStream
-
-
Constructor Detail
-
AssociationListTokenizer
public AssociationListTokenizer(org.apache.lucene.analysis.TokenStream input, EnhancementsIndexingParams indexingParams, CategoryEnhancement enhancement)
-
-
Method Detail
-
handleStartOfInput
protected void handleStartOfInput() throws IOExceptionDescription copied from class:CategoryListTokenizerA method invoked once when the input stream begins, for subclass-specific processing. Subclass implementations must invoke this one, too!- Overrides:
handleStartOfInputin classCategoryListTokenizer- Throws:
IOException
-
incrementToken
public final boolean incrementToken() throws IOException- Specified by:
incrementTokenin classCategoryListTokenizer- Throws:
IOException
-
-