Show / Hide Table of Contents

Class UniversalExtractor

Universal IValueExtractor implementation.

Inheritance
object
AbstractExtractor
UniversalExtractor
Implements
IQueryCacheComparer
IComparer
IValueExtractor
IPortableObject
Inherited Members
AbstractExtractor.Target
AbstractExtractor.Extract(object)
AbstractExtractor.Compare(object, object)
AbstractExtractor.CompareEntries(IQueryCacheEntry, IQueryCacheEntry)
AbstractExtractor.ExtractFromEntry(ICacheEntry)
AbstractExtractor.ExtractOriginalFromEntry(CacheEntry)
AbstractExtractor.VALUE
AbstractExtractor.KEY
AbstractExtractor.m_target
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Tangosol.Util.Extractor
Assembly: Coherence.dll
Syntax
public class UniversalExtractor : AbstractExtractor, IQueryCacheComparer, IComparer, IValueExtractor, IPortableObject
Remarks

UniversalExtractor can only run within the Coherence cluster. Refer to the Coherence for Java documentation for more information.

Constructors

UniversalExtractor()

Default constructor (necessary for the IPortableObject interface).

Declaration
public UniversalExtractor()

UniversalExtractor(string)

Construct a UniversalExtractor based on a member name.

Declaration
public UniversalExtractor(string name)
Parameters
Type Name Description
string name

A method or property name.

UniversalExtractor(string, object[])

Construct a UniversalExtractor.

Declaration
public UniversalExtractor(string name, object[] parameters)
Parameters
Type Name Description
string name

A method or property name.

object[] parameters

The array of arguments to be used in the method invocation; may be null.

UniversalExtractor(string, object[], int)

Construct a UniversalExtractor based on a method name, optional parameters and the entry extraction target.

Declaration
public UniversalExtractor(string name, object[] parameters, int target)
Parameters
Type Name Description
string name

A method or property name.

object[] parameters

The array of arguments to be used in the method invocation; may be null.

int target

One of the VALUE or KEY values

Fields

METHOD_SUFFIX

If m_name ends with this suffix, it represents a method name.

Declaration
public static readonly string METHOD_SUFFIX
Field Value
Type Description
string

m_name

The name of the member to invoke.

Declaration
protected string m_name
Field Value
Type Description
string

m_parameters

The parameter array.

Declaration
protected object[] m_parameters
Field Value
Type Description
object[]

Properties

Name

Get the method or property name.

Declaration
public virtual string Name { get; }
Property Value
Type Description
string

the method or property name.

Parameters

Gets the array of arguments used to invoke the method.

Declaration
public virtual object[] Parameters { get; }
Property Value
Type Description
object[]

The array of arguments used to invoke the method.

Methods

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.

ToString()

Provide a human-readable description of this IValueExtractor object.

Declaration
public override string ToString()
Returns
Type Description
string

A human-readable description of this IValueExtractor object.

Overrides
object.ToString()

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.

Implements

IQueryCacheComparer
IComparer
IValueExtractor
IPortableObject
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.