public static final class CompletionTokenStream.ByteTermAttributeImpl extends org.apache.lucene.util.AttributeImpl implements CompletionTokenStream.ByteTermAttribute, org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute
Constructor and Description |
---|
CompletionTokenStream.ByteTermAttributeImpl() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.util.BytesRefBuilder |
builder()
Return the builder from which the term is derived.
|
void |
clear() |
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
org.apache.lucene.util.BytesRef |
getBytesRef() |
CharSequence |
toUTF16() |
public CompletionTokenStream.ByteTermAttributeImpl()
public org.apache.lucene.util.BytesRefBuilder builder()
CompletionTokenStream.ByteTermAttribute
builder
in interface CompletionTokenStream.ByteTermAttribute
public org.apache.lucene.util.BytesRef getBytesRef()
getBytesRef
in interface org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute
public void clear()
clear
in class org.apache.lucene.util.AttributeImpl
public void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo
in class org.apache.lucene.util.AttributeImpl
public CharSequence toUTF16()
toUTF16
in interface CompletionTokenStream.ByteTermAttribute
Copyright © 2009–2017. All rights reserved.