Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class BoolDocValues

    Abstract FunctionValues implementation which supports retrieving bool values. Implementations can control how the bool values are loaded through BoolVal(int)

    Inheritance
    object
    FunctionValues
    BoolDocValues
    Inherited Members
    FunctionValues.BytesVal(int, BytesRef)
    FunctionValues.Exists(int)
    FunctionValues.OrdVal(int)
    FunctionValues.NumOrd
    FunctionValues.ByteVal(int, byte[])
    FunctionValues.Int16Val(int, short[])
    FunctionValues.SingleVal(int, float[])
    FunctionValues.Int32Val(int, int[])
    FunctionValues.Int64Val(int, long[])
    FunctionValues.DoubleVal(int, double[])
    FunctionValues.StrVal(int, string[])
    FunctionValues.Explain(int)
    FunctionValues.GetScorer(IndexReader)
    FunctionValues.GetRangeScorer(IndexReader, string, string, bool, bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Queries.Function.DocValues
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public abstract class BoolDocValues : FunctionValues

    Constructors

    BoolDocValues(ValueSource)

    Abstract FunctionValues implementation which supports retrieving bool values. Implementations can control how the bool values are loaded through BoolVal(int)

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

    Fields

    m_vs

    Abstract FunctionValues implementation which supports retrieving bool values. Implementations can control how the bool values are loaded through BoolVal(int)

    Declaration
    protected readonly ValueSource m_vs
    Field Value
    Type Description
    ValueSource

    Methods

    BoolVal(int)

    Abstract FunctionValues implementation which supports retrieving bool values. Implementations can control how the bool values are loaded through BoolVal(int)

    Declaration
    public override abstract bool BoolVal(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    bool
    Overrides
    FunctionValues.BoolVal(int)

    ByteVal(int)

    Abstract FunctionValues implementation which supports retrieving bool values. Implementations can control how the bool values are loaded through BoolVal(int)

    Declaration
    public override byte ByteVal(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    byte
    Overrides
    FunctionValues.ByteVal(int)

    DoubleVal(int)

    Abstract FunctionValues implementation which supports retrieving bool values. Implementations can control how the bool values are loaded through BoolVal(int)

    Declaration
    public override double DoubleVal(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    double
    Overrides
    FunctionValues.DoubleVal(int)

    GetValueFiller()

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Declaration
    public override FunctionValues.ValueFiller GetValueFiller()
    Returns
    Type Description
    FunctionValues.ValueFiller
    Overrides
    FunctionValues.GetValueFiller()

    Int16Val(int)

    NOTE: This was shortVal() in Lucene

    Declaration
    public override short Int16Val(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    short
    Overrides
    FunctionValues.Int16Val(int)

    Int32Val(int)

    NOTE: This was intVal() in Lucene

    Declaration
    public override int Int32Val(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    int
    Overrides
    FunctionValues.Int32Val(int)

    Int64Val(int)

    NOTE: This was longVal() in Lucene

    Declaration
    public override long Int64Val(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    long
    Overrides
    FunctionValues.Int64Val(int)

    ObjectVal(int)

    Native object representation of the value

    Declaration
    public override object ObjectVal(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    object
    Overrides
    FunctionValues.ObjectVal(int)

    SingleVal(int)

    NOTE: This was floatVal() in Lucene

    Declaration
    public override float SingleVal(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    float
    Overrides
    FunctionValues.SingleVal(int)

    StrVal(int)

    Abstract FunctionValues implementation which supports retrieving bool values. Implementations can control how the bool values are loaded through BoolVal(int)

    Declaration
    public override string StrVal(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    string
    Overrides
    FunctionValues.StrVal(int)

    ToString(int)

    Abstract FunctionValues implementation which supports retrieving bool values. Implementations can control how the bool values are loaded through BoolVal(int)

    Declaration
    public override string ToString(int doc)
    Parameters
    Type Name Description
    int doc
    Returns
    Type Description
    string
    Overrides
    FunctionValues.ToString(int)
    Back to top Copyright © 2024 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.