|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EnvironmentAdaptor
Classes that implement this interface provide the basic functionality needed by the search system, in order to discover the sources that could be part of a search operation
| Method Summary | |
|---|---|
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. |
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. |
| Method Detail |
|---|
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 interest
Exception
Map<String,Set<String>> getCollectionLangsByFieldRelation(Map<String,List<String>> fieldRelationMap,
List<String> projections)
throws Exception
fieldRelationMap - - the search criteria specifiedprojections - - the presentation criteria specified
Exception
Set<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 specified
Exception
Set<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 specified
Exception
Set<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 specified
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||