Class NameMappingParser

java.lang.Object
org.apache.iceberg.mapping.NameMappingParser

public class NameMappingParser extends Object
Parses external name mappings from a JSON representation.
 [ { "field-id": 1, "names": ["id", "record_id"] },
   { "field-id": 2, "names": ["data"] },
   { "field-id": 3, "names": ["location"], "fields": [
       { "field-id": 4, "names": ["latitude", "lat"] },
       { "field-id": 5, "names": ["longitude", "long"] }
     ] } ]