Class FieldCache.CacheEntry
EXPERT: A unique Identifier/Description for each item in the IFieldCache. Can be useful for logging/debugging.
Note
This API is experimental and might change in incompatible ways in the next release.
Inheritance
System.Object
FieldCache.CacheEntry
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)
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public sealed class CacheEntry
Constructors
| Improve this Doc View SourceCacheEntry(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 | |
System.Type | cacheType | |
System.Object | custom | |
System.Object | value |
Properties
| Improve this Doc View SourceAcceptableOverheadRatio
Declaration
public float? AcceptableOverheadRatio { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
CacheType
Declaration
public Type CacheType { get; }
Property Value
Type | Description |
---|---|
System.Type |
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 |
FieldName
Declaration
public string FieldName { get; }
Property Value
Type | Description |
---|---|
System.String |
Parser
Declaration
public FieldCache.IParser Parser { get; }
Property Value
Type | Description |
---|---|
FieldCache.IParser |
ReaderKey
Declaration
public object ReaderKey { get; }
Property Value
Type | Description |
---|---|
System.Object |
Value
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
| Improve this Doc View SourceEstimateSize()
Computes (and stores) the estimated size of the cache Value
Declaration
public void EstimateSize()
See Also
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()