Interface AutoJoiner<Q extends Query,​E extends QueryElement>

    • Method Detail

      • getQueryClass

        Class<Q> getQueryClass()
        The type of the query the implementation works for. This can be an actual subclass or a superclass.
        Returns:
        A class object representing the query type
      • getElementClass

        Class<E> getElementClass()
        The type of the query element the implementation works for. This can be an actual subclass or a superclass.
        Returns:
        A class object representing the query element type
      • joinIfNeeded

        void joinIfNeeded​(Q query,
                          E element)
        Automatically join the tables that is is needed by the query element unless they are already joined.
        Parameters:
        query - The query
        element - The query element
      • reset

        void reset​(Q query)
        Called to indicate that Query.reset() has been called on the given query.
        Parameters:
        query - The query
        Since:
        3.2