Class SQLTableSubQuery
java.lang.Object
ortus.boxlang.compiler.ast.BoxNode
ortus.boxlang.compiler.ast.sql.SQLNode
ortus.boxlang.compiler.ast.sql.select.SQLTable
ortus.boxlang.compiler.ast.sql.select.SQLTableSubQuery
- All Implemented Interfaces:
BoxVisitable
Class representing SQL table as a sub query
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSQLTableSubQuery(SQLSelectStatement selectStatement, String alias, int index, Position position, String sourceText) Constructor -
Method Summary
Modifier and TypeMethodDescriptionAccept method for replacing visitor support.voidAccept method for visitor support.Get the select statementbooleanvoidsetSelectStatement(SQLSelectStatement selectStatement) Set the select statementtoMap()Methods inherited from class ortus.boxlang.compiler.ast.sql.select.SQLTable
getAlias, getIndex, setAlias, setIndexMethods inherited from class ortus.boxlang.compiler.ast.BoxNode
addComment, associateComments, endsOnSameLineAs, enumToMap, getAncestors, getChildren, getComments, getDescendants, getDescendantsOfType, getDescendantsOfType, getDescription, getDocComment, getFirstAncestorOfType, getFirstAncestorOfType, getFirstNodeOfType, getFirstNodeOfType, getFirstNodeOfTypes, getParent, getPosition, getSourceText, isAfter, isBefore, isInside, replaceChildren, replaceChildren, setComments, setParent, setPosition, setSourceText, startsOnEndLineOf, toJSON, toString
-
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 codesourceText- source code of the statement
-
-
Method Details
-
getSelectStatement
Get the select statement -
setSelectStatement
Set the select statement -
isCalled
-
accept
Description copied from interface:BoxVisitableAccept method for visitor support.- Parameters:
v- the visitor implementation
-
accept
Description copied from interface:BoxVisitableAccept method for replacing visitor support. Each accept returns the node, or a replacement node.- Parameters:
v- the visitor implementation
-
toMap
-