public final class Conditions extends Object
| Modifier and Type | Method and Description |
|---|---|
static Condition |
and(Condition... conditions) |
static Condition |
and(List<Condition> conditions) |
static List<Condition> |
extractConditions(String alias,
Entity<?> entity)
提取对象中的条件
提取的属性仅限"平面"属性(允许包括component) 过滤掉属性:null,或者空Collection |
static Map<String,Object> |
getParamMap(Collection<Condition> conditions)
获得条件的绑定参数映射
|
static Map<String,Object> |
getParamMap(Condition condition)
获得条件的绑定参数映射
|
static Condition |
or(Condition... conditions) |
static Condition |
or(List<Condition> conditions) |
static String |
toQueryString(List<Condition> conditions) |
public static List<Condition> extractConditions(String alias, Entity<?> entity)
alias - entity - public static Map<String,Object> getParamMap(Collection<Condition> conditions)
conditions - Copyright © 2005–2018 The Beangle Software. All rights reserved.