de.uni.leipzig.IR15.Importer
Class Neo4JImporter

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

public class Neo4JImporter
extends Importer

Importer to load all data from mysql to neo4j database.

Author:
Martin 's1ck' Junghanns

Nested Class Summary
static class Neo4JImporter.RelTypes
          Relation types.
 
Constructor Summary
Neo4JImporter()
           
 
Method Summary
 java.lang.String getName()
          Returns the name of the importer
 void importData()
          This method imports the data
 void setUp()
          Setup the importer, reset and get a connection to the database.
 void tearDown()
          Cleanup mysql 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

Neo4JImporter

public Neo4JImporter()
Method Detail

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()
Description copied from class: Importer
Cleanup mysql connection after running importer.

Overrides:
tearDown in class Importer

importData

public void importData()
Description copied from class: Importer
This method imports the data

Specified by:
importData in class Importer
Parameters:
args -

getName

public java.lang.String getName()
Description copied from class: Importer
Returns the name of the importer

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