Constructor and Description |
---|
MapValueMethod() |
Modifier and Type | Method and Description |
---|---|
protected SQLExpression |
getAsJoin(SQLStatement stmt,
MapExpression mapExpr)
Implementation of VALUE(map) using a join to the table representing the map, and returning the value.
|
protected SQLExpression |
getAsSubquery(SQLStatement stmt,
MapExpression mapExpr)
Implementation of VALUE(map) using a subquery on the table representing the map, returning the value.
|
SQLExpression |
getExpression(SQLStatement stmt,
SQLExpression expr,
List<SQLExpression> args)
Return the expression for this SQL function.
|
public SQLExpression getExpression(SQLStatement stmt, SQLExpression expr, List<SQLExpression> args)
SQLMethod
getExpression
in interface SQLMethod
stmt
- SQLStatement that this expression is forexpr
- The expression that it is invoked onargs
- Arguments passed inprotected SQLExpression getAsJoin(SQLStatement stmt, MapExpression mapExpr)
stmt
- SQLStatementmapExpr
- The map expressionprotected SQLExpression getAsSubquery(SQLStatement stmt, MapExpression mapExpr)
stmt
- SQLStatementmapExpr
- The map expressionCopyright © 2019. All rights reserved.