org.sqlproc.engine.plugin
Interface SqlSequencePlugin

All Superinterfaces:
Modifiers
All Known Implementing Classes:
DefaultSqlPlugins

public interface SqlSequencePlugin
extends Modifiers

The SQL Processor plugin devoted to the sequence SELECT SQL construction. There are utilized the patterns from the SqlFeature. These pattern have to be combined with the sequence name used in the META SQL query 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 sequenceSelect(SqlRuntimeContext runtimeCtx, String sequenceName)
          Used to construct the sequence SELECT SQL.
 

Method Detail

sequenceSelect

String sequenceSelect(SqlRuntimeContext runtimeCtx,
                      String sequenceName)
Used to construct the sequence SELECT SQL.

Parameters:
runtimeCtx - the public runtime context
sequenceName - the sequence name
Returns:
the final sequence SELECT SQL


Copyright © 2015. All rights reserved.