OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
enums.h
Go to the documentation of this file.
1 /*
2  * Copyright 2023 HEAVY.AI, 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 
22 #pragma once
23 
25 
26 namespace heavyai {
27 
29  ErrorCode,
30  (NO_ERROR, "No Error"),
31  (DIV_BY_ZERO, "Division by zero"),
32  (OUT_OF_GPU_MEM,
33  "Query couldn't keep the entire working set of columns in GPU memory"),
34  (OUT_OF_SLOTS, "Out of Slots"),
35  (UNSUPPORTED_SELF_JOIN, "Self joins not supported yet"),
36  (OUT_OF_RENDER_MEM,
37  "Insufficient GPU memory for query results in render output buffer sized by "
38  "render-mem-bytes"),
39  (OUT_OF_CPU_MEM, "Not enough host memory to execute the query"),
40  (OVERFLOW_OR_UNDERFLOW, "Overflow or underflow"),
41  (OUT_OF_TIME, "Query execution has exceeded the time limit"),
42  (INTERRUPTED, "Query execution has been interrupted"),
43  (COLUMNAR_CONVERSION_NOT_SUPPORTED,
44  "Columnar conversion not supported for variable length types"),
45  (TOO_MANY_LITERALS, "Too many literals in the query"),
46  (STRING_CONST_IN_RESULTSET,
47  "NONE ENCODED String types are not supported as input result set."),
48  (STREAMING_TOP_N_NOT_SUPPORTED_IN_RENDER_QUERY,
49  "Streaming-Top-N not supported in Render Query"),
50  (SINGLE_VALUE_FOUND_MULTIPLE_VALUES, "Multiple distinct values encountered"),
51  (GEOS, "Geo-related error"),
52  (WIDTH_BUCKET_INVALID_ARGUMENT,
53  "Arguments of WIDTH_BUCKET function does not satisfy the condition"),
54  (BBOX_OVERLAPS_LIMIT_EXCEEDED,
55  "Maximum supported number of bounding box overlaps exceeded"))
56 
57 HEAVYAI_DEFINE_ENUM_CLASS(QueryDescriptionType,
60  Projection,
63  Estimator)
64 
65 } // namespace heavyai
GroupByPerfectHash
Definition: enums.h:58
NonGroupedAggregate
Definition: enums.h:58
#define HEAVYAI_DEFINE_ENUM_CLASS(enum_class,...)
Projection
Definition: enums.h:58
TableFunction
Definition: enums.h:58
Macros/templates for defining enum classes and related utilities. Place macro calls in the heavyai na...
HEAVYAI_DEFINE_ENUM_CLASS_WITH_DESCRIPTIONS(ErrorCode,(NO_ERROR,"No Error"),(DIV_BY_ZERO,"Division by zero"),(OUT_OF_GPU_MEM,"Query couldn't keep the entire working set of columns in GPU memory"),(OUT_OF_SLOTS,"Out of Slots"),(UNSUPPORTED_SELF_JOIN,"Self joins not supported yet"),(OUT_OF_RENDER_MEM,"Insufficient GPU memory for query results in render output buffer sized by ""render-mem-bytes"),(OUT_OF_CPU_MEM,"Not enough host memory to execute the query"),(OVERFLOW_OR_UNDERFLOW,"Overflow or underflow"),(OUT_OF_TIME,"Query execution has exceeded the time limit"),(INTERRUPTED,"Query execution has been interrupted"),(COLUMNAR_CONVERSION_NOT_SUPPORTED,"Columnar conversion not supported for variable length types"),(TOO_MANY_LITERALS,"Too many literals in the query"),(STRING_CONST_IN_RESULTSET,"NONE ENCODED String types are not supported as input result set."),(STREAMING_TOP_N_NOT_SUPPORTED_IN_RENDER_QUERY,"Streaming-Top-N not supported in Render Query"),(SINGLE_VALUE_FOUND_MULTIPLE_VALUES,"Multiple distinct values encountered"),(GEOS,"Geo-related error"),(WIDTH_BUCKET_INVALID_ARGUMENT,"Arguments of WIDTH_BUCKET function does not satisfy the condition"),(BBOX_OVERLAPS_LIMIT_EXCEEDED,"Maximum supported number of bounding box overlaps exceeded")) HEAVYAI_DEFINE_ENUM_CLASS(QueryDescriptionType
GroupByBaselineHash
Definition: enums.h:58