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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.lucene.analysis.payloads.AbstractEncoder
encode
-
Field Details
-
charset
-
-
Constructor Details
-
IdentityEncoder
public IdentityEncoder() -
IdentityEncoder
-
-
Method Details
-
encode
Description copied from interface:PayloadEncoder
Convert a char array to aBytesRef
- Returns:
- encoded
BytesRef
-