Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SingleDocValues

    Abstract FunctionValues implementation which supports retrieving System.Single values. Implementations can control how the System.Single values are loaded through SingleVal(Int32)

    NOTE: This was FloatDocValues in Lucene

    Inheritance
    System.Object
    FunctionValues
    SingleDocValues
    Inherited Members
    FunctionValues.BoolVal(Int32)
    FunctionValues.BytesVal(Int32, BytesRef)
    FunctionValues.Exists(Int32)
    FunctionValues.OrdVal(Int32)
    FunctionValues.NumOrd
    FunctionValues.ByteVal(Int32, Byte[])
    FunctionValues.Int16Val(Int32, Int16[])
    FunctionValues.SingleVal(Int32, Single[])
    FunctionValues.Int32Val(Int32, Int32[])
    FunctionValues.Int64Val(Int32, Int64[])
    FunctionValues.DoubleVal(Int32, Double[])
    FunctionValues.StrVal(Int32, String[])
    FunctionValues.Explain(Int32)
    FunctionValues.GetScorer(IndexReader)
    FunctionValues.GetRangeScorer(IndexReader, String, String, Boolean, Boolean)
    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.Queries.Function.DocValues
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public abstract class SingleDocValues : FunctionValues

    Constructors

    | Improve this Doc View Source

    SingleDocValues(ValueSource)

    Declaration
    protected SingleDocValues(ValueSource vs)
    Parameters
    Type Name Description
    ValueSource vs

    Fields

    | Improve this Doc View Source

    m_vs

    Declaration
    protected readonly ValueSource m_vs
    Field Value
    Type Description
    ValueSource

    Methods

    | Improve this Doc View Source

    ByteVal(Int32)

    Declaration
    public override byte ByteVal(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.Byte
    Overrides
    FunctionValues.ByteVal(Int32)
    | Improve this Doc View Source

    DoubleVal(Int32)

    Declaration
    public override double DoubleVal(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.Double
    Overrides
    FunctionValues.DoubleVal(Int32)
    | Improve this Doc View Source

    GetValueFiller()

    Declaration
    public override FunctionValues.ValueFiller GetValueFiller()
    Returns
    Type Description
    FunctionValues.ValueFiller
    Overrides
    FunctionValues.GetValueFiller()
    | Improve this Doc View Source

    Int16Val(Int32)

    NOTE: This was shortVal() in Lucene

    Declaration
    public override short Int16Val(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.Int16
    Overrides
    FunctionValues.Int16Val(Int32)
    | Improve this Doc View Source

    Int32Val(Int32)

    NOTE: This was intVal() in Lucene

    Declaration
    public override int Int32Val(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.Int32
    Overrides
    FunctionValues.Int32Val(Int32)
    | Improve this Doc View Source

    Int64Val(Int32)

    NOTE: This was longVal() in Lucene

    Declaration
    public override long Int64Val(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.Int64
    Overrides
    FunctionValues.Int64Val(Int32)
    | Improve this Doc View Source

    ObjectVal(Int32)

    Declaration
    public override object ObjectVal(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.Object
    Overrides
    FunctionValues.ObjectVal(Int32)
    | Improve this Doc View Source

    SingleVal(Int32)

    NOTE: This was floatVal() in Lucene

    Declaration
    public abstract override float SingleVal(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.Single
    Overrides
    FunctionValues.SingleVal(Int32)
    | Improve this Doc View Source

    StrVal(Int32)

    Declaration
    public override string StrVal(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.String
    Overrides
    FunctionValues.StrVal(Int32)
    | Improve this Doc View Source

    ToString(Int32)

    Declaration
    public override string ToString(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    System.String
    Overrides
    FunctionValues.ToString(Int32)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.