Show / Hide Table of Contents

    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
    ValueSource
    FieldCacheSource
    EnumFieldSource
    Inherited Members
    FieldCacheSource.m_field
    FieldCacheSource.m_cache
    FieldCacheSource.FieldCache
    FieldCacheSource.Field
    ValueSource.ToString()
    ValueSource.CreateWeight(IDictionary, IndexSearcher)
    ValueSource.NewContext(IndexSearcher)
    ValueSource.GetSortField(Boolean)
    Namespace: Lucene.Net.Queries.Function.ValueSources
    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
    FieldCacheSource.Equals(Object)
    | Improve this Doc View Source

    GetDescription()

    Declaration
    public override string GetDescription()
    Returns
    Type Description
    System.String
    Overrides
    FieldCacheSource.GetDescription()
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    FieldCacheSource.GetHashCode()
    | Improve this Doc View Source

    GetValues(IDictionary, AtomicReaderContext)

    Declaration
    public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
    Parameters
    Type Name Description
    IDictionary context
    AtomicReaderContext readerContext
    Returns
    Type Description
    FunctionValues
    Overrides
    ValueSource.GetValues(IDictionary, AtomicReaderContext)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)