Class org::apache::calcite::prepare::SqlIdentifierCapturer

class SqlIdentifierCapturer

scans from a root SqlNode and retrieves all SqlIdentifiers used in a query.

Public Functions

void org.apache.calcite.prepare.SqlIdentifierCapturer.scan(SqlNode root)
String org.apache.calcite.prepare.SqlIdentifierCapturer.toString()

Public Members

final Set<ImmutableList<String> > org.apache.calcite.prepare.SqlIdentifierCapturer.selects = new HashSet<>()
final Set<ImmutableList<String> > org.apache.calcite.prepare.SqlIdentifierCapturer.inserts = new HashSet<>()
final Set<ImmutableList<String> > org.apache.calcite.prepare.SqlIdentifierCapturer.updates = new HashSet<>()
final Set<ImmutableList<String> > org.apache.calcite.prepare.SqlIdentifierCapturer.deletes = new HashSet<>()

Public Static Functions

static void org.apache.calcite.prepare.SqlIdentifierCapturer.main(String[] args)

Private Members

IdentityHashMap<SqlNode, SqlNode> org.apache.calcite.prepare.SqlIdentifierCapturer.visitedNodes = new IdentityHashMap<>()
Stack<Set<ImmutableList<String> > > org.apache.calcite.prepare.SqlIdentifierCapturer.currentList = new Stack<>()
final Set<ImmutableList<String> > org.apache.calcite.prepare.SqlIdentifierCapturer.ignore = new HashSet<>()

Private Static Attributes

final Map<Class<?>, Set<Method> > org.apache.calcite.prepare.SqlIdentifierCapturer.GETTERS_CACHE= new ConcurrentHashMap<>()