Class NCSqlSchemaBuilder

    • Constructor Detail

      • NCSqlSchemaBuilder

        public NCSqlSchemaBuilder()
    • Method Detail

      • makeSchema

        public static NCSqlSchema makeSchema​(NCModel model)
        Builds object presentation for SQL schema from given data model. Note that the model must be generated by NCSqlModelGenerator class.
        Parameters:
        model - Data model to generate object SQL schema presentation. Data model must be generated by NCSqlModelGenerator class.
        Returns:
        Object presentation of the SQL schema for a given data model.
        Throws:
        org.apache.nlpcraft.common.NCException - Thrown in case of any errors.
        See Also:
        NCSqlModelGenerator, NCSqlExtractor