public final class SysInfoFunction extends Operation0 implements NamedExpression
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTOCOMMIT
AUTOCOMMIT().
|
static int |
DATABASE_PATH
DATABASE_PATH().
|
static int |
H2VERSION
H2VERSION().
|
static int |
LOCK_MODE
LOCK_MODE().
|
static int |
LOCK_TIMEOUT
LOCK_TIMEOUT().
|
static int |
MEMORY_FREE
MEMORY_FREE().
|
static int |
MEMORY_USED
MEMORY_USED().
|
static int |
READONLY
READONLY().
|
static int |
SESSION_ID
SESSION_ID().
|
static int |
TRANSACTION_ID
TRANSACTION_ID().
|
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 |
|---|
SysInfoFunction(int function) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCost()
Estimate the cost to process the expression.
|
java.lang.String |
getName()
Get the name.
|
static java.lang.String |
getName(int function)
Get the name for this function id.
|
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 AUTOCOMMIT
public static final int DATABASE_PATH
public static final int H2VERSION
public static final int LOCK_MODE
public static final int LOCK_TIMEOUT
public static final int MEMORY_FREE
public static final int MEMORY_USED
public static final int READONLY
public static final int SESSION_ID
public static final int TRANSACTION_ID
public static java.lang.String getName(int function)
function - the function idpublic 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