| Modifier and Type | Field and Description |
|---|---|
| public static final int | CURRENT_DATE
The function "CURRENT_DATE" |
| public static final int | CURRENT_TIME
The function "CURRENT_TIME" |
| public static final int | CURRENT_TIMESTAMP
The function "CURRENT_TIMESTAMP" |
| private final int | |
| public static final int | LOCALTIME
The function "LOCALTIME" |
| public static final int | LOCALTIMESTAMP
The function "LOCALTIMESTAMP" |
| private static final String[] | |
| private final int | |
| private final TypeInfo | |
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | getCost()
Implements abstract org. Estimate the cost to process the expression. |
| public static String | |
| public String | |
| public TypeInfo | getType()
Implements abstract org. Implements org. Returns the data type. |
| public StringBuilder | getUnenclosedSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements abstract org. Get the SQL statement of this expression. |
| public Value | getValue(SessionLocal
the session session)Implements abstract org. Return the resulting value for the current row. |
| public boolean | isEverything(ExpressionVisitor
the visitor visitor)Implements abstract org. Check if this expression and all sub-expressions can fulfill a criteria. |
| CURRENT_DATE | back to summary |
|---|---|
| public static final int CURRENT_DATE The function "CURRENT_DATE" | |
| CURRENT_TIME | back to summary |
|---|---|
| public static final int CURRENT_TIME The function "CURRENT_TIME" | |
| CURRENT_TIMESTAMP | back to summary |
|---|---|
| public static final int CURRENT_TIMESTAMP The function "CURRENT_TIMESTAMP" | |
| function | back to summary |
|---|---|
| private final int function | |
| LOCALTIME | back to summary |
|---|---|
| public static final int LOCALTIME The function "LOCALTIME" | |
| LOCALTIMESTAMP | back to summary |
|---|---|
| public static final int LOCALTIMESTAMP The function "LOCALTIMESTAMP" | |
| NAMES | back to summary |
|---|---|
| private static final String[] NAMES | |
| scale | back to summary |
|---|---|
| private final int scale | |
| type | back to summary |
|---|---|
| private final TypeInfo type | |
| TYPES | back to summary |
|---|---|
| private static final int[] TYPES | |
| CurrentDateTimeValueFunction | back to summary |
|---|---|
| public CurrentDateTimeValueFunction(int function, int scale) | |
| getCost | back to summary |
|---|---|
| public int getCost() Implements abstract org. Doc from org. Estimate the cost to process the expression. Used when optimizing the query, to calculate the query plan with the lowest estimated cost.
| |
| getName | back to summary |
|---|---|
| public static String getName(int function) Get the name for this function id.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Get the name. | |
| getType | back to summary |
|---|---|
| public TypeInfo getType() Implements abstract org. Implements org. Doc from org. Returns the data type. The data type may be unknown before the optimization phase. | |
| getUnenclosedSQL | back to summary |
|---|---|
| public StringBuilder getUnenclosedSQL(StringBuilder builder, int sqlFlags) Implements abstract org. Doc from org. Get the SQL statement of this expression. This may not always be the original SQL statement, especially after optimization. Enclosing '(' and ')' are never appended.
| |
| getValue | back to summary |
|---|---|
| public Value getValue(SessionLocal session) Implements abstract org. Doc from org. Return the resulting value for the current row.
| |
| isEverything | back to summary |
|---|---|
| public boolean isEverything(ExpressionVisitor visitor) Implements abstract org. Doc from org. Check if this expression and all sub-expressions can fulfill a criteria. If any part returns false, the result is false.
| |