public final class CastSpecification extends Function1
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| 构造器和说明 |
|---|
CastSpecification(Expression arg,
Column column) |
CastSpecification(Expression arg,
TypeInfo type) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName()
Get the name.
|
StringBuilder |
getUnenclosedSQL(StringBuilder builder,
int sqlFlags)
Get the SQL statement of this expression.
|
Value |
getValue(SessionLocal session)
Return the resulting value for the current row.
|
boolean |
isConstant()
Check if this expression will always return the same value.
|
Expression |
optimize(SessionLocal session)
Try to optimize the expression.
|
getCost, 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, isIdentity, isNullConstant, isValueSet, isWhenConditionOperand, needParentheses, optimizeCondition, toString, writeExpressions, writeExpressionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTraceSQLpublic CastSpecification(Expression arg, Column column)
public CastSpecification(Expression arg, TypeInfo type)
public Value getValue(SessionLocal session)
ExpressiongetValue 在类中 Expressionsession - the sessionpublic Expression optimize(SessionLocal session)
Expressionoptimize 在类中 Expressionsession - the sessionpublic boolean isConstant()
ExpressionisConstant 在类中 Expressionpublic StringBuilder getUnenclosedSQL(StringBuilder builder, int sqlFlags)
ExpressiongetUnenclosedSQL 在类中 Function1builder - string buildersqlFlags - formatting flagspublic String getName()
NamedExpressionCopyright © 2022. All rights reserved.