Plums-Microlib Descriptor API

A Descriptor is a special kind of object which takes in one or many RecordCollection, and output one or many RecordCollection where each enclosed Record have an additional property.

Each Descriptor defines a specific property (i.e. how to construct it from a Record and how to interpret the result) and can be used as a high level API to summarise a Record information or set of information in an enclosed highly semantic pattern.

Because each descriptor property is added to a Record, Descriptor may be chained to generate arbitrary sequences of description processing.

A collection of generic Descriptor are already included in Plums plot, but extending the base API is easy by creating new Descriptor classes.

Specific descriptors

Generic descriptors