T - the type of target data modelpublic class JdbcScript<T> extends Object
| Constructor and Description |
|---|
JdbcScript(String name,
DataModelJdbcSupport<? super T> support,
String tableName,
List<String> columnNames)
Creates a new instance.
|
JdbcScript(String name,
DataModelJdbcSupport<? super T> support,
String tableName,
List<String> columnNames,
String condition)
Creates a new instance.
|
JdbcScript(String name,
DataModelJdbcSupport<? super T> support,
String tableName,
List<String> columnNames,
String condition,
String customTruncate)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getColumnNames()
Returns the target column names.
|
String |
getCondition()
Returns the SQL condition expression.
|
String |
getCustomTruncate()
Returns the custom truncate SQL statement.
|
String |
getName()
Returns the name of original process.
|
Set<String> |
getOptions()
Returns the WindGate JDBC options.
|
DataModelJdbcSupport<? super T> |
getSupport()
Returns a
DataModelJdbcSupport object to be used in drivers. |
String |
getTableName()
Returns the target table name.
|
JdbcScript<T> |
withCondition(String expression)
Sets the SQL condition expression.
|
JdbcScript<T> |
withCustomTruncate(String statement)
Sets the custom truncate SQL statement.
|
JdbcScript<T> |
withOptions(Collection<String> values)
Sets the WindGate JDBC options.
|
public JdbcScript(String name, DataModelJdbcSupport<? super T> support, String tableName, List<String> columnNames)
name - the name of original processsupport - the support object for the scripttableName - the target table namecolumnNames - the target column namesIllegalArgumentException - if any parameter is nullpublic JdbcScript(String name, DataModelJdbcSupport<? super T> support, String tableName, List<String> columnNames, String condition)
name - the name of original processsupport - the support object for the scripttableName - the target table namecolumnNames - the target column namescondition - the condition, or null if not usedIllegalArgumentException - if any parameter is nullpublic JdbcScript(String name, DataModelJdbcSupport<? super T> support, String tableName, List<String> columnNames, String condition, String customTruncate)
name - the name of original processsupport - the support object for the scripttableName - the target table namecolumnNames - the target column namescondition - the condition, or null if not usedcustomTruncate - the custom truncate statement, or null if not usedIllegalArgumentException - if any parameter is nullpublic String getName()
public DataModelJdbcSupport<? super T> getSupport()
DataModelJdbcSupport object to be used in drivers.public String getTableName()
public List<String> getColumnNames()
public String getCondition()
null if not usedpublic JdbcScript<T> withCondition(String expression)
expression - the expressionpublic String getCustomTruncate()
null if not usedpublic JdbcScript<T> withCustomTruncate(String statement)
statement - the statementpublic Set<String> getOptions()
public JdbcScript<T> withOptions(Collection<String> values)
values - the optionsCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.