| java.lang.Object com.completex.objective.tools.generators.AbstractPersistentDescriptorGenerator com.completex.objective.tools.generators.PersistentDescriptorGenerator com.completex.objective.tools.generators.InMemPersistentDescriptorGenerator
InMemPersistentDescriptorGenerator | public class InMemPersistentDescriptorGenerator extends PersistentDescriptorGenerator (Code) | | Args[0]: persistent-descriptor-config.properties
author: Gennady Krizhevsky |
Field Summary | |
final public static String | TAG_SCRIPTS Comma separated script paths to create in-memory database schema: file1,file2, ... |
TAG_SCRIPTS | final public static String TAG_SCRIPTS(Code) | | Comma separated script paths to create in-memory database schema: file1,file2, ...
|
InMemPersistentDescriptorGenerator | public InMemPersistentDescriptorGenerator()(Code) | | |
Methods inherited from com.completex.objective.tools.generators.PersistentDescriptorGenerator | protected void beforeInitModelLoader(PropertyMap propertyMap)(Code)(Java Doc) protected void extractExternalFileName(PropertyMap propertyMap)(Code)(Java Doc) protected void extractInternalFileName(PropertyMap propertyMap)(Code)(Java Doc) protected ModelLoader getDatabaseModelLoaderAdapter(String filterPattern, JavaToMetaType javaToMetaType, String schema, String catalog) throws SQLException(Code)(Java Doc) public static void main(String[] args) throws Exception(Code)(Java Doc) protected Map setupPlugins(PropertyMap propertyMap) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) protected void setupTransformers(Map map) throws ClassNotFoundException, IllegalAccessException, InstantiationException(Code)(Java Doc) protected void setupUdtTransformers(Map udtMap) throws ClassNotFoundException, IllegalAccessException, InstantiationException(Code)(Java Doc)
|
Methods inherited from com.completex.objective.tools.generators.AbstractPersistentDescriptorGenerator | abstract protected void beforeInitModelLoader(PropertyMap propertyMap) throws IOException(Code)(Java Doc) public void dispose()(Code)(Java Doc) protected PropertyMap env(String envPath) throws IOException(Code)(Java Doc) abstract protected void extractExternalFileName(PropertyMap propertyMap)(Code)(Java Doc) abstract protected void extractInternalFileName(PropertyMap propertyMap)(Code)(Java Doc) public MetaModel generate() throws Exception(Code)(Java Doc) public Connection getConnection() throws SQLException(Code)(Java Doc) abstract protected ModelLoader getDatabaseModelLoaderAdapter(String filterPattern, JavaToMetaType javaToMetaType, String schema, String catalog) throws SQLException(Code)(Java Doc) protected ModelLoader getExternalFileModelLoader(String outDir, String externalFileName, String filterPattern) throws FileNotFoundException(Code)(Java Doc) protected ModelLoader getInternalFileModelLoader(String outDir, String internalFileName, boolean forceInternalFromFile, String filterPattern) throws FileNotFoundException(Code)(Java Doc) protected JavaToMetaType getJavaToMetaType()(Code)(Java Doc) public static Log getLogger()(Code)(Java Doc) protected ModelLoaderAdapter getModelLoaderAdapter(ModelLoader internalLoader, ModelLoader externalFileModelLoader, JavaToMetaType javaToMetaType)(Code)(Java Doc) protected ModelStorerAdapter getModelStorerAdapter(String outDir, String internalFileName, String externalFileName) throws IOException(Code)(Java Doc) public PropertyMap getPropertyMap()(Code)(Java Doc) public Transaction getTransaction() throws SQLException(Code)(Java Doc) protected void initCoreVariables(PropertyMap propertyMap)(Code)(Java Doc) protected void initModelLoader(JavaToMetaType javaToMetaType) throws IOException, SQLException(Code)(Java Doc) public MetaModel loadModel() throws Exception(Code)(Java Doc) public void modifyProperties(Properties properties)(Code)(Java Doc) protected void openTransaction(PropertyMap propertyMap) throws SQLException(Code)(Java Doc) protected ModelLoader resolveInternalLoader(ModelLoader databaseModelLoaderAdapter, ModelLoader internalFileModelLoader)(Code)(Java Doc) public void setup(String propertiesPath) throws IOException, IllegalAccessException, InstantiationException, ClassNotFoundException, SQLException(Code)(Java Doc) public void setup(String propertiesPath, String envPath) throws IOException, IllegalAccessException, InstantiationException, ClassNotFoundException, SQLException(Code)(Java Doc) public void setup(InputStream inputStream) throws IOException, ClassNotFoundException, IllegalAccessException, InstantiationException, SQLException(Code)(Java Doc) public void setup(InputStream inputStream, Properties env) throws IOException, ClassNotFoundException, IllegalAccessException, InstantiationException, SQLException(Code)(Java Doc) public void setup(PropertyMap propertyMap) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException, SQLException(Code)(Java Doc) protected Map setupPlugins(PropertyMap propertyMap) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) protected void setupTransformers(Map pluginsConfig) throws ClassNotFoundException, IllegalAccessException, InstantiationException(Code)(Java Doc) protected void setupUdtTransformers(Map pluginsConfig) throws ClassNotFoundException, IllegalAccessException, InstantiationException(Code)(Java Doc) public void storeModel(MetaModel model) throws Exception(Code)(Java Doc) protected MetaColumn.GeneratorStruct toGeneratoStruct(String dateNames)(Code)(Java Doc) protected void transformModel(MetaModel model)(Code)(Java Doc)
|
|
|