Class Delete

  • All Implemented Interfaces:
    Serializable

    public class Delete
    extends Expression
    Represents the DELETE operator.
    Since:
    2.0.0
    Author:
    Rui Vilao (rui.vilao@feedzai.com)
    See Also:
    Serialized Form
    • Constructor Detail

      • Delete

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

      • where

        public Delete where​(Expression where)
        Sets the where expression.
        Parameters:
        where - The where expression.
        Returns:
        This object.
      • getWhere

        public Expression getWhere()
        Gets the WHERE expression.
        Returns:
        The WHERE expression.
      • getTable

        public Expression getTable()
        Gets the TABLE expression.
        Returns:
        The TABLE 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.