| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | SqlGenerator.CastFunctionArguments
SQL function processing code redirects generated SQL output to an instance of this class which catches function arguments. |
| pack-priv class | SqlGenerator.DefaultWriter
The default SQL writer. |
| pack-priv static interface | |
| pack-priv static interface | SqlGenerator.SqlWriter
Writes SQL fragments. |
| pack-priv static class | SqlGenerator.StandardFunctionArguments
SQL function processing code redirects generated SQL output to an instance of this class which catches function arguments. |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private static final CoreMessageLogger | |
| private LinkedList | |
| private ParseErrorHandler | |
| public static boolean | |
| private SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private int | |
| private SqlGenerator. | writer
all append invocations on the buf should go through this Output instance variable. |
| Access | Constructor and Description |
|---|---|
| public | SqlGenerator(SessionFactoryImplementor sfi)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | beginFunctionTemplate(AST node, AST nameNode)
Overrides org. |
| protected void | |
| private String | |
| protected void | |
| protected void | |
| public List | |
| public ParseErrorHandler | |
| public String | |
| protected void | nestedFromFragment(AST d, AST parent)
Overrides org. |
| protected void | optionalSpace()
Overrides org. |
| protected void | |
| protected void | |
| public static void | |
| protected void | |
| protected String | renderOrderByElement(String expression, String order, String nulls)
Overrides org. Implementation Note This is just a stub. |
| public void | reportError(RecognitionException e)
Overrides antlr. Implements org. |
| public void | reportError(String s)
Overrides antlr. Implements org. |
| public void | reportWarning(String s)
Overrides antlr. Implements org. |
| public void | |
| public void | |
| private void |
| collectedParameters | back to summary |
|---|---|
| private List<ParameterSpecification> collectedParameters | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| outputStack | back to summary |
|---|---|
| private LinkedList<SqlGenerator. | |
| parseErrorHandler | back to summary |
|---|---|
| private ParseErrorHandler parseErrorHandler | |
| REGRESSION_STYLE_CROSS_JOINS | back to summary |
|---|---|
| public static boolean REGRESSION_STYLE_CROSS_JOINS | |
| sessionFactory | back to summary |
|---|---|
| private SessionFactoryImplementor sessionFactory
Deprecated as a consequence of | |
| traceDepth | back to summary |
|---|---|
| private int traceDepth Hides antlr. | |
| writer | back to summary |
|---|---|
| private SqlGenerator. all append invocations on the buf should go through this Output instance variable. The value of this variable may be temporarily substituted by sql function processing code to catch generated arguments. This is because sql function templates need arguments as separate string chunks that will be assembled into the target dialect-specific function call. | |
| SqlGenerator | back to summary |
|---|---|
| public SqlGenerator(SessionFactoryImplementor sfi)
Deprecated as a consequence of | |
| beginFunctionTemplate | back to summary |
|---|---|
| protected void beginFunctionTemplate(AST node, AST nameNode) Overrides org.
| |
| betweenFunctionArguments | back to summary |
|---|---|
| protected void betweenFunctionArguments() Overrides org.
| |
| buildTraceNodeName | back to summary |
|---|---|
| private String buildTraceNodeName(AST tree) | |
| endFunctionTemplate | back to summary |
|---|---|
| protected void endFunctionTemplate(AST node) Overrides org.
| |
| fromFragmentSeparator | back to summary |
|---|---|
| protected void fromFragmentSeparator(AST a) Overrides org.
| |
| getCollectedParameters | back to summary |
|---|---|
| public List | |
| getParseErrorHandler | back to summary |
|---|---|
| public ParseErrorHandler getParseErrorHandler() | |
| getSQL | back to summary |
|---|---|
| public String getSQL() | |
| nestedFromFragment | back to summary |
|---|---|
| protected void nestedFromFragment(AST d, AST parent) Overrides org.
| |
| optionalSpace | back to summary |
|---|---|
| protected void optionalSpace() Overrides org. Doc from org. Add a aspace if the previous token was not a space or a parenthesis.
| |
| out | back to summary |
|---|---|
| protected void out(String s) Overrides org.
| |
| out | back to summary |
|---|---|
| protected void out(AST n) Overrides org.
| |
| panic | back to summary |
|---|---|
| public static void panic() Hides antlr. | |
| renderCollectionSize | back to summary |
|---|---|
| protected void renderCollectionSize(AST ast) Overrides org.
| |
| renderOrderByElement | back to summary |
|---|---|
| protected String renderOrderByElement(String expression, String order, String nulls) Overrides org. Doc from org. Implementation Note This is just a stub. SqlGenerator contains the effective implementation.
| |
| reportError | back to summary |
|---|---|
| public void reportError(RecognitionException e) Overrides antlr. Implements org. Doc from antlr. Parser error-reporting function can be overridden in subclass
| |
| reportError | back to summary |
|---|---|
| public void reportError(String s) Overrides antlr. Implements org. Doc from antlr. Parser error-reporting function can be overridden in subclass
| |
| reportWarning | back to summary |
|---|---|
| public void reportWarning(String s) Overrides antlr. Implements org. Doc from antlr. Parser warning-reporting function can be overridden in subclass
| |
| traceIn | back to summary |
|---|---|
| public void traceIn(String ruleName, AST tree) Overrides antlr.
| |
| traceOut | back to summary |
|---|---|
| public void traceOut(String ruleName, AST tree) Overrides antlr.
| |
| writeCrossJoinSeparator | back to summary |
|---|---|
| private void writeCrossJoinSeparator() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| castExpression | back to summary |
|---|---|
| private String castExpression | |
| castTargetType | back to summary |
|---|---|
| private String castTargetType | |
| startedType | back to summary |
|---|---|
| private boolean startedType | |
| CastFunctionArguments | back to summary |
|---|---|
| pack-priv CastFunctionArguments() | |
| betweenFunctionArguments | back to summary |
|---|---|
| public void betweenFunctionArguments() Implements org.
| |
| clause | back to summary |
|---|---|
| public void clause(String clause) Implements org.
| |
| getArgs | back to summary |
|---|---|
| public List Implements org. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| DefaultWriter | back to summary |
|---|---|
| pack-priv DefaultWriter() | |
| betweenFunctionArguments | back to summary |
|---|---|
| public void betweenFunctionArguments() Implements org.
| |
| clause | back to summary |
|---|---|
| public void clause(String clause) Implements org.
| |
| getArgs | back to summary |
|---|---|
| public List | |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| betweenFunctionArguments | back to summary |
|---|---|
| public void betweenFunctionArguments() | |
| clause | back to summary |
|---|---|
| public void clause(String clause) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| argInd | back to summary |
|---|---|
| private int argInd | |
| args | back to summary |
|---|---|
| private final List<String> args | |
| StandardFunctionArguments | back to summary |
|---|---|
| pack-priv StandardFunctionArguments() | |
| betweenFunctionArguments | back to summary |
|---|---|
| public void betweenFunctionArguments() Implements org.
| |
| clause | back to summary |
|---|---|
| public void clause(String clause) Implements org.
| |
| getArgs | back to summary |
|---|---|
| public List Implements org. | |