rasdaman client API 10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
turboqueryresult.hh
Go to the documentation of this file.
1/*
2 * This file is part of rasdaman community.
3 *
4 * Rasdaman community is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * Rasdaman community is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
16 *
17 * Copyright 2003 - 2010 Peter Baumann / rasdaman GmbH.
18 *
19 * For more information please see <http://www.rasdaman.org>
20 * or contact Peter Baumann via <baumann@rasdaman.com>.
21*/
22
23#ifndef TURBOQUERYRESULT_H
24#define TURBOQUERYRESULT_H
25
26/*************************************************************
27*
28 * Copyright (C) 2003 Dr. Peter Baumann
29*
30 * INCLUDE: turboqueryresult.hh
31 *
32 * MODULE: raslib
33 * CLASS: TurboQueryResult
34 *
35 * CHANGE HISTORY (append further entries):
36 * when who what
37 * ----------------------------------------------------------
38 *
39 * COMMENTS:
40 * The class wraps the result of a query executed through Servercomm::executeTurboQuery()
41*/
42
43#include "raslib/mddtypes.hh"
44#include <string>
45
47{
48public:
49 TurboQueryResult(char *rawData, size_t rawDataSize, r_Data_Format data_format = r_Array,
50 std::string domain = "", bool *nullMask = nullptr, size_t nullMaskSize = 0);
51
53
54 std::string getDomain();
55
56 char *getRawData();
57
59
60 size_t getRawDataSize() const;
61
62 bool *getNullMask();
63
64 size_t getNullMaskSize() const;
65
66private:
67 char *rawData;
68 size_t rawDataSize;
69 std::string domain;
70 r_Data_Format data_format;
71 bool *nullMask;
72 size_t nullMaskSize;
73};
74
75#endif // TURBOQUERYRESULT_H
Definition turboqueryresult.hh:47
size_t getRawDataSize() const
TurboQueryResult(char *rawData, size_t rawDataSize, r_Data_Format data_format=r_Array, std::string domain="", bool *nullMask=nullptr, size_t nullMaskSize=0)
char * getRawData()
r_Data_Format getDataFormat()
std::string getDomain()
size_t getNullMaskSize() const
bool * getNullMask()
r_Data_Format
\begin{tabular}{ll} <tt>r_Array</tt> && no compression, row-major memory representation\...
Definition mddtypes.hh:94
@ r_Array
Definition mddtypes.hh:95