Class AbstractCompositeExtractor
Abstract base class for IValueExtractor implementations that are based on an underlying array of IValueExtractor objects.
Inheritance
Inherited Members
Namespace: Tangosol.Util.Extractor
Assembly: Coherence.dll
Syntax
public abstract class AbstractCompositeExtractor : AbstractExtractor, IValueExtractor, IQueryCacheComparer, IComparer, IPortableObject
Constructors
AbstractCompositeExtractor()
Default constructor.
Declaration
public AbstractCompositeExtractor()
AbstractCompositeExtractor(IValueExtractor[])
Construct a AbstractCompositeExtractor based on the specified IValueExtractor array.
Declaration
public AbstractCompositeExtractor(IValueExtractor[] extractors)
Parameters
Type | Name | Description |
---|---|---|
IValueExtractor[] | extractors | The IValueExtractor array. |
Fields
m_extractors
The IValueExtractor array.
Declaration
protected IValueExtractor[] m_extractors
Field Value
Type | Description |
---|---|
IValueExtractor[] |
Properties
Extractors
Obtain the IValueExtractor array.
Declaration
public virtual IValueExtractor[] Extractors { get; }
Property Value
Type | Description |
---|---|
IValueExtractor[] | The IValueExtractor array. |
Methods
Equals(object)
Compare the AbstractCompositeExtractor with another object to determine equality.
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
object | o | The object to compare with. |
Returns
Type | Description |
---|---|
bool | true iff this AbstractCompositeExtractor and the passed object are equivalent. |
Overrides
Remarks
Two AbstractCompositeExtractor objects are considered equal iff they belong to the same class and their underlying IValueExtractor arrays are deep-equal.
GetHashCode()
Determine a hash value for the AbstractCompositeExtractor object according to the general object.GetHashCode contract.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | An integer hash value for this IValueExtractor object. |
Overrides
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()
Return a human-readable description for this IValueExtractor.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A String description of the IValueExtractor. |
Overrides
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. |