Package io.ebeaninternal.api
Class BindParams.OrderedList
- java.lang.Object
-
- io.ebeaninternal.api.BindParams.OrderedList
-
- Enclosing class:
- BindParams
public static final class BindParams.OrderedList extends Object
The bind parameters in the correct binding order.This is the result of converting sql with named parameters into sql with ? and ordered parameters.
-
-
Constructor Summary
Constructors Constructor Description OrderedList()
OrderedList(List<BindParams.Param> paramList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(BindParams.Param param)
Add a parameter in the correct binding order.void
appendSql(String parsedSql)
Append parsedSql that has named parameters converted into ?.String
getPreparedSql()
List<BindParams.Param>
list()
Returns the ordered list of bind parameters.int
size()
Return the number of bind parameters in this list.
-
-
-
Constructor Detail
-
OrderedList
public OrderedList()
-
OrderedList
public OrderedList(List<BindParams.Param> paramList)
-
-
Method Detail
-
add
public void add(BindParams.Param param)
Add a parameter in the correct binding order.
-
size
public int size()
Return the number of bind parameters in this list.
-
list
public List<BindParams.Param> list()
Returns the ordered list of bind parameters.
-
appendSql
public void appendSql(String parsedSql)
Append parsedSql that has named parameters converted into ?.
-
getPreparedSql
public String getPreparedSql()
-
-