public final class MathFunction1 extends Function1
| Modifier and Type | Field and Description |
|---|---|
static int |
ACOS
ACOS().
|
static int |
ASIN
ASIN().
|
static int |
ATAN
ATAN().
|
static int |
COS
COS().
|
static int |
COSH
COSH().
|
static int |
COT
COT() (non-standard).
|
static int |
DEGREES
DEGREES() (non-standard).
|
static int |
EXP
EXP().
|
static int |
LN
LN().
|
static int |
LOG10
LOG10().
|
static int |
RADIANS
RADIANS() (non-standard).
|
static int |
SIN
SIN().
|
static int |
SINH
SINH().
|
static int |
SQRT
SQRT().
|
static int |
TAN
TAN().
|
static int |
TANH
TANH().
|
arg, 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 |
|---|
MathFunction1(Expression arg,
int function) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the name.
|
Value |
getValue(SessionLocal session)
Return the resulting value for the current row.
|
Expression |
optimize(SessionLocal session)
Try to optimize the expression.
|
getUnenclosedSQLgetCost, 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 SIN
public static final int COS
public static final int TAN
public static final int COT
public static final int SINH
public static final int COSH
public static final int TANH
public static final int ASIN
public static final int ACOS
public static final int ATAN
public static final int LOG10
public static final int LN
public static final int EXP
public static final int SQRT
public static final int DEGREES
public static final int RADIANS
public MathFunction1(Expression arg, int function)
public Value getValue(SessionLocal session)
ExpressiongetValue in class Expressionsession - the sessionpublic Expression optimize(SessionLocal session)
Expressionoptimize in class Expressionsession - the sessionpublic java.lang.String getName()
NamedExpression