Top Description Fields Methods
org.apache.derby.iapi.sql.compile

public Interface CompilerContext

extends Context
Known Direct Implementers
org.apache.derby.impl.sql.compile.CompilerContextImpl
Imports
java.sql.SQLWarning, java.util.List, org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.services.compiler.JavaFactory, org.apache.derby.iapi.services.context.Context, org.apache.derby.iapi.services.loader.ClassFactory, org.apache.derby.iapi.sql.depend.Dependent, .Provider, .ProviderList, org.apache.derby.iapi.sql.dictionary.AliasDescriptor, .ColumnDescriptor, .PrivilegedSQLObject, .SchemaDescriptor, .SequenceDescriptor, .StatementPermission, .TableDescriptor, org.apache.derby.iapi.store.access.SortCostController, .StoreCostController, org.apache.derby.impl.sql.compile.ParameterNode

CompilerContext stores the parser and type id factory to be used by the compiler. Stack compiler contexts when a new, local parser is needed (if calling the compiler recursively from within the compiler, for example). CompilerContext objects are private to a LanguageConnectionContext. History: 5/22/97 Moved getExternalInterfaceFactory() to LanguageConnectionContext because it had to be used at execution. - Jeff

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final String
CONTEXT_ID

this is the ID we expect compiler contexts to be stored into a context manager under.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
INTERNAL_SQL_LEGAL

Any SQL we support is legal

public static final int
MODIFIES_SQL_DATA_PROCEDURE_ILLEGAL

Calling procedures that modify sql data from before triggers is illegal.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
SQL_LEGAL

Standard SQL is legal

public static final int
public static final int
public static final int
public static final int
public static final String

Method Summary

Modifier and TypeMethod and Description
public void
addPrivilegeFilter(VisitableFilter vf)

Add a filter for determining which QueryTreeNodes give rise to privilege checks at run time.

public void
addReferencedSequence(SequenceDescriptor sd)

Add a sequence descriptor to the list of referenced sequences.

public void
addRequiredColumnPriv(ColumnDescriptor column)

Add a column privilege to the list of used column privileges.

public void
addRequiredRolePriv(String roleName, int privType)

Add a required role privilege to the list of privileges.

public void
addRequiredRoutinePriv(AliasDescriptor routine)

Add a routine execute privilege to the list of used routine privileges.

public void
addRequiredSchemaPriv(String
Schema name of the object that is being accessed
schema
,
String
Requested authorizationId for new schema
aid
,
int
CREATE_SCHEMA_PRIV, MODIFY_SCHEMA_PRIV or DROP_SCHEMA_PRIV
privType
)

Add a schema privilege to the list of used privileges.

public void
addRequiredTablePriv(TableDescriptor table)

Add a table or view privilege to the list of used table privileges.

public void
addRequiredUsagePriv(PrivilegedSQLObject usableObject)

Add a usage privilege to the list of required privileges.

public int

Returns:

the entry # for the object
addSavedObject
(Object
object to add to the pool of saved objects
o
)

Add an object to the pool that is created at compile time and used at execution time.

public void
addWarning(SQLWarning warning)

Add a compile time warning.

public void
beginScope(String scopeName)

Record that the compiler is entering a named scope.

public void
createDependency(Provider
The Provider of the dependency.
p
)

Add a dependency for the current dependent.

public void
createDependency(Dependent
The Dependent object.
d
,
Provider
The Provider of the dependency.
p
)

Add a dependency between two objects.

public void
endScope(String scopeName)

Record that the compiler is exiting a named scope.

public void
firstOnStack()

Mark this CompilerContext as the first on the stack, so we can avoid continually popping and pushing a CompilerContext.

public ClassFactory
getClassFactory()

Return the class factory to use in this compilation.

public SchemaDescriptor

Returns:

the compilation schema descirptor
getCompilationSchema
()

Get the compilation schema descriptor for this compilation context.

public ProviderList

Returns:

The current AuxiliaryProviderList.
getCurrentAuxiliaryProviderList
()

Get the current auxiliary provider list from this CompilerContext.

public Object

Returns:

the cursor info
getCursorInfo
()

Get the cursor info stored in the context.

public boolean

Returns:

boolean The in use state for the compiler context.
getInUse
()

Return the in use state for the compiler context.

public JavaFactory

Returns:

The JavaFactory associated with this CompilerContext
getJavaFactory
()

Get the JavaFactory from this CompilerContext.

public int

Returns:

int The next column number for the current statement.
getNextColumnNumber
()

Get the current next column number (for generated column names) from this CompilerContext.

public int

Returns:

The next equivalence class for equijoin clauses.
getNextEquivalenceClass
()

Get the next equivalence class for equijoin clauses.

public int

Returns:

int The next ResultSet number for the current statement.
getNextResultSetNumber
()

Get the current next ResultSet number from this CompilerContext.

public int

Returns:

int The next subquery number for the current statement.
getNextSubqueryNumber
()

Get the current next subquery number from this CompilerContext.

public int

Returns:

int The next table number for the current statement.
getNextTableNumber
()

Get the current next table number from this CompilerContext.

public int

Returns:

The number of ResultSets in the current statement.
getNumResultSets
()

Get the number of Results in the current statement from this CompilerContext.

public int

Returns:

int The number of subquerys in the current statement.
getNumSubquerys
()

Get the number of subquerys in the current statement from this CompilerContext.

public int

Returns:

int The number of tables in the current statement.
getNumTables
()

Get the number of tables in the current statement from this CompilerContext.

public OptimizerFactory

Returns:

The OptimizerFactory associated with this CompilerContext
getOptimizerFactory
()

Get the OptimizerFactory from this CompilerContext.

public List<ParameterNode>

Returns:

The parameter list.
getParameterList
()

Get the parameter list.

public Parser

Returns:

The parser associated with this CompilerContext
getParser
()

Get the Parser from this CompilerContext.

public int

Returns:

a bitmask of which types of query fragments are to be forbidden
getReliability
()

Return the reliability requirements of this clause.

public List<StatementPermission>

Returns:

The list of required privileges.
getRequiredPermissionsList
()

public boolean

Returns:

true if ? = call else false
getReturnParameterFlag
()

Is the callable statement uses ?

public Object[]

Returns:

the saved object pool.
getSavedObjects
()

Get the saved object pool (for putting into the prepared statement).

public int

Returns:

The isolation level for the scans in this query.
getScanIsolationLevel
()

Get the isolation level for the scans in this query.

public SortCostController
getSortCostController()

Get a SortCostController.

public StoreCostController

Returns:

The appropriate StoreCostController.
getStoreCostController
(long
The conglomerate for which to get a StoreCostController.
conglomerateNumber
)

Get a StoreCostController for the given conglomerate.

public TypeCompilerFactory

Returns:

The TypeCompilerFactory associated with this CompilerContext
getTypeCompilerFactory
()

Get the TypeCompilerFactory from this CompilerContext.

public String

Returns:

String A unique-enough class name.
getUniqueClassName
()

Get a unique Class name from this CompilerContext.

public SQLWarning
getWarnings()

Get the chain of compile time warnings.

public boolean
isFirstOnStack()

Is this the first CompilerContext on the stack?

public boolean
isReferenced(SequenceDescriptor sd)

Report whether the given sequence has been referenced already.

public boolean
passesPrivilegeFilters(Visitable visitable)

Return true if a QueryTreeNode passes all of the filters which determine whether the QueryTreeNode gives rise to run time privilege checks.

public void
popCompilationSchema()

Pop the default schema to use when compiling.

public void
public void
pushCompilationSchema(SchemaDescriptor
schema to use
sd
)

Push a default schema to use when compiling.

public void
pushCurrentPrivType(int
One of the privilege types in org.apache.derby.iapi.sql.conn.Authorizer.
privType
)

Sets the current privilege type context and pushes the previous on onto a stack.

public void
removePrivilegeFilter(VisitableFilter vf)

Remove a filter for determining which QueryTreeNodes give rise to privilege checks at run time.

public void
resetContext()

Reset compiler context (as for instance, when we recycle a context for use by another compilation.

public void
resetNextResultSetNumber()

Reset the next ResultSet number from this CompilerContext.

public int
scopeDepth(String scopeName)

Get the current depth for the named scope.

public SchemaDescriptor

Returns:

the previous compilation schema descirptor
setCompilationSchema
(SchemaDescriptor
compilation schema
newDefault
)

Set the compilation schema descriptor for this compilation context.

public void
setCurrentAuxiliaryProviderList(ProviderList
The new current AuxiliaryProviderList.
apl
)

Set the current auxiliary provider list for this CompilerContext.

public void
setCurrentDependent(Dependent
The Dependent currently being compiled.
d
)

Set the current dependent from this CompilerContext.

public void
setCursorInfo(Object
the cursor info
cursorInfo
)

Set params

public void
setInUse(boolean
The new inUse state for the compiler context.
inUse
)

Set the in use state for the compiler context.

public void
setParameterList(List<ParameterNode>
The parameter list.
parameterList
)

Set the parameter list.

public void
setReliability(int
bitmask of types of query fragments to be forbidden see the reliability bitmasks above
reliability
)

Sets which kind of query fragments are NOT allowed.

public void
setReturnParameterFlag()

If callable statement uses ?

public void
setSavedObjects(List<Object>
The new saved objects
objs
)

Set the saved object pool (for putting into the prepared statement).

public void
setScanIsolationLevel(int
The isolation level to use.
isolationLevel
)

Set the isolation level for the scans in this query.

public boolean
skippingTypePrivileges()

Return whether we are skipping USAGE privileges for user-defined types

public boolean
skipTypePrivileges(boolean skip)

Set whether we should skip adding USAGE privileges for user-defined types.

Inherited from org.apache.derby.iapi.services.context.Context:
cleanupOnErrorgetContextManagergetIdNameisLastHandlerpopMepushMe

Field Detail

AGGREGATE_RESTRICTIONback to summary
public static final int AGGREGATE_RESTRICTION
CASE_OPERAND_RESTRICTIONback to summary
public static final int CASE_OPERAND_RESTRICTION
CHECK_CONSTRAINTback to summary
public static final int CHECK_CONSTRAINT
COLUMN_REFERENCE_ILLEGALback to summary
public static final int COLUMN_REFERENCE_ILLEGAL
CONDITIONAL_RESTRICTIONback to summary
public static final int CONDITIONAL_RESTRICTION
CONTEXT_IDback to summary
public static final String CONTEXT_ID

this is the ID we expect compiler contexts to be stored into a context manager under.

CURRENT_CONNECTION_ILLEGALback to summary
public static final int CURRENT_CONNECTION_ILLEGAL
DATETIME_ILLEGALback to summary
public static final int DATETIME_ILLEGAL
DEFAULT_RESTRICTIONback to summary
public static final int DEFAULT_RESTRICTION
DIAGNOSTICS_ILLEGALback to summary
public static final int DIAGNOSTICS_ILLEGAL
FUNCTION_CALL_ILLEGALback to summary
public static final int FUNCTION_CALL_ILLEGAL
GENERATION_CLAUSE_RESTRICTIONback to summary
public static final int GENERATION_CLAUSE_RESTRICTION
GROUP_BY_RESTRICTIONback to summary
public static final int GROUP_BY_RESTRICTION
HAVING_CLAUSE_RESTRICTIONback to summary
public static final int HAVING_CLAUSE_RESTRICTION
IGNORE_MISSING_CLASSESback to summary
public static final int IGNORE_MISSING_CLASSES
INTERNAL_SQL_ILLEGALback to summary
public static final int INTERNAL_SQL_ILLEGAL
MODIFIES_SQL_DATA_PROCEDURE_ILLEGALback to summary
public static final int MODIFIES_SQL_DATA_PROCEDURE_ILLEGAL

Calling procedures that modify sql data from before triggers is illegal.

NEXT_VALUE_FOR_ILLEGALback to summary
public static final int NEXT_VALUE_FOR_ILLEGAL
NON_DETERMINISTIC_ILLEGALback to summary
public static final int NON_DETERMINISTIC_ILLEGAL
ON_CLAUSE_RESTRICTIONback to summary
public static final int ON_CLAUSE_RESTRICTION
SCHEMA_ILLEGALback to summary
public static final int SCHEMA_ILLEGAL
SQL_IN_ROUTINES_ILLEGALback to summary
public static final int SQL_IN_ROUTINES_ILLEGAL
SUBQUERY_ILLEGALback to summary
public static final int SUBQUERY_ILLEGAL
UNNAMED_PARAMETER_ILLEGALback to summary
public static final int UNNAMED_PARAMETER_ILLEGAL
USER_ILLEGALback to summary
public static final int USER_ILLEGAL
WHERE_CLAUSE_RESTRICTIONback to summary
public static final int WHERE_CLAUSE_RESTRICTION
WHERE_SCOPEback to summary
public static final String WHERE_SCOPE

Method Detail

addPrivilegeFilterback to summary
public void addPrivilegeFilter(VisitableFilter vf)

Add a filter for determining which QueryTreeNodes give rise to privilege checks at run time. The null filter (the default) says that all QueryTreeNodes potentially give rise to privilege checks.

addReferencedSequenceback to summary
public void addReferencedSequence(SequenceDescriptor sd)

Add a sequence descriptor to the list of referenced sequences.

addRequiredColumnPrivback to summary
public void addRequiredColumnPriv(ColumnDescriptor column)

Add a column privilege to the list of used column privileges.

addRequiredRolePrivback to summary
public void addRequiredRolePriv(String roleName, int privType)

Add a required role privilege to the list of privileges.

See Also
CompilerContext#addRequiredRolePriv
addRequiredRoutinePrivback to summary
public void addRequiredRoutinePriv(AliasDescriptor routine)

Add a routine execute privilege to the list of used routine privileges.

addRequiredSchemaPrivback to summary
public void addRequiredSchemaPriv(String schema, String aid, int privType)

Add a schema privilege to the list of used privileges.

Parameters
schema:String

Schema name of the object that is being accessed

aid:String

Requested authorizationId for new schema

privType:int

CREATE_SCHEMA_PRIV, MODIFY_SCHEMA_PRIV or DROP_SCHEMA_PRIV

addRequiredTablePrivback to summary
public void addRequiredTablePriv(TableDescriptor table)

Add a table or view privilege to the list of used table privileges.

addRequiredUsagePrivback to summary
public void addRequiredUsagePriv(PrivilegedSQLObject usableObject)

Add a usage privilege to the list of required privileges.

addSavedObjectback to summary
public int addSavedObject(Object o)

Add an object to the pool that is created at compile time and used at execution time. Use the integer to reference it in execution constructs. Execution code will have to generate:

	(#objectType) (this.getPreparedStatement().getSavedObject(#int))
  
Parameters
o:Object

object to add to the pool of saved objects

Returns:int

the entry # for the object

addWarningback to summary
public void addWarning(SQLWarning warning)

Add a compile time warning.

beginScopeback to summary
public void beginScope(String scopeName)

Record that the compiler is entering a named scope. Increment the depth counter for that scope.

createDependencyback to summary
public void createDependency(Provider p) throws StandardException

Add a dependency for the current dependent.

Parameters
p:Provider

The Provider of the dependency.

Exceptions
StandardException:
thrown on failure.
createDependencyback to summary
public void createDependency(Dependent d, Provider p) throws StandardException

Add a dependency between two objects.

Parameters
d:Dependent

The Dependent object.

p:Provider

The Provider of the dependency.

Exceptions
StandardException:
thrown on failure.
endScopeback to summary
public void endScope(String scopeName)

Record that the compiler is exiting a named scope. Decrement the depth counter for that scope.

firstOnStackback to summary
public void firstOnStack()

Mark this CompilerContext as the first on the stack, so we can avoid continually popping and pushing a CompilerContext.

getClassFactoryback to summary
public ClassFactory getClassFactory()

Return the class factory to use in this compilation.

getCompilationSchemaback to summary
public SchemaDescriptor getCompilationSchema()

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.

Returns:SchemaDescriptor

the compilation schema descirptor

getCurrentAuxiliaryProviderListback to summary
public ProviderList getCurrentAuxiliaryProviderList()

Get the current auxiliary provider list from this CompilerContext.

Returns:ProviderList

The current AuxiliaryProviderList.

getCursorInfoback to summary
public Object getCursorInfo()

Get the cursor info stored in the context.

Returns:Object

the cursor info

getInUseback to summary
public boolean getInUse()

Return the in use state for the compiler context.

Returns:boolean

boolean The in use state for the compiler context.

getJavaFactoryback to summary
public JavaFactory getJavaFactory()

Get the JavaFactory from this CompilerContext.

Returns:JavaFactory

The JavaFactory associated with this CompilerContext

getNextColumnNumberback to summary
public int getNextColumnNumber()

Get the current next column number (for generated column names) from this CompilerContext.

Returns:int

int The next column number for the current statement.

getNextEquivalenceClassback to summary
public int getNextEquivalenceClass()

Get the next equivalence class for equijoin clauses.

Returns:int

The next equivalence class for equijoin clauses.

getNextResultSetNumberback to summary
public int getNextResultSetNumber()

Get the current next ResultSet number from this CompilerContext.

Returns:int

int The next ResultSet number for the current statement.

getNextSubqueryNumberback to summary
public int getNextSubqueryNumber()

Get the current next subquery number from this CompilerContext.

Returns:int

int The next subquery number for the current statement.

getNextTableNumberback to summary
public int getNextTableNumber()

Get the current next table number from this CompilerContext.

Returns:int

int The next table number for the current statement.

getNumResultSetsback to summary
public int getNumResultSets()

Get the number of Results in the current statement from this CompilerContext.

Returns:int

The number of ResultSets in the current statement.

getNumSubquerysback to summary
public int getNumSubquerys()

Get the number of subquerys in the current statement from this CompilerContext.

Returns:int

int The number of subquerys in the current statement.

getNumTablesback to summary
public int getNumTables()

Get the number of tables in the current statement from this CompilerContext.

Returns:int

int The number of tables in the current statement.

getOptimizerFactoryback to summary
public OptimizerFactory getOptimizerFactory()

Get the OptimizerFactory from this CompilerContext.

Returns:OptimizerFactory

The OptimizerFactory associated with this CompilerContext

getParameterListback to summary
public List<ParameterNode> getParameterList()

Get the parameter list.

Returns:List<ParameterNode>

The parameter list.

getParserback to summary
public Parser getParser()

Get the Parser from this CompilerContext. *

Returns:Parser

The parser associated with this CompilerContext

getReliabilityback to summary
public int getReliability()

Return the reliability requirements of this clause. See setReliability() for a definition of clause reliability.

Returns:int

a bitmask of which types of query fragments are to be forbidden

getRequiredPermissionsListback to summary
public List<StatementPermission> getRequiredPermissionsList()
Returns:List<StatementPermission>

The list of required privileges.

getReturnParameterFlagback to summary
public boolean getReturnParameterFlag()

Is the callable statement uses ? for return parameter.

Returns:boolean

true if ? = call else false

getSavedObjectsback to summary
public Object[] getSavedObjects()

Get the saved object pool (for putting into the prepared statement). This turns it into its storable form, an array of objects.

Returns:Object[]

the saved object pool.

getScanIsolationLevelback to summary
public int getScanIsolationLevel()

Get the isolation level for the scans in this query.

Returns:int

The isolation level for the scans in this query.

getSortCostControllerback to summary
public SortCostController getSortCostController() throws StandardException

Get a SortCostController.

Exceptions
StandardException:
Thrown on error
getStoreCostControllerback to summary
public StoreCostController getStoreCostController(long conglomerateNumber) throws StandardException

Get a StoreCostController for the given conglomerate.

Parameters
conglomerateNumber:long

The conglomerate for which to get a StoreCostController.

Returns:StoreCostController

The appropriate StoreCostController.

Exceptions
StandardException:
Thrown on error
getTypeCompilerFactoryback to summary
public TypeCompilerFactory getTypeCompilerFactory()

Get the TypeCompilerFactory from this CompilerContext.

Returns:TypeCompilerFactory

The TypeCompilerFactory associated with this CompilerContext

getUniqueClassNameback to summary
public String getUniqueClassName()

Get a unique Class name from this CompilerContext. Ensures it is globally unique for this JVM.

Returns:String

String A unique-enough class name.

getWarningsback to summary
public SQLWarning getWarnings()

Get the chain of compile time warnings.

isFirstOnStackback to summary
public boolean isFirstOnStack()

Is this the first CompilerContext on the stack?

isReferencedback to summary
public boolean isReferenced(SequenceDescriptor sd)

Report whether the given sequence has been referenced already.

passesPrivilegeFiltersback to summary
public boolean passesPrivilegeFilters(Visitable visitable) throws StandardException

Return true if a QueryTreeNode passes all of the filters which determine whether the QueryTreeNode gives rise to run time privilege checks.

popCompilationSchemaback to summary
public void popCompilationSchema()

Pop the default schema to use when compiling.

popCurrentPrivTypeback to summary
public void popCurrentPrivType()
pushCompilationSchemaback to summary
public void pushCompilationSchema(SchemaDescriptor sd)

Push a default schema to use when compiling.

Sometimes, we need to temporarily change the default schema, for example when recompiling a view, since the execution time default schema may differ from the required default schema when the view was defined. Another case is when compiling generated columns which reference unqualified user functions.

Parameters
sd:SchemaDescriptor

schema to use

pushCurrentPrivTypeback to summary
public void pushCurrentPrivType(int privType)

Sets the current privilege type context and pushes the previous on onto a stack. 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:int

One of the privilege types in org.apache.derby.iapi.sql.conn.Authorizer.

removePrivilegeFilterback to summary
public void removePrivilegeFilter(VisitableFilter vf)

Remove a filter for determining which QueryTreeNodes give rise to privilege checks at run time.

resetContextback to summary
public void resetContext()

Reset compiler context (as for instance, when we recycle a context for use by another compilation.

resetNextResultSetNumberback to summary
public void resetNextResultSetNumber()

Reset the next ResultSet number from this CompilerContext.

scopeDepthback to summary
public int scopeDepth(String scopeName)

Get the current depth for the named scope. For instance, if we are processing a WHERE clause inside a subquery which is invoked inside an outer WHERE clause, the depth of the whereScope would be 2. Returns 0 if the compiler isn't inside any such scope.

setCompilationSchemaback to summary
public SchemaDescriptor setCompilationSchema(SchemaDescriptor newDefault)

Set the compilation schema descriptor for this compilation context.

Parameters
newDefault:SchemaDescriptor

compilation schema

Returns:SchemaDescriptor

the previous compilation schema descirptor

setCurrentAuxiliaryProviderListback to summary
public void setCurrentAuxiliaryProviderList(ProviderList apl)

Set the current auxiliary provider list for this CompilerContext.

Parameters
apl:ProviderList

The new current AuxiliaryProviderList.

setCurrentDependentback to summary
public void setCurrentDependent(Dependent d)

Set the current dependent from this CompilerContext. This should be called at the start of a compile to register who has the dependencies needed for the compilation.

Parameters
d:Dependent

The Dependent currently being compiled.

setCursorInfoback to summary
public void setCursorInfo(Object cursorInfo)

Set params

Parameters
cursorInfo:Object

the cursor info

setInUseback to summary
public void setInUse(boolean inUse)

Set the in use state for the compiler context.

Parameters
inUse:boolean

The new inUse state for the compiler context.

setParameterListback to summary
public void setParameterList(List<ParameterNode> parameterList)

Set the parameter list.

Parameters
parameterList:List<ParameterNode>

The parameter list.

setReliabilityback to summary
public void setReliability(int reliability)

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:int

bitmask of types of query fragments to be forbidden see the reliability bitmasks above

setReturnParameterFlagback to summary
public void setReturnParameterFlag()

If callable statement uses ? = form

setSavedObjectsback to summary
public void setSavedObjects(List<Object> objs)

Set the saved object pool (for putting into the prepared statement).

Parameters
objs:List<Object>

The new saved objects

Exceptions
NullPointerException:
if objs is null
setScanIsolationLevelback to summary
public void setScanIsolationLevel(int isolationLevel)

Set the isolation level for the scans in this query.

Parameters
isolationLevel:int

The isolation level to use.

skippingTypePrivilegesback to summary
public boolean skippingTypePrivileges()

Return whether we are skipping USAGE privileges for user-defined types

skipTypePrivilegesback to summary
public boolean skipTypePrivileges(boolean skip)

Set whether we should skip adding USAGE privileges for user-defined types. Returns the previous setting of this variable.