- Summary:
CheckIN:Implement new Aggregation framework in DtE
- Bugzilla Bug (s) Resolved:
No
-
Description:
The new Aggregation framework is introduced by this check in.
In formal BIRT, aggregation is calculated using Rhino script object Total. This
is both difficult to understanding in syntax and slow in performance.
The new
Aggregation framework now calculates the aggregations with JAVA. Use can define
aggregations using new IBinding interface. For details please consult to
xtab-data spec.
Please
note that we by now has not removed the support to old aggregation framework
yet. This will be done after model finished their backward compatibility jobs.
-
Tests Description:
Unit Test
- Files Edited:
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/JSResultSetRow.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odi/IResultIterator.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ServiceForQueryResults.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/i18n/Messages.properties"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/BindingColumnsEvalUtil.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/_expression_/ExprEvaluateUtil.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/querydefn/Binding.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/IBaseQueryDefinition.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/GroupBindingColumn.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ResultIterator.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/BaseQuery.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/IBaseExpression.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/CachedResultSet.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/ResultSetPopulator.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/pass/ResultSetProcessUtil.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/pass/PassManager.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/IComputedColumnsState.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/viewing/ExprMetaUtil.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ExprManager.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupProcessorManager.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/SmartCacheHelper.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/aggregation/package.html"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/_expression_/AbstractExpressionCompiler.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQuery.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/_expression_/MultiPassExpressionCompiler.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/querydefn/BaseQueryDefinition.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/i18n/ResourceConstants.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/viewing/DummyEventHandler.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odi/IEventHandler.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/viewing/BaseCachedResultSet.java"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/AllTests.java"
- Files
Added:
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/aggregation/AggrDefnManager.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odi/IAggrDefnManager.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odi/IAggrValueHolder.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/aggregation/AggrDefnRoundManager.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odi/IAggrInfo.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/aggregation/AggregationHelper.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/aggregation/AggrInfo.java"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/input/testData.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testAccessGroupC
olumn.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/ColumnBindingTest.java"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testNoDataSet.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testTopBottomPercent.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testNestedTotal.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testNestedTotal1.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testBasic2.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testComputedOnDataSet.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testBindingNameWithDoubleQuote.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testGroupFilteringSorting2.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testNestedTotal3.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/input/testDataBinding.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/impl/binding/input/testData2.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testGroupFiltering.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testMultipassWithAlias.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/ColumnBindingTest.java"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/MultiplePassTest.java"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testSimpleNestedTotal.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testGroupSorting.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testNestedTotal2.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/impl/binding/AggregationTest.java"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testTopBottmPercentWithOtherFilters.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testTop_Bottom_FilteringInGroupInstance_1.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testFilterOnDateType.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testFilterOnDataSet.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testInvalidFilter.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testMixedFiltering.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testMixedMultipassFilting.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testGroupFilteringSorting4.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testGroupFilteringSorting3.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testNestedTotal4.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testGroup.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testGroupFilteringSorting1.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testSpecialExpression2.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testTopBottomN.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testIndirectNestedTotal.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testNoDataSet2.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testFilterOnTable.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/impl/binding/golden/AggregationTest.test5.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testTopBottmNwithOtherFilters.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testAutoBinding.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testGroupSorting2.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/impl/binding/input/testData1.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testSpecialExpression3.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testSpecialExpression.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/ColumnBindingTest.testBasic.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/newbinding/golden/MultiplePassTest.testTop_Bottom_FilteringInGroupInstance_2.txt"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/impl/binding/golden/AggregationTest.test1.txt"
- Files Deleted:
N/A
- Notes to Build Team:
N/A
- Notes to Developers:
N/A
- Notes to QA:
N/A
- Notes to Documentation:
N/A