public class SqlServerSelectRenderContext extends Object implements SelectRenderContext
SelectRenderContext. Summary of SQL-specifics:
| Modifier | Constructor and Description |
|---|---|
protected |
SqlServerSelectRenderContext(Function<Select,CharSequence> afterFromTable,
Function<Select,CharSequence> afterOrderBy)
Creates a new
SqlServerSelectRenderContext. |
| Modifier and Type | Method and Description |
|---|---|
Function<Select,? extends CharSequence> |
afterFromTable()
Customization hook: Rendition of a part after
FROM table. |
Function<Select,? extends CharSequence> |
afterOrderBy(boolean hasOrderBy)
Customization hook: Rendition of a part after
ORDER BY. |
Function<Select,? extends CharSequence> |
afterSelectList()
Customization hook: Rendition of a part after the
SELECT list and before any FROM renderings. |
protected SqlServerSelectRenderContext(Function<Select,CharSequence> afterFromTable, Function<Select,CharSequence> afterOrderBy)
SqlServerSelectRenderContext.afterFromTable - the delegate afterFromTable function.afterOrderBy - the delegate afterOrderBy function.public Function<Select,? extends CharSequence> afterSelectList()
SelectRenderContextSELECT list and before any FROM renderings.
Renders an empty string by default.afterSelectList in interface SelectRenderContextFunction invoked after rendering SELECT list.public Function<Select,? extends CharSequence> afterFromTable()
SelectRenderContextFROM table.
Renders an empty string by default.afterFromTable in interface SelectRenderContextFunction invoked after rendering FROM table.public Function<Select,? extends CharSequence> afterOrderBy(boolean hasOrderBy)
SelectRenderContextORDER BY. The rendering function is called always, regardless
whether ORDER BY exists or not. Renders an empty string by default.afterOrderBy in interface SelectRenderContexthasOrderBy - the actual value whether the Select statement has a ORDER BY clause.Function invoked after rendering ORDER BY.Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.