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