File tree Expand file tree Collapse file tree
core/src/main/java/org/opensearch/sql/ast/tree Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515import org .opensearch .sql .ast .expression .Literal ;
1616import org .opensearch .sql .ast .expression .UnresolvedExpression ;
1717
18- /** AST node represent Regex filtering operation. */
1918@ Getter
2019@ ToString
2120@ EqualsAndHashCode (callSuper = false )
2221public class Regex extends UnresolvedPlan {
23- /** Operator constants. */
2422 public static final String EQUALS_OPERATOR = "=" ;
2523
2624 public static final String NOT_EQUALS_OPERATOR = "!=" ;
2725
28- /** Field to match against. */
2926 private final UnresolvedExpression field ;
3027
31- /** Whether this is a negated match (!=). */
3228 private final boolean negated ;
3329
34- /** Pattern. */
3530 private final Literal pattern ;
3631
37- /** Child Plan. */
3832 @ Setter private UnresolvedPlan child ;
3933
4034 public Regex (UnresolvedExpression field , boolean negated , Literal pattern ) {
You can’t perform that action at this time.
0 commit comments