public class TDBSource extends SourceBase implements Source
Source.ResultSetConsumer, Source.Util
Modifier and Type | Field and Description |
---|---|
protected String |
endpoint |
protected com.hp.hpl.jena.rdf.model.Model |
source |
protected com.hp.hpl.jena.query.Dataset |
sourceSet |
Constructor and Description |
---|
TDBSource(com.hp.hpl.jena.rdf.model.Resource endpoint) |
Modifier and Type | Method and Description |
---|---|
void |
addMetadata(com.hp.hpl.jena.rdf.model.Resource meta)
Add metdata describing this source to a metdata model
|
com.hp.hpl.jena.query.QueryExecution |
execute(com.hp.hpl.jena.query.Query query)
Each SourceBase subclass must provide
execute . |
com.hp.hpl.jena.shared.Lock |
getLock()
Each SourceBase subclass must provide a Lock on demand.
|
boolean |
supportsNestedSelect()
TDB supports nested selects via ARQ.
|
String |
toString()
Return a name for this source, used for error reporting
|
executeConstruct, executeDescribe, executeSelect, getTextSearchConfig
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
executeConstruct, executeDescribe, executeSelect, getTextSearchConfig
protected final com.hp.hpl.jena.rdf.model.Model source
protected final com.hp.hpl.jena.query.Dataset sourceSet
protected final String endpoint
public void addMetadata(com.hp.hpl.jena.rdf.model.Resource meta)
Source
addMetadata
in interface Source
public String toString()
Source
public com.hp.hpl.jena.shared.Lock getLock()
SourceBase
getLock
in class SourceBase
public com.hp.hpl.jena.query.QueryExecution execute(com.hp.hpl.jena.query.Query query)
SourceBase
execute
.execute
in class SourceBase
public boolean supportsNestedSelect()
supportsNestedSelect
in interface Source
Copyright © 2014. All Rights Reserved.