public class ICUCollatedTermAttributeImpl extends CharTermAttributeImpl
CharTermAttributeImpl that encodes the term
text as a binary Unicode collation key instead of as UTF-8 bytes.| Constructor and Description |
|---|
ICUCollatedTermAttributeImpl(com.ibm.icu.text.Collator collator)
Create a new ICUCollatedTermAttributeImpl
|
| Modifier and Type | Method and Description |
|---|---|
int |
fillBytesRef() |
append, append, append, append, append, append, buffer, charAt, clear, clone, copyBuffer, copyTo, equals, getBytesRef, hashCode, length, reflectWith, resizeBuffer, setEmpty, setLength, subSequence, toStringreflectAsStringpublic ICUCollatedTermAttributeImpl(com.ibm.icu.text.Collator collator)
collator - Collation key generatorpublic int fillBytesRef()
fillBytesRef in interface TermToBytesRefAttributefillBytesRef in class CharTermAttributeImplCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.