org.sqlproc.engine.plugin
Interface SqlIdentityPlugin

All Superinterfaces:
Modifiers
All Known Implementing Classes:
DefaultSqlPlugins

public interface SqlIdentityPlugin
extends Modifiers

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:

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
 String identitySelect(SqlRuntimeContext runtimeCtx, String identitySelectName, Class<?> inputValueType)
          Used to construct the identity SELECT SQL.
 

Method Detail

identitySelect

String identitySelect(SqlRuntimeContext runtimeCtx,
                      String identitySelectName,
                      Class<?> inputValueType)
Used to construct the identity SELECT SQL.

Parameters:
runtimeCtx - the public runtime context
identitySelectName - the identity SELECT SQL name
inputValueType - a dynamic input value Java type
Returns:
the final identity SELECT SQL


Copyright © 2015. All rights reserved.