public abstract class AbstractSesameBackend extends SesameValueBackend implements RDFBackend<org.openrdf.model.Value>
Constructor and Description |
---|
AbstractSesameBackend() |
Modifier and Type | Method and Description |
---|---|
abstract org.openrdf.model.Literal |
createLiteral(String content)
Create a literal node with the content passed as argument
|
abstract org.openrdf.model.Literal |
createLiteral(String content,
Locale language,
URI type)
Create a literal node with the content passed as argument
|
protected org.openrdf.model.Literal |
createLiteralInternal(org.openrdf.model.ValueFactory valueFactory,
String content) |
protected org.openrdf.model.Literal |
createLiteralInternal(org.openrdf.model.ValueFactory valueFactory,
String content,
Locale language,
URI type) |
abstract org.openrdf.model.URI |
createURI(String uri)
Create a URI mode with the URI passed as argument
|
protected org.openrdf.model.URI |
createURIInternal(org.openrdf.model.ValueFactory valueFactory,
String uri) |
ThreadPoolExecutor |
getThreadPool()
Deprecated.
|
abstract 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.
|
protected Collection<org.openrdf.model.Value> |
listObjectsInternal(org.openrdf.repository.RepositoryConnection connection,
org.openrdf.model.Resource subject,
org.openrdf.model.URI property,
boolean includeInferred,
org.openrdf.model.Resource... contexts) |
abstract 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.
|
protected Collection<org.openrdf.model.Value> |
listSubjectsInternal(org.openrdf.repository.RepositoryConnection connection,
org.openrdf.model.URI property,
org.openrdf.model.Value object,
boolean includeInferred,
org.openrdf.model.Resource... contexts) |
protected <T extends org.openrdf.model.Value> |
merge(T value,
org.openrdf.model.ValueFactory vf)
Merge the value given as argument into the value factory given as argument
|
boolean |
supportsThreading()
Deprecated.
|
booleanValue, dateTimeValue, dateValue, debugType, decimalValue, doubleValue, floatValue, getLiteralLanguage, getLiteralType, integerValue, intValue, isBlank, isLiteral, isURI, longValue, stringValue, timeValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
booleanValue, dateTimeValue, dateValue, decimalValue, doubleValue, floatValue, getLiteralLanguage, getLiteralType, integerValue, intValue, isBlank, isLiteral, isURI, longValue, stringValue, timeValue
protected org.openrdf.model.URI createURIInternal(org.openrdf.model.ValueFactory valueFactory, String uri)
protected org.openrdf.model.Literal createLiteralInternal(org.openrdf.model.ValueFactory valueFactory, String content)
protected org.openrdf.model.Literal createLiteralInternal(org.openrdf.model.ValueFactory valueFactory, String content, Locale language, URI type)
protected Collection<org.openrdf.model.Value> listObjectsInternal(org.openrdf.repository.RepositoryConnection connection, org.openrdf.model.Resource subject, org.openrdf.model.URI property, boolean includeInferred, org.openrdf.model.Resource... contexts) throws org.openrdf.repository.RepositoryException
org.openrdf.repository.RepositoryException
protected Collection<org.openrdf.model.Value> listSubjectsInternal(org.openrdf.repository.RepositoryConnection connection, org.openrdf.model.URI property, org.openrdf.model.Value object, boolean includeInferred, org.openrdf.model.Resource... contexts) throws org.openrdf.repository.RepositoryException
org.openrdf.repository.RepositoryException
protected <T extends org.openrdf.model.Value> T merge(T value, org.openrdf.model.ValueFactory vf)
T
- value
- vf
- public abstract org.openrdf.model.Literal createLiteral(String content)
NodeBackend
createLiteral
in interface NodeBackend<org.openrdf.model.Value>
createLiteral
in class SesameValueBackend
content
- string content to represent inside the literalpublic abstract org.openrdf.model.Literal createLiteral(String content, Locale language, URI type)
NodeBackend
createLiteral
in interface NodeBackend<org.openrdf.model.Value>
createLiteral
in class SesameValueBackend
content
- string content to represent inside the literalpublic abstract org.openrdf.model.URI createURI(String uri)
NodeBackend
createURI
in interface NodeBackend<org.openrdf.model.Value>
createURI
in class SesameValueBackend
uri
- URI of the resource to createpublic abstract Collection<org.openrdf.model.Value> listObjects(org.openrdf.model.Value subject, org.openrdf.model.Value property)
RDFBackend
listObjects
in interface RDFBackend<org.openrdf.model.Value>
subject
- the subject of the triples to look forproperty
- the property of the triples to look for, null
is interpreted as wildcardpublic abstract Collection<org.openrdf.model.Value> listSubjects(org.openrdf.model.Value property, org.openrdf.model.Value object)
RDFBackend
listSubjects
in interface RDFBackend<org.openrdf.model.Value>
property
- the property of the triples to look for, null
is interpreted as wildcardobject
- the object of the triples to look for@Deprecated public boolean supportsThreading()
supportsThreading
in interface RDFBackend<org.openrdf.model.Value>
@Deprecated public ThreadPoolExecutor getThreadPool()
getThreadPool
in interface RDFBackend<org.openrdf.model.Value>
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.