Class Truncate

  • All Implemented Interfaces:
    Serializable

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

      • Truncate

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

      • getTable

        public Expression getTable()
        Gets the table to truncate.
        Returns:
        The table.
      • 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.