protected static class Parser.REOperand extends Object implements Parser.IOperand
Constructor and Description |
---|
REOperand(boolean equals)
Single constructor.
|
Modifier and Type | Method and Description |
---|---|
RowFilter |
create(Parser self,
String right)
Parser.IOperand interface. |
protected Pattern |
getPattern(String expression,
boolean ignoreCase)
Returns the
Pattern instance associated to the provided
expression. |
public REOperand(boolean equals)
equals
- true if the operand expects the regular expression
matching to succeedpublic RowFilter create(Parser self, String right) throws ParseException
Parser.IOperand
interface.create
in interface Parser.IOperand
ParseException
protected Pattern getPattern(String expression, boolean ignoreCase) throws ParseException
Pattern
instance associated to the provided
expression.ParseException