public class HereSource extends SourceBase implements Source
Source.ResultSetConsumer, Source.Util
Constructor and Description |
---|
HereSource(com.hp.hpl.jena.rdf.model.Model fullModel,
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()
HereSources are in-memory models and support 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
public static final String PREFIX
public HereSource(com.hp.hpl.jena.rdf.model.Model fullModel, com.hp.hpl.jena.rdf.model.Resource endpoint)
public boolean supportsNestedSelect()
supportsNestedSelect
in interface Source
public void addMetadata(com.hp.hpl.jena.rdf.model.Resource meta)
Source
addMetadata
in interface Source
public com.hp.hpl.jena.query.QueryExecution execute(com.hp.hpl.jena.query.Query query)
SourceBase
execute
.execute
in class SourceBase
public String toString()
Source
public com.hp.hpl.jena.shared.Lock getLock()
SourceBase
getLock
in class SourceBase
Copyright © 2014. All Rights Reserved.