Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FieldCache.Int64s

    Field values as 64-bit signed long integers

    NOTE: This was Longs in Lucene

    Inheritance
    System.Object
    FieldCache.Int64s
    Inherited Members
    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.Search
    Assembly: Lucene.Net.dll
    Syntax
    public class Int64s

    Constructors

    | Improve this Doc View Source

    Int64s()

    Initialize an instance of FieldCache.Int64s.

    Declaration
    protected Int64s()
    | Improve this Doc View Source

    Int64s(Func<Int32, Int64>)

    Initialize an instance of FieldCache.Int64s with the specified get delegate method.

    Declaration
    public Int64s(Func<int, long> get)
    Parameters
    Type Name Description
    System.Func<System.Int32, System.Int64> get

    A System.Func<T, TResult> that implements the Get(Int32) method body.

    Fields

    | Improve this Doc View Source

    EMPTY

    Zero value for every document

    Declaration
    public static readonly FieldCache.Int64s EMPTY
    Field Value
    Type Description
    FieldCache.Int64s

    Methods

    | Improve this Doc View Source

    Get(Int32)

    Return an System.Int64 representation of this field's value.

    Declaration
    public virtual long Get(int docID)
    Parameters
    Type Name Description
    System.Int32 docID
    Returns
    Type Description
    System.Int64
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.