diff options
author | Andrei Aiordachioaie <a.aiordachioaie@jacobs-university.de> | 2009-08-25 13:33:09 +0200 |
---|---|---|
committer | Peter Baumann <baumann@rasdaman.org> | 2009-08-27 09:38:08 +0200 |
commit | fd66ca862d4499378719e2a635c9f97df28b763d (patch) | |
tree | e11e40b69e30b4d553cd0bcdedb435849c22e0d0 /storagemgr/stgmddconfig.cc | |
parent | bb3139b97d956a8455649af82c0f3b705d2a8e55 (diff) | |
download | rasdaman-upstream-fd66ca862d4499378719e2a635c9f97df28b763d.tar.gz rasdaman-upstream-fd66ca862d4499378719e2a635c9f97df28b763d.tar.xz rasdaman-upstream-fd66ca862d4499378719e2a635c9f97df28b763d.zip |
Tiling & Indexing options added to rasql grammar
Diffstat (limited to 'storagemgr/stgmddconfig.cc')
-rwxr-xr-x | storagemgr/stgmddconfig.cc | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/storagemgr/stgmddconfig.cc b/storagemgr/stgmddconfig.cc new file mode 100755 index 0000000..c008479 --- /dev/null +++ b/storagemgr/stgmddconfig.cc @@ -0,0 +1,92 @@ +#include "storagemgr/stgmddconfig.hh" + +using namespace std; + +/**************************************************************************** + * + * + * INCLUDE: stgmddconfig.hh + * + * MODULE: qlparser + * CLASS: StgMddConfig + * + * CHANGE HISTORY (append further entries): + * when who what + * ----------------------------------------------------------------------- + * 17-Aug-09 aaiordachi create class (for adding rasql tiling options) + * COMMENTS: + * + ****************************************************************************/ + +StgMddConfig::StgMddConfig() +{} +StgMddConfig::~StgMddConfig() +{} + +// Setter functions +void StgMddConfig::setBBoxes(const vector<r_Minterval>& input) +{ + bboxes = input; +} + +void StgMddConfig::setSubTiling() +{ + subTiling = true; +} + +void StgMddConfig::resetSubTiling() +{ + subTiling = false; +} + +void StgMddConfig::setInterestThreshold(double i) +{ + interestThreshold = i; +} + +void StgMddConfig::setBorderThreshold(unsigned int b) +{ + borderThreshold = b; +} + +void StgMddConfig::setCellSize(int size) +{ + cellSize = size; +} + +void StgMddConfig::setDirDecompose(const vector<r_Dir_Decompose>& input) +{ + dirDecomp = input; +} + +// Getter functions +vector<r_Minterval>& StgMddConfig::getBBoxes() +{ + return bboxes; +} + +bool StgMddConfig::getSubTiling() +{ + return subTiling; +} + +double StgMddConfig::getInterestThreshold() +{ + return interestThreshold; +} + +unsigned int StgMddConfig::getBorderThreshold() +{ + return borderThreshold; +} + +int StgMddConfig::getCellSize() +{ + return cellSize; +} + +vector<r_Dir_Decompose>& StgMddConfig::getDirDecompose() +{ + return dirDecomp; +} + |