Class Rename

  • All Implemented Interfaces:
    Serializable

    public class Rename
    extends Expression
    Expression to rename tables.
    Since:
    2.0.0
    Author:
    Diogo Ferreira (diogo.ferreira@feedzai.com)
    See Also:
    Serialized Form
    • Constructor Detail

      • Rename

        public Rename​(Expression oldName,
                      Expression newName)
        Creates a new instance of Rename.
        Parameters:
        oldName - The old table name.
        newName - The new table name.
    • Method Detail

      • getOldName

        public Expression getOldName()
        Gets the old name.
        Returns:
        The old name.
      • getNewName

        public Expression getNewName()
        Gets the new name.
        Returns:
        The new name.
      • 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.