Package | Description |
---|---|
cz.cuni.mff.odcleanstore.connection |
Helper classes for working with connection to a Virtuoso database instance.
|
cz.cuni.mff.odcleanstore.data |
Modifier and Type | Method and Description |
---|---|
void |
VirtuosoConnectionWrapper.dropGraph(String graphName)
Drop graph from the database.
|
int |
VirtuosoConnectionWrapper.execute(String query)
Executes a general SQL/SPARQL query.
|
int |
VirtuosoConnectionWrapper.execute(String query,
Object... objects)
Executes a general SQL/SPARQL query.
|
boolean |
VirtuosoConnectionWrapper.executeAsk(String query)
Executes a SPARQL ASK query and returns the result.
|
int |
VirtuosoConnectionWrapper.executeNullsAllowed(String query,
Object... objects)
Executes a general SQL/SPARQL query with nulls object allowed.
|
WrappedResultSet |
VirtuosoConnectionWrapper.executeSelect(String query)
Executes an SQL/SPARQL SELECT query and returns a wrapper for the result.
|
WrappedResultSet |
VirtuosoConnectionWrapper.executeSelect(String query,
Object... objects)
Executes an SQL/SPARQL SELECT query and returns a wrapper for the result.
|
void |
VirtuosoConnectionWrapper.exportToTTL(File exportFile,
String graphName)
Exports a named graph to the given file in TTL format.
|
String |
VirtuosoConnectionWrapper.getServerRoot()
Returns Virtuoso server working directory.
|
void |
VirtuosoConnectionWrapper.insertN3FromFile(File ttlFile,
String graphName,
String relativeBase)
Insert RDF data from file in N3 format to the database.
|
void |
VirtuosoConnectionWrapper.insertRdfXmlFromFile(File rdfXmlFile,
String graphName,
String relativeBase)
Insert RDF data from file in rdfXml format to the database.
|
void |
VirtuosoConnectionWrapper.renameGraph(String srcGraphName,
String dstGraphName)
Rename graph in DB.DBA.RDF_QUAD.
|
Modifier and Type | Method and Description |
---|---|
static File |
GraphLoaderUtils.getImportExportTmpFile(VirtuosoConnectionWrapper connection,
EnumDatabaseInstance databaseInstance)
Returns unique temporary file in import/export directory.
|
Copyright © 2013. All Rights Reserved.