public final class SchemaMetadataJsonConverter extends Object
| Modifier and Type | Method and Description |
|---|---|
javax.json.JsonObject |
convert(SchemaMetadata schemaMetadata)
Convert the given schema metadata to its JSON representation
|
javax.json.JsonArrayBuilder |
converTables(SchemaMetadata schemaMetadata) |
javax.json.JsonObject |
convertType(DataType dataType)
Convert a data type to its JSON representation
|
static SchemaMetadataJsonConverter |
getInstance()
Get the singleton instance of the
SchemaMetadataJsonConverter |
public static SchemaMetadataJsonConverter getInstance()
SchemaMetadataJsonConverterpublic javax.json.JsonObject convert(SchemaMetadata schemaMetadata)
schemaMetadata - schemaMetadata to be converted into JSONpublic javax.json.JsonArrayBuilder converTables(SchemaMetadata schemaMetadata)
public javax.json.JsonObject convertType(DataType dataType)
dataType - data type to be convertedCopyright © 2019. All rights reserved.