public class MockUTF16TermAttributeImpl extends CharTermAttributeImpl
CharTermAttributeImpl
that encodes the term
text as UTF-16 bytes instead of as UTF-8 bytes.Constructor and Description |
---|
MockUTF16TermAttributeImpl() |
Modifier and Type | Method and Description |
---|---|
void |
fillBytesRef() |
append, append, append, append, append, append, buffer, charAt, clear, clone, copyBuffer, copyTo, equals, getBytesRef, hashCode, length, reflectWith, resizeBuffer, setEmpty, setLength, subSequence, toString
reflectAsString
public void fillBytesRef()
fillBytesRef
in interface TermToBytesRefAttribute
fillBytesRef
in class CharTermAttributeImpl
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.