public class OrOperator extends AbstractBinaryOperator
LOGGER, TYPE_BIGDECIMAL, TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_NULL, TYPE_STRINGGROUP_AGGREGATE, GROUP_BOOLEAN, GROUP_CONVERSION, GROUP_DATETIME, GROUP_NUMERIC, GROUP_OGC, GROUP_OTHER, GROUP_PROGRAMMING, GROUP_STRING| Constructor and Description |
|---|
OrOperator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowConstantFolding()
Returns true if the function always returns the same value for
the same parameters.
|
java.lang.Object |
call(Interpreter interpreter,
Codes args) |
java.lang.Object |
call(Interpreter interpreter,
java.lang.Object op1,
java.lang.Object op2) |
boolean |
useArgumentsInsteadObjects() |
call, isOperatoraddAlias, aliases, argc, checkDoubleValue, checkFloatValue, description, descriptionArgs, getBigDecimal, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getComparable, getComparable, getDate, getDate, getDouble, getDouble, getFile, getFile, getFloat, getFloat, getFullDescription, getInt, getInt, getInt, getJsonArray, getJsonArray, getJsonObject, getJsonObject, getJsonStructure, getJsonStructure, getList, getLocalDateTime, getLocalDateTime, getLong, getLong, getObject, getObject, getStr, getStr, getType, getURL, group, isHidden, isNull, isSQLCompatible, name, returnType, template, toBoolean, toString, toString, toValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAlias, aliases, argc, description, descriptionArgs, getFullDescription, group, isHidden, isSQLCompatible, name, returnType, template, toString, toValuepublic boolean allowConstantFolding()
FunctionallowConstantFolding in interface FunctionallowConstantFolding in class AbstractFunctionpublic boolean useArgumentsInsteadObjects()
useArgumentsInsteadObjects in interface FunctionuseArgumentsInsteadObjects in class AbstractFunctionpublic java.lang.Object call(Interpreter interpreter, Codes args) throws java.lang.Exception
call in interface Functioncall in class AbstractFunctionjava.lang.Exceptionpublic java.lang.Object call(Interpreter interpreter, java.lang.Object op1, java.lang.Object op2)