summaryrefslogtreecommitdiffstats
path: root/storagemgr/stgmddconfig.hh
diff options
context:
space:
mode:
authorAndrei Aiordachioaie <a.aiordachioaie@jacobs-university.de>2009-08-25 13:33:09 +0200
committerPeter Baumann <baumann@rasdaman.org>2009-08-27 09:38:08 +0200
commitfd66ca862d4499378719e2a635c9f97df28b763d (patch)
treee11e40b69e30b4d553cd0bcdedb435849c22e0d0 /storagemgr/stgmddconfig.hh
parentbb3139b97d956a8455649af82c0f3b705d2a8e55 (diff)
downloadrasdaman-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.hh')
-rwxr-xr-xstoragemgr/stgmddconfig.hh57
1 files changed, 57 insertions, 0 deletions
diff --git a/storagemgr/stgmddconfig.hh b/storagemgr/stgmddconfig.hh
new file mode 100755
index 0000000..4588715
--- /dev/null
+++ b/storagemgr/stgmddconfig.hh
@@ -0,0 +1,57 @@
+#ifndef _STORAGE_MDD_CONFIG_HH_
+#define _STORAGE_MDD_CONFIG_HH_
+
+#include <vector>
+#include "rasodmg/dirdecompose.hh"
+#include "raslib/minterval.hh"
+
+/****************************************************************************
+ *
+ *
+ * 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:
+ *
+ ****************************************************************************/
+
+class StgMddConfig
+ {
+ private:
+ std::vector<r_Minterval> bboxes;
+ double interestThreshold;
+ unsigned int borderThreshold;
+ bool subTiling;
+ int cellSize;
+ std::vector<r_Dir_Decompose> dirDecomp;
+
+ public:
+
+ StgMddConfig();
+ ~StgMddConfig();
+
+ // Setter functions
+ void setBBoxes(const std::vector<r_Minterval>& input);
+ void setSubTiling();
+ void resetSubTiling();
+ void setInterestThreshold(double i);
+ void setBorderThreshold(unsigned int b);
+ void setCellSize(int size);
+ void setDirDecompose(const std::vector<r_Dir_Decompose>& input);
+
+ // Getter functions
+ std::vector<r_Minterval>& getBBoxes();
+ bool getSubTiling();
+ double getInterestThreshold();
+ unsigned int getBorderThreshold();
+ int getCellSize();
+ std::vector<r_Dir_Decompose>& getDirDecompose();
+
+ };
+#endif