Class RegexSelector
java.lang.Object
org.evomaster.client.java.controller.mongo.selectors.QuerySelector
org.evomaster.client.java.controller.mongo.selectors.RegexSelector
Parses
{ field: { $regex: pattern, $options: options } } queries.-
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.Methods inherited from class org.evomaster.client.java.controller.mongo.selectors.QuerySelector
hasTheExpectedOperator, isUniqueEntry
-
Constructor Details
-
RegexSelector
public RegexSelector()
-
-
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
-
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
-