Class MsSelectOps
java.lang.Object
org.pgcodekeeper.core.database.ms.parser.rulectx.MsSelectOps
Merging wrapper for Microsoft SQL SELECT operations.
Provides a unified interface for working with Microsoft SQL SELECT operations
that may or may not be parenthesized.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a wrapper for non-parenthesized Microsoft SQL SELECT operations.Creates a wrapper for parenthesized Microsoft SQL SELECT operations. -
Method Summary
Modifier and TypeMethodDescriptionorg.antlr.v4.runtime.tree.TerminalNodeexcept()org.antlr.v4.runtime.tree.TerminalNodeorg.antlr.v4.runtime.tree.TerminalNodeReturns the left parenthesis terminal node if present.org.antlr.v4.runtime.tree.TerminalNodeReturns the right parenthesis terminal node if present.selectOps(int i) Returns the SELECT statement context.org.antlr.v4.runtime.tree.TerminalNodeunion()
-
Constructor Details
-
MsSelectOps
Creates a wrapper for parenthesized Microsoft SQL SELECT operations.- Parameters:
ops- the SELECT operations context with parentheses
-
MsSelectOps
Creates a wrapper for non-parenthesized Microsoft SQL SELECT operations.- Parameters:
ops- the SELECT operations context without parentheses
-
-
Method Details
-
leftParen
public org.antlr.v4.runtime.tree.TerminalNode leftParen()Returns the left parenthesis terminal node if present.- Returns:
- the left parenthesis node or null if not present
-
rightParen
public org.antlr.v4.runtime.tree.TerminalNode rightParen()Returns the right parenthesis terminal node if present.- Returns:
- the right parenthesis node or null if not present
-
selectStmt
Returns the SELECT statement context.- Returns:
- the SELECT statement context or null for non-parenthesized operations
-
selectOps
-
selectOps
-
intersect
public org.antlr.v4.runtime.tree.TerminalNode intersect() -
union
public org.antlr.v4.runtime.tree.TerminalNode union() -
except
public org.antlr.v4.runtime.tree.TerminalNode except() -
setQualifier
-
querySpecification
-