OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ExecuteRenderInterface.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2017 MapD Technologies, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #include "../../Descriptors/RelAlgExecutionDescriptor.h"
18 #include "../../Execute.h"
19 
20 std::shared_ptr<ResultSet> Executor::renderLinesNonInSitu(
21  const std::string& queryStr,
22  const ExecutionResult& results,
23  const Catalog_Namespace::SessionInfo& session,
24  const int render_widget_id,
25  const ::QueryRenderer::JSONLocation* data_loc,
26  RenderInfo* render_query_data) {
27  CHECK(false);
28  return nullptr;
29 }
30 
31 std::shared_ptr<ResultSet> renderPolygonsNonInSitu(
32  const std::string& queryStr,
33  const ExecutionResult& results,
34  const Catalog_Namespace::SessionInfo& session,
35  const int render_widget_id,
36  const ::QueryRenderer::JSONLocation* data_loc,
37  RenderInfo* render_query_data,
38  const std::string& poly_table_name) {
39  CHECK(false);
40  return nullptr;
41 }
42 
43 std::shared_ptr<ResultSet> renderPolygonsInSitu(
44  const std::string& queryStr,
45  const ExecutionResult& results,
46  const Catalog_Namespace::SessionInfo& session,
47  const int render_widget_id,
48  const ::QueryRenderer::JSONLocation* data_loc,
49  RenderInfo* render_query_data,
50  const std::string& poly_table_name) {
51  CHECK(false);
52  return nullptr;
53 }
54 
55 std::shared_ptr<ResultSet> renderLinesNonInSitu(
56  const std::string& queryStr,
57  const ExecutionResult& results,
58  const Catalog_Namespace::SessionInfo& session,
59  const int render_widget_id,
60  const ::QueryRenderer::JSONLocation* data_loc,
61  RenderInfo* render_query_data) {
62  CHECK(false);
63  return nullptr;
64 }
65 
66 std::vector<int32_t> Executor::getStringIds(
67  const std::string& col_name,
68  const std::vector<std::string>& col_vals,
69  const ::QueryRenderer::QueryDataLayout* query_data_layout,
70  const ResultSet* results,
71  const std::shared_ptr<RowSetMemoryOwner>& row_set_mem_owner,
72  const bool warn) const {
73  CHECK(false);
74  return {};
75 }
std::shared_ptr< ResultSet > renderLinesNonInSitu(const std::string &queryStr, const ExecutionResult &results, const Catalog_Namespace::SessionInfo &session, const int render_widget_id, const ::QueryRenderer::JSONLocation *data_loc, RenderInfo *render_query_data)
std::shared_ptr< ResultSet > renderPolygonsNonInSitu(const std::string &queryStr, const ExecutionResult &results, const Catalog_Namespace::SessionInfo &session, const int render_widget_id, const ::QueryRenderer::JSONLocation *data_loc, RenderInfo *render_query_data, const std::string &poly_table_name)
std::shared_ptr< ResultSet > renderPolygonsInSitu(const std::string &queryStr, const ExecutionResult &results, const Catalog_Namespace::SessionInfo &session, const int render_widget_id, const ::QueryRenderer::JSONLocation *data_loc, RenderInfo *render_query_data, const std::string &poly_table_name)
CHECK(cgen_state)
std::shared_ptr< ResultSet > renderLinesNonInSitu(const std::string &queryStr, const ExecutionResult &results, const Catalog_Namespace::SessionInfo &session, const int render_widget_id, const ::QueryRenderer::JSONLocation *data_loc, RenderInfo *render_query_data)
std::vector< int32_t > getStringIds(const std::string &col_name, const std::vector< std::string > &col_vals, const ::QueryRenderer::QueryDataLayout *query_data_layout, const ResultSet *results, const std::shared_ptr< RowSetMemoryOwner > &row_set_mem_owner, const bool warn=false) const