public final class InsertValue extends H2SqlPart
| Constructor and Description |
|---|
InsertValue(String columnName)
Constructs an insert value with the specified column name and null value.
|
InsertValue(String columnName,
Object value)
Constructs an insert value with the specified column name and value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collectSqlFragment(CodeWriter writer) |
String |
getColumnName()
Returns the column name.
|
Object |
getValue()
Returns the value.
|
escapeKeyword, placeBackTickscollectParameterValues, getParameterValues, getSqlFragment, isPretty, printSqlParts, setPretty, toStringpublic InsertValue(String columnName, Object value)
columnName - the column namevalue - the value to insertpublic InsertValue(String columnName)
columnName - the column namepublic String getColumnName()
public Object getValue()
public void collectSqlFragment(CodeWriter writer)
collectSqlFragment in class SqlPartCopyright (c) 2006-2026 North Concepts Inc. All Rights Reserved.