20 #ifndef INCLUDED_SC_INC_DPSDBTAB_HXX
21 #define INCLUDED_SC_INC_DPSDBTAB_HXX
25 #include <com/sun/star/sheet/DataImportMode.hpp>
27 #include <unordered_set>
38 css::sheet::DataImportMode
nType;
45 {
return aDBName == rOther.
aDBName &&
47 nType == rOther.
nType &&
49 mpDoc == rOther.
mpDoc; }
71 virtual void SetEmptyFlags(
bool bIgnoreEmptyRows,
bool bRepeatIfEmpty )
override;
74 virtual void FilterCacheTable(const ::std::vector<ScDPFilteredCache::Criterion>& rCriteria,
const std::unordered_set<sal_Int32>& rDataDims)
override;
75 virtual void GetDrillDownData(const ::std::vector<ScDPFilteredCache::Criterion>& rCriteria,
76 const std::unordered_set<sal_Int32>& rCatDims,
77 css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& rData)
override;
83 virtual void Dump()
const override;
This class represents source data from database source.
ScDPFilteredCache aCacheTable
This class has to do with handling exclusively grouped dimensions? TODO: Find out what this class doe...
virtual void Dump() const override
virtual void ReloadCacheTable() override
virtual void FilterCacheTable(const ::std::vector< ScDPFilteredCache::Criterion > &rCriteria, const std::unordered_set< sal_Int32 > &rDataDims) override
This class represents the cached data part of the datapilot cache table implementation.
exports com.sun.star. sheet
const ScDPCache * CreateCache(const ScDPDimensionSaveData *pDimData) const
virtual bool getIsDataLayoutDimension(sal_Int32 nColumn) override
ScImportSourceDesc(ScDocument *pDoc)
virtual void GetDrillDownData(const ::std::vector< ScDPFilteredCache::Criterion > &rCriteria, const std::unordered_set< sal_Int32 > &rCatDims, css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &rData) override
virtual void CalcResults(CalcInfo &rInfo, bool bAutoShow) override
virtual bool IsDateDimension(sal_Int32 nDim) override
This structure stores dimension information used when calculating results.
virtual void CreateCacheTable() override
ScDatabaseDPData(const ScDocument *pDoc, const ScDPCache &rCache)
virtual void SetEmptyFlags(bool bIgnoreEmptyRows, bool bRepeatIfEmpty) override
virtual void DisposeData() override
css::sheet::DataImportMode nType
virtual sal_Int32 GetColumnCount() override
use (new) typed collection instead of ScStrCollection or separate Str and ValueCollection ...
virtual OUString getDimensionName(sal_Int32 nColumn) override
Base class that abstracts different data source types of a datapilot table.
virtual ~ScDatabaseDPData() override
This class is only a wrapper to the actual cache, to provide filtering on the raw data based on the q...
sal_Int32 GetCommandType() const
virtual const ScDPFilteredCache & GetCacheTable() const override
bool operator==(const ScImportSourceDesc &rOther) const