Definition at line 10 of file HeavyDBOptionsMap.java.
static void com.mapd.parser.extension.ddl.heavydb.HeavyDBOptionsMap.add |
( |
HeavyDBOptionsMap |
map, |
|
|
String |
key, |
|
|
SqlNode |
value |
|
) |
| |
|
inlinestatic |
Definition at line 11 of file HeavyDBOptionsMap.java.
12 if (value instanceof SqlLiteral) {
13 SqlLiteral literalValue = (SqlLiteral) value;
14 if (SqlTypeName.STRING_TYPES.contains(literalValue.getTypeName())) {
15 map.put(key, ((SqlLiteral) value).getValueAs(String.class));
17 map.put(key, ((SqlLiteral) value).getValue());
20 throw new CalciteException(
"Unsupported with value type for value : `"
21 + value.toString() +
"` (option : `" + key +
"`)",
The documentation for this class was generated from the following file:
- /home/jenkins-slave/workspace/core-os-doxygen/java/calcite/src/main/java/com/mapd/parser/extension/ddl/heavydb/HeavyDBOptionsMap.java