Package com.exasol.sql.rendering
Class StringRendererConfig
- java.lang.Object
-
- com.exasol.sql.rendering.StringRendererConfig
-
public final class StringRendererConfig extends Object
This class implements a parameter object containing the configuration options for theStatementFactory
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StringRendererConfig.Builder
Builder forStringRendererConfig
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringRendererConfig.Builder
builder()
Get a builder forStringRendererConfig
static StringRendererConfig
createDefault()
Create the default configuration.boolean
useLowerCase()
Get whether the statements should be produced in lower case.boolean
useQuotes()
Get whether identifiers should be enclosed in double quotation marks.
-
-
-
Method Detail
-
useLowerCase
public boolean useLowerCase()
Get whether the statements should be produced in lower case.- Returns:
true
if statements are produced in lower case
-
useQuotes
public boolean useQuotes()
Get whether identifiers should be enclosed in double quotation marks.- Returns:
true
if should be enclosed in quotes
-
createDefault
public static StringRendererConfig createDefault()
Create the default configuration.- Returns:
- default configuration
-
builder
public static StringRendererConfig.Builder builder()
Get a builder forStringRendererConfig
- Returns:
- builder
-
-