Class SQLTableSubQuery

All Implemented Interfaces:
BoxVisitable

public class SQLTableSubQuery extends SQLTable
Class representing SQL table as a sub query
  • Constructor Details

    • SQLTableSubQuery

      public SQLTableSubQuery(SQLSelectStatement selectStatement, String alias, int index, Position position, String sourceText)
      Constructor
      Parameters:
      position - position of the statement in the source code
      sourceText - source code of the statement
  • Method Details

    • getSelectStatement

      public SQLSelectStatement getSelectStatement()
      Get the select statement
    • setSelectStatement

      public void setSelectStatement(SQLSelectStatement selectStatement)
      Set the select statement
    • isCalled

      public boolean isCalled(Key name)
      Specified by:
      isCalled in class SQLTable
    • accept

      public void accept(VoidBoxVisitor v)
      Description copied from interface: BoxVisitable
      Accept method for visitor support.
      Parameters:
      v - the visitor implementation
    • accept

      public BoxNode accept(ReplacingBoxVisitor v)
      Description copied from interface: BoxVisitable
      Accept method for replacing visitor support. Each accept returns the node, or a replacement node.
      Parameters:
      v - the visitor implementation
    • toMap

      public Map<String,Object> toMap()
      Overrides:
      toMap in class BoxNode