Class ExplainCommand

    • Constructor Detail

      • ExplainCommand

        public ExplainCommand()
    • Method Detail

      • 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.
        Parameters:
        visitor - Visitor being used
      • 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
      • getProjectedSymbols

        public List<Expression> 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.
      • isNoExec

        public boolean isNoExec()
      • getAnalyze

        public Boolean getAnalyze()
      • setAnalyze

        public void setAnalyze​(Boolean analyze)
      • getCommand

        public Command getCommand()
      • setCommand

        public void setCommand​(Command command)
      • hashCode

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

        public Command getActualCommand()
        Description copied from class: Command
        For a statement such as explain, obtain the actual command
        Overrides:
        getActualCommand in class Command
        Returns: