RootScope class

The root scope created by the SQL engine to analyze a statement.

This contains known tables (or views) and modules to look up.

Inheritance

Constructors

RootScope()

Properties

expansionOfStarColumn List<Column>?
The list of column to which a * would expand to.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
knownModules Map<String, Module>
Known modules that are registered for this statement.
final
knownTables Map<String, ResultSet>
All tables (or views, or other result sets) that are known in the current schema.
final
resultSetAvailableToChildScopes Iterable<ResultSetAvailableInStatement>
All available result sets that can also be seen in child scopes.
no setterinherited
rootScope RootScope
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAlias(AstNode origin, ResultSet resultSet, String alias, {bool canUseUnqualifiedColumns = true}) → void
Registers a ResultSetAvailableInStatement to a TableAlias for the given resultSet.
inherited
addResolvedResultSet(String? name, ResultSetAvailableInStatement resultSet) → void
Adds an added result set to this scope.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveResultSetForReference(String name) ResultSetAvailableInStatement?
Attempts to find a result set that has been added to this scope, for instance because it was introduced in a FROM clause.
inherited
resolveResultSetToAdd(String name) ResultSet?
Attempts to find a result set that can be added to a scope.
override
resolveUnqualifiedReference(String columnName, {bool allowReferenceToResultColumn = false}) List<Column>
Attempts to resolve an unqualified reference from a columnName.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited