public class ProcedureConfig extends Configuration implements FCloneable
构造器和说明 |
---|
ProcedureConfig() |
限定符和类型 | 方法和说明 |
---|---|
void |
addProcedure(java.lang.String name,
StoreProcedure procedure) |
java.lang.Object |
clone() |
StoreProcedure |
get(int index) |
static ProcedureConfig |
getInstance() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
StoreProcedure |
getProcedure(java.lang.String name) |
int |
getProcedureIndex(java.lang.String name) |
java.util.Map<java.lang.String,StoreProcedure> |
getProcedures() |
void |
removeAllProcedure() |
void |
removeProcedure(java.lang.String name) |
void |
renameProcedure(java.lang.String oldName,
java.lang.String newName) |
void |
setProcedures(java.util.Map<java.lang.String,StoreProcedure> procedures) |
initialize, mirror
public static ProcedureConfig getInstance()
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 Configuration
public void setProcedures(java.util.Map<java.lang.String,StoreProcedure> procedures)
public java.util.Map<java.lang.String,StoreProcedure> getProcedures()
public void removeProcedure(java.lang.String name)
public void removeAllProcedure()
public StoreProcedure getProcedure(java.lang.String name)
public void addProcedure(java.lang.String name, StoreProcedure procedure)
public void renameProcedure(java.lang.String oldName, java.lang.String newName)
public int getProcedureIndex(java.lang.String name)
public StoreProcedure get(int index)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 Configuration
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常