Class DropPrimaryKey

  • All Implemented Interfaces:
    Serializable

    public class DropPrimaryKey
    extends Expression
    Translates to a statement that allows to drop the primary key of a table.
    Since:
    2.0.0
    Author:
    Rui Vilao (rui.vilao@feedzai.com)
    See Also:
    Serialized Form
    • Constructor Detail

      • DropPrimaryKey

        public DropPrimaryKey​(Expression table)
        Creates a new instance of DropPrimaryKey.
        Parameters:
        table - The table.
    • Method Detail

      • 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.
      • getTable

        public Expression getTable()
        Gets the table expression.
        Returns:
        The table expression.