This class is for deleting instances which ETled from particular file, -f takes filename as input ,this is the file name which we want to delete all instances ETLed from .-r takes repository configuration file path
FLOW : deleteInsntaceETledFromFIle(String) takes file name as input ,it then calls getResourcesOfFile(String) where it builds query to ge the Instance URI's we want to delete,It builds the query by calling
SPARQLQueryUtil.getInstance().getResourcesETLedFromFileQuery(fileName); .We query repository using the query which we built it then returns results in xml format ,xml is parsed for Instance URIs in ETLSPARQLQueryUtil.getInstanceURI(resources)
method ,which returns array if instance URI's .
DeETL() -
Constructor for class org.eaglei.datatools.etl.utils.DeETL
Constructor where we get the ReposiotryProvider object and also gets session by loging into reposiotry
Returns the a sparql query that asks the repo for the URI of a resource of Model ,It builds query of properties containing only rdfs:type and rdfs:lable as predicate
Given a Jena model, return the pretty rdf/xml representation of the model
NOTE: This function is not complete, dont use, use the jena writer pretty print feature
there are some format properties configured in properties file like order of tabs to process,global columns,global columns to appear in csv etc .These properties belong to entire File.readFormatConfigPropertiesOfFile reads the properties file
and get the configuration parameters into class