public class IndexServiceCache extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
IndexServiceCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCompleteCache() |
Map<String,Set<org.gcube.rest.index.common.entities.fields.Field>> |
getAllCollectionFields(boolean aliasFields,
String collectionDomain) |
static Map<String,Set<org.gcube.rest.index.common.entities.fields.Field>> |
getAllCollectionFieldsFromES()
this should be handled with care...
|
Map<String,Long> |
getCollectionDocumentCounts(String collectionDomain) |
Map<String,Map<String,String>> |
getCollectionFieldsAlias(String collectionID,
String collectionDomain,
boolean fromIndexToView) |
Map<String,org.gcube.rest.index.common.entities.CollectionInfo> |
getCompleteCollectionInfo(String collectionID,
String collectionDomain) |
List<String> |
listCollections(String collectionDomain) |
javax.ws.rs.core.Response |
listFulltextEndpoints(String scope) |
public Map<String,Long> getCollectionDocumentCounts(String collectionDomain)
public Map<String,Set<org.gcube.rest.index.common.entities.fields.Field>> getAllCollectionFields(boolean aliasFields, String collectionDomain) throws IOException
IOExceptionpublic static Map<String,Set<org.gcube.rest.index.common.entities.fields.Field>> getAllCollectionFieldsFromES() throws IOException
IOExceptionpublic Map<String,Map<String,String>> getCollectionFieldsAlias(String collectionID, String collectionDomain, boolean fromIndexToView)
public javax.ws.rs.core.Response listFulltextEndpoints(String scope)
public Map<String,org.gcube.rest.index.common.entities.CollectionInfo> getCompleteCollectionInfo(String collectionID, String collectionDomain) throws org.elasticsearch.index.IndexNotFoundException, com.google.gson.JsonSyntaxException
org.elasticsearch.index.IndexNotFoundExceptioncom.google.gson.JsonSyntaxException@CacheEvict(value={"COMPLETE_COLLECTION_INFOS","COLLECTIONS_FIELDS_ALIASES","COLLECTIONS_FIELDS","COLLECTION_NAMES","ENDPOINTS","COLLECTION_DOC_COUNTS"},
allEntries=true)
public void clearCompleteCache()
Copyright © 2017. All Rights Reserved.