public class SequenceProcessorImpl extends Object implements SequenceProcessor
Constructor and Description |
---|
SequenceProcessorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addSequences(Sequences sequences) |
boolean |
checkSequenceExist(String language,
Sequence sequence,
Connection connection) |
List<String> |
getCreateSql(String language) |
String |
getCreateSql(String sequenceName,
String language) |
List<String> |
getDropSql(String language) |
String |
getDropSql(String sequenceName,
String language) |
ProcessorManager |
getProcessorManager() |
Sequence |
getSequence(String sequenceName) |
static SequenceProcessor |
getSequenceProcessor() |
List<Sequence> |
getSequences(String language) |
void |
removeSequences(Sequences sequences) |
void |
setProcessorManager(ProcessorManager processorManager) |
public static SequenceProcessor getSequenceProcessor()
public ProcessorManager getProcessorManager()
getProcessorManager
in interface SequenceProcessor
public void setProcessorManager(ProcessorManager processorManager)
setProcessorManager
in interface SequenceProcessor
public void addSequences(Sequences sequences)
addSequences
in interface SequenceProcessor
public void removeSequences(Sequences sequences)
removeSequences
in interface SequenceProcessor
public Sequence getSequence(String sequenceName)
getSequence
in interface SequenceProcessor
public String getCreateSql(String sequenceName, String language)
getCreateSql
in interface SequenceProcessor
public String getDropSql(String sequenceName, String language)
getDropSql
in interface SequenceProcessor
public List<String> getCreateSql(String language)
getCreateSql
in interface SequenceProcessor
public List<String> getDropSql(String language)
getDropSql
in interface SequenceProcessor
public List<Sequence> getSequences(String language)
getSequences
in interface SequenceProcessor
public boolean checkSequenceExist(String language, Sequence sequence, Connection connection) throws SQLException
checkSequenceExist
in interface SequenceProcessor
SQLException
Copyright © 2006–2018 TinyGroup. All rights reserved.