public class DbRequestHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSISTENCY_ERROR_THE_DOCUMENT_GUID_S_IN_ES_IS_NOT_IN_MONGO_DB_ANYMORE_TENANT_S_REQUEST_ID_S |
| Modifier and Type | Method and Description |
|---|---|
static com.mongodb.client.MongoCursor<VitamDocument<?>> |
selectMongoDbExecuteThroughFakeMongoCursor(VitamCollection collection,
RequestParserSingle parser,
List<String> list,
List<Float> scores)
Private method for select using MongoDb from Elasticsearch result
|
public static final String CONSISTENCY_ERROR_THE_DOCUMENT_GUID_S_IN_ES_IS_NOT_IN_MONGO_DB_ANYMORE_TENANT_S_REQUEST_ID_S
public static com.mongodb.client.MongoCursor<VitamDocument<?>> selectMongoDbExecuteThroughFakeMongoCursor(VitamCollection collection, RequestParserSingle parser, List<String> list, List<Float> scores) throws InvalidParseOperationException, InvalidCreateOperationException, VitamDBException
collection - parser - list - list of Idsscores - can be null, containing scoresInvalidParseOperationException - when query is not correctInvalidCreateOperationExceptionVitamDBExceptionCopyright © 2018 Vitam. All rights reserved.