public class MapKeyMethod extends AbstractSQLMethod
clr, exprFactory, stmt
Constructor and Description |
---|
MapKeyMethod() |
Modifier and Type | Method and Description |
---|---|
protected SQLExpression |
getAsJoin(MapExpression mapExpr)
Implementation of KEY(mapExpr) using a join to the table representing the map, and returning an expression for the key.
|
protected SQLExpression |
getAsSubquery(MapExpression mapExpr)
Implementation of KEY(mapExpr) using a subquery on the table representing the map.
|
SQLExpression |
getExpression(SQLExpression expr,
List<SQLExpression> args)
Return the expression for this SQL function.
|
getMappingForClass, setStatement
public SQLExpression getExpression(SQLExpression expr, List<SQLExpression> args)
SQLMethod
expr
- The expression that it is invoked onargs
- Arguments passed inprotected SQLExpression getAsJoin(MapExpression mapExpr)
mapExpr
- The map expressionprotected SQLExpression getAsSubquery(MapExpression mapExpr)
mapExpr
- The map expressionCopyright © 2017. All rights reserved.