Class AbstractEncoder
- java.lang.Object
-
- org.apache.lucene.analysis.payloads.AbstractEncoder
-
- All Implemented Interfaces:
PayloadEncoder
- Direct Known Subclasses:
FloatEncoder
,IdentityEncoder
,IntegerEncoder
public abstract class AbstractEncoder extends java.lang.Object implements PayloadEncoder
Base class for payload encoders.
-
-
Constructor Summary
Constructors Constructor Description AbstractEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BytesRef
encode(char[] buffer)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.lucene.analysis.payloads.PayloadEncoder
encode
-
-
-
-
Method Detail
-
encode
public BytesRef encode(char[] buffer)
- Specified by:
encode
in interfacePayloadEncoder
-
-