info.aduna.model.enterprise.desktop.loader
Class DefaultLoader
java.lang.Object
info.aduna.gee.spectacle.Loader
info.aduna.spectacle.SpectacleLoader
info.aduna.model.enterprise.desktop.loader.DefaultLoader
public class DefaultLoader
- extends SpectacleLoader
|
Method Summary |
protected void |
addProperty(org.openrdf.model.Resource subject,
String property,
String value,
Map<org.openrdf.model.Resource,DefaultEntity> entities)
|
protected void |
addSignificantTerm(org.openrdf.model.Resource subject,
String term,
Map<org.openrdf.model.Resource,DefaultEntity> entities)
|
protected List<Entity> |
createEntities()
Returns the List of explored Entities. |
protected List<FacetClassifier> |
createFacets()
Create the list of facets that will be used to provide Guided Exploration
through the dataset. |
Map<Object,Double> |
getDynamicEntities(FacetValue facetValue)
|
List<FacetValue> |
getDynamicFacets(List<FacetValue> facetValues)
|
Comparator<Object> |
getFacetValueComparator(String facetName)
|
protected String[] |
getFields()
|
List<FacetValue> |
getGuidedExplorationFacets(List<FacetValue> facetValues)
|
String |
getI18nDescriptionKey()
|
Map<String,Integer> |
getSuggestions(GuidedExplorationResult geeResult,
String facet)
|
boolean |
isKnownEntityId(org.openrdf.model.Resource resource)
|
protected void |
setProperty(org.openrdf.model.Resource subject,
String property,
String value,
Map<org.openrdf.model.Resource,DefaultEntity> entities)
|
void |
sortEntities(List<Entity> entities)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL_ENTITIES_QUERY
public static final String ALL_ENTITIES_QUERY
ADDITIONAL_DATA_QUERY
public static final String ADDITIONAL_DATA_QUERY
MATCHES_QUERY
public static final String MATCHES_QUERY
DefaultLoader
public DefaultLoader(Spectacle spectacle,
Profile profile)
isKnownEntityId
public boolean isKnownEntityId(org.openrdf.model.Resource resource)
createEntities
protected List<Entity> createEntities()
- Description copied from class:
Loader
- Returns the List of explored Entities.
- Specified by:
createEntities in class Loader
addSignificantTerm
protected void addSignificantTerm(org.openrdf.model.Resource subject,
String term,
Map<org.openrdf.model.Resource,DefaultEntity> entities)
setProperty
protected void setProperty(org.openrdf.model.Resource subject,
String property,
String value,
Map<org.openrdf.model.Resource,DefaultEntity> entities)
addProperty
protected void addProperty(org.openrdf.model.Resource subject,
String property,
String value,
Map<org.openrdf.model.Resource,DefaultEntity> entities)
createFacets
protected List<FacetClassifier> createFacets()
- Create the list of facets that will be used to provide Guided Exploration
through the dataset.
- Specified by:
createFacets in class Loader
- Returns:
- a list of facets
getGuidedExplorationFacets
public List<FacetValue> getGuidedExplorationFacets(List<FacetValue> facetValues)
- Specified by:
getGuidedExplorationFacets in class SpectacleLoader
getDynamicFacets
public List<FacetValue> getDynamicFacets(List<FacetValue> facetValues)
- Specified by:
getDynamicFacets in class SpectacleLoader
getFields
protected String[] getFields()
getDynamicEntities
public Map<Object,Double> getDynamicEntities(FacetValue facetValue)
throws DynamicFacetInputException
- Specified by:
getDynamicEntities in class SpectacleLoader
- Throws:
DynamicFacetInputException
getSuggestions
public Map<String,Integer> getSuggestions(GuidedExplorationResult geeResult,
String facet)
- Overrides:
getSuggestions in class SpectacleLoader
sortEntities
public void sortEntities(List<Entity> entities)
- Overrides:
sortEntities in class SpectacleLoader
getFacetValueComparator
public Comparator<Object> getFacetValueComparator(String facetName)
- Overrides:
getFacetValueComparator in class SpectacleLoader
getI18nDescriptionKey
public String getI18nDescriptionKey()
- Specified by:
getI18nDescriptionKey in class SpectacleLoader
Copyright © 1997-2008 Aduna. All Rights Reserved.