In this linkhttp://wiki.gephi.org/index.php/Plugins_portal, there is a page to create a DB connector, however it is empty.
Can any one give me any details on how to proceed in doing this? I have access to a JDBC of a DB and I would like to use this to write a plugin, pulling out nodes, etc
writing a DB connector plugin
-
- Gephi Plugin Developer
- Posts:34
- Joined:22 Mar 2010 10:45 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: writing a DB connector plugin
I didn't add a new jdbc driver before, but I think the most related module to add a new jdbc driver is DBDriver. You can get the source code and find it not very hard.
First create a new module and add the dependency of DBDriver http://wiki.gephi.org/index.php/Plugin_ ... 5_minutes). Then you should add the new jdbc driver library to your module. After that, create a new class XXXSQLDriver implements SQLDriver, which is similiar to classes in DBDriver Module. I think that's enough.
First create a new module and add the dependency of DBDriver http://wiki.gephi.org/index.php/Plugin_ ... 5_minutes). Then you should add the new jdbc driver library to your module. After that, create a new class XXXSQLDriver implements SQLDriver, which is similiar to classes in DBDriver Module. I think that's enough.
-
- Posts:10
- Joined:23 Feb 2011 21:15 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: writing a DB connector plugin
what do you mean by "Then you should add the new jdbc driver library to your module."