public static final class CannedBinaryTokenStream.BinaryTermAttributeImpl extends AttributeImpl implements CannedBinaryTokenStream.BinaryTermAttribute, TermToBytesRefAttribute
CannedBinaryTokenStream.BinaryTermAttribute.| Constructor and Description |
|---|
BinaryTermAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the values in this AttributeImpl and resets it to its
default value.
|
CannedBinaryTokenStream.BinaryTermAttributeImpl |
clone()
In most cases the clone is, and should be, deep in order to be able to
properly capture the state of all attributes.
|
void |
copyTo(AttributeImpl target)
Copies the values from this Attribute into the passed-in
target attribute.
|
boolean |
equals(Object other) |
void |
fillBytesRef()
Updates the bytes
TermToBytesRefAttribute.getBytesRef() to contain this term's
final encoding. |
BytesRef |
getBytesRef()
Retrieve this attribute's BytesRef.
|
int |
hashCode() |
void |
setBytesRef(BytesRef bytes)
Set the current binary value.
|
reflectAsString, reflectWithpublic void fillBytesRef()
TermToBytesRefAttributeTermToBytesRefAttribute.getBytesRef() to contain this term's
final encoding.fillBytesRef in interface TermToBytesRefAttributepublic BytesRef getBytesRef()
TermToBytesRefAttributeTermToBytesRefAttribute.fillBytesRef().getBytesRef in interface TermToBytesRefAttributepublic void setBytesRef(BytesRef bytes)
CannedBinaryTokenStream.BinaryTermAttributesetBytesRef in interface CannedBinaryTokenStream.BinaryTermAttributepublic void clear()
AttributeImplclear in class AttributeImplpublic void copyTo(AttributeImpl target)
AttributeImplcopyTo in class AttributeImplpublic CannedBinaryTokenStream.BinaryTermAttributeImpl clone()
AttributeImplclone in class AttributeImplCopyright © 2000–2021 The Apache Software Foundation. All rights reserved.