public class StemmingBufferAttributeImpl extends org.apache.lucene.util.AttributeImpl implements StemmingBufferAttribute
| Constructor and Description |
|---|
StemmingBufferAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected char[] |
assureArrayLenth(char[] array,
int length) |
void |
clear() |
void |
copyTo(org.apache.lucene.util.AttributeImpl input)
We just want to create a new array if the length differs.
|
char[] |
getOriginalToken() |
int |
getOriginalTokenLength() |
char[] |
getStemmedToken() |
int |
getStemmedTokenLength() |
boolean |
isStemmedTokenHasBeenEmitted() |
void |
reflectWith(org.apache.lucene.util.AttributeReflector reflector) |
void |
setOriginalToken(char[] buffer,
int length) |
void |
setStemmedToken(char[] buffer,
int length) |
void |
setStemmedTokenHasBeenEmitted(boolean stemmedTokenHasBeenEmitted) |
String |
toString() |
public void clear()
clear in interface StemmingBufferAttributeclear in class org.apache.lucene.util.AttributeImplpublic void copyTo(org.apache.lucene.util.AttributeImpl input)
copyTo in class org.apache.lucene.util.AttributeImplpublic void setOriginalToken(char[] buffer,
int length)
setOriginalToken in interface StemmingBufferAttributepublic void setStemmedToken(char[] buffer,
int length)
setStemmedToken in interface StemmingBufferAttributepublic char[] getOriginalToken()
getOriginalToken in interface StemmingBufferAttributepublic int getOriginalTokenLength()
getOriginalTokenLength in interface StemmingBufferAttributepublic char[] getStemmedToken()
getStemmedToken in interface StemmingBufferAttributepublic int getStemmedTokenLength()
getStemmedTokenLength in interface StemmingBufferAttributepublic boolean isStemmedTokenHasBeenEmitted()
isStemmedTokenHasBeenEmitted in interface StemmingBufferAttributepublic void setStemmedTokenHasBeenEmitted(boolean stemmedTokenHasBeenEmitted)
setStemmedTokenHasBeenEmitted in interface StemmingBufferAttributeprotected char[] assureArrayLenth(char[] array,
int length)
public void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
reflectWith in class org.apache.lucene.util.AttributeImplCopyright © 2020 solr.cool. All rights reserved.