public Cacheable newCacheable(CacheManager cm) { if (cm == OIDTdCache) return new OIDTDCacheable(this); else if (cm == nameTdCache) return new NameTDCacheable(this); else if( cm == permissionsCache) return new PermissionsCacheable(this); else { return new SPSNameCacheable(this); } }
protected void initSystemIndexVariables(TabInfoImpl ti) throws StandardException { int numIndexes = ti.getNumberOfIndexes(); if (numIndexes > 0) { DataDescriptorGenerator ddg = getDataDescriptorGenerator(); for (int indexCtr = 0; indexCtr < numIndexes; indexCtr++) { initSystemIndexVariables(ddg, ti, indexCtr); } } }
SYSDEPENDSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) { super(uuidf,ef,dvf); initInfo(SYSDEPENDS_COLUMN_COUNT,TABLENAME_STRING, indexColumnPositions, uniqueness, uuids ); }
SYSTABLEPERMSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) { super(uuidf,ef,dvf); initInfo(COLUMN_COUNT, TABLENAME_STRING, indexColumnPositions, indexUniqueness, uuids); }
/** * Get the index name. * * @param indexId Index number for index for table * * @return String The index name. */ String getIndexName(int indexId) { return indexes[indexId].getIndexName(); }
SYSALIASESRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) { super(uuidf,ef,dvf); initInfo(SYSALIASES_COLUMN_COUNT, "SYSALIASES", indexColumnPositions, uniqueness, uuids); }
SYSFOREIGNKEYSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) { super(uuidf,ef,dvf); initInfo(SYSFOREIGNKEYS_COLUMN_COUNT, TABLENAME_STRING, indexColumnPositions, uniqueness, uuids ); }
/** * @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); }
SYSDUMMY1RowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) { super(uuidf,ef,dvf); initInfo(SYSDUMMY1_COLUMN_COUNT, "SYSDUMMY1", null, null, uuids); }
/** * Get the heap conglomerate number for SYS.SYSCOLUMNS. * (Useful for adding new index to the table.) * * @return The heap conglomerate number for SYS.SYSCOLUMNS. */ public long getSYSCOLUMNSHeapConglomerateNumber() { return coreInfo[SYSCOLUMNS_CORE_NUM].getHeapConglomerate(); }
SYSTRIGGERSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) { super(uuidf,ef,dvf); initInfo(SYSTRIGGERS_COLUMN_COUNT, TABLENAME_STRING, indexColumnPositions, uniqueness, uuids); }
DependableFinder getColumnDependableFinder(int formatId, byte[] columnBitMap) { return new DDColumnDependableFinder(formatId, columnBitMap); }
SYSROUTINEPERMSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) { super(uuidf,ef,dvf); initInfo( COLUMN_COUNT, TABLENAME_STRING, indexColumnPositions, indexUniqueness, uuids); }
GfxdSysAsyncEventListenerRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) { super(uuidf, ef, dvf); initInfo(ASYNCEEVENTLISTENERS_COLUMN_COUNT, TABLENAME_STRING, indexColumnPositions, uniqueness, uuids); }
/** * @see DataDictionary#getFileInfoDescriptor * @exception StandardException Thrown on failure */ public FileInfoDescriptor getFileInfoDescriptor(UUID id) throws StandardException { return getFileInfoDescriptorIndex2Scan(id); }
/** * Stringify this Version. * * @return String representation of this Version. */ public String toString() { return DD_Version.majorToString(majorVersionNumber); }
public Cacheable newCacheable(CacheManager cm) { if (cm == OIDTdCache) return new OIDTDCacheable(this); else if (cm == nameTdCache) return new NameTDCacheable(this); else if( cm == permissionsCache) return new PermissionsCacheable(this); else { return new SPSNameCacheable(this); } }
protected void initSystemIndexVariables(TabInfoImpl ti) throws StandardException { int numIndexes = ti.getNumberOfIndexes(); if (numIndexes > 0) { DataDescriptorGenerator ddg = getDataDescriptorGenerator(); for (int indexCtr = 0; indexCtr < numIndexes; indexCtr++) { initSystemIndexVariables(ddg, ti, indexCtr); } } }
public Cacheable newCacheable(CacheManager cm) { if (cm == OIDTdCache) return new OIDTDCacheable(this); else if (cm == nameTdCache) return new NameTDCacheable(this); else if( cm == permissionsCache) return new PermissionsCacheable(this); else { return new SPSNameCacheable(this); } }
protected void initSystemIndexVariables(TabInfoImpl ti) throws StandardException { int numIndexes = ti.getNumberOfIndexes(); if (numIndexes > 0) { DataDescriptorGenerator ddg = getDataDescriptorGenerator(); for (int indexCtr = 0; indexCtr < numIndexes; indexCtr++) { initSystemIndexVariables(ddg, ti, indexCtr); } } }