Class Join

    • Method Detail

      • subquery

        public Join subquery​(Query query,
                             java.lang.String name)
        Add a subquery as join target
        Parameters:
        query - The subquery to join to
        name - The name of the subquery
        Returns:
        This JOIN statement
      • table

        public Join table​(java.lang.String name)
        Join to a table by name
        Parameters:
        name - The name of the table to join to
        Returns:
        This JOIN statement
      • string

        public java.lang.String string​(QueryOptions options)
        Description copied from interface: QueryPart
        Transforms this statement into an SQL string
        Specified by:
        string in interface QueryPart
        Overrides:
        string in class Conditionable<Join>
        Parameters:
        options - The QueryOptions to apply for transformation
        Returns:
        The created SQL string