Class FieldCache.Bytes
Field values as 8-bit signed bytes
Inheritance
System.Object
    FieldCache.Bytes
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class BytesConstructors
| Improve this Doc View SourceBytes()
Initialize an instance of FieldCache.Bytes.
Declaration
protected Bytes()Bytes(Func<Int32, Byte>)
Initialize an instance of FieldCache.Bytes with the specified
get delegate method.
Declaration
public Bytes(Func<int, byte> get)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Func<System.Int32, System.Byte> | get | A System.Func<T, TResult> that implements the Get(Int32) method body. | 
Fields
| Improve this Doc View SourceEMPTY
Zero value for every document
Declaration
public static readonly FieldCache.Bytes EMPTYField Value
| Type | Description | 
|---|---|
| FieldCache.Bytes | 
Methods
| Improve this Doc View SourceGet(Int32)
Return a single System.Byte representation of this field's value.
Declaration
public virtual byte Get(int docID)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | docID | 
Returns
| Type | Description | 
|---|---|
| System.Byte |