public class LikeOperator extends AbstractBinaryOperator
Modifier and Type | Field and Description |
---|---|
protected static Integer |
ONE_CHAR |
protected static Map<String,Pattern> |
patterns |
protected static Integer |
ZERO_OR_MORE_CHARS |
TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_STRING
GROUP_BOOLEAN, GROUP_DATETIME, GROUP_NUMERIC, GROUP_OGC, GROUP_STRING
Constructor and Description |
---|
LikeOperator() |
Modifier and Type | Method and Description |
---|---|
Object |
call(Interpreter interpreter,
Object op1,
Object op2) |
protected static ArrayList<Object> |
compile(String pattern) |
static boolean |
like(String source,
String match) |
static String |
toRegExp(ArrayList<Object> pattern) |
call, getType, isOperator
addAlias, alias, argc, description, descriptionArgs, getDouble, getGeom, getInt, getLong, getPoint, getStr, group, name, template
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAlias, alias, argc, description, descriptionArgs, group, name, template