Package org.sqlproc.engine.plugin
Interface SqlIdentityPlugin
- All Superinterfaces:
Modifiers
- All Known Implementing Classes:
DefaultSqlPlugins
The SQL Processor plugin devoted to the identity or sequence SELECT SQL construction.
There are utilized the patterns from the
SqlFeature. These pattern have to be combined with the table and or
column name in the next way:
- $t is the table name
- $c is the column name
- Author:
- Vladimir Hudec
-
Field Summary
Fields inherited from interface org.sqlproc.engine.plugin.Modifiers
MODIFIER_ANY, MODIFIER_ANYSET, MODIFIER_CALL, MODIFIER_DISCRIMINATOR, MODIFIER_EMPTY, MODIFIER_GTYPE, MODIFIER_ID, MODIFIER_IDENTITY_GENERATOR, MODIFIER_IDENTITY_SELECT, MODIFIER_NOTEMPTY, MODIFIER_NOTNULL, MODIFIER_NULL, MODIFIER_SEQUENCE, MODIFIER_TYPE -
Method Summary
Modifier and TypeMethodDescriptionidentitySelect(SqlRuntimeContext runtimeCtx, String identitySelectName, Class<?> inputValueType) Used to construct the identity SELECT SQL.
-
Method Details
-
identitySelect
String identitySelect(SqlRuntimeContext runtimeCtx, String identitySelectName, Class<?> inputValueType) Used to construct the identity SELECT SQL.- Parameters:
runtimeCtx- the public runtime contextidentitySelectName- the identity SELECT SQL nameinputValueType- a dynamic input value Java type- Returns:
- the final identity SELECT SQL
-