public interface StatementGenerator
Modifier and Type | Field and Description |
---|---|
static String |
OPTION_ALLOW_NULLS
Option to allow null values as elements of an array or collection.
|
static String |
OPTION_RESTRICT_DISCRIM
Option to add a WHERE clause to restrict to the discriminator value.
|
static String |
OPTION_SELECT_NUCLEUS_TYPE
Option to add "NUCLEUS_TYPE" to the SELECT clause as kind of discriminator.
|
Modifier and Type | Method and Description |
---|---|
SQLStatement |
getStatement()
Accessor for the statement.
|
boolean |
hasOption(String name)
Whether the generator has a particular option set.
|
StatementGenerator |
setOption(String name)
Method to set a property.
|
void |
setParentStatement(SQLStatement stmt)
Method to set the parent statement.
|
StatementGenerator |
unsetOption(String name)
Method to unset a property.
|
static final String OPTION_ALLOW_NULLS
static final String OPTION_SELECT_NUCLEUS_TYPE
static final String OPTION_RESTRICT_DISCRIM
SQLStatement getStatement()
void setParentStatement(SQLStatement stmt)
stmt
- The parent statementStatementGenerator setOption(String name)
name
- Name of the propertyStatementGenerator unsetOption(String name)
name
- Name of the propertyboolean hasOption(String name)
name
- Name of the optionCopyright © 2017. All rights reserved.