public static final class CompletionTokenStream.BytesRefBuilderTermAttributeImpl extends AttributeImpl implements CompletionTokenStream.BytesRefBuilderTermAttribute, TermToBytesRefAttribute
Constructor and Description |
---|
BytesRefBuilderTermAttributeImpl()
Sole constructor
no-op
|
Modifier and Type | Method and Description |
---|---|
BytesRefBuilder |
builder()
Returns the builder from which the term is derived.
|
void |
clear() |
AttributeImpl |
clone() |
void |
copyTo(AttributeImpl target) |
BytesRef |
getBytesRef() |
void |
reflectWith(AttributeReflector reflector) |
CharSequence |
toUTF16()
Returns the term represented as UTF-16
|
end, reflectAsString
public BytesRefBuilderTermAttributeImpl()
public BytesRefBuilder builder()
CompletionTokenStream.BytesRefBuilderTermAttribute
builder
in interface CompletionTokenStream.BytesRefBuilderTermAttribute
public BytesRef getBytesRef()
getBytesRef
in interface TermToBytesRefAttribute
public void clear()
clear
in class AttributeImpl
public void copyTo(AttributeImpl target)
copyTo
in class AttributeImpl
public AttributeImpl clone()
clone
in class AttributeImpl
public void reflectWith(AttributeReflector reflector)
reflectWith
in class AttributeImpl
public CharSequence toUTF16()
CompletionTokenStream.BytesRefBuilderTermAttribute
toUTF16
in interface CompletionTokenStream.BytesRefBuilderTermAttribute
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.