| Package | Description |
|---|---|
| org.sql.generation.api.grammar.factories |
This package provides factories to create various builders and SQL syntax elements.
|
| org.sql.generation.api.grammar.modification |
This package contains syntax elements relevant to SQL modification clauses (
INSERT INTO, DELETE FROM, and UPDATE). |
| Modifier and Type | Method and Description |
|---|---|
SetClause |
ModificationFactory.setClause(String updateTarget,
UpdateSource updateSource)
Creates a new set clause for
UPDATE statement. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
UpdateSourceByExpression
This syntax element represents the update source having value of whatever expression it holds.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateSource.Default
This syntax element represents the
DEFAULT keyword as data source for column, meaning to use the default
value for the column. |
static class |
UpdateSource.Null
This syntax element represents the
NULL keyword as data source for column, meaning to use the
NULL value for the column. |
| Modifier and Type | Method and Description |
|---|---|
UpdateSource |
SetClause.getUpdateSource()
Returns the update source, that is, data, for the columns.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends UpdateSource> |
UpdateSource.Default.getImplementedType()
Returns
UpdateSource.Default. |
Class<? extends UpdateSource> |
UpdateSource.Null.getImplementedType()
Returns
UpdateSource.Null. |
Copyright © 2010-2012. All Rights Reserved.