Interface QueryMaker

    • Method Detail

      • getName

        String getName()
        Gets the name for this query maker.
      • accepts

        boolean accepts​(String query)
        Checks if this query maker accepts a given query.

        Called first.

        Parameters:
        query - the query
        Returns:
        true if the query is accepted
      • buildQuery

        QueryMaker.Query buildQuery​(SQLInfo sqlInfo,
                                    Model model,
                                    Session.PathResolver pathResolver,
                                    String query,
                                    QueryFilter queryFilter,
                                    Object... params)
        Builds the query.
        Parameters:
        sqlInfo - the sql info
        model - the model
        pathResolver - the path resolver
        query - the query
        queryFilter - the query filter
        params - additional parameters, maker-specific