|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReferencedSiteConfiguration
Configuration for a Site that uses external services to access
and query for Entities. ReferencedSites may cache remote entities locally.
| Field Summary | |
|---|---|
static String |
ACCESS_URI
Key used for the configuration of the AccessURI for a site |
static String |
CACHE_ID
The key used for the configuration of the id for the yard used as a cache for the data of a referenced Site. |
static String |
CACHE_STRATEGY
Key used for the configuration of the default expiration duration for entities and data for a site |
static String |
ENTITY_DEREFERENCER_TYPE
Key used for the configuration of the name of the dereferencer type to be used for this site |
static String |
ENTITY_SEARCHER_TYPE
Key used for the configuration of the type of the query |
static String |
QUERY_URI
Key used for the configuration of the uri to access the query service of the site |
| Fields inherited from interface org.apache.stanbol.entityhub.servicesapi.site.SiteConfiguration |
|---|
DEFAULT_EXPIRE_DURATION, DEFAULT_MAPPING_STATE, DEFAULT_SYMBOL_STATE, DESCRIPTION, ENTITY_PREFIX, ID, NAME, SITE_ATTRIBUTION, SITE_ATTRIBUTION_URL, SITE_FIELD_MAPPINGS, SITE_LICENCE_NAME, SITE_LICENCE_TEXT, SITE_LICENCE_URL |
| Method Summary | |
|---|---|
String |
getAccessUri()
The URI used to access the Data of this Site. |
String |
getCacheId()
The id of the Yard used to cache data of this referenced site. |
CacheStrategy |
getCacheStrategy()
The cache strategy used by for this site to be used. |
String |
getEntityDereferencerType()
The name of the EntityDereferencer to be used for accessing
representations of entities managed by this Site |
String |
getEntitySearcherType()
The type of the EntitySearcher to be used to query for
representations of entities managed by this Site. |
String |
getQueryUri()
Getter for the queryUri of the site. |
| Methods inherited from interface org.apache.stanbol.entityhub.servicesapi.site.SiteConfiguration |
|---|
getAttribution, getAttributionUrl, getConfiguration, getDefaultExpireDuration, getDefaultManagedEntityState, getDefaultMappedEntityState, getDescription, getEntityPrefixes, getFieldMappings, getId, getLicenses, getName |
| Field Detail |
|---|
static final String ACCESS_URI
static final String ENTITY_DEREFERENCER_TYPE
static final String QUERY_URI
static final String ENTITY_SEARCHER_TYPE
static final String CACHE_STRATEGY
static final String CACHE_ID
CacheStrategy.none is used.
| Method Detail |
|---|
String getAccessUri()
To give some Examples:
symbol.label: DBPedia
symbol.id: http://dbpedia.org
site.acessUri: http://dbpedia.org/resource/
symbol.label: Freebase
symbol.id: http://www.freebase.com
site.acessUri: http://rdf.freebase.com/
String getEntityDereferencerType()
EntityDereferencer to be used for accessing
representations of entities managed by this Site
String getQueryUri()
String getEntitySearcherType()
EntitySearcher to be used to query for
representations of entities managed by this Site.
CacheStrategy getCacheStrategy()
String getCacheId()
Yard used as a cache. May be null
if CacheStrategy.none is configured for this yard
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||