| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | JsonConstructorFunction(boolean
false for JSON_OBJECT, true for
JSON_ARRAY.Creates a new instance of JSON constructor function. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static StringBuilder | Returns: the specified string builderstring builder to append to builder, int flags to append flags, boolean whether the function is an array function forArray)Appends flags of a JSON function to the specified string builder. |
| public String | |
| 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. |
| private Value | |
| private Value | |
| public Expression | optimize(SessionLocal
the session session)Implements abstract org. Try to optimize the expression. |
| public void | setFlags(int
the flags to set flags)Implements org. Set the flags for this expression. |
| array | back to summary |
|---|---|
| private final boolean array | |
| flags | back to summary |
|---|---|
| private int flags | |
| JsonConstructorFunction | back to summary |
|---|---|
| public JsonConstructorFunction(boolean array) Creates a new instance of JSON constructor function.
| |
| getFlags | back to summary |
|---|---|
| public int getFlags() Implements org. Doc from org. Returns the flags.
| |
| getJsonFunctionFlagsSQL | back to summary |
|---|---|
| public static StringBuilder getJsonFunctionFlagsSQL(StringBuilder builder, int flags, boolean forArray) Appends flags of a JSON function to the specified string builder.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Get the name. | |
| 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.
| |
| jsonArray | back to summary |
|---|---|
| private Value jsonArray(SessionLocal session, Expression[] args) | |
| jsonObject | back to summary |
|---|---|
| private Value jsonObject(SessionLocal session, Expression[] args) | |
| optimize | back to summary |
|---|---|
| public Expression optimize(SessionLocal session) Implements abstract org. Doc from org. Try to optimize the expression.
| |
| setFlags | back to summary |
|---|---|
| public void setFlags(int flags) Implements org. Doc from org. Set the flags for this expression.
| |