public class SparqlSource extends SourceBase implements Source
Modifier and Type | Class and Description |
---|---|
protected static class |
SparqlSource.Perhaps |
Source.ResultSetConsumer, Source.Util
Modifier and Type | Field and Description |
---|---|
protected char[] |
basicPassword |
protected String |
basicUser |
protected com.hp.hpl.jena.shared.Lock |
lock |
protected SparqlSource.Perhaps |
nestedSelects |
protected String |
sparqlEndpoint |
Constructor and Description |
---|
SparqlSource(com.hp.hpl.jena.rdf.model.Resource ep,
AuthMap am) |
Modifier and Type | Method and Description |
---|---|
void |
addMetadata(com.hp.hpl.jena.rdf.model.Resource meta)
Add metadata describing this source to a metadata 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()
It's remote.
|
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 String sparqlEndpoint
protected final com.hp.hpl.jena.shared.Lock lock
protected SparqlSource.Perhaps nestedSelects
protected final String basicUser
protected final char[] basicPassword
public SparqlSource(com.hp.hpl.jena.rdf.model.Resource ep, AuthMap am)
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
public void addMetadata(com.hp.hpl.jena.rdf.model.Resource meta)
addMetadata
in interface Source
public boolean supportsNestedSelect()
supportsNestedSelect
in interface Source
Copyright © 2014. All Rights Reserved.