Show / Hide Table of Contents

    Class Int64FieldSource

    Obtains field values from and makes those values available as other numeric types, casting as needed.

    NOTE: This was LongFieldSource in Lucene

    Inheritance
    System.Object
    ValueSource
    FieldCacheSource
    Int64FieldSource
    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 Int64FieldSource : FieldCacheSource

    Constructors

    | Improve this Doc View Source

    Int64FieldSource(String)

    Declaration
    public Int64FieldSource(string field)
    Parameters
    Type Name Description
    System.String field
    | Improve this Doc View Source

    Int64FieldSource(String, FieldCache.IInt64Parser)

    Declaration
    public Int64FieldSource(string field, FieldCache.IInt64Parser parser)
    Parameters
    Type Name Description
    System.String field
    FieldCache.IInt64Parser parser

    Fields

    | Improve this Doc View Source

    m_parser

    Declaration
    protected readonly FieldCache.IInt64Parser m_parser
    Field Value
    Type Description
    FieldCache.IInt64Parser

    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

    ExternalToInt64(String)

    NOTE: This was externalToLong() in Lucene

    Declaration
    public virtual long ExternalToInt64(string extVal)
    Parameters
    Type Name Description
    System.String extVal
    Returns
    Type Description
    System.Int64
    | 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

    Int64ToObject(Int64)

    NOTE: This was longToObject() in Lucene

    Declaration
    public virtual object Int64ToObject(long val)
    Parameters
    Type Name Description
    System.Int64 val
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    Int64ToString(Int64)

    NOTE: This was longToString() in Lucene

    Declaration
    public virtual string Int64ToString(long val)
    Parameters
    Type Name Description
    System.Int64 val
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    NewMutableValueInt64()

    NOTE: This was longToString() in Lucene

    Declaration
    protected virtual MutableValueInt64 NewMutableValueInt64()
    Returns
    Type Description
    MutableValueInt64
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)