public class SQLDataMigrator extends Object implements Iterable<Collection<Var>>, Closeable
| Constructor and Description |
|---|
SQLDataMigrator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the JDBC connection
|
SQLDataMigrator |
configure(Connection connection)
Configure the data migrator with a JDBC connection
|
SQLDataMigrator |
graph(MindmapsGraph graph)
Set a graph from which to get information
|
Iterator<Collection<Var>> |
iterator()
Iterate through the migration
|
Collection<Var> |
migrate()
Migrate a CSV schema into a Mindmaps ontology
|
SQLDataMigrator |
migrate(Loader loader)
Migrate the entire data file into the given loader.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SQLDataMigrator configure(Connection connection)
connection - the connection containing schema to be migratedpublic SQLDataMigrator graph(MindmapsGraph graph)
graph - a Mindmaps graphpublic Collection<Var> migrate()
public SQLDataMigrator migrate(Loader loader)
loader - Loader to migrate into.public Iterator<Collection<Var>> iterator()
iterator in interface Iterable<Collection<Var>>public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2016. All rights reserved.