Class Queryable.DefaultConsumer<O>

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultConsumer()  
    • Method Summary

      Modifier and Type Method Description
      <R> R resolveFunction​(QueryFunction function, java.lang.Object instance, Queryable.DataSource<O> dataSource)
      This method must resolve the functions that are used into the query object.
      • Methods inherited from class java.lang.Object

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

      • DefaultConsumer

        public DefaultConsumer()
    • Method Detail

      • resolveFunction

        public <R> R resolveFunction​(QueryFunction function,
                                     java.lang.Object instance,
                                     Queryable.DataSource<O> dataSource)
        This method must resolve the functions that are used into the query object.
        Specified by:
        resolveFunction in interface Queryable.Consumer<O>
        Type Parameters:
        R - Expected result.
        Parameters:
        function - Query function.
        instance - Data object instance.
        dataSource - Data source
        Returns:
        Return the value obtained of the function resolution.