- java.lang.Object
-
- com.legyver.utils.mapqua.MapQuery
-
public class MapQuery extends java.lang.ObjectQuery get/set/add abstraction for Maps. The intent is to provide a less painful means of reading/persisting JSON to allow for backward and forward compatibility. The down side of this is that setting an object on a map converts it to a Map, thereby losing all reference to original POJO, so any changes to the POJO after that add are not automatically synced to the map;
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMapQuery.AbstractQueryBuilderBuilder to create Object-typed queriesstatic classMapQuery.AddQueryBuilderA child QueryBuilder when the value is expected to be added the a collection located on the query resultstatic classMapQuery.ChildQueryBuilder<T>Builder hook to continue building child querystatic classMapQuery.CollectionQueryBuilderQuery to build a collection of resultsstatic classMapQuery.ExecutableQueryBuilder<T extends MapQuery.ExecutableQueryBuilder,U>Parent builder to create a Map-based querystatic classMapQuery.KeyValueFilterFilter for querystatic classMapQuery.MergeQueryBuilderA child QueryBuilder when the value is expected to be merged with the current value present on the query resultstatic classMapQuery.QueryTop-level builder for readability of Queriesstatic classMapQuery.SetQueryBuilderA child QueryBuilder when the value is expected to be set on the query result
-