| Constructor and Description |
|---|
ListGetMethod() |
| Modifier and Type | Method and Description |
|---|---|
protected SQLExpression |
getAsInnerJoin(SQLStatement stmt,
CollectionExpression listExpr,
SQLExpression idxExpr)
Implementation of List.get() using an inner join to the table representing the list, adding a condition on the index and returning the element.
|
protected SQLExpression |
getAsSubquery(SQLStatement stmt,
CollectionExpression listExpr,
SQLExpression idxExpr)
Implementation of Collection.get() using a subquery on the table representing the collection, adding a condition on the index and returning the element.
|
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)
SQLMethodgetExpression in interface SQLMethodstmt - SQLStatement that this expression is forexpr - The expression that it is invoked onargs - Arguments passed inprotected SQLExpression getAsSubquery(SQLStatement stmt, CollectionExpression listExpr, SQLExpression idxExpr)
stmt - SQLStatementlistExpr - The list expressionidxExpr - The index expressionprotected SQLExpression getAsInnerJoin(SQLStatement stmt, CollectionExpression listExpr, SQLExpression idxExpr)
stmt - SQLStatementlistExpr - The list expressionidxExpr - The index expressionCopyright © 2020. All rights reserved.