Class FloatEncoder
- java.lang.Object
-
- org.apache.lucene.analysis.payloads.AbstractEncoder
-
- org.apache.lucene.analysis.payloads.FloatEncoder
-
- All Implemented Interfaces:
PayloadEncoder
public class FloatEncoder extends AbstractEncoder implements PayloadEncoder
Encode a character array Float as aBytesRef.
-
-
Constructor Summary
Constructors Constructor Description FloatEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BytesRefencode(char[] buffer, int offset, int length)Convert a char array to aBytesRef-
Methods inherited from class org.apache.lucene.analysis.payloads.AbstractEncoder
encode
-
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, int offset, int length)
Description copied from interface:PayloadEncoderConvert a char array to aBytesRef- Specified by:
encodein interfacePayloadEncoder- Returns:
- encoded
BytesRef
-
-