|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.hp.hpl.jena.enhanced.Polymorphic
com.hp.hpl.jena.enhanced.EnhGraph
com.hp.hpl.jena.rdf.model.impl.ModelCom
org.openrdf.jena.ModelSesame
public class ModelSesame
Jena-Sesame-Model: A Jena model using Sesame as a backend.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.hp.hpl.jena.shared.PrefixMapping |
|---|
PrefixMapping.Factory, PrefixMapping.IllegalPrefixException, PrefixMapping.JenaLockedException |
| Field Summary |
|---|
| Fields inherited from class com.hp.hpl.jena.rdf.model.impl.ModelCom |
|---|
mapAsStatement, modelReifier |
| Fields inherited from class com.hp.hpl.jena.enhanced.EnhGraph |
|---|
enhNodes, graph |
| Fields inherited from interface com.hp.hpl.jena.shared.PrefixMapping |
|---|
Extended, Standard |
| Fields inherited from interface com.hp.hpl.jena.rdf.model.ModelLock |
|---|
READ, WRITE |
| Constructor Summary | |
|---|---|
ModelSesame(Graph base)
|
|
ModelSesame(Repository rep)
Create a default Jena-Sesame-Model, which uses the given Sesame repository. |
|
| Method Summary | |
|---|---|
static Model |
createDatabaseModel(boolean sync,
String driver,
String url,
String user,
String password)
Create a Jena-Sesame-Model, which uses a Sesame rdbms local repository, |
static ModelSesame |
createDefaultModel()
Create a default Jena-Sesame-Model, which uses a Sesame in-memory local repository, and does not have persistent support, synchroinzation support and inference capability. |
static ModelSesame |
createMemoryModel(boolean inferencing,
boolean sync,
String fileName,
String format)
Create a customized Jena-Sesame-Model, which uses a Sesame in-memory local repository, |
static ModelSesame |
createNativeModel(boolean sync,
String dir)
Create a Jena-Sesame-Model, which uses a Sesame native local repository, |
Repository |
getRepository()
|
Model |
removeAll()
|
| Methods inherited from class com.hp.hpl.jena.rdf.model.impl.ModelCom |
|---|
abort, adapt, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addCommon, addNamespaces, asFilter, asModel, asNode, asRDFNode, asStatement, asStatements, asStatements, asStatements, begin, close, commit, contains, contains, contains, contains, contains, contains, contains, contains, contains, contains, contains, containsAll, containsAll, containsAllThenClose, containsAny, containsAny, containsAnyThenClose, containsResource, createAlt, createAlt, createBag, createBag, createList, createList, createList, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createProperty, createProperty, createReifiedStatement, createReifiedStatement, createResource, createResource, createResource, createResource, createResource, createResource, createResource, createSeq, createSeq, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createWorkModel, difference, enterCriticalSection, executeInTransaction, expandPrefix, findTriplesFrom, getAlt, getAlt, getAnyReifiedStatement, getBag, getBag, getBulkUpdateHandler, getDefaultModelPrefixes, getGraph, getHiddenStatements, getModelLock, getNsPrefixMap, getNsPrefixURI, getNsURIPrefix, getProperty, getProperty, getProperty, getRDFNode, getReader, getReader, getReificationStyle, getRequiredProperty, getResource, getResource, getSeq, getSeq, getWriter, getWriter, independent, intersect, intersection, isEmpty, isIsomorphicWith, isReified, leaveCriticalSection, listBySubject, listNameSpaces, listObjects, listObjectsOfProperty, listObjectsOfProperty, listReifiedStatements, listReifiedStatements, listStatements, listStatements, listStatements, listStatements, listStatements, listStatements, listStatements, listStatements, listStatements, listStatements, listStatements, listSubjects, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, lock, notifyEvent, qnameFor, query, queryHandler, read, read, read, read, read, read, read, register, reifiedToString, remove, remove, remove, remove, remove, remove, removeAll, removeAllReifications, removeNsPrefix, removeReification, samePrefixMappingAs, setDefaultModelPrefixes, setNsPrefix, setNsPrefixes, setNsPrefixes, setReaderClassName, setWriterClassName, shortForm, size, statementsToString, supportsSetOperations, supportsTransactions, toString, union, unregister, usePrefix, withDefaultMappings, write, write, write, write, write, write |
| Methods inherited from class com.hp.hpl.jena.enhanced.EnhGraph |
|---|
asGraph, canSupport, convertTo, equals, getNodeAs, getNodeCacheControl, getPersonality, hashCode, isIsomorphicWith, isValid, setNodeCache |
| Methods inherited from class com.hp.hpl.jena.enhanced.Polymorphic |
|---|
addView, already, asInternal, supports |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.hp.hpl.jena.rdf.model.Model |
|---|
equals |
| Constructor Detail |
|---|
public ModelSesame(Graph base)
base - public ModelSesame(Repository rep)
rep - | Method Detail |
|---|
public static ModelSesame createDefaultModel()
public static ModelSesame createMemoryModel(boolean inferencing,
boolean sync,
String fileName,
String format)
inferencing - true: the model has inference capability; false: not.sync - true: the model is synchronized; false: not.fileName - the name of the file that acts as the persistent storage.
Null means no persistent support required.format - the RDF data format in the persistent storage. It can be
rdfxml, ntriples, turtle, null (use the default which is ntriples).
public static ModelSesame createNativeModel(boolean sync,
String dir)
sync - true: the model is synchronized; false: not.dir - specifies the directory that can be used by the native sail to store its files.
public static Model createDatabaseModel(boolean sync,
String driver,
String url,
String user,
String password)
sync - true: the model is synchronized; false: not.driver - identifies the JDBC (Java Data Base Connectivity) driver that is to be used to access the database.url - identifies the location of the database through a URL.user - identifies a username with which Sesame can access the database.password - identifies a password with which Sesame can access the database.
public Model removeAll()
removeAll in interface ModelremoveAll in class com.hp.hpl.jena.rdf.model.impl.ModelCompublic Repository getRepository()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||