Package org.apache.solr.handler
Class AnalysisRequestHandlerBase.TokenTrackingAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.solr.handler.AnalysisRequestHandlerBase.TokenTrackingAttributeImpl
-
- All Implemented Interfaces:
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 ofAnalysisRequestHandlerBase.TokenTrackingAttribute
.- 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.
-
-
Constructor Summary
Constructors Constructor Description TokenTrackingAttributeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
copyTo(org.apache.lucene.util.AttributeImpl target)
void
freezeStage()
int[]
getPositions()
void
reflectWith(org.apache.lucene.util.AttributeReflector reflector)
void
reset(int[] basePositions, int position)
void
setActPosition(int pos)
-
-
-
Method Detail
-
freezeStage
public void freezeStage()
- Specified by:
freezeStage
in interfaceAnalysisRequestHandlerBase.TokenTrackingAttribute
-
setActPosition
public void setActPosition(int pos)
- Specified by:
setActPosition
in interfaceAnalysisRequestHandlerBase.TokenTrackingAttribute
-
getPositions
public int[] getPositions()
- Specified by:
getPositions
in interfaceAnalysisRequestHandlerBase.TokenTrackingAttribute
-
reset
public void reset(int[] basePositions, int position)
- Specified by:
reset
in interfaceAnalysisRequestHandlerBase.TokenTrackingAttribute
-
clear
public void clear()
- Specified by:
clear
in classorg.apache.lucene.util.AttributeImpl
-
reflectWith
public void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
- Specified by:
reflectWith
in classorg.apache.lucene.util.AttributeImpl
-
copyTo
public void copyTo(org.apache.lucene.util.AttributeImpl target)
- Specified by:
copyTo
in classorg.apache.lucene.util.AttributeImpl
-
-