public abstract class SheetExecutor extends java.lang.Object implements DataModelCreator, SuperExecutor, java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
Calculator |
calculator |
protected java.util.Map<java.lang.String,DataModel> |
liveDataModelMap |
protected CalculatorMap |
parameterMap |
构造器和说明 |
---|
SheetExecutor(java.util.Map<java.lang.String,java.lang.Object> parameterMap)
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
DataModel |
__s_name2ResultSet(java.lang.String name) |
protected DataModel |
__us_name2New_ResultSet(java.lang.String name,
java.util.Map parameterMapInjected)
动态参数注入时将参数放入calculator后计算datamodel
|
DataModel |
__us_name2ResultSet(java.lang.String name) |
java.lang.Object[][] |
boxCE2Array2D(BoxCEProvider[] cate,
BoxCEProvider[] series,
BoxCEProvider[] value) |
java.lang.Object[][] |
boxCE2Array2D(FArray data) |
java.lang.Object[][] |
boxCE2Array2D4List(BoxCEProvider[] cate,
BoxCEProvider[] secondCate,
BoxCEProvider[] thirdCate,
BoxCEProvider[] series,
BoxCEProvider[] value,
java.util.List categoryNameResultList,
java.util.List secondLabels,
java.util.List thirdLabels) |
boolean |
checkAllBoxCE(FArray data) |
BoxCEProvider[] |
collectAndSortAsBoxArray(FArray data,
boolean merge) |
DataModel |
createDBDataModel(DBTableData data,
java.lang.String sql)
生成数据库查询的Datamodel
|
java.lang.Object |
dealChartValueFormula(java.lang.Object value) |
java.lang.Object[] |
dealWithDsName(java.lang.String name) |
protected ResultECReport |
execute4ECReport(Actor actor,
long startTime)
计算报表
|
long |
execute4Expand(Actor actor)
计算扩展块
|
ResultECReport |
execute4FormElementCase(Actor actor,
long startTime)
计算表单报表块
|
ResultBlock |
execute4Poly(Actor actor,
long startTime)
计算聚合报表
|
SheetExecutorCellCase |
getBoxCase()
获取所有的格子,默认方法需要实现
|
Calculator |
getCurrentCalculator()
已过时。
|
void |
iterateFamilyMembers(BoxCEProvider parent_box_ce,
FamilyMemberAction action)
迭代子扩展的接口,默认方法需要实现
|
void |
releaseTableData() |
void |
releaseWithoutTableData(boolean exportFull)
释放除TableData以外的其他资源
|
public Calculator calculator
protected CalculatorMap parameterMap
protected java.util.Map<java.lang.String,DataModel> liveDataModelMap
public SheetExecutor(java.util.Map<java.lang.String,java.lang.Object> parameterMap)
parameterMap
- 计算过程中需要的参数mappublic DataModel __us_name2ResultSet(java.lang.String name)
public DataModel __s_name2ResultSet(java.lang.String name)
protected DataModel __us_name2New_ResultSet(java.lang.String name, java.util.Map parameterMapInjected)
name
- 数据集名称parameterMapInjected
- 参数表public java.lang.Object[] dealWithDsName(java.lang.String name)
public void releaseTableData()
public void releaseWithoutTableData(boolean exportFull)
public DataModel createDBDataModel(DBTableData data, java.lang.String sql)
createDBDataModel
在接口中 DataModelCreator
data
- 数据库查询类型的数据集sql
- sql语句public Calculator getCurrentCalculator()
getCurrentCalculator
在接口中 DataModelCreator
public long execute4Expand(Actor actor)
actor
- 分页方式public ResultBlock execute4Poly(Actor actor, long startTime)
actor
- 分页方式startTime
- 起始时间protected ResultECReport execute4ECReport(Actor actor, long startTime)
actor
- 分页方式startTime
- 起始计算时间public ResultECReport execute4FormElementCase(Actor actor, long startTime)
actor
- 分页方式startTime
- 起始计算时间public BoxCEProvider[] collectAndSortAsBoxArray(FArray data, boolean merge)
collectAndSortAsBoxArray
在接口中 SuperExecutor
public boolean checkAllBoxCE(FArray data)
checkAllBoxCE
在接口中 SuperExecutor
public java.lang.Object dealChartValueFormula(java.lang.Object value)
dealChartValueFormula
在接口中 SuperExecutor
public java.lang.Object[][] boxCE2Array2D(FArray data)
boxCE2Array2D
在接口中 SuperExecutor
public java.lang.Object[][] boxCE2Array2D4List(BoxCEProvider[] cate, BoxCEProvider[] secondCate, BoxCEProvider[] thirdCate, BoxCEProvider[] series, BoxCEProvider[] value, java.util.List categoryNameResultList, java.util.List secondLabels, java.util.List thirdLabels)
boxCE2Array2D4List
在接口中 SuperExecutor
public java.lang.Object[][] boxCE2Array2D(BoxCEProvider[] cate, BoxCEProvider[] series, BoxCEProvider[] value)
boxCE2Array2D
在接口中 SuperExecutor
public void iterateFamilyMembers(BoxCEProvider parent_box_ce, FamilyMemberAction action)
parent_box_ce
- action
- public SheetExecutorCellCase getBoxCase()