Show / Hide Table of Contents

    Class CachingDoubleValueSource

    Caches the doubleVal of another value source in a HashMap so that it is computed only once.

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    ValueSource
    CachingDoubleValueSource
    Inherited Members
    ValueSource.ToString()
    ValueSource.CreateWeight(IDictionary, IndexSearcher)
    ValueSource.NewContext(IndexSearcher)
    ValueSource.GetSortField(Boolean)
    Namespace: Lucene.Net.Spatial.Util
    Assembly: Lucene.Net.Spatial.dll
    Syntax
    public class CachingDoubleValueSource : ValueSource

    Constructors

    | Improve this Doc View Source

    CachingDoubleValueSource(ValueSource)

    Declaration
    public CachingDoubleValueSource(ValueSource source)
    Parameters
    Type Name Description
    ValueSource source

    Fields

    | Improve this Doc View Source

    m_cache

    Declaration
    protected readonly IDictionary<int, double> m_cache
    Field Value
    Type Description
    IDictionary<System.Int32, System.Double>
    | Improve this Doc View Source

    m_source

    Declaration
    protected readonly ValueSource m_source
    Field Value
    Type Description
    ValueSource

    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
    ValueSource.Equals(Object)
    | Improve this Doc View Source

    GetDescription()

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    ValueSource.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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)