public class SesameConnectionBackend extends AbstractSesameBackend
| Modifier | Constructor and Description | 
|---|---|
  | 
SesameConnectionBackend(org.openrdf.repository.RepositoryConnection connection)
Create a new  
SesameConnectionBackend. | 
protected  | 
SesameConnectionBackend(org.openrdf.repository.RepositoryConnection connection,
                       boolean includeInferred,
                       org.openrdf.model.Resource... contexts)  | 
| Modifier and Type | Method and Description | 
|---|---|
org.openrdf.model.Literal | 
createLiteral(String content)
Create a literal node with the content passed as argument 
 | 
org.openrdf.model.Literal | 
createLiteral(String content,
             Locale language,
             URI type)
Create a literal node with the content passed as argument 
 | 
org.openrdf.model.URI | 
createURI(String uri)
Create a URI mode with the URI passed as argument 
 | 
Collection<org.openrdf.model.Value> | 
listObjects(org.openrdf.model.Value subject,
           org.openrdf.model.Value property)
List the objects of triples in the triple store underlying this backend that have the subject and
 property given as argument. 
 | 
Collection<org.openrdf.model.Value> | 
listSubjects(org.openrdf.model.Value property,
            org.openrdf.model.Value object)
List the subjects of triples in the triple store underlying this backend that have the object and
 property given as argument. 
 | 
static SesameConnectionBackend | 
withConnection(org.openrdf.repository.RepositoryConnection connection)
Create a new  
SesameConnectionBackend. | 
static SesameConnectionBackend | 
withConnection(org.openrdf.repository.RepositoryConnection connection,
              boolean includeInferred)  | 
createLiteralInternal, createLiteralInternal, createURIInternal, getThreadPool, listObjectsInternal, listSubjectsInternal, merge, supportsThreadingbooleanValue, dateTimeValue, dateValue, debugType, decimalValue, doubleValue, floatValue, getLiteralLanguage, getLiteralType, integerValue, intValue, isBlank, isLiteral, isURI, longValue, stringValue, timeValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbooleanValue, dateTimeValue, dateValue, decimalValue, doubleValue, floatValue, getLiteralLanguage, getLiteralType, integerValue, intValue, isBlank, isLiteral, isURI, longValue, stringValue, timeValuepublic SesameConnectionBackend(org.openrdf.repository.RepositoryConnection connection)
SesameConnectionBackend. This backend is context-agnostig (ignores all context information).connection - the RepositoryConnection to use.ContextAwareSesameConnectionBackend.ContextAwareSesameConnectionBackend(RepositoryConnection, Resource...)protected SesameConnectionBackend(org.openrdf.repository.RepositoryConnection connection,
                       boolean includeInferred,
                       org.openrdf.model.Resource... contexts)
public org.openrdf.model.Literal createLiteral(String content)
NodeBackendcreateLiteral in interface NodeBackend<org.openrdf.model.Value>createLiteral in class AbstractSesameBackendcontent - string content to represent inside the literalpublic org.openrdf.model.Literal createLiteral(String content, Locale language, URI type)
NodeBackendcreateLiteral in interface NodeBackend<org.openrdf.model.Value>createLiteral in class AbstractSesameBackendcontent - string content to represent inside the literalpublic org.openrdf.model.URI createURI(String uri)
NodeBackendcreateURI in interface NodeBackend<org.openrdf.model.Value>createURI in class AbstractSesameBackenduri - URI of the resource to createpublic Collection<org.openrdf.model.Value> listObjects(org.openrdf.model.Value subject, org.openrdf.model.Value property)
RDFBackendlistObjects in interface RDFBackend<org.openrdf.model.Value>listObjects in class AbstractSesameBackendsubject - the subject of the triples to look forproperty - the property of the triples to look for, null is interpreted as wildcardpublic Collection<org.openrdf.model.Value> listSubjects(org.openrdf.model.Value property, org.openrdf.model.Value object)
RDFBackendlistSubjects in interface RDFBackend<org.openrdf.model.Value>listSubjects in class AbstractSesameBackendproperty - the property of the triples to look for, null is interpreted as wildcardobject - the object of the triples to look forpublic static SesameConnectionBackend withConnection(org.openrdf.repository.RepositoryConnection connection)
SesameConnectionBackend. This backend is context-agnostig (ignores all context information).connection - the RepositoryConnection to use.ContextAwareSesameConnectionBackend.withConnection(RepositoryConnection, Resource...)public static SesameConnectionBackend withConnection(org.openrdf.repository.RepositoryConnection connection, boolean includeInferred)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.