PayloadEncoder (Lucene 3.6.2 API)
Keywords: org.apache.lucene.analysis.payloads.PayloadEncoder interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.lucene.analysis.payloads
Interface PayloadEncoder

All Known Implementing Classes:
  AbstractEncoder, FloatEncoder, IdentityEncoder, IntegerEncoder

    public interface PayloadEncoder

Mainly for use with the DelimitedPayloadTokenFilter, converts char buffers to Payload.

NOTE: This interface is subject to change

Method Summary
`org.apache.lucene.index.Payload` | `encode(char[] buffer)`
`org.apache.lucene.index.Payload` | `encode(char[] buffer, int offset, int length)` Convert a char array to a `Payload`

Method Detail

### encode

    org.apache.lucene.index.Payload encode(char[] buffer)

### encode

    org.apache.lucene.index.Payload encode(char[] buffer,
                                           int offset,
                                           int length)

  Convert a char array to a `Payload`

  Parameters:
    `buffer` -
    `offset` -
    `length` -
  Returns:
    encoded `Payload`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD