Class Join

    • Constructor Detail

      • Join

        public Join​(Fragment root,
                    JoinType type,
                    String name,
                    String specification)
        Create a new Join instance
        Parameters:
        root - SQL statement this JOIN belongs to
        type - type of join (e.g. INNER, LEFT or RIGHT OUTER)
        name - name of the table to be joined
        specification - join specification (e.g. ON or USING)
    • Method Detail

      • getType

        public JoinType getType()
        Get the type of the join
        Returns:
        join type (e.g. INNER or LEFT)
      • getName

        public String getName()
        Get the name of the joined table
        Returns:
        name of the joined table
      • getSpecification

        public String getSpecification()
        Get the join specification
        Returns:
        join specification
      • accept

        public void accept​(SelectVisitor visitor)
        Description copied from interface: SelectFragment
        Accept a visitor (e.g. a renderer or validator)
        Specified by:
        accept in interface SelectFragment
        Parameters:
        visitor - visitor to accept