Class UuidTransformerConfig

All Implemented Interfaces:
Labelable

public class UuidTransformerConfig extends BaseDocHandlerConfig

Generates a random Universally unique identifier (UUID) and stores it in the specified field. If no field is provided, the UUID will be added to document.uuid.

Storing values in an existing field

If a target field with the same name already exists for a document, values will be added to the end of the existing value list. It is possible to change this default behavior by supplying a PropertySetter.

Can be used both as a pre-parse or post-parse handler.

See Also: