public class XSPARQLProcessor extends Object
| Constructor and Description |
|---|
XSPARQLProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeDBconnection()
close the DB connection
|
void |
createDBconnection()
instantiates the DB connection
|
SQLQuery |
getDBconnection()
retrieves the DB connection
|
String |
getDBDriver() |
String |
getDBName() |
String |
getDBPasswd() |
String |
getDBUser() |
int |
getNumberOfSyntaxErrors() |
String |
getOutputMethod() |
boolean |
isDebug() |
String |
process(Reader is)
Process XSPARQL query given as an InputStream
|
void |
setAst(boolean has) |
void |
setDBConfig(File file)
set the DB info from configuration file
|
void |
setDBDriver(String driver)
set the DB name
|
void |
setDBInstance(String instance)
set the DB instance name
|
void |
setDBName(String name)
set the DB name
|
void |
setDBPasswd(String passwd)
set the DB password
|
void |
setDBPort(String port)
set the DB port
|
void |
setDBServer(String server)
set the DB server
|
void |
setDBUser(String user)
set the DB user
|
void |
setDebug(boolean has) |
void |
setDebugLexer(boolean has) |
void |
setDebugVersion(boolean has) |
void |
setDot(boolean has) |
void |
setEndpointURI(String string) |
void |
setQueryFilename(String name) |
void |
setSPARQLEngine(SPARQLEngine se) |
void |
setValidating(boolean b) |
void |
setVerbose(boolean has) |
void |
setWarnIfNestedConstruct(boolean b) |
void |
setXQueryEngine(String xqueryEngine) |
public void setXQueryEngine(String xqueryEngine)
xqueryEngine - public void setQueryFilename(String name)
name - public int getNumberOfSyntaxErrors()
public String process(Reader is) throws org.antlr.runtime.RecognitionException, IOException, Exception
is - XSPARQL queryorg.antlr.runtime.RecognitionExceptionIOExceptionExceptionpublic void setWarnIfNestedConstruct(boolean b)
public void setAst(boolean has)
public void setDebugLexer(boolean has)
public void setDebug(boolean has)
public void setDot(boolean has)
public void setVerbose(boolean has)
public void setEndpointURI(String string)
public void setDebugVersion(boolean has)
public void setSPARQLEngine(SPARQLEngine se)
public void setValidating(boolean b)
public String getOutputMethod()
public boolean isDebug()
public String getDBDriver()
public String getDBName()
public String getDBUser()
public String getDBPasswd()
public void setDBDriver(String driver)
public void setDBServer(String server)
public void setDBPort(String port)
public void setDBName(String name)
public void setDBInstance(String instance)
public void setDBUser(String user)
public void setDBPasswd(String passwd)
public void setDBConfig(File file)
public void createDBconnection()
public SQLQuery getDBconnection()
public void closeDBconnection()
Copyright © 2011–2014 Digital Enterprise Research Institute, Galway. All rights reserved.