Class FieldMappingEngine
java.lang.Object
ecmwf.common.parser.mapping.FieldMappingEngine
FieldMappingEngine is responsible for inferring how raw input fields map to
FileEntry attributes.
It supports multiple formats:
- CSV (column-based inference)
- JSON (field/path-based inference)
- STAC (semantic JSON structure)
- XML (node path inference)
This engine does NOT parse data itself; it only analyzes structure and produces a MappingSuggestion.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMain entry point for mapping inference.
-
Constructor Details
-
FieldMappingEngine
public FieldMappingEngine()
-
-
Method Details
-
infer
Main entry point for mapping inference.- Parameters:
parserType- detected format (csv/json/xml/stac/ftp/s3)sample- first lines or sample document
-