Class NCSqlSchemaBuilder
- java.lang.Object
-
- org.apache.nlpcraft.model.tools.sqlgen.NCSqlSchemaBuilder
-
public class NCSqlSchemaBuilder extends Object
Builder forNCSqlSchema
instances. Once you haveNCSqlSchema
you can also use utility methods fromNCSqlExtractor
.- See Also:
NCSqlModelGenerator
,NCSqlExtractor
-
-
Constructor Summary
Constructors Constructor Description NCSqlSchemaBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NCSqlSchema
makeSchema(NCModel model)
Builds object presentation for SQL schema from given data model.
-
-
-
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 byNCSqlModelGenerator
class.- Parameters:
model
- Data model to generate object SQL schema presentation. Data model must be generated byNCSqlModelGenerator
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
-
-