Package | Description |
---|---|
com.epimorphics.lda.cache |
The cache package contains Elda's internal cache classes.
|
com.epimorphics.lda.core |
The core package contains the core of Elda's functionality: the handling
of endpoint requests and select and view query construction.
|
com.epimorphics.lda.query |
The query package contains the classes which
construct SPARQL queries for the item-selection part
of the LDA process.
|
com.epimorphics.lda.renderers |
The renderers package contains the Renderer interface and the standard
implementations -- HTML, JSON, XML, Turtle -- and the infrastructure for
accessing them.
|
com.epimorphics.lda.renderers.common |
A collection of utility classes that define a convenience API targeted
at renderer developers.
|
com.epimorphics.lda.renderers.velocity |
A renderer, based on Apache Velocity, for generating HTML views
of Elda resultsets.
|
com.epimorphics.lda.restlets |
The restlets package contains those classes which interact
with the web container in which Elda is embedded.
|
Modifier and Type | Method and Description |
---|---|
LimitedCacheBase.TimedThing<APIResultSet> |
Cache.getCachedResultSet(List<com.hp.hpl.jena.rdf.model.Resource> results,
String view)
Answer the API result set remembered for the given list of results and
view, or null if there isn't one.
|
LimitedCacheBase.TimedThing<APIResultSet> |
LimitedCacheBase.getCachedResultSet(List<com.hp.hpl.jena.rdf.model.Resource> results,
String view) |
Modifier and Type | Method and Description |
---|---|
void |
Cache.cacheDescription(List<com.hp.hpl.jena.rdf.model.Resource> results,
String view,
APIResultSet rs,
long expiresAt)
Make an entry in the caches that associates the result set
rs
with the given list of resources and view. |
void |
LimitedCacheBase.cacheDescription(List<com.hp.hpl.jena.rdf.model.Resource> results,
String view,
APIResultSet rs,
long expiresAt) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
PermaCache.exceedsResultSetLimit(com.epimorphics.lda.cache.LimitedCacheBase.Cachelet<String,LimitedCacheBase.TimedThing<APIResultSet>> m) |
protected abstract boolean |
LimitedCacheBase.exceedsResultSetLimit(com.epimorphics.lda.cache.LimitedCacheBase.Cachelet<String,LimitedCacheBase.TimedThing<APIResultSet>> m) |
Modifier and Type | Field and Description |
---|---|
APIResultSet |
ResponseResult.resultSet |
Modifier and Type | Method and Description |
---|---|
APIResultSet |
APIResultSet.applyEdits(ModelPrefixEditor mpe) |
APIResultSet |
APIResultSet.clone()
Return a new result set with this one as its initial content
but where additions to this model do not affect the source
|
APIResultSet |
APIResultSet.getFilteredSet(View v,
String languages)
Generate and return a new copy of the model filtered to only include
statements reachable from the results via allowed properties in the given set.
|
APIResultSet |
APIResultSet.setSelectQuery(String selectQuery) |
Constructor and Description |
---|
ResponseResult(APIResultSet rs,
Map<String,String> uriToShortnameMap,
Bindings bindings) |
Modifier and Type | Method and Description |
---|---|
protected APIResultSet |
APIQuery.fetchDescriptionOfAllResources(Controls c,
String select,
APISpec spec,
String graphName,
View view,
List<com.hp.hpl.jena.rdf.model.Resource> results) |
APIResultSet |
APIQuery.runQuery(NoteBoard nb,
Controls c,
APISpec spec,
Cache cache,
Bindings b,
View view)
Run the defined query against the datasource
|
protected APIResultSet |
APIQuery.runQueryWithSource(NoteBoard nb,
Controls c,
APISpec spec,
Bindings call,
String graphName,
View view,
Source source) |
Modifier and Type | Method and Description |
---|---|
Renderer.BytesOut |
TextPlainRenderer.render(Times t,
Bindings ignored,
Map<String,String> termBindings,
APIResultSet results) |
Renderer.BytesOut |
XMLRenderer.render(Times t,
Bindings rc,
Map<String,String> termBindings,
APIResultSet results) |
Renderer.BytesOut |
RDFXMLRenderer.render(Times t,
Bindings ignored,
Map<String,String> termBindings,
APIResultSet results) |
Renderer.BytesOut |
JSONRenderer.render(Times t,
Bindings b,
Map<String,String> termBindings,
APIResultSet results) |
Renderer.BytesOut |
FeedRenderer.render(Times t,
Bindings b,
Map<String,String> termBindings,
APIResultSet results) |
Renderer.BytesOut |
TurtleRenderer.render(Times t,
Bindings ignored,
Map<String,String> termBindings,
APIResultSet results) |
Renderer.BytesOut |
Renderer.render(Times t,
Bindings rc,
Map<String,String> termBindings,
APIResultSet results)
Render a result set.
|
Modifier and Type | Method and Description |
---|---|
protected static com.epimorphics.rdfutil.DatasetWrapper |
ResultsModel.asDataset(APIResultSet results)
Return a
DatasetWrapper for the given resultset, in which
the two embedded graphs are made named-graph members. |
Constructor and Description |
---|
ResultsModel(APIResultSet results) |
Modifier and Type | Method and Description |
---|---|
Renderer.BytesOut |
VelocityRenderer.render(Times t,
Bindings b,
Map<String,String> termBindings,
APIResultSet results)
Render the given result set
|
Constructor and Description |
---|
VelocityRendering(Bindings b,
APIResultSet rs,
VelocityRenderer vr)
Construct a Velocity rendering closure
|
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response.ResponseBuilder |
RouterRestlet.standardHeaders(String expiresDate,
APIResultSet rs,
int envHash,
boolean needsVaryAccept,
javax.ws.rs.core.Response.ResponseBuilder rb) |
static javax.ws.rs.core.Response.ResponseBuilder |
RouterRestlet.standardHeaders(String expiresDate,
APIResultSet rs,
int envHash,
javax.ws.rs.core.Response.ResponseBuilder rb) |
Copyright © 2014. All Rights Reserved.