Class ConcatenateGraphFilter.BytesRefBuilderTermAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.analysis.miscellaneous.ConcatenateGraphFilter.BytesRefBuilderTermAttributeImpl
-
- All Implemented Interfaces:
Cloneable
,ConcatenateGraphFilter.BytesRefBuilderTermAttribute
,TermToBytesRefAttribute
,Attribute
- Enclosing class:
- ConcatenateGraphFilter
public static final class ConcatenateGraphFilter.BytesRefBuilderTermAttributeImpl extends AttributeImpl implements ConcatenateGraphFilter.BytesRefBuilderTermAttribute, TermToBytesRefAttribute
Implementation ofConcatenateGraphFilter.BytesRefBuilderTermAttribute
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description BytesRefBuilderTermAttributeImpl()
Sole constructor no-op
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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-
Methods inherited from class org.apache.lucene.util.AttributeImpl
end, reflectAsString
-
-
-
-
Method Detail
-
builder
public BytesRefBuilder builder()
Description copied from interface:ConcatenateGraphFilter.BytesRefBuilderTermAttribute
Returns the builder from which the term is derived.- Specified by:
builder
in interfaceConcatenateGraphFilter.BytesRefBuilderTermAttribute
-
getBytesRef
public BytesRef getBytesRef()
- Specified by:
getBytesRef
in interfaceTermToBytesRefAttribute
-
clear
public void clear()
- Specified by:
clear
in classAttributeImpl
-
copyTo
public void copyTo(AttributeImpl target)
- Specified by:
copyTo
in classAttributeImpl
-
clone
public AttributeImpl clone()
- Overrides:
clone
in classAttributeImpl
-
reflectWith
public void reflectWith(AttributeReflector reflector)
- Specified by:
reflectWith
in classAttributeImpl
-
toUTF16
public CharSequence toUTF16()
Description copied from interface:ConcatenateGraphFilter.BytesRefBuilderTermAttribute
Returns the term represented as UTF-16- Specified by:
toUTF16
in interfaceConcatenateGraphFilter.BytesRefBuilderTermAttribute
-
-