-
Summary:
CheckIn:Fix bugzilla bug 177870 Allow design-time data set cache to be
controlled solely by AppContext in 2.1.3 and head
- Bugzilla Bug (s) Resolved:
[177870] Allow design-time data set cache to be controlled solely by AppContext
in 2.1.3 and head
-
Description:
Add a new API in DataEngine IResultMetaData getCachedDataSetMetaData, which
is behavior as followed:
1. This method will return
NULL if the named data set is not cached.
2. Otherwise, it will return
an IResultMetaData instance which provides at least the ColumnName
and ColumnType information for all cached
columns.
3.
The parameter info is usually important in the acquire of data set result, but
it has nothing to do with the meta, so we do not accept it as part of interface
declaration.
The test case is added as
well.
- Tests Description:
Unit Test.
- Files Edited:
In 2.1.3
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/DataEngine.java"
"/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/binding/DataSetCacheTest.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSourceAndDataSet.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ResultMetaData.java"
"/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/impl/ResultMetaDataTest.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSetCacheManager.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/DataEngineImpl.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/CacheMapManager.java"
In Head
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/DataEngine.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSourceAndDataSet.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSetCacheManager.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/DataEngineImpl.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/CacheMapManager.java"
"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/DataSetCacheTest.java"
- Files
Added:
N/A
- 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