OmniSciDB
a5dc49c757
|
Public Member Functions | |
void | scan (SqlNode root) |
String | toString () |
Static Public Member Functions | |
static void | main (String[] args) throws Exception |
Public Attributes | |
Set< ImmutableList< String > > | selects = new HashSet<>() |
Set< ImmutableList< String > > | inserts = new HashSet<>() |
Set< ImmutableList< String > > | updates = new HashSet<>() |
Set< ImmutableList< String > > | deletes = new HashSet<>() |
Package Functions | |
[instance initializer] | |
Set< Method > | getRelevantGetters (Object obj) |
Static Package Attributes | |
static final Logger | HEAVYDBLOGGER |
Private Attributes | |
IdentityHashMap< SqlNode, SqlNode > | visitedNodes = new IdentityHashMap<>() |
Stack< Set< ImmutableList < String > > > | currentList = new Stack<>() |
final Set< ImmutableList < String > > | ignore = new HashSet<>() |
Static Private Attributes | |
static final Map< Class <?>, Set< Method > > | GETTERS_CACHE |
scans from a root SqlNode and retrieves all SqlIdentifiers used in a query.
Definition at line 54 of file SqlIdentifierCapturer.java.
|
inlinepackage |
|
inlinepackage |
Definition at line 205 of file SqlIdentifierCapturer.java.
References setup.root.
Referenced by org.apache.calcite.prepare.SqlIdentifierCapturer.scan().
|
inlinestatic |
Definition at line 251 of file SqlIdentifierCapturer.java.
References run_benchmark_import.parser.
|
inline |
Definition at line 75 of file SqlIdentifierCapturer.java.
References org.apache.calcite.prepare.SqlIdentifierCapturer.deletes, org.apache.calcite.prepare.SqlIdentifierCapturer.getRelevantGetters(), org.apache.calcite.prepare.SqlIdentifierCapturer.ignore, org.apache.calcite.prepare.SqlIdentifierCapturer.inserts, setup.root, org.apache.calcite.prepare.SqlIdentifierCapturer.selects, org.apache.calcite.prepare.SqlIdentifierCapturer.updates, and org.apache.calcite.prepare.SqlIdentifierCapturer.visitedNodes.
|
inline |
Definition at line 240 of file SqlIdentifierCapturer.java.
References org.apache.calcite.prepare.SqlIdentifierCapturer.deletes, org.apache.calcite.prepare.SqlIdentifierCapturer.ignore, org.apache.calcite.prepare.SqlIdentifierCapturer.inserts, org.apache.calcite.prepare.SqlIdentifierCapturer.selects, and org.apache.calcite.prepare.SqlIdentifierCapturer.updates.
|
private |
Definition at line 63 of file SqlIdentifierCapturer.java.
Set<ImmutableList<String> > org.apache.calcite.prepare.SqlIdentifierCapturer.deletes = new HashSet<>() |
Definition at line 69 of file SqlIdentifierCapturer.java.
Referenced by com.mapd.calcite.parser.HeavyDBParser.captureIdentifiers(), org.apache.calcite.prepare.SqlIdentifierCapturer.scan(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDelete(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInsert(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelect(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdate(), and org.apache.calcite.prepare.SqlIdentifierCapturer.toString().
|
staticprivate |
Definition at line 58 of file SqlIdentifierCapturer.java.
|
staticpackage |
Definition at line 55 of file SqlIdentifierCapturer.java.
|
private |
Definition at line 71 of file SqlIdentifierCapturer.java.
Referenced by org.apache.calcite.prepare.SqlIdentifierCapturer.scan(), and org.apache.calcite.prepare.SqlIdentifierCapturer.toString().
Set<ImmutableList<String> > org.apache.calcite.prepare.SqlIdentifierCapturer.inserts = new HashSet<>() |
Definition at line 67 of file SqlIdentifierCapturer.java.
Referenced by com.mapd.calcite.parser.HeavyDBParser.captureIdentifiers(), org.apache.calcite.prepare.SqlIdentifierCapturer.scan(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDelete(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInsert(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelect(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdate(), and org.apache.calcite.prepare.SqlIdentifierCapturer.toString().
Set<ImmutableList<String> > org.apache.calcite.prepare.SqlIdentifierCapturer.selects = new HashSet<>() |
Definition at line 66 of file SqlIdentifierCapturer.java.
Referenced by com.mapd.calcite.parser.HeavyDBParser.captureIdentifiers(), com.mapd.calcite.parser.HeavyDBParser.resolveSelectIdentifiers(), org.apache.calcite.prepare.SqlIdentifierCapturer.scan(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDelete(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInsert(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelect(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdate(), and org.apache.calcite.prepare.SqlIdentifierCapturer.toString().
Set<ImmutableList<String> > org.apache.calcite.prepare.SqlIdentifierCapturer.updates = new HashSet<>() |
Definition at line 68 of file SqlIdentifierCapturer.java.
Referenced by com.mapd.calcite.parser.HeavyDBParser.captureIdentifiers(), org.apache.calcite.prepare.SqlIdentifierCapturer.scan(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testDelete(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testInsert(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testSelect(), com.mapd.parser.server.test.SqlIdentifierCapturerTest.testUpdate(), and org.apache.calcite.prepare.SqlIdentifierCapturer.toString().
|
private |
Definition at line 61 of file SqlIdentifierCapturer.java.
Referenced by org.apache.calcite.prepare.SqlIdentifierCapturer.scan().