public interface EnvironmentAdaptor
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getCollectionByFieldRelationLang(Map<String,List<String>> fieldRelationMap,
String language,
List<String> projections)
Get the collections for a number of criteria and a specific language.
|
Map<String,Set<String>> |
getCollectionLangsByFieldRelation(Map<String,List<String>> fieldRelationMap,
List<String> projections)
Get the collection-languages pairs for a number of criteria.
|
Set<String> |
getLanguageByFieldRelationCol(Map<String,List<String>> fieldRelationMap,
String collection,
List<String> projections)
Get the languages for a number of criteria and a specific collection.
|
long |
getLastUpdate() |
HashMap<String,HashSet<String>> |
getProjectionsPerSource(Set<String> sources,
Set<String> projectionsNeeded,
HashMap<String,HashSet<String>> colLangs)
Get the fields projected by each of the sources of the input.
|
Set<String> |
getSourceIdsForFieldRelationCollectionLanguage(String field,
String relation,
String collection,
String language,
String indication)
Get source identifiers for all the sources that publish a searchable field
for a specific collection and language AND they also support the specified
relation, and they provide the capability(e.g.
|
HashMap<String,HashSet<String>> getProjectionsPerSource(Set<String> sources, Set<String> projectionsNeeded, HashMap<String,HashSet<String>> colLangs) throws Exception
sources - - the sources of interestprojectionsNeeded - - the fields of interestcolLangs - - the collection-language pairs of interestExceptionMap<String,Set<String>> getCollectionLangsByFieldRelation(Map<String,List<String>> fieldRelationMap, List<String> projections) throws Exception
fieldRelationMap - - the search criteria specifiedprojections - - the presentation criteria specifiedExceptionSet<String> getCollectionByFieldRelationLang(Map<String,List<String>> fieldRelationMap, String language, List<String> projections) throws Exception
fieldRelationMap - - the search criteria specifiedlanguage - - the language specifedprojections - - the presentation criteria specifiedExceptionSet<String> getLanguageByFieldRelationCol(Map<String,List<String>> fieldRelationMap, String collection, List<String> projections) throws Exception
fieldRelationMap - - the search criteria specifiedcollection - - the collection specifiedprojections - - the presentation criteria specifiedExceptionSet<String> getSourceIdsForFieldRelationCollectionLanguage(String field, String relation, String collection, String language, String indication) throws Exception
field - - the searchable field specifiedrelation - - the relation specifiedcollection - - the collection specifiedlanguage - - the language specifiedindication - - the capability specifiedExceptionlong getLastUpdate()
Copyright © 2015. All Rights Reserved.