public interface SelectRenderContext
SELECT
statements. This interface declares rendering hooks that are called
before/after a specific SELECT
clause part. The rendering content is appended directly after/before an
element without further whitespace processing. Hooks are responsible for adding required surrounding whitespaces.Modifier and Type | Method and Description |
---|---|
default Function<Select,? extends CharSequence> |
afterOrderBy(boolean hasOrderBy)
Customization hook: Rendition of a part after
ORDER BY . |
default Function<Select,? extends CharSequence> |
afterSelectList()
Customization hook: Rendition of a part after the
SELECT list and before any FROM renderings. |
default Function<Select,? extends CharSequence> afterSelectList()
SELECT
list and before any FROM
renderings.
Renders an empty string by default.Function
invoked after rendering SELECT
list.default Function<Select,? extends CharSequence> afterOrderBy(boolean hasOrderBy)
ORDER BY
. The rendering function is called always, regardless
whether ORDER BY
exists or not. Renders an empty string by default.Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.