Class SimpleQueryRecord.PartialResult.IndexLookupRecord
Simple IQueryRecord.IPartialResult.IIndexLookupRecord implementation.
Inherited Members
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public class SimpleQueryRecord.PartialResult.IndexLookupRecord : IIndexLookupRecord, IPortableObject
Constructors
IndexLookupRecord()
Default constructor (necessary for IPortableObject interface).
Declaration
public IndexLookupRecord()
IndexLookupRecord(IIndexLookupRecord)
Copy constructor for an IndexLookupRecord.
Declaration
public IndexLookupRecord(IIndexLookupRecord record)
Parameters
Type | Name | Description |
---|---|---|
IIndexLookupRecord | record | The record to copy. |
Properties
ExtractorDescription
A description of the extractor that was used for the index lookup.
Declaration
public string ExtractorDescription { get; }
Property Value
Type | Description |
---|---|
string |
IndexDef
Returns the index definition.
Declaration
public string IndexDef { get; }
Property Value
Type | Description |
---|---|
string |
IndexDescription
A description of the associated index.
Declaration
public string IndexDescription { get; set; }
Property Value
Type | Description |
---|---|
string |
IsOrdered
Indicates whether or not the associated index is ordered.
Declaration
public bool IsOrdered { get; }
Property Value
Type | Description |
---|---|
bool |
MemoryUsage
Returns index memory usage in bytes.
Declaration
public long MemoryUsage { get; set; }
Property Value
Type | Description |
---|---|
long |
Size
Return index content map size.
Declaration
public int Size { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
BuildIndexDescription()
Build an index description for this index.
Declaration
public string BuildIndexDescription()
Returns
Type | Description |
---|---|
string |
Equals(object)
Checks two cache entries for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The IndexLookupRecord to compare to. |
Returns
Type | Description |
---|---|
bool | true if this IndexLookupRecord and the passed object are equivalent. |
Overrides
GetHashCode()
Generates hash code for this CacheEntry.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for this CacheEntry. |
Overrides
ParseIndexDescription(string)
Parses an index description into it's definition, footprint, and map size.
Declaration
public void ParseIndexDescription(string sIndex)
Parameters
Type | Name | Description |
---|---|---|
string | sIndex | the index description |
ReadExternal(IPofReader)
Restore the contents of a user type instance by reading its state using the specified IPofReader object.
Declaration
public virtual void ReadExternal(IPofReader reader)
Parameters
Type | Name | Description |
---|---|---|
IPofReader | reader | The IPofReader from which to read the object's state. |
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |
WriteExternal(IPofWriter)
Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.
Declaration
public virtual void WriteExternal(IPofWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IPofWriter | writer | The IPofWriter to which to write the object's state. |
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |