public abstract class ModeFunction extends FunctionN
| 限定符和类型 | 字段和说明 |
|---|---|
protected FunctionInfo |
info
The information about this function.
|
protected static int |
VAR_ARGS
Constant for variable number of arguments.
|
args, argsCount, 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| 限定符和类型 | 方法和说明 |
|---|---|
void |
doneWithParameters()
This method must be called after all the parameters have been set.
|
static Expression |
getCompatibilityDateTimeValueFunction(Database database,
String name,
int scale)
Get an instance of the given function without parentheses for this
database.
|
static ModeFunction |
getFunction(Database database,
String name)
Get an instance of the given function for this database.
|
String |
getName()
Get the name.
|
boolean |
isEverything(ExpressionVisitor visitor)
Check if this expression and all sub-expressions can fulfill a criteria.
|
getUnenclosedSQL, getValue, getValueaddParameter, getCost, getSubexpression, getSubexpressionCount, getType, mapColumns, optimizeArguments, 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, optimize, optimizeCondition, toString, writeExpressions, writeExpressionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTraceSQLprotected static final int VAR_ARGS
protected final FunctionInfo info
public static ModeFunction getFunction(Database database, String name)
database - the databasename - the upper case function namepublic static Expression getCompatibilityDateTimeValueFunction(Database database, String name, int scale)
database - the databasename - the upper case function namescale - the scale, or -1public void doneWithParameters()
ExpressionWithVariableParametersdoneWithParameters 在接口中 ExpressionWithVariableParametersdoneWithParameters 在类中 OperationNpublic String getName()
NamedExpressionpublic boolean isEverything(ExpressionVisitor visitor)
ExpressionisEverything 在类中 OperationNvisitor - the visitorCopyright © 2022. All rights reserved.