Class EnumFieldSource
  
  Obtains  field values from  and makes
those values available as other numeric types, casting as needed.
StrVal of the value is not the  value, but its  (displayed) value
 
  
  
    Inheritance
    System.Object
    
    
    EnumFieldSource
   
  
  
  Assembly: Lucene.Net.Queries.dll
  Syntax
  
    public class EnumFieldSource : FieldCacheSource
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  EnumFieldSource(String, FieldCache.IInt32Parser, IDictionary<Nullable<Int32>, String>, IDictionary<String, Nullable<Int32>>)
  
  
  Declaration
  
    public EnumFieldSource(string field, FieldCache.IInt32Parser parser, IDictionary<int?, string> enumIntToStringMap, IDictionary<string, int?> enumStringToIntMap)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        field | 
         | 
      
      
        | FieldCache.IInt32Parser | 
        parser | 
         | 
      
      
        | IDictionary<System.Nullable<System.Int32>, System.String> | 
        enumIntToStringMap | 
         | 
      
      
        | IDictionary<System.String, System.Nullable<System.Int32>> | 
        enumStringToIntMap | 
         | 
      
    
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Equals(Object)
  
  
  Declaration
  
    public override bool Equals(object o)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        o | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetDescription()
  
  
  Declaration
  
    public override string GetDescription()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetHashCode()
  
  
  Declaration
  
    public override int GetHashCode()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetValues(IDictionary, AtomicReaderContext)
  
  
  Declaration
  
    public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
   
  Parameters
  
  Returns
  
  Overrides