Show / Hide Table of Contents

    Class ConstNumberSource

    ConstNumberSource is the base class for all constant numbers

    Inheritance
    System.Object
    ValueSource
    ConstNumberSource
    ConstValueSource
    DoubleConstValueSource
    Inherited Members
    ValueSource.GetValues(IDictionary, AtomicReaderContext)
    ValueSource.Equals(Object)
    ValueSource.GetHashCode()
    ValueSource.GetDescription()
    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 abstract class ConstNumberSource : ValueSource

    Properties

    | Improve this Doc View Source

    Bool

    Declaration
    public abstract bool Bool { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Double

    Declaration
    public abstract double Double { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Int32

    NOTE: This was getInt() in Lucene

    Declaration
    public abstract int Int32 { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Int64

    NOTE: This was getLong() in Lucene

    Declaration
    public abstract long Int64 { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    Single

    NOTE: This was getFloat() in Lucene

    Declaration
    public abstract float Single { get; }
    Property Value
    Type Description
    System.Single
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)