/** * Create and return a SchemaTree with given <i>schemaConfig</i>. * * @param schemaConfig * @return */ public SchemaPlus getRootSchema(SchemaConfig schemaConfig) { return schemaTreeProvider.createRootSchema(schemaConfig); }
/** * Return root schema with schema owner as the given user. * * @param userName User who owns the schema tree. * @return Root of the schema tree. */ public SchemaPlus getRootSchema(final String userName) { return schemaTreeProvider.createRootSchema(userName, this); }