Class MapQuery.AddQueryBuilder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional execute​(java.util.Map map)
      Executes the query against the map
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • execute

        public java.util.Optional execute​(java.util.Map map)
                                   throws com.legyver.core.exception.CoreException
        Description copied from class: MapQuery.ExecutableQueryBuilder
        Executes the query against the map
        Overrides:
        execute in class MapQuery.ExecutableQueryBuilder<MapQuery.AddQueryBuilder,​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