Class Join

  • All Implemented Interfaces:
    Serializable

    public class Join
    extends Expression
    Represents a SQL join operator.
    Since:
    2.0.0
    Author:
    Rui Vilao (rui.vilao@feedzai.com)
    See Also:
    Serialized Form
    • Constructor Detail

      • Join

        public Join​(String join,
                    Expression joinTable,
                    Expression joinExpr)
        Creates a new instance of Join.
        Parameters:
        join - The join string.
        joinTable - The join table.
        joinExpr - The join expression.
    • Method Detail

      • getJoin

        public String getJoin()
        Gets the join type represented in a String.
        Returns:
        The join type.
      • getJoinTable

        public Expression getJoinTable()
        Gets the join table.
        Returns:
        The join table.
      • getJoinExpr

        public Expression getJoinExpr()
        Gets the join expression.
        Returns:
        The join expression.
      • translate

        public String translate()
        Description copied from class: Expression
        Translates the expression.
        Specified by:
        translate in class Expression
        Returns:
        A translation of the implementing expression.