- java.lang.Object
-
- com.legyver.utils.mapqua.MapQuery.ExecutableQueryBuilder<MapQuery.MergeQueryBuilder,java.lang.Object>
-
- com.legyver.utils.mapqua.MapQuery.MergeQueryBuilder
-
- Enclosing class:
- MapQuery
public static class MapQuery.MergeQueryBuilder extends MapQuery.ExecutableQueryBuilder<MapQuery.MergeQueryBuilder,java.lang.Object>
A child QueryBuilder when the value is expected to be merged with the current value present on the query result
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optionalexecute(java.util.Map map)Executes the query against the map
-
-
-
Method Detail
-
execute
public java.util.Optional execute(java.util.Map map) throws com.legyver.core.exception.CoreExceptionDescription copied from class:MapQuery.ExecutableQueryBuilderExecutes the query against the map- Overrides:
executein classMapQuery.ExecutableQueryBuilder<MapQuery.MergeQueryBuilder,java.lang.Object>- Parameters:
map- the Map to query- Returns:
- Optional.ofNullable() if the query has no result, else the result of the query
- Throws:
com.legyver.core.exception.CoreException- if there is a problem marshalling to/from JSON
-
-