CompilerContextImpl, implementation of CompilerContext.
CompilerContext and hence CompilerContextImpl objects are private to a LanguageConnectionContext.
Add a dependency between two objects.
Parameters: d - The Dependent object. Parameters: p - The Provider of the dependency. exception: StandardException - thrown on failure.
Get the compilation schema descriptor for this compilation context.
Will be null if no default schema lookups have occured. Ie.
the statement is independent of the current schema.
the compilation schema descirptor
Return the reliability requirements of this clause. See setReliability()
for a definition of clause reliability.
a bitmask of which types of query fragments are to be forbidden
public void pushCurrentPrivType(int privType)(Code)
Sets the current privilege type context. Column and table nodes do not know
how they are being used. Higher level nodes in the query tree do not know what
is being referenced.
Keeping the context allows the two to come together.
Parameters: privType - One of the privilege types in org.apache.derby.iapi.sql.conn.Authorizer.
Set the compilation schema descriptor for this compilation context.
Parameters: newDefault - the compilation schema the previous compilation schema descirptor
Sets which kind of query fragments are NOT allowed. Basically,
these are fragments which return unstable results. CHECK CONSTRAINTS
and CREATE PUBLICATION want to forbid certain kinds of fragments.
Parameters: reliability - bitmask of types of query fragments to be forbiddensee the reliability bitmasks in CompilerContext.java