Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
PofExtractor Class
Members See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
POF-based IValueExtractor implementation. PofExtractor takes advantage of POF's indexed state to extract part of an object without needing to deserialize the entire object.

Namespace: Tangosol.Util.Extractor
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    [SerializableAttribute]
    public class PofExtractor : AbstractExtractor,
    	IPortableObject

# Remarks

POF uses a compact form in the serialized value when possible. For example, some numeric values are represented as special POF intrinsic types in which the type implies the value. As a result, POF requires the receiver of a value to have implicit knowledge of the type. PofExtractor uses the type supplied in the constructor as the source of the type information. If the type is null, PofExtractor will infer the type from the serialized state. Example where extracted value is Double:
CopyC#

    IValueExtractor extractor = new PofExtractor(typeof(Double), 2);

Example where extracted value should be inferred:
CopyC#

    IValueExtractor extractor = new PofExtractor(null, 2);

# Inheritance Hierarchy

System..::.Object
Tangosol.Util.Extractor..::.AbstractExtractor
Tangosol.Util.Extractor..::.PofExtractor

# See Also

PofExtractor Members
Tangosol.Util.Extractor Namespace