org.eaglei.datatools.etl.server
Class ETLEntryPoint
java.lang.Object
org.eaglei.datatools.etl.server.ETLEntryPoint
public class ETLEntryPoint
- extends java.lang.Object
The the ETL command line tool
Mandatory Inputs
-d Directory path
-r Repository Config file location
-m mapDirecotry location
Option Inputs
-p Promote parameter
-l logfile path
-e errorlogs file path
-o output logs file path
- Author:
- Sravan Cheriyala
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(java.lang.String[] args)
getInstance
public static ETLEntryPoint getInstance()
doETL
public void doETL(java.lang.String direcotryPath)
throws NotADirectoryException
- Throws:
NotADirectoryException
getExtracter
public Extractor getExtracter(java.io.File excelFile)
throws java.text.ParseException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException,
UnsupportedFileException
- Throws:
java.text.ParseException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
UnsupportedFileException
doTransform
public void doTransform(Extractor extractor,
FileStatistics statistics,
java.lang.String mapsParentDirectoryPath)
throws java.io.IOException,
org.apache.commons.configuration.ConfigurationException,
java.text.ParseException,
ExtractorException
- Throws:
java.io.IOException
org.apache.commons.configuration.ConfigurationException
java.text.ParseException
ExtractorException
doLoading
public void doLoading(com.hp.hpl.jena.rdf.model.Statement[] statements)
throws LoaderException
- Throws:
LoaderException
getRepoService
public RepoService getRepoService()
getEtlInputs
public static ETLInputs getEtlInputs()
setEtlInputs
public static ETLInputs setEtlInputs(ETLInputs etlInputs)
getAnntModel
public org.eaglei.datatools.model.AnnotationFormModel getAnntModel()
getCurrentlyProcessingFile
public java.lang.String getCurrentlyProcessingFile()
Copyright © 2009-2011 Eagle-I. All Rights Reserved.