Provided a TQL filter, this module computes a mongodb compliant Criteria.
The principle is to parse the AST generated from the TQL, using the ASTVisitor which implements the IASTVisitor interface from the daikon-tql-core module.
It is also possible to extend this implementation for more specifc needs.
As mongodb doesn't support regex search on integer fields, the TQL filters using wordComplies
operator on integer
fields are not supported.
The criteria won't then return any result in this case.
Note that a workaround has been found for complies
operator, but could not be used for wordComplies
operator as
used regular expressions are quite more complicated in this case.
Copyright (c) 2006-2018 Talend