Class FieldCache.Bytes
Field values as 8-bit signed bytes
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class FieldCache.Bytes
Constructors
Bytes()
Initialize an instance of FieldCache.Bytes.
Declaration
protected Bytes()
Bytes(Func<int, byte>)
Initialize an instance of FieldCache.Bytes with the specified
get
delegate method.
Declaration
public Bytes(Func<int, byte> get)
Parameters
Type | Name | Description |
---|---|---|
Func<int, byte> | get | A Func<T, TResult> that implements the Get(int) method body. |
Fields
EMPTY
Zero value for every document
Declaration
public static readonly FieldCache.Bytes EMPTY
Field Value
Type | Description |
---|---|
FieldCache.Bytes |
Methods
Get(int)
Return a single byte representation of this field's value.
Declaration
public virtual byte Get(int docID)
Parameters
Type | Name | Description |
---|---|---|
int | docID |
Returns
Type | Description |
---|---|
byte |