public abstract class SequenceExecutor
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected int |
current_index |
protected java.util.List<int[]> |
exe_info_list |
protected java.util.List<java.lang.Long> |
exe_start_time_list |
protected IntList |
executed_mark |
protected SheetExecutor |
executor |
protected java.util.List<SheetExecutor> |
executor_list |
protected static int |
EXEED_MARK |
protected static int |
EXEING_EXED_MARK |
protected static int |
EXEING_MARK |
protected ListMap |
nameListMap |
protected static int |
NO_EXE_MARK |
protected java.util.Map<java.lang.String,java.lang.Object> |
parameterMap |
protected int |
seq_exe_index |
构造器和说明 |
---|
SequenceExecutor() |
限定符和类型 | 方法和说明 |
---|---|
protected abstract void |
addExecutor4Result(int index) |
protected abstract void |
addExecutor4Result(SheetExecutor se,
long startTime) |
void |
checkTargetExecuteSequence(java.util.List silList,
SheetExecutor executer)
判断sheet间的运算顺序
|
protected void |
execute(SheetExecutor exe)
计算sheet
|
protected abstract long |
execute4Expand(SheetExecutor se) |
int |
getCurrentExecutorIndex(SheetExecutor se)
返回当前计算的exe 序号
|
int |
getCurrentSheetIndex()
返回当前计算sheet的序号
|
protected SheetExecutor |
getExecutor() |
SheetExecutor |
getExecutor(int index)
根据序号 返回当前的计算报表
|
protected abstract java.lang.String |
getLiteralName(java.util.List list,
int index) |
abstract ResultElementCase |
getResultByIndex(int index) |
int |
getTargetIndexByTargetName(java.lang.String targetName)
根据名字来定位sheet
|
abstract TemplateElementCase |
getTemplateByIndex(int index) |
boolean |
isExecuting(int index)
是否计算中
|
protected boolean |
next()
寻找下一个元素
|
protected ListMap nameListMap
protected int current_index
protected int seq_exe_index
protected IntList executed_mark
protected static final int EXEING_EXED_MARK
protected static final int EXEED_MARK
protected static final int EXEING_MARK
protected static final int NO_EXE_MARK
protected java.util.Map<java.lang.String,java.lang.Object> parameterMap
protected java.util.List<SheetExecutor> executor_list
protected java.util.List<int[]> exe_info_list
protected java.util.List<java.lang.Long> exe_start_time_list
protected SheetExecutor executor
protected abstract long execute4Expand(SheetExecutor se)
protected abstract void addExecutor4Result(SheetExecutor se, long startTime)
protected abstract void addExecutor4Result(int index)
protected boolean next()
protected void execute(SheetExecutor exe)
protected SheetExecutor getExecutor()
public abstract TemplateElementCase getTemplateByIndex(int index)
public abstract ResultElementCase getResultByIndex(int index)
public int getTargetIndexByTargetName(java.lang.String targetName)
targetName
- 目标名称public SheetExecutor getExecutor(int index)
index
- 序号public int getCurrentSheetIndex()
public int getCurrentExecutorIndex(SheetExecutor se)
se
- 报表计算public boolean isExecuting(int index)
index
- 序号protected abstract java.lang.String getLiteralName(java.util.List list, int index)
public void checkTargetExecuteSequence(java.util.List silList, SheetExecutor executer)
silList
- 表间listexecuter
- se计算器