public class DataModelGlossary extends Object
AvroSchemaGlossary| Constructor and Description |
|---|
DataModelGlossary() |
| Modifier and Type | Method and Description |
|---|---|
static AvroSchemaGlossary |
getGlossary()
Accessor for the data model glossary.
|
static boolean |
initialize(String dataModelUrl)
Initializes the data model glossary with the data models located at the url.
|
public static boolean initialize(String dataModelUrl)
Manifest. If
the loader is unable to download the manifest or referenced data models, the
initialization will fail. Below is an example manifest file.
e.g.
{
"standards": {
"OMOP_6_0_0": {
"format": "avsc"
}
}
}dataModelUrl - the url to download the data models from.public static AvroSchemaGlossary getGlossary()
AvroSchemaGlossary instance.Copyright © 2022 CDAP Licensed under the Apache License, Version 2.0.