Class MultiConditionQuerySelector
java.lang.Object
org.evomaster.client.java.controller.mongo.selectors.QuerySelector
org.evomaster.client.java.controller.mongo.selectors.MultiConditionQuerySelector
- Direct Known Subclasses:
AndSelector,NorSelector,OrSelector
Selectors for operations whose value consist of a list of conditions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringextractOperator(Object query) Extracts the operator (for example $eq) from the query.getOperation(Object query) Returns the operation mapped to the selector if the query satisfy all syntax checks or null if not.protected abstract QueryOperationparseConditions(List<?> value) Methods inherited from class org.evomaster.client.java.controller.mongo.selectors.QuerySelector
hasTheExpectedOperator, isUniqueEntry, operator
-
Constructor Details
-
MultiConditionQuerySelector
public MultiConditionQuerySelector()
-
-
Method Details
-
getOperation
Description copied from class:QuerySelectorReturns the operation mapped to the selector if the query satisfy all syntax checks or null if not.- Specified by:
getOperationin classQuerySelector
-
extractOperator
Description copied from class:QuerySelectorExtracts the operator (for example $eq) from the query.- Specified by:
extractOperatorin classQuerySelector
-
parseConditions
-