org.apache.solr.handler
Class AnalysisRequestHandlerBase.TokenTrackingAttributeImpl
java.lang.Object
org.apache.lucene.util.AttributeImpl
org.apache.solr.handler.AnalysisRequestHandlerBase.TokenTrackingAttributeImpl
- All Implemented Interfaces:
- Serializable, Cloneable, org.apache.lucene.util.Attribute, AnalysisRequestHandlerBase.TokenTrackingAttribute
- Enclosing class:
- AnalysisRequestHandlerBase
public static final class AnalysisRequestHandlerBase.TokenTrackingAttributeImpl
- extends org.apache.lucene.util.AttributeImpl
- implements AnalysisRequestHandlerBase.TokenTrackingAttribute
Implementation of AnalysisRequestHandlerBase.TokenTrackingAttribute.
- See Also:
- Serialized Form
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
- This class is only public for usage by the
AttributeSource API.
| Fields inherited from class org.apache.lucene.util.AttributeImpl |
enableBackwards |
| Methods inherited from class org.apache.lucene.util.AttributeImpl |
clone, reflectAsString, toString |
AnalysisRequestHandlerBase.TokenTrackingAttributeImpl
public AnalysisRequestHandlerBase.TokenTrackingAttributeImpl()
freezeStage
public void freezeStage()
- Specified by:
freezeStage in interface AnalysisRequestHandlerBase.TokenTrackingAttribute
setActPosition
public void setActPosition(int pos)
- Specified by:
setActPosition in interface AnalysisRequestHandlerBase.TokenTrackingAttribute
getPositions
public int[] getPositions()
- Specified by:
getPositions in interface AnalysisRequestHandlerBase.TokenTrackingAttribute
reset
public void reset(int[] basePositions,
int position)
- Specified by:
reset in interface AnalysisRequestHandlerBase.TokenTrackingAttribute
clear
public void clear()
- Specified by:
clear in class org.apache.lucene.util.AttributeImpl
reflectWith
public void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
- Overrides:
reflectWith in class org.apache.lucene.util.AttributeImpl
copyTo
public void copyTo(org.apache.lucene.util.AttributeImpl target)
- Specified by:
copyTo in class org.apache.lucene.util.AttributeImpl
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.