public class IdentityEncoder extends AbstractEncoder implements PayloadEncoder
| Constructor and Description | 
|---|
IdentityEncoder()  | 
IdentityEncoder(Charset charset)  | 
| Modifier and Type | Method and Description | 
|---|---|
BytesRef | 
encode(char[] buffer,
      int offset,
      int length)
Convert a char array to a  
BytesRef | 
encodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencodeprotected Charset charset
public IdentityEncoder()
public IdentityEncoder(Charset charset)
public BytesRef encode(char[] buffer, int offset, int length)
PayloadEncoderBytesRefencode in interface PayloadEncoderBytesRefCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.