Class IdentityEncoder
java.lang.Object
org.apache.lucene.analysis.payloads.AbstractEncoder
org.apache.lucene.analysis.payloads.IdentityEncoder
- All Implemented Interfaces:
PayloadEncoder
Does nothing other than convert the char array to a byte array using the specified encoding.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.analysis.payloads.AbstractEncoder
encodeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.analysis.payloads.PayloadEncoder
encode
-
Constructor Details
-
IdentityEncoder
public IdentityEncoder() -
IdentityEncoder
-
-
Method Details
-
encode
Description copied from interface:PayloadEncoderConvert a char array to aBytesRef- Specified by:
encodein interfacePayloadEncoder- Returns:
- encoded
BytesRef
-