OmniSciDB
a5dc49c757
|
Classes | |
class | MockSchema |
Public Member Functions | |
void | testSelect (String sql, Set< ImmutableList< String >> expectedSelects) throws Exception |
void | testUpdate (String sql, Set< ImmutableList< String >> expectedUpdates, Set< ImmutableList< String >> expectedSelects) throws Exception |
void | testInsert (String sql, Set< ImmutableList< String >> expectedInserts, Set< ImmutableList< String >> expectedSelects) throws Exception |
void | testDelete (String sql, Set< ImmutableList< String >> expectedDeletes, Set< ImmutableList< String >> expectedSelects) throws Exception |
void | testSelects () throws Exception |
void | testSelectsWithSchema () throws Exception |
void | testInserts () throws Exception |
void | testInsertsWithSchema () throws Exception |
void | testUpdates () throws Exception |
void | testUpdatesWithSchema () throws Exception |
void | testDeletes () throws Exception |
void | testDeletesWithSchema () throws Exception |
Static Public Member Functions | |
static ImmutableList< String > | asImmutableList (String...vals) |
static ImmutableList< String > | asImmutableList () |
static Set< ImmutableList < String > > | asSet (ImmutableList< String > val) |
static Set< ImmutableList < String > > | asSet (ImmutableList< String >...vals) |
static Set< ImmutableList < String > > | asSet () |
Private Member Functions | |
Planner | getPlanner () |
Definition at line 34 of file SqlIdentifierCapturerTest.java.
|
inlinestatic |
Definition at line 110 of file SqlIdentifierCapturerTest.java.
|
inlinestatic |
Definition at line 114 of file SqlIdentifierCapturerTest.java.
Referenced by com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDeletes(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDeletesWithSchema(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInserts(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInsertsWithSchema(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelects(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelectsWithSchema(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdates(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdatesWithSchema().
|
inlinestatic |
Definition at line 118 of file SqlIdentifierCapturerTest.java.
|
inlinestatic |
Definition at line 124 of file SqlIdentifierCapturerTest.java.
|
inlinestatic |
Definition at line 130 of file SqlIdentifierCapturerTest.java.
Referenced by com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDelete(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDeletes(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDeletesWithSchema(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInsert(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInserts(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInsertsWithSchema(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelect(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelects(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelectsWithSchema(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdate(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdates(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdatesWithSchema().
|
inlineprivate |
Definition at line 92 of file SqlIdentifierCapturerTest.java.
Referenced by com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDelete(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInsert(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelect(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdate().
|
inline |
Definition at line 170 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), org.apache.calcite.prepare.SqlIdentifierCapturer.deletes, com.mapd.parser.server.test.SqlIdentifierCapturerTest.getPlanner(), org.apache.calcite.prepare.SqlIdentifierCapturer.inserts, org.apache.calcite.prepare.SqlIdentifierCapturer.selects, and org.apache.calcite.prepare.SqlIdentifierCapturer.updates.
Referenced by com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDeletes(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDeletesWithSchema().
|
inline |
Definition at line 352 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asImmutableList(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDelete().
|
inline |
Definition at line 369 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asImmutableList(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDelete().
|
inline |
Definition at line 158 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), org.apache.calcite.prepare.SqlIdentifierCapturer.deletes, com.mapd.parser.server.test.SqlIdentifierCapturerTest.getPlanner(), org.apache.calcite.prepare.SqlIdentifierCapturer.inserts, org.apache.calcite.prepare.SqlIdentifierCapturer.selects, and org.apache.calcite.prepare.SqlIdentifierCapturer.updates.
Referenced by com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInserts(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInsertsWithSchema().
|
inline |
Definition at line 270 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asImmutableList(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInsert().
|
inline |
Definition at line 287 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asImmutableList(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInsert().
|
inline |
Definition at line 135 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), org.apache.calcite.prepare.SqlIdentifierCapturer.deletes, com.mapd.parser.server.test.SqlIdentifierCapturerTest.getPlanner(), org.apache.calcite.prepare.SqlIdentifierCapturer.inserts, org.apache.calcite.prepare.SqlIdentifierCapturer.selects, and org.apache.calcite.prepare.SqlIdentifierCapturer.updates.
Referenced by com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelects(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelectsWithSchema().
|
inline |
Definition at line 183 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asImmutableList(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelect().
|
inline |
Definition at line 225 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asImmutableList(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelect().
|
inline |
Definition at line 146 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), org.apache.calcite.prepare.SqlIdentifierCapturer.deletes, com.mapd.parser.server.test.SqlIdentifierCapturerTest.getPlanner(), org.apache.calcite.prepare.SqlIdentifierCapturer.inserts, org.apache.calcite.prepare.SqlIdentifierCapturer.selects, and org.apache.calcite.prepare.SqlIdentifierCapturer.updates.
Referenced by com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdates(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdatesWithSchema().
|
inline |
Definition at line 307 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asImmutableList(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdate().
|
inline |
Definition at line 327 of file SqlIdentifierCapturerTest.java.
References com.mapd.parser.server.test.SqlIdentifierCapturerTest.asImmutableList(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.asSet(), and com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdate().