Class PreAnalyzedMapper.PreAnalyzedTokenStream
- java.lang.Object
-
- org.apache.lucene.util.AttributeSource
-
- org.apache.lucene.analysis.TokenStream
-
- org.elasticsearch.index.mapper.preanalyzed.PreAnalyzedMapper.PreAnalyzedTokenStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- PreAnalyzedMapper
public static class PreAnalyzedMapper.PreAnalyzedTokenStream extends org.apache.lucene.analysis.TokenStream
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanincrementToken()voidreset()Creates a new parser reading the input data and sets the parser state right to the beginning of the actual token list.-
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() throws IOException- Specified by:
incrementTokenin classorg.apache.lucene.analysis.TokenStream- Throws:
IOException
-
reset
public void reset() throws IOExceptionCreates a new parser reading the input data and sets the parser state right to the beginning of the actual token list.- Overrides:
resetin classorg.apache.lucene.analysis.TokenStream- Throws:
IOException
-
-