de.uni.leipzig.IR15.Importer
Class OrientDBImporter

java.lang.Object
  extended by de.uni.leipzig.IR15.Importer.Importer
      extended by de.uni.leipzig.IR15.Importer.OrientDBImporter

public class OrientDBImporter
extends Importer

Importer to load all data from mysql to orientdb database.

Author:
Sascha 'peil' Ludwig

Constructor Summary
OrientDBImporter()
           
 
Method Summary
 com.orientechnologies.orient.core.db.graph.OGraphDatabase getDB()
           
 java.lang.String getName()
          Get the name of the importer.
 void importData()
          Import all data.
 void setUp()
          Setup the importer, reset and get a connection to the database.
 void tearDown()
          Destroy database connection after running importer.
 
Methods inherited from class de.uni.leipzig.IR15.Importer.Importer
reset, setUp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrientDBImporter

public OrientDBImporter()
Method Detail

getDB

public com.orientechnologies.orient.core.db.graph.OGraphDatabase getDB()

setUp

public void setUp()
Setup the importer, reset and get a connection to the database.

Specified by:
setUp in class Importer

tearDown

public void tearDown()
Destroy database connection after running importer.

Overrides:
tearDown in class Importer
See Also:
Importer.tearDown()

importData

public void importData()
Import all data.

Specified by:
importData in class Importer

getName

public java.lang.String getName()
Get the name of the importer.

Specified by:
getName in class Importer
Returns:
importer's name