Class AbstractEncoder
Base class for payload encoders.
Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Payloads
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public abstract class AbstractEncoder : IPayloadEncoder
Methods
Encode(char[])
Base class for payload encoders.
Declaration
public virtual BytesRef Encode(char[] buffer)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer |
Returns
Type | Description |
---|---|
BytesRef |
Encode(char[], int, int)
Convert a char array to a Lucene.Net.Util.BytesRef
Declaration
public abstract BytesRef Encode(char[] buffer, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | offset | |
int | length |
Returns
Type | Description |
---|---|
BytesRef | encoded Lucene.Net.Util.BytesRef |