getSchemaDescriptor
public static SchemaDescriptor getSchemaDescriptor(java.lang.String schemaName,
boolean raiseError,
DataDictionary dataDictionary,
LanguageConnectionContext lcc,
CompilerContext cc)
throws StandardException
Get the descriptor for the named schema. If the schemaName
parameter is NULL, it gets the descriptor for the current
compilation schema.
- Parameters:
schemaName
- The name of the schema we're interested in.
If the name is NULL, get the descriptor for the current compilation schema.
raiseError
- True to raise an error if the schema does not exist,
false to return null if the schema does not exist.
- Returns:
- Valid SchemaDescriptor or null if raiseError is false and the
schema does not exist.
- Throws:
StandardException
- Schema does not exist and raiseError is true.