-
-
Method Summary
Modifier and Type Method Description abstract Rquery(Object value, T queryObject)根据指定类型的查询对象,查询查询对象。如果查询失败,则抛出异常。 RqueryOrNull(Object value, T queryObject)根据指定类型的查询对象,查询查询对象。如果查询失败,则返回null。 RqueryOrDefault(Object value, T queryObject, R defaultValue)根据指定类型的查询对象,查询查询对象。如果查询失败,则返回默认值。 RqueryOrElse(Object value, T queryObject, Function2<Object, T, R> defaultValue)根据指定类型的查询对象,查询查询对象。如果查询失败,则返回默认值。 Querier<T, R>componentCopy(Map<String, Object> componentParams)StringgetComponentId()Map<String, Object>getComponentParams()-
-
Method Detail
-
queryOrNull
R queryOrNull(Object value, T queryObject)
根据指定类型的查询对象,查询查询对象。如果查询失败,则返回null。
-
queryOrDefault
R queryOrDefault(Object value, T queryObject, R defaultValue)
根据指定类型的查询对象,查询查询对象。如果查询失败,则返回默认值。
-
queryOrElse
R queryOrElse(Object value, T queryObject, Function2<Object, T, R> defaultValue)
根据指定类型的查询对象,查询查询对象。如果查询失败,则返回默认值。
-
getComponentId
String getComponentId()
-
getComponentParams
Map<String, Object> getComponentParams()
-
-
-
-