public final class MathFunction2 extends Function2
| Modifier and Type | Field and Description |
|---|---|
static int |
ATAN2
ATAN2() (non-standard).
|
static int |
LOG
LOG().
|
static int |
POWER
POWER().
|
left, right, typeAUTO_PARENTHESES, MAP_IN_AGGREGATE, MAP_IN_WINDOW, MAP_INITIAL, WITH_PARENTHESES, WITHOUT_PARENTHESESADD_PLAN_INFORMATION, DEFAULT_SQL_FLAGS, NO_CASTS, QUOTE_ONLY_WHEN_REQUIRED, REPLACE_LOBS_FOR_TRACE, TRACE_SQL_FLAGS| Constructor and Description |
|---|
MathFunction2(Expression arg1,
Expression arg2,
int function) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the name.
|
Value |
getValue(SessionLocal session,
Value v1,
Value v2)
Returns the value of this function.
|
Expression |
optimize(SessionLocal session)
Try to optimize the expression.
|
getUnenclosedSQL, getValuegetCost, getSubexpression, getSubexpressionCount, getType, isEverything, mapColumns, setEvaluatable, updateAggregateaddFilterConditions, createIndexConditions, getAlias, getBooleanValue, getColumnName, getColumnNameForView, getEnclosedSQL, getNonAliasExpression, getNotIfPossible, getNullable, getSchemaName, getSQL, getSQL, getSQL, getSQL, getTableAlias, getTableName, getWhenSQL, getWhenValue, isConstant, isIdentity, isNullConstant, isValueSet, isWhenConditionOperand, needParentheses, optimizeCondition, toString, writeExpressions, writeExpressionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTraceSQLpublic static final int ATAN2
public static final int LOG
public static final int POWER
public MathFunction2(Expression arg1, Expression arg2, int function)
public Value getValue(SessionLocal session, Value v1, Value v2)
Function2public Expression optimize(SessionLocal session)
Expressionoptimize in class Expressionsession - the sessionpublic java.lang.String getName()
NamedExpression