OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.parser.extension.ddl.ForeignTableTest Class Reference
+ Inheritance diagram for com.mapd.parser.extension.ddl.ForeignTableTest:
+ Collaboration diagram for com.mapd.parser.extension.ddl.ForeignTableTest:

Public Member Functions

 ForeignTableTest ()
 
void createForeignTableOneCol () throws Exception
 
void createForeignTableDecimal () throws Exception
 
void createForeignTableDoubleDecimal () throws Exception
 
void createForeignTableIfNotExists () throws Exception
 
void createForeignTableTwoCol () throws Exception
 
void createForeignTableNotNull () throws Exception
 
void createForeignTableEncodingDict8 () throws Exception
 
void createForeignTableEncodingDict () throws Exception
 
void createForeignTableEncodingNone () throws Exception
 
void createForeignTableEncodingFixed1 () throws Exception
 
void createForeignTableEncodingDays1 () throws Exception
 
void createForeignTableEncodingCompressed32 () throws Exception
 
void createForeignTableEncodingCompressed () throws Exception
 
void createForeignTableEncodingNone1 () throws Exception
 
void createForeignTableEncodingFixedWithoutSize () throws Exception
 
void createForeignTableEncodingDaysWithoutSize () throws Exception
 
void createForeignTableColOptions () throws Exception
 
void createForeignTableOptions () throws Exception
 
void createForeignTableEscapeOption () throws Exception
 
void createForeignTableSchema () throws Exception
 
void createForeignTablePoint () throws Exception
 
void createForeignTableGeoPoint () throws Exception
 
void createForeignTableMultiPoint () throws Exception
 
void createForeignTableLinestring () throws Exception
 
void createForeignTableMultiLinestring () throws Exception
 
void createForeignTablePolygon () throws Exception
 
void createForeignTableMultiPolygon () throws Exception
 
void createForeignTableGeoPointMerc () throws Exception
 
void createForeignTableGeoPointWG () throws Exception
 
void createForeignTablePointCompressed () throws Exception
 
void createForeignTableBigInt () throws Exception
 
void createForeignTableBoolean () throws Exception
 
void createForeignTableDate () throws Exception
 
void createForeignTableDouble () throws Exception
 
void createForeignTableEpoch () throws Exception
 
void createForeignTableFloat () throws Exception
 
void createForeignTableSmallInt () throws Exception
 
void createForeignTableTime () throws Exception
 
void createForeignTableTimestamp () throws Exception
 
void createForeignTableTinyInt () throws Exception
 
void createForeignTableArraySized () throws Exception
 
void createForeignTableArrayUnsized () throws Exception
 
void dropForeignTable () throws Exception
 
void dropForeignTableIfExists () throws Exception
 
void refresh_foreign_table () throws Exception
 
void refresh_foreign_tables () throws Exception
 
void refresh_foreign_table_with_evict () throws Exception
 
void alterForeignTableSetOptions () throws Exception
 
void alterForeignTableRenameTable () throws Exception
 
void alterForeignTableRenameColumn () throws Exception
 
- Public Member Functions inherited from com.mapd.parser.extension.ddl.DDLTest
void setup () throws Exception
 

Additional Inherited Members

- Protected Attributes inherited from com.mapd.parser.extension.ddl.DDLTest
String resourceDirPath
 
String jsonTestDir
 
- Static Protected Attributes inherited from com.mapd.parser.extension.ddl.DDLTest
static final Gson gson = new Gson()
 
- Package Functions inherited from com.mapd.parser.extension.ddl.DDLTest
TPlanResult processDdlCommand (final String ddlCommand) throws Exception
 
JsonObject getJsonFromFile (final String fileName) throws Exception
 

Detailed Description

Definition at line 15 of file ForeignTableTest.java.

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.ForeignTableTest.ForeignTableTest ( )
inline

Definition at line 16 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.jsonTestDir, and com.mapd.parser.extension.ddl.DDLTest.resourceDirPath.

16  {
17  resourceDirPath = ForeignTableTest.class.getClassLoader().getResource("").getPath();
18  jsonTestDir = "foreigntable";
19  }

Member Function Documentation

void com.mapd.parser.extension.ddl.ForeignTableTest.alterForeignTableRenameColumn ( ) throws Exception
inline

Definition at line 519 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

519  {
520  final JsonObject expectedJsonObject =
521  getJsonFromFile("alter_foreign_table_rename_column.json");
522  final TPlanResult result = processDdlCommand(
523  "ALTER FOREIGN TABLE test_table RENAME COLUMN old_column TO new_column;");
524  final JsonObject actualJsonObject =
525  gson.fromJson(result.plan_result, JsonObject.class);
526  assertEquals(expectedJsonObject, actualJsonObject);
527  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.alterForeignTableRenameTable ( ) throws Exception
inline

Definition at line 508 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

508  {
509  final JsonObject expectedJsonObject =
510  getJsonFromFile("alter_foreign_table_rename_table.json");
511  final TPlanResult result =
512  processDdlCommand("ALTER FOREIGN TABLE test_table RENAME TO new_test_table;");
513  final JsonObject actualJsonObject =
514  gson.fromJson(result.plan_result, JsonObject.class);
515  assertEquals(expectedJsonObject, actualJsonObject);
516  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.alterForeignTableSetOptions ( ) throws Exception
inline

Definition at line 497 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

497  {
498  final JsonObject expectedJsonObject =
499  getJsonFromFile("alter_foreign_table_set_options.json");
500  final TPlanResult result = processDdlCommand(
501  "ALTER FOREIGN TABLE test_table SET (base_path = '/home/my_user/data/new-csv/');");
502  final JsonObject actualJsonObject =
503  gson.fromJson(result.plan_result, JsonObject.class);
504  assertEquals(expectedJsonObject, actualJsonObject);
505  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableArraySized ( ) throws Exception
inline

Definition at line 428 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

428  {
429  final JsonObject expectedJsonObject = getJsonFromFile("cft_ArraySized.json");
430  final TPlanResult result = processDdlCommand(
431  "CREATE FOREIGN TABLE test_table (test_column_1 INTEGER[5]) SERVER test_server;");
432  final JsonObject actualJsonObject =
433  gson.fromJson(result.plan_result, JsonObject.class);
434  assertEquals(expectedJsonObject, actualJsonObject);
435  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableArrayUnsized ( ) throws Exception
inline

Definition at line 438 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

438  {
439  final JsonObject expectedJsonObject = getJsonFromFile("cft_ArrayUnsized.json");
440  final TPlanResult result = processDdlCommand(
441  "CREATE FOREIGN TABLE test_table (test_column_1 INTEGER[]) SERVER test_server;");
442  final JsonObject actualJsonObject =
443  gson.fromJson(result.plan_result, JsonObject.class);
444  assertEquals(expectedJsonObject, actualJsonObject);
445  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableBigInt ( ) throws Exception
inline

Definition at line 328 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

328  {
329  final JsonObject expectedJsonObject = getJsonFromFile("cft_BigInt.json");
330  final TPlanResult result = processDdlCommand(
331  "CREATE FOREIGN TABLE test_table (test_column_1 BIGINT) SERVER test_server;");
332  final JsonObject actualJsonObject =
333  gson.fromJson(result.plan_result, JsonObject.class);
334  assertEquals(expectedJsonObject, actualJsonObject);
335  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableBoolean ( ) throws Exception
inline

Definition at line 338 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

338  {
339  final JsonObject expectedJsonObject = getJsonFromFile("cft_Boolean.json");
340  final TPlanResult result = processDdlCommand(
341  "CREATE FOREIGN TABLE test_table (test_column_1 BOOLEAN) SERVER test_server;");
342  final JsonObject actualJsonObject =
343  gson.fromJson(result.plan_result, JsonObject.class);
344  assertEquals(expectedJsonObject, actualJsonObject);
345  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableColOptions ( ) throws Exception
inline

Definition at line 184 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

184  {
185  final JsonObject expectedJsonObject = getJsonFromFile("cft_ColOptions.json");
186  final TPlanResult result =
187  processDdlCommand("CREATE FOREIGN TABLE test_table (test_column_1 INTEGER "
188  + "WITH ( option_1 = 'value_1', option_2 = 2)) SERVER test_server;");
189  final JsonObject actualJsonObject =
190  gson.fromJson(result.plan_result, JsonObject.class);
191  assertEquals(expectedJsonObject, actualJsonObject);
192  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableDate ( ) throws Exception
inline

Definition at line 348 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

348  {
349  final JsonObject expectedJsonObject = getJsonFromFile("cft_Date.json");
350  final TPlanResult result = processDdlCommand(
351  "CREATE FOREIGN TABLE test_table (test_column_1 DATE) SERVER test_server;");
352  final JsonObject actualJsonObject =
353  gson.fromJson(result.plan_result, JsonObject.class);
354  assertEquals(expectedJsonObject, actualJsonObject);
355  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableDecimal ( ) throws Exception
inline

Definition at line 32 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

32  {
33  final JsonObject expectedJsonObject = getJsonFromFile("cft_Decimal.json");
34  final TPlanResult result = processDdlCommand(
35  "CREATE FOREIGN TABLE test_table (test_column_1 DECIMAL(10, 6)) SERVER test_server;");
36  final JsonObject actualJsonObject =
37  gson.fromJson(result.plan_result, JsonObject.class);
38  assertEquals(expectedJsonObject, actualJsonObject);
39  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableDouble ( ) throws Exception
inline

Definition at line 358 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

358  {
359  final JsonObject expectedJsonObject = getJsonFromFile("cft_Double.json");
360  final TPlanResult result = processDdlCommand(
361  "CREATE FOREIGN TABLE test_table (test_column_1 DOUBLE) SERVER test_server;");
362  final JsonObject actualJsonObject =
363  gson.fromJson(result.plan_result, JsonObject.class);
364  assertEquals(expectedJsonObject, actualJsonObject);
365  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableDoubleDecimal ( ) throws Exception
inline

Definition at line 42 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

42  {
43  final JsonObject expectedJsonObject = getJsonFromFile("cft_Decimal.json");
44  final TPlanResult result = processDdlCommand(
45  "CREATE FOREIGN TABLE test_table (test_column_1 DECIMAL(10, 6)(11,5)) SERVER test_server;");
46  final JsonObject actualJsonObject =
47  gson.fromJson(result.plan_result, JsonObject.class);
48  assertEquals(expectedJsonObject, actualJsonObject);
49  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEncodingCompressed ( ) throws Exception
inline

Definition at line 152 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

152  {
153  final JsonObject expectedJsonObject = getJsonFromFile("cft_Encoding_Compressed.json");
154  final TPlanResult result = processDdlCommand(
155  "CREATE FOREIGN TABLE test_table (test_column_1 TEXT ENCODING COMPRESSED) "
156  + "SERVER test_server");
157  final JsonObject actualJsonObject =
158  gson.fromJson(result.plan_result, JsonObject.class);
159  assertEquals(expectedJsonObject, actualJsonObject);
160  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEncodingCompressed32 ( ) throws Exception
inline

Definition at line 140 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

140  {
141  final JsonObject expectedJsonObject =
142  getJsonFromFile("cft_Encoding_Compressed32.json");
143  final TPlanResult result = processDdlCommand(
144  "CREATE FOREIGN TABLE test_table (test_column_1 TEXT ENCODING COMPRESSED(32)) "
145  + "SERVER test_server");
146  final JsonObject actualJsonObject =
147  gson.fromJson(result.plan_result, JsonObject.class);
148  assertEquals(expectedJsonObject, actualJsonObject);
149  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEncodingDays1 ( ) throws Exception
inline

Definition at line 129 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

129  {
130  final JsonObject expectedJsonObject = getJsonFromFile("cft_Encoding_Days1.json");
131  final TPlanResult result = processDdlCommand(
132  "CREATE FOREIGN TABLE test_table (test_column_1 TEXT ENCODING DAYS(1)) "
133  + "SERVER test_server");
134  final JsonObject actualJsonObject =
135  gson.fromJson(result.plan_result, JsonObject.class);
136  assertEquals(expectedJsonObject, actualJsonObject);
137  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEncodingDaysWithoutSize ( ) throws Exception
inline

Definition at line 177 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

177  {
178  final TPlanResult result = processDdlCommand(
179  "CREATE FOREIGN TABLE test_table (test_column_1 TEXT ENCODING DAYS) "
180  + "SERVER test_server");
181  }
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEncodingDict ( ) throws Exception
inline

Definition at line 96 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

96  {
97  final JsonObject expectedJsonObject = getJsonFromFile("cft_Encoding_Dict.json");
98  final TPlanResult result = processDdlCommand(
99  "CREATE FOREIGN TABLE test_table (test_column_1 TEXT ENCODING DICT) "
100  + "SERVER test_server");
101  final JsonObject actualJsonObject =
102  gson.fromJson(result.plan_result, JsonObject.class);
103  assertEquals(expectedJsonObject, actualJsonObject);
104  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEncodingDict8 ( ) throws Exception
inline

Definition at line 85 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

85  {
86  final JsonObject expectedJsonObject = getJsonFromFile("cft_Encoding_Dict8.json");
87  final TPlanResult result = processDdlCommand(
88  "CREATE FOREIGN TABLE test_table (test_column_1 TEXT ENCODING DICT(8)) "
89  + "SERVER test_server");
90  final JsonObject actualJsonObject =
91  gson.fromJson(result.plan_result, JsonObject.class);
92  assertEquals(expectedJsonObject, actualJsonObject);
93  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEncodingFixed1 ( ) throws Exception
inline

Definition at line 118 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

118  {
119  final JsonObject expectedJsonObject = getJsonFromFile("cft_Encoding_Fixed1.json");
120  final TPlanResult result = processDdlCommand(
121  "CREATE FOREIGN TABLE test_table (test_column_1 TEXT ENCODING FIXED(1)) "
122  + "SERVER test_server");
123  final JsonObject actualJsonObject =
124  gson.fromJson(result.plan_result, JsonObject.class);
125  assertEquals(expectedJsonObject, actualJsonObject);
126  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEncodingFixedWithoutSize ( ) throws Exception
inline

Definition at line 170 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

170  {
171  final TPlanResult result = processDdlCommand(
172  "CREATE FOREIGN TABLE test_table (test_column_1 TEXT ENCODING FIXED) "
173  + "SERVER test_server");
174  }
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEncodingNone ( ) throws Exception
inline

Definition at line 107 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

107  {
108  final JsonObject expectedJsonObject = getJsonFromFile("cft_Encoding_None.json");
109  final TPlanResult result = processDdlCommand(
110  "CREATE FOREIGN TABLE test_table (test_column_1 TEXT ENCODING NONE) "
111  + "SERVER test_server");
112  final JsonObject actualJsonObject =
113  gson.fromJson(result.plan_result, JsonObject.class);
114  assertEquals(expectedJsonObject, actualJsonObject);
115  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEncodingNone1 ( ) throws Exception
inline

Definition at line 163 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

163  {
164  final TPlanResult result = processDdlCommand(
165  "CREATE FOREIGN TABLE test_table (test_column_1 TEXT ENCODING NONE(1)) "
166  + "SERVER test_server");
167  }
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEpoch ( ) throws Exception
inline

Definition at line 368 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

368  {
369  final JsonObject expectedJsonObject = getJsonFromFile("cft_Epoch.json");
370  final TPlanResult result = processDdlCommand(
371  "CREATE FOREIGN TABLE test_table (test_column_1 EPOCH) SERVER test_server;");
372  final JsonObject actualJsonObject =
373  gson.fromJson(result.plan_result, JsonObject.class);
374  assertEquals(expectedJsonObject, actualJsonObject);
375  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableEscapeOption ( ) throws Exception
inline

Definition at line 206 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

206  {
207  final JsonObject expectedJsonObject = getJsonFromFile("cft_EscapeOption.json");
208  final TPlanResult result =
209  processDdlCommand("CREATE FOREIGN TABLE test_table (test_column_1 INTEGER) "
210  + "SERVER test_server WITH ( escape = '\\');");
211  final JsonObject actualJsonObject =
212  gson.fromJson(result.plan_result, JsonObject.class);
213  assertEquals(expectedJsonObject, actualJsonObject);
214  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableFloat ( ) throws Exception
inline

Definition at line 378 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

378  {
379  final JsonObject expectedJsonObject = getJsonFromFile("cft_Float.json");
380  final TPlanResult result = processDdlCommand(
381  "CREATE FOREIGN TABLE test_table (test_column_1 FLOAT) SERVER test_server;");
382  final JsonObject actualJsonObject =
383  gson.fromJson(result.plan_result, JsonObject.class);
384  assertEquals(expectedJsonObject, actualJsonObject);
385  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableGeoPoint ( ) throws Exception
inline

Definition at line 238 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

238  {
239  final JsonObject expectedJsonObject = getJsonFromFile("cft_Point.json");
240  final TPlanResult result = processDdlCommand(
241  "CREATE FOREIGN TABLE test_table (test_column_1 GEOMETRY(POINT)) SERVER test_server;");
242  final JsonObject actualJsonObject =
243  gson.fromJson(result.plan_result, JsonObject.class);
244  assertEquals(expectedJsonObject, actualJsonObject);
245  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableGeoPointMerc ( ) throws Exception
inline

Definition at line 298 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

298  {
299  final JsonObject expectedJsonObject = getJsonFromFile("cft_GeoPointMerc.json");
300  final TPlanResult result = processDdlCommand(
301  "CREATE FOREIGN TABLE test_table (test_column_1 GEOMETRY(POINT, 900913)) SERVER test_server;");
302  final JsonObject actualJsonObject =
303  gson.fromJson(result.plan_result, JsonObject.class);
304  assertEquals(expectedJsonObject, actualJsonObject);
305  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableGeoPointWG ( ) throws Exception
inline

Definition at line 308 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

308  {
309  final JsonObject expectedJsonObject = getJsonFromFile("cft_GeoPointWG.json");
310  final TPlanResult result = processDdlCommand(
311  "CREATE FOREIGN TABLE test_table (test_column_1 GEOMETRY(POINT, 4326)) SERVER test_server;");
312  final JsonObject actualJsonObject =
313  gson.fromJson(result.plan_result, JsonObject.class);
314  assertEquals(expectedJsonObject, actualJsonObject);
315  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableIfNotExists ( ) throws Exception
inline

Definition at line 52 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

52  {
53  final JsonObject expectedJsonObject = getJsonFromFile("cft_IfNotExists.json");
54  final TPlanResult result = processDdlCommand(
55  "CREATE FOREIGN TABLE IF NOT EXISTS test_table (test_column_1 INTEGER) "
56  + "SERVER test_server;");
57  final JsonObject actualJsonObject =
58  gson.fromJson(result.plan_result, JsonObject.class);
59  assertEquals(expectedJsonObject, actualJsonObject);
60  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableLinestring ( ) throws Exception
inline

Definition at line 258 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

258  {
259  final JsonObject expectedJsonObject = getJsonFromFile("cft_Linestring.json");
260  final TPlanResult result = processDdlCommand(
261  "CREATE FOREIGN TABLE test_table (test_column_1 LINESTRING) SERVER test_server;");
262  final JsonObject actualJsonObject =
263  gson.fromJson(result.plan_result, JsonObject.class);
264  assertEquals(expectedJsonObject, actualJsonObject);
265  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableMultiLinestring ( ) throws Exception
inline

Definition at line 268 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

268  {
269  final JsonObject expectedJsonObject = getJsonFromFile("cft_MultiLinestring.json");
270  final TPlanResult result = processDdlCommand(
271  "CREATE FOREIGN TABLE test_table (test_column_1 MULTILINESTRING) SERVER test_server;");
272  final JsonObject actualJsonObject =
273  gson.fromJson(result.plan_result, JsonObject.class);
274  assertEquals(expectedJsonObject, actualJsonObject);
275  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableMultiPoint ( ) throws Exception
inline

Definition at line 248 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

248  {
249  final JsonObject expectedJsonObject = getJsonFromFile("cft_MultiPoint.json");
250  final TPlanResult result = processDdlCommand(
251  "CREATE FOREIGN TABLE test_table (test_column_1 MULTIPOINT) SERVER test_server;");
252  final JsonObject actualJsonObject =
253  gson.fromJson(result.plan_result, JsonObject.class);
254  assertEquals(expectedJsonObject, actualJsonObject);
255  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableMultiPolygon ( ) throws Exception
inline

Definition at line 288 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

288  {
289  final JsonObject expectedJsonObject = getJsonFromFile("cft_MultiPolygon.json");
290  final TPlanResult result = processDdlCommand(
291  "CREATE FOREIGN TABLE test_table (test_column_1 MULTIPOLYGON) SERVER test_server;");
292  final JsonObject actualJsonObject =
293  gson.fromJson(result.plan_result, JsonObject.class);
294  assertEquals(expectedJsonObject, actualJsonObject);
295  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableNotNull ( ) throws Exception
inline

Definition at line 74 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

74  {
75  final JsonObject expectedJsonObject = getJsonFromFile("cft_NotNull.json");
76  final TPlanResult result = processDdlCommand(
77  "CREATE FOREIGN TABLE test_table (test_column_1 INTEGER NOT NULL) "
78  + "SERVER test_server;");
79  final JsonObject actualJsonObject =
80  gson.fromJson(result.plan_result, JsonObject.class);
81  assertEquals(expectedJsonObject, actualJsonObject);
82  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableOneCol ( ) throws Exception
inline

Definition at line 22 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

22  {
23  final JsonObject expectedJsonObject = getJsonFromFile("cft_OneCol.json");
24  final TPlanResult result = processDdlCommand(
25  "CREATE FOREIGN TABLE test_table (test_column_1 INTEGER) SERVER test_server;");
26  final JsonObject actualJsonObject =
27  gson.fromJson(result.plan_result, JsonObject.class);
28  assertEquals(expectedJsonObject, actualJsonObject);
29  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableOptions ( ) throws Exception
inline

Definition at line 195 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

195  {
196  final JsonObject expectedJsonObject = getJsonFromFile("cft_Options.json");
197  final TPlanResult result =
198  processDdlCommand("CREATE FOREIGN TABLE test_table (test_column_1 INTEGER) "
199  + "SERVER test_server WITH ( option_1 = 'value_1', option_2 = 2);");
200  final JsonObject actualJsonObject =
201  gson.fromJson(result.plan_result, JsonObject.class);
202  assertEquals(expectedJsonObject, actualJsonObject);
203  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTablePoint ( ) throws Exception
inline

Definition at line 228 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

228  {
229  final JsonObject expectedJsonObject = getJsonFromFile("cft_Point.json");
230  final TPlanResult result = processDdlCommand(
231  "CREATE FOREIGN TABLE test_table (test_column_1 POINT) SERVER test_server;");
232  final JsonObject actualJsonObject =
233  gson.fromJson(result.plan_result, JsonObject.class);
234  assertEquals(expectedJsonObject, actualJsonObject);
235  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTablePointCompressed ( ) throws Exception
inline

Definition at line 318 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

318  {
319  final JsonObject expectedJsonObject = getJsonFromFile("cft_PointCompressed.json");
320  final TPlanResult result = processDdlCommand(
321  "CREATE FOREIGN TABLE test_table (test_column_1 POINT ENCODING COMPRESSED(32)) SERVER test_server;");
322  final JsonObject actualJsonObject =
323  gson.fromJson(result.plan_result, JsonObject.class);
324  assertEquals(expectedJsonObject, actualJsonObject);
325  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTablePolygon ( ) throws Exception
inline

Definition at line 278 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

278  {
279  final JsonObject expectedJsonObject = getJsonFromFile("cft_Polygon.json");
280  final TPlanResult result = processDdlCommand(
281  "CREATE FOREIGN TABLE test_table (test_column_1 POLYGON) SERVER test_server;");
282  final JsonObject actualJsonObject =
283  gson.fromJson(result.plan_result, JsonObject.class);
284  assertEquals(expectedJsonObject, actualJsonObject);
285  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableSchema ( ) throws Exception
inline

Definition at line 217 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

217  {
218  final JsonObject expectedJsonObject = getJsonFromFile("cft_Schema.json");
219  final TPlanResult result =
220  processDdlCommand("CREATE FOREIGN TABLE test_table SCHEMA 'test_schema' "
221  + "SERVER test_server;");
222  final JsonObject actualJsonObject =
223  gson.fromJson(result.plan_result, JsonObject.class);
224  assertEquals(expectedJsonObject, actualJsonObject);
225  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableSmallInt ( ) throws Exception
inline

Definition at line 388 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

388  {
389  final JsonObject expectedJsonObject = getJsonFromFile("cft_SmallInt.json");
390  final TPlanResult result = processDdlCommand(
391  "CREATE FOREIGN TABLE test_table (test_column_1 SMALLINT) SERVER test_server;");
392  final JsonObject actualJsonObject =
393  gson.fromJson(result.plan_result, JsonObject.class);
394  assertEquals(expectedJsonObject, actualJsonObject);
395  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableTime ( ) throws Exception
inline

Definition at line 398 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

398  {
399  final JsonObject expectedJsonObject = getJsonFromFile("cft_Time.json");
400  final TPlanResult result = processDdlCommand(
401  "CREATE FOREIGN TABLE test_table (test_column_1 TIME) SERVER test_server;");
402  final JsonObject actualJsonObject =
403  gson.fromJson(result.plan_result, JsonObject.class);
404  assertEquals(expectedJsonObject, actualJsonObject);
405  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableTimestamp ( ) throws Exception
inline

Definition at line 408 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

408  {
409  final JsonObject expectedJsonObject = getJsonFromFile("cft_TimeStamp.json");
410  final TPlanResult result = processDdlCommand(
411  "CREATE FOREIGN TABLE test_table (test_column_1 TIMESTAMP) SERVER test_server;");
412  final JsonObject actualJsonObject =
413  gson.fromJson(result.plan_result, JsonObject.class);
414  assertEquals(expectedJsonObject, actualJsonObject);
415  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableTinyInt ( ) throws Exception
inline

Definition at line 418 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

418  {
419  final JsonObject expectedJsonObject = getJsonFromFile("cft_TinyInt.json");
420  final TPlanResult result = processDdlCommand(
421  "CREATE FOREIGN TABLE test_table (test_column_1 TINYINT) SERVER test_server;");
422  final JsonObject actualJsonObject =
423  gson.fromJson(result.plan_result, JsonObject.class);
424  assertEquals(expectedJsonObject, actualJsonObject);
425  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.createForeignTableTwoCol ( ) throws Exception
inline

Definition at line 63 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

63  {
64  final JsonObject expectedJsonObject = getJsonFromFile("cft_TwoCol.json");
65  final TPlanResult result = processDdlCommand(
66  "CREATE FOREIGN TABLE test_table (test_column_1 INTEGER, test_column_2 TEXT) "
67  + "SERVER test_server;");
68  final JsonObject actualJsonObject =
69  gson.fromJson(result.plan_result, JsonObject.class);
70  assertEquals(expectedJsonObject, actualJsonObject);
71  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.dropForeignTable ( ) throws Exception
inline

Definition at line 448 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

448  {
449  final JsonObject expectedJsonObject = getJsonFromFile("dft.json");
450  final TPlanResult result = processDdlCommand("DROP FOREIGN TABLE test_table;");
451  final JsonObject actualJsonObject =
452  gson.fromJson(result.plan_result, JsonObject.class);
453  assertEquals(expectedJsonObject, actualJsonObject);
454  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.dropForeignTableIfExists ( ) throws Exception
inline

Definition at line 457 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

457  {
458  final JsonObject expectedJsonObject = getJsonFromFile("dft_ifExists.json");
459  final TPlanResult result =
460  processDdlCommand("DROP FOREIGN TABLE IF EXISTS test_table;");
461  final JsonObject actualJsonObject =
462  gson.fromJson(result.plan_result, JsonObject.class);
463  assertEquals(expectedJsonObject, actualJsonObject);
464  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.refresh_foreign_table ( ) throws Exception
inline

Definition at line 467 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

467  {
468  final JsonObject expectedJsonObject = getJsonFromFile("refresh_foreign_table.json");
469  final TPlanResult result = processDdlCommand("REFRESH FOREIGN TABLES test_table");
470  final JsonObject actualJsonObject =
471  gson.fromJson(result.plan_result, JsonObject.class);
472  assertEquals(expectedJsonObject, actualJsonObject);
473  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.refresh_foreign_table_with_evict ( ) throws Exception
inline

Definition at line 486 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

486  {
487  final JsonObject expectedJsonObject =
488  getJsonFromFile("refresh_foreign_table_with_evict.json");
489  final TPlanResult result =
490  processDdlCommand("REFRESH FOREIGN TABLES test_table WITH (evict = 'true')");
491  final JsonObject actualJsonObject =
492  gson.fromJson(result.plan_result, JsonObject.class);
493  assertEquals(expectedJsonObject, actualJsonObject);
494  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:

void com.mapd.parser.extension.ddl.ForeignTableTest.refresh_foreign_tables ( ) throws Exception
inline

Definition at line 476 of file ForeignTableTest.java.

References com.mapd.parser.extension.ddl.DDLTest.getJsonFromFile(), com.mapd.parser.extension.ddl.DDLTest.processDdlCommand(), and run_benchmark_import.result.

476  {
477  final JsonObject expectedJsonObject = getJsonFromFile("refresh_foreign_tables.json");
478  final TPlanResult result =
479  processDdlCommand("REFRESH FOREIGN TABLES test_table, test_table2");
480  final JsonObject actualJsonObject =
481  gson.fromJson(result.plan_result, JsonObject.class);
482  assertEquals(expectedJsonObject, actualJsonObject);
483  }
JsonObject getJsonFromFile(final String fileName)
Definition: DDLTest.java:51
TPlanResult processDdlCommand(final String ddlCommand)
Definition: DDLTest.java:35

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: