Show / Hide Table of Contents

    Class FieldCache.CacheEntry

    EXPERT: A unique Identifier/Description for each item in the IFieldCache. Can be useful for logging/debugging.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    FieldCache.CacheEntry
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class CacheEntry : object

    Constructors

    | Improve this Doc View Source

    CacheEntry(Object, String, Type, Object, Object)

    Declaration
    public CacheEntry(object readerKey, string fieldName, Type cacheType, object custom, object value)
    Parameters
    Type Name Description
    System.Object readerKey
    System.String fieldName
    Type cacheType
    System.Object custom
    System.Object value

    Properties

    | Improve this Doc View Source

    CacheType

    Declaration
    public Type CacheType { get; }
    Property Value
    Type Description
    Type
    | Improve this Doc View Source

    Custom

    Declaration
    public object Custom { get; }
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    EstimatedSize

    The most recently estimated size of the value, null unless EstimateSize() has been called.

    Declaration
    public string EstimatedSize { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    FieldName

    Declaration
    public string FieldName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ReaderKey

    Declaration
    public object ReaderKey { get; }
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    Value

    Declaration
    public object Value { get; }
    Property Value
    Type Description
    System.Object

    Methods

    | Improve this Doc View Source

    EstimateSize()

    Computes (and stores) the estimated size of the cache Value

    Declaration
    public void EstimateSize()
    See Also
    EstimatedSize
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)