public class RegexOperation extends QueryOperationWithField
Represent $regex operation. Provides regular expression capabilities for pattern matching strings in queries.
  • Constructor Details

    • RegexOperation

      public RegexOperation(String fieldName, Pattern pattern)
      Creates a new RegexOperation with a default RegexOptions (all options set to false)
      Parameters:
      fieldName - the fieldName
      pattern - the pattern
    • RegexOperation

      public RegexOperation(String fieldName, Pattern pattern, RegexOptions options)
  • Method Details