/** * @see DataDictionary#addDescriptor */ public void addDescriptor(TupleDescriptor td, TupleDescriptor parent, int catalogNumber, boolean duplicatesAllowed, TransactionController tc) throws StandardException { addDescriptor(td, parent, catalogNumber, duplicatesAllowed, tc, true); }
/** * @see DataDictionary#addDescriptor */ public void addDescriptor(TupleDescriptor td, TupleDescriptor parent, int catalogNumber, boolean duplicatesAllowed, TransactionController tc) throws StandardException { addDescriptor(td, parent, catalogNumber, duplicatesAllowed, tc, true); }
/** * @see DataDictionary#addDescriptor */ public void addDescriptor(TupleDescriptor td, TupleDescriptor parent, int catalogNumber, boolean duplicatesAllowed, TransactionController tc) throws StandardException { addDescriptor(td, parent, catalogNumber, duplicatesAllowed, tc, true); }
/** * Create RoutinePermDescriptor to grant access to PUBLIC for * this system routine using the grantor specified in authorizationID. * * @param routineUUID uuid of the routine * @param tc TransactionController to use * @param authorizationID authorization ID of the permission grantor * @throws StandardException Standard exception policy. */ void createRoutinePermPublicDescriptor( UUID routineUUID, TransactionController tc, String authorizationID) throws StandardException { RoutinePermsDescriptor routinePermDesc = new RoutinePermsDescriptor( this, "PUBLIC", authorizationID, routineUUID); addDescriptor( routinePermDesc, null, DataDictionary.SYSROUTINEPERMS_CATALOG_NUM, false, tc); }
/** * Create RoutinePermDescriptor to grant access to PUBLIC for * this system routine using the grantor specified in authorizationID. * * @param routineUUID uuid of the routine * @param tc TransactionController to use * @param authorizationID authorization ID of the permission grantor * @throws StandardException Standard exception policy. */ void createRoutinePermPublicDescriptor( UUID routineUUID, TransactionController tc, String authorizationID) throws StandardException { RoutinePermsDescriptor routinePermDesc = new RoutinePermsDescriptor( this, "PUBLIC", authorizationID, routineUUID); addDescriptor( routinePermDesc, null, DataDictionary.SYSROUTINEPERMS_CATALOG_NUM, false, tc); }
/** * Create RoutinePermDescriptor to grant access to PUBLIC for * this system routine using the grantor specified in authorizationID. * * @param routineUUID uuid of the routine * @param tc TransactionController to use * @param authorizationID authorization ID of the permission grantor * @throws StandardException Standard exception policy. */ void createRoutinePermPublicDescriptor( UUID routineUUID, TransactionController tc, String authorizationID) throws StandardException { RoutinePermsDescriptor routinePermDesc = new RoutinePermsDescriptor( this, "PUBLIC", authorizationID, routineUUID); addDescriptor( routinePermDesc, null, DataDictionary.SYSROUTINEPERMS_CATALOG_NUM, false, tc); }
/** * Add a system schema to the database. * <p> * * @param schema_name name of the schema to add. * * @exception StandardException Standard exception policy. **/ private SchemaDescriptor addSystemSchema( String schema_name, String schema_uuid, TransactionController tc) throws StandardException { // create the descriptor SchemaDescriptor schema_desc = new SchemaDescriptor( this, schema_name, authorizationDatabaseOwner, uuidFactory.recreateUUID(schema_uuid), true); // add it to the catalog. addDescriptor(schema_desc, null, SYSSCHEMAS_CATALOG_NUM, false, tc); return(schema_desc); }
/** * Add a system schema to the database. * <p> * * @param schema_name name of the schema to add. * * @exception StandardException Standard exception policy. **/ private SchemaDescriptor addSystemSchema( String schema_name, String schema_uuid, TransactionController tc) throws StandardException { // create the descriptor SchemaDescriptor schema_desc = new SchemaDescriptor( this, schema_name, authorizationDatabaseOwner, uuidFactory.recreateUUID(schema_uuid), true); // add it to the catalog. addDescriptor(schema_desc, null, SYSSCHEMAS_CATALOG_NUM, false, tc); return(schema_desc); }
/** * Add a system schema to the database. * <p> * * @param schema_name name of the schema to add. * * @exception StandardException Standard exception policy. **/ private SchemaDescriptor addSystemSchema( String schema_name, String schema_uuid, TransactionController tc) throws StandardException { // create the descriptor SchemaDescriptor schema_desc = new SchemaDescriptor( this, schema_name, authorizationDatabaseOwner, uuidFactory.recreateUUID(schema_uuid), true); // add it to the catalog. addDescriptor(schema_desc, null, SYSSCHEMAS_CATALOG_NUM, false, tc); return(schema_desc); }
addDescriptor(descriptor, descriptor.getSchemaDescriptor(), SYSCONSTRAINTS_CATALOG_NUM, false, tc); addDescriptor(descriptor, null, SYSCHECKS_CATALOG_NUM, true, tc); break;
addDescriptor(descriptor, descriptor.getSchemaDescriptor(), SYSCONSTRAINTS_CATALOG_NUM, false, tc); addDescriptor(descriptor, null, SYSCHECKS_CATALOG_NUM, true, tc); break;
addDescriptor(conglomerateDescriptor, sd, SYSCONGLOMERATES_CATALOG_NUM, false, tc);
(UUID) null, 0, 0, 0,false); addDescriptor(cd, null, SYSCOLUMNS_CATALOG_NUM, false, // no chance of duplicates here tc, wait);
(UUID) null, 0, 0, 0,false); addDescriptor(cd, null, SYSCOLUMNS_CATALOG_NUM, false, // no chance of duplicates here tc, wait);
addDescriptor(conglomerateDescriptor, sd, SYSCONGLOMERATES_CATALOG_NUM, false, tc);
addDescriptor(conglomerateDescriptor, sd, SYSCONGLOMERATES_CATALOG_NUM, false, tc);
(UUID) null, 0, 0, 0,false); addDescriptor(cd, null, SYSCOLUMNS_CATALOG_NUM, false, // no chance of duplicates here tc, wait);
addDescriptor(cgd[indexCtr], sd, SYSCONGLOMERATES_CATALOG_NUM, false, tc);
addDescriptor(cgd[indexCtr], sd, SYSCONGLOMERATES_CATALOG_NUM, false, tc);
addDescriptor(cgd[indexCtr], sd, SYSCONGLOMERATES_CATALOG_NUM, false, tc);