Class Drop

    • Constructor Detail

      • Drop

        public Drop()
    • Method Detail

      • setTable

        public void setTable​(GroupSymbol table)
      • getType

        public int getType()
        Description copied from class: Command
        Return type of command to make it easier to build switch statements by command type.
        Specified by:
        getType in class Command
        Returns:
        Type from TYPE constants
      • clone

        public Drop clone()
        Description copied from interface: LanguageObject
        Implement clone to make objects cloneable.
        Specified by:
        clone in interface LanguageObject
        Specified by:
        clone in class Command
        Returns:
        Deep clone of this object
      • getProjectedSymbols

        public List getProjectedSymbols()
        Description copied from class: Command
        Get the ordered list of all elements returned by this query. These elements may be ElementSymbols or ExpressionSymbols but in all cases each represents a single column.
        Specified by:
        getProjectedSymbols in class Command
        Returns:
        Ordered list of SingleElementSymbol
      • areResultsCachable

        public boolean areResultsCachable()
        Description copied from class: Command
        Whether the results are cachable.
        Specified by:
        areResultsCachable in class Command
        Returns:
        True if the results are cachable; false otherwise.
      • acceptVisitor

        public void acceptVisitor​(LanguageVisitor visitor)
        Description copied from interface: LanguageObject
        Method for accepting a visitor. It is the responsibility of the language object to call back on the visitor.
        Specified by:
        acceptVisitor in interface LanguageObject
        Parameters:
        visitor - Visitor being used
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Description copied from class: Command
        Returns a string representation of an instance of this class.
        Overrides:
        toString in class Command
        Returns:
        String representation of object