Class DataStructureModelFactory
java.lang.Object
org.eclipse.dirigible.database.ds.model.DataStructureModelFactory
public class DataStructureModelFactory extends Object
The factory for creation of the data structure models from source content.
-
Constructor Summary
Constructors Constructor Description DataStructureModelFactory() -
Method Summary
Modifier and Type Method Description static DataStructureDataAppendModelparseAppend(String location, String content)Creates a data model from the raw content.static DataStructureDataDeleteModelparseDelete(String location, String content)Creates a data model from the raw content.static DataStructureDataReplaceModelparseReplace(String location, String content)Creates a data model from the raw content.static DataStructureSchemaModelparseSchema(String location, String content)Creates a schema model from the raw content.static DataStructureTableModelparseTable(byte[] bytes)Creates a table model from the raw content.static DataStructureTableModelparseTable(String content)Creates a table model from the raw content.static DataStructureDataUpdateModelparseUpdate(String location, String content)Creates a data model from the raw content.static DataStructureViewModelparseView(byte[] bytes)Creates a view model from the raw content.static DataStructureViewModelparseView(String content)Creates a view model from the raw content.
-
Constructor Details
-
DataStructureModelFactory
public DataStructureModelFactory()
-
-
Method Details
-
parseTable
Creates a table model from the raw content.- Parameters:
content- the table definition- Returns:
- the table model instance
-
parseTable
Creates a table model from the raw content.- Parameters:
bytes- the table definition- Returns:
- the table model instance
-
parseView
Creates a view model from the raw content.- Parameters:
content- the view definition- Returns:
- the view model instance
-
parseView
Creates a view model from the raw content.- Parameters:
bytes- the view definition- Returns:
- the view model instance
-
parseReplace
Creates a data model from the raw content.- Parameters:
content- the data definition- Returns:
- the data model instance
-
parseAppend
Creates a data model from the raw content.- Parameters:
content- the data definition- Returns:
- the data model instance
-
parseDelete
Creates a data model from the raw content.- Parameters:
content- the data definition- Returns:
- the data model instance
-
parseUpdate
Creates a data model from the raw content.- Parameters:
content- the data definition- Returns:
- the data model instance
-
parseSchema
Creates a schema model from the raw content.- Parameters:
content- the schema definition- Returns:
- the schema model instance
-