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