public class IndexService extends Object
| Constructor and Description |
|---|
IndexService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createEmptyIndex(org.gcube.rest.index.common.entities.CollectionInfo completeColInfo,
String gcubeScope)
Deprecated.
|
javax.ws.rs.core.Response |
delete(String collectionID,
String recordID,
String gcubeScope) |
javax.ws.rs.core.Response |
deleteCollectionFieldsAlias(String collectionID,
String gcubeScope) |
javax.ws.rs.core.Response |
deleteCompleteCollectionInfo(String collectionID,
String gcubeScope) |
javax.ws.rs.core.Response |
dropCollection(String collectionID,
String gcubeScope) |
javax.ws.rs.core.Response |
getAllCollectionFields(boolean aliasFields,
String collectionDomain,
String gcubeScope) |
javax.ws.rs.core.Response |
getCollectionFieldsAlias(String collectionID,
String collectionDomain,
boolean fromIndexToView,
String gcubeScope) |
javax.ws.rs.core.Response |
getCompleteCollectionInfo(String collectionID,
String collectionDomain,
String gcubeScope) |
javax.ws.rs.core.Response |
insertWithoutRecID(String collectionID,
String domain,
String recordJSON,
String gcubeScope) |
javax.ws.rs.core.Response |
insertWithRecID(String collectionID,
String recordID,
String recordJSON,
String domain,
String gcubeScope)
Inserts a document in the specified index (collectionID).
|
javax.ws.rs.core.Response |
listCollections(String collectionDomain,
String gcubeScope) |
javax.ws.rs.core.Response |
listFulltextEndpoints(String scope,
String gcubeScope) |
javax.ws.rs.core.Response |
reIndex(String completeColInfoJSON,
String gcubeScope) |
javax.ws.rs.core.Response |
search(String queryJson,
String collectionDomain,
String gcubeScope) |
javax.ws.rs.core.Response |
setCollectionFieldsAlias(String collectionID,
String mappingsJSON,
String gcubeScope) |
javax.ws.rs.core.Response |
setCompleteCollectionInfo(String completeCollectionInformation,
String gcubeScope) |
public javax.ws.rs.core.Response listCollections(String collectionDomain, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response getAllCollectionFields(boolean aliasFields,
String collectionDomain,
@HeaderParam(value="gcube-scope")
String gcubeScope)
@Deprecated public javax.ws.rs.core.Response createEmptyIndex(org.gcube.rest.index.common.entities.CollectionInfo completeColInfo, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response reIndex(String completeColInfoJSON, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response insertWithRecID(String collectionID, String recordID, String recordJSON, String domain, @HeaderParam(value="gcube-scope") String gcubeScope)
collectionID - the name of the collection - it will map to the index namerecordID - if null or empty, index assigns it an auto-generatedrecordJSON - the document in json formatpublic javax.ws.rs.core.Response insertWithoutRecID(String collectionID, String domain, String recordJSON, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response delete(String collectionID, String recordID, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response dropCollection(String collectionID, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response listFulltextEndpoints(String scope, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response getCompleteCollectionInfo(String collectionID, String collectionDomain, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response setCompleteCollectionInfo(String completeCollectionInformation, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response deleteCompleteCollectionInfo(String collectionID, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response getCollectionFieldsAlias(String collectionID, String collectionDomain, boolean fromIndexToView, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response setCollectionFieldsAlias(String collectionID, String mappingsJSON, @HeaderParam(value="gcube-scope") String gcubeScope)
public javax.ws.rs.core.Response deleteCollectionFieldsAlias(String collectionID, @HeaderParam(value="gcube-scope") String gcubeScope)
Copyright © 2017. All Rights Reserved.