Package | Description |
---|---|
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.specs |
The specs package contains the classes that interpret linked
data API configurations and their endpoints.
|
Modifier and Type | Field and Description |
---|---|
static View |
View.ALL
View that does DESCRIBE plus labels of all objects.
|
static View |
View.BASIC
View that does rdf:type and rdfs:label.
|
static View |
View.DESCRIBE
View that does DESCRIBE.
|
Modifier and Type | Method and Description |
---|---|
View |
View.addFrom(View t)
Answer this view after updating it by adding all the property chains
of the argument view (which must not be null).
|
View |
View.addViewFromParameterValue(String prop,
ShortnameService sns)
Answer this view after updating it with the given property string.
|
View |
View.addViewFromRDFList(com.hp.hpl.jena.rdf.model.Resource spec,
ShortnameService sns)
Answer this view after modifying it to contain all the property
chains defined by
spec . |
View |
View.copy()
Answer this view if it is ALL, otherwise a new view that
does the same filtering and is mutable without affecting the
original.
|
static View |
View.getBuiltin(com.hp.hpl.jena.rdf.model.Resource r)
Answer the built-in view with the given URI, or null if there
isn't one.
|
View |
NamedViews.getDefaultView()
Answer the default view (null if none), may be a view
with a magic name.
|
View |
APIResultSet.getView() |
View |
NamedViews.getView(String viewname)
Answer the view with the given name (null if none).
|
static View |
View.newTemplateView(String viewName,
String template) |
Modifier and Type | Method and Description |
---|---|
View |
View.addFrom(View t)
Answer this view after updating it by adding all the property chains
of the argument view (which must not be null).
|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
EndpointMetadata.addAllMetadata(APIResultSet.MergedModels mergedModels,
URI ru,
com.hp.hpl.jena.rdf.model.Resource uriForDefinition,
Bindings bindings,
CompleteContext cc,
boolean suppress_IPTO,
com.hp.hpl.jena.rdf.model.Resource thisMetaPage,
int page,
int perPage,
Integer totalResults,
boolean hasMorePages,
List<com.hp.hpl.jena.rdf.model.Resource> resultList,
SetsMetadata setsMeta,
WantsMetadata wantsMeta,
String selectQuery,
String viewQuery,
Source source,
Map<String,View> views,
Set<Factories.FormatNameAndType> formats,
EndpointDetails details) |
void |
EndpointMetadata.addVersions(com.hp.hpl.jena.rdf.model.Model m,
CompleteContext cc,
Map<String,View> views)
Create metadata describing the alternative views available
for this endpoint, given their names.
|
Constructor and Description |
---|
APIResultSet(com.hp.hpl.jena.graph.Graph graph,
List<com.hp.hpl.jena.rdf.model.Resource> results,
boolean isCompleted,
boolean enableETags,
String detailsQuery,
Map<String,com.hp.hpl.jena.rdf.model.Model> meta,
View v) |
APIResultSet(com.hp.hpl.jena.graph.Graph graph,
List<com.hp.hpl.jena.rdf.model.Resource> results,
boolean isCompleted,
boolean enableETags,
String detailsQuery,
View v) |
APIResultSet(com.hp.hpl.jena.rdf.model.Resource root,
URI contentLocation,
List<com.hp.hpl.jena.rdf.model.Resource> results,
boolean isCompleted,
APIResultSet.MergedModels model,
String detailsQuery,
long hash,
Date timestamp,
String selectQuery,
boolean enableETags,
View view,
Map<String,com.hp.hpl.jena.rdf.model.Model> metadata) |
Modifier and Type | Method and Description |
---|---|
View |
ContextQueryUpdater.updateQueryAndConstructView(List<PendingParameterValue> deferredFilters)
Apply the context updates to the query, and answer the view
specified.
|
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 | Field and Description |
---|---|
protected Map<String,View> |
APIEndpointSpec.views |
Modifier and Type | Method and Description |
---|---|
View |
APIEndpointSpec.getDefaultView()
Return the default view template definition, if any
|
View |
APIEndpointSpec.getView(String viewname)
Return the view template definition for the given named view
|
Modifier and Type | Method and Description |
---|---|
Map<String,View> |
APIEndpointSpec.extractViews() |
Modifier and Type | Method and Description |
---|---|
void |
APIEndpointSpec.addViewers(com.hp.hpl.jena.rdf.model.Resource root,
Map<String,View> views) |
Copyright © 2014. All Rights Reserved.