Class ImplicitSelector
java.lang.Object
org.evomaster.client.java.controller.mongo.selectors.QuerySelector
org.evomaster.client.java.controller.mongo.selectors.ImplicitSelector
Two possible implicit operations (no operator)
Equals: { field: value }
And: {{ expression1 }, { expression2 } , ... , { expressionN } }
-
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 Stringoperator()The operator a query must have to be considered as an instance of the corresponding operation.protected List<QueryOperation>parseConditions(Object query) Methods inherited from class org.evomaster.client.java.controller.mongo.selectors.QuerySelector
hasTheExpectedOperator, isUniqueEntry
-
Constructor Details
-
ImplicitSelector
public ImplicitSelector()
-
-
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
-
parseConditions
-
extractOperator
Description copied from class:QuerySelectorExtracts the operator (for example $eq) from the query.- Specified by:
extractOperatorin classQuerySelector
-
operator
Description copied from class:QuerySelectorThe operator a query must have to be considered as an instance of the corresponding operation.- Specified by:
operatorin classQuerySelector
-