public final class CurrentGeneralValueSpecification extends Operation0 implements NamedExpression
| Modifier and Type | Field and Description |
|---|---|
static int |
CURRENT_CATALOG
The "CURRENT_CATALOG" general value specification.
|
static int |
CURRENT_PATH
The "CURRENT_PATH" general value specification.
|
static int |
CURRENT_ROLE
The function "CURRENT_ROLE" general value specification.
|
static int |
CURRENT_SCHEMA
The function "CURRENT_SCHEMA" general value specification.
|
static int |
CURRENT_USER
The function "CURRENT_USER" general value specification.
|
static int |
SESSION_USER
The function "SESSION_USER" general value specification.
|
static int |
SYSTEM_USER
The function "SYSTEM_USER" general value specification.
|
AUTO_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 |
|---|
CurrentGeneralValueSpecification(int specification) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCost()
Estimate the cost to process the expression.
|
java.lang.String |
getName()
Get the name.
|
TypeInfo |
getType()
Returns the data type.
|
java.lang.StringBuilder |
getUnenclosedSQL(java.lang.StringBuilder builder,
int sqlFlags)
Get the SQL statement of this expression.
|
Value |
getValue(SessionLocal session)
Return the resulting value for the current row.
|
boolean |
isEverything(ExpressionVisitor visitor)
Check if this expression and all sub-expressions can fulfill a criteria.
|
mapColumns, optimize, setEvaluatable, updateAggregateaddFilterConditions, createIndexConditions, getAlias, getBooleanValue, getColumnName, getColumnNameForView, getEnclosedSQL, getNonAliasExpression, getNotIfPossible, getNullable, getSchemaName, getSQL, getSQL, getSQL, getSQL, getSubexpression, getSubexpressionCount, 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 CURRENT_CATALOG
public static final int CURRENT_PATH
public static final int CURRENT_ROLE
public static final int CURRENT_SCHEMA
public static final int CURRENT_USER
public static final int SESSION_USER
public static final int SYSTEM_USER
public CurrentGeneralValueSpecification(int specification)
public Value getValue(SessionLocal session)
ExpressiongetValue in class Expressionsession - the sessionpublic java.lang.StringBuilder getUnenclosedSQL(java.lang.StringBuilder builder,
int sqlFlags)
ExpressiongetUnenclosedSQL in class Expressionbuilder - string buildersqlFlags - formatting flagspublic boolean isEverything(ExpressionVisitor visitor)
ExpressionisEverything in class Expressionvisitor - the visitorpublic TypeInfo getType()
ExpressiongetType in interface TypedgetType in class Expressionpublic int getCost()
ExpressiongetCost in class Expressionpublic java.lang.String getName()
NamedExpressiongetName in interface NamedExpression