public interface RDFDatasetConnection extends RDFDatasetAccessConnection, Transactional, AutoCloseable
RDFDatasetAccessConnection.Transactional.Promote| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this connection.
|
void |
delete()
Remove all data from the default graph.
|
void |
delete(String graphName)
Delete a graph from the dataset.
|
boolean |
isClosed()
Test whether this connection is closed or not
|
void |
load(Model model)
Load (add, append) RDF into the default graph of a dataset.
|
void |
load(String file)
Load (add, append) RDF into the default graph of a dataset.
|
void |
load(String graphName,
Model model)
Load (add, append) RDF into a named graph in a dataset.
|
void |
load(String graphName,
String file)
Load (add, append) RDF into a named graph in a dataset.
|
void |
loadDataset(Dataset dataset) |
void |
loadDataset(String file) |
void |
put(Model model)
Set the contents of the default graph of a dataset.
|
void |
put(String file)
Set the contents of the default graph of a dataset.
|
void |
put(String graphName,
Model model)
Set the contents of a named graph of a dataset.
|
void |
put(String graphName,
String file)
Set the contents of a named graph of a dataset.
|
void |
putDataset(Dataset dataset) |
void |
putDataset(String file) |
fetch, fetch, fetchDatasetabort, begin, begin, begin, commit, end, isInTransaction, promote, promote, transactionMode, transactionTypevoid load(String graphName, String file)
graphName - Graph name (null or "default" for the default graph)file - File of the data.void load(String file)
file - File of the data.void load(String graphName, Model model)
graphName - Graph name (null or "default" for the default graph)model - Data.void load(Model model)
model - Data.void put(String graphName, String file)
graphName - Graph name (null or "default" for the default graph)file - File of the data.void put(String file)
file - File of the data.void put(String graphName, Model model)
graphName - Graph name (null or "default" for the default graph)model - Data.void put(Model model)
model - Data.void delete(String graphName)
graphName - void delete()
void loadDataset(String file)
void loadDataset(Dataset dataset)
void putDataset(String file)
void putDataset(Dataset dataset)
boolean isClosed()
isClosed in interface RDFDatasetAccessConnectionvoid close()
close in interface AutoCloseableclose in interface RDFDatasetAccessConnectionLicenced under the Apache License, Version 2.0