|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ dictionary overview ] | PREV NEXT | ||||||||
Uses of Class
org.apache.derby.iapi.sql.dictionary.TableDescriptor
| Uses of TableDescriptor in org.apache.derby.iapi.sql.dictionary |
| Fields in org.apache.derby.iapi.sql.dictionary declared as TableDescriptor | |
private TableDescriptor |
TriggerDescriptor.td
|
(package private) TableDescriptor |
SubConstraintDescriptor.td
public interface for this class: public void setConstraintId(UUID constraintId); public boolean hasBackingIndex(); public void setTableDescriptor(TableDescriptor td); public TableDescriptor getTableDescriptor(); |
private TableDescriptor |
IndexLister.tableDescriptor
|
(package private) TableDescriptor |
ConstraintDescriptor.table
|
(package private) TableDescriptor |
ColumnDescriptor.table
|
| Methods in org.apache.derby.iapi.sql.dictionary that return TableDescriptor | |
TableDescriptor |
TriggerDescriptor.getTableDescriptor()
Get the trigger table descriptor |
TableDescriptor |
SubConstraintDescriptor.getTableDescriptor()
Returns the cached TableDescriptor, if supplied, that the constraint is on. |
TableDescriptor |
DataDictionary.getTableDescriptor(java.lang.String tableName,
SchemaDescriptor schema)
Get the descriptor for the named table within the given schema. |
TableDescriptor |
DataDictionary.getTableDescriptor(org.apache.derby.catalog.UUID tableID)
Get the descriptor for the table with the given UUID. |
TableDescriptor |
DataDictionary.getConstraintTableDescriptor(org.apache.derby.catalog.UUID constraintId)
Return a table descriptor corresponding to the TABLEID field in SYSCONSTRAINTS where CONSTRAINTID matches the constraintId passsed in. |
TableDescriptor |
DataDescriptorGenerator.newTableDescriptor(java.lang.String tableName,
SchemaDescriptor schema,
int tableType,
char lockGranularity)
Create a descriptor for the named table within the given schema. |
TableDescriptor |
DataDescriptorGenerator.newTableDescriptor(java.lang.String tableName,
SchemaDescriptor schema,
int tableType,
boolean onCommitDeleteRows,
boolean onRollbackDeleteRows)
Create a descriptor for the temporary table within the given schema. |
TableDescriptor |
ConstraintDescriptor.getTableDescriptor()
Get the table descriptor upon which this constraint is declared. |
TableDescriptor |
ConsInfo.getReferencedTableDescriptor(DataDictionary dd)
This ConsInfo describes columns in a referenced table. |
TableDescriptor |
ColumnDescriptor.getTableDescriptor()
Get the TableDescriptor of the column's table. |
| Methods in org.apache.derby.iapi.sql.dictionary with parameters of type TableDescriptor | |
void |
ViewDescriptor.dropViewWork(DataDictionary dd,
org.apache.derby.iapi.sql.depend.DependencyManager dm,
org.apache.derby.iapi.sql.conn.LanguageConnectionContext lcc,
org.apache.derby.iapi.store.access.TransactionController tc,
SchemaDescriptor sd,
TableDescriptor td,
boolean cascade)
|
void |
SubConstraintDescriptor.setTableDescriptor(TableDescriptor td)
Caches the TableDescriptor of the table that the constraint is on. |
void |
SPSDescriptor.prepareAndRelease(org.apache.derby.iapi.sql.conn.LanguageConnectionContext lcc,
TableDescriptor triggerTable)
FOR TRIGGERS ONLY |
private void |
SPSDescriptor.compileStatement(org.apache.derby.iapi.sql.conn.LanguageConnectionContext lcc,
TableDescriptor triggerTable)
|
void |
DataDictionary.dropTableDescriptor(TableDescriptor td,
SchemaDescriptor schema,
org.apache.derby.iapi.store.access.TransactionController tc)
Drop the table descriptor. |
void |
DataDictionary.updateLockGranularity(TableDescriptor td,
SchemaDescriptor schema,
char lockGranularity,
org.apache.derby.iapi.store.access.TransactionController tc)
Update the lockGranularity for the specified table. |
ViewDescriptor |
DataDictionary.getViewDescriptor(TableDescriptor td)
Gets the viewDescriptor for the view given its TableDescriptor. |
ConstraintDescriptorList |
DataDictionary.getConstraintDescriptors(TableDescriptor td)
Load up the constraint descriptor list for this table descriptor and return it. |
ConstraintDescriptor |
DataDictionary.getConstraintDescriptor(TableDescriptor td,
org.apache.derby.catalog.UUID uuid)
Get the constraint descriptor given a table and the UUID String of the backing index. |
ConstraintDescriptor |
DataDictionary.getConstraintDescriptorById(TableDescriptor td,
org.apache.derby.catalog.UUID uuid)
Get the constraint descriptor given a table and the UUID String of the constraint |
ConstraintDescriptor |
DataDictionary.getConstraintDescriptorByName(TableDescriptor td,
SchemaDescriptor sd,
java.lang.String constraintName,
boolean forUpdate)
Get the constraint descriptor given a TableDescriptor and the constraint name. |
void |
DataDictionary.dropConstraintDescriptor(TableDescriptor table,
ConstraintDescriptor descriptor,
org.apache.derby.iapi.store.access.TransactionController tc)
Drops the given ConstraintDescriptor that is associated with the given table and constraint type from the data dictionary. |
void |
DataDictionary.dropAllConstraintDescriptors(TableDescriptor table,
org.apache.derby.iapi.store.access.TransactionController tc)
Drops all ConstraintDescriptors from the data dictionary that are associated with the given table. |
GenericDescriptorList |
DataDictionary.getTriggerDescriptors(TableDescriptor td)
Load up the trigger descriptor list for this table descriptor and return it. |
void |
DataDictionary.dropAllConglomerateDescriptors(TableDescriptor td,
org.apache.derby.iapi.store.access.TransactionController tc)
Drops all conglomerates associated with a table. |
org.apache.derby.iapi.types.RowLocation[] |
DataDictionary.computeAutoincRowLocations(org.apache.derby.iapi.store.access.TransactionController tc,
TableDescriptor td)
returns an array of RowLocations corresponding to the autoincrement columns in the table. |
org.apache.derby.iapi.types.RowLocation |
DataDictionary.getRowLocationTemplate(org.apache.derby.iapi.sql.conn.LanguageConnectionContext lcc,
TableDescriptor td)
|
java.util.List |
DataDictionary.getStatisticsDescriptors(TableDescriptor td)
Gets all statistics Descriptors for a given table. |
ReferencedKeyConstraintDescriptor |
DataDescriptorGenerator.newUniqueConstraintDescriptor(TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
int[] referencedColumns,
org.apache.derby.catalog.UUID constraintId,
org.apache.derby.catalog.UUID indexId,
SchemaDescriptor schemaDesc,
boolean isEnabled,
int referenceCount)
|
ReferencedKeyConstraintDescriptor |
DataDescriptorGenerator.newPrimaryKeyConstraintDescriptor(TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
int[] referencedColumns,
org.apache.derby.catalog.UUID constraintId,
org.apache.derby.catalog.UUID indexId,
SchemaDescriptor schemaDesc,
boolean isEnabled,
int referenceCount)
|
ForeignKeyConstraintDescriptor |
DataDescriptorGenerator.newForeignKeyConstraintDescriptor(TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
int[] fkColumns,
org.apache.derby.catalog.UUID constraintId,
org.apache.derby.catalog.UUID indexId,
SchemaDescriptor schemaDesc,
ReferencedKeyConstraintDescriptor referencedConstraintDescriptor,
boolean isEnabled,
int raDeleteRule,
int raUpdateRule)
|
ForeignKeyConstraintDescriptor |
DataDescriptorGenerator.newForeignKeyConstraintDescriptor(TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
int[] fkColumns,
org.apache.derby.catalog.UUID constraintId,
org.apache.derby.catalog.UUID indexId,
SchemaDescriptor schemaDesc,
org.apache.derby.catalog.UUID referencedConstraintId,
boolean isEnabled,
int raDeleteRule,
int raUpdateRule)
|
CheckConstraintDescriptor |
DataDescriptorGenerator.newCheckConstraintDescriptor(TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
org.apache.derby.catalog.UUID constraintId,
java.lang.String constraintText,
org.apache.derby.catalog.ReferencedColumns referencedColumns,
SchemaDescriptor schemaDesc,
boolean isEnabled)
|
CheckConstraintDescriptor |
DataDescriptorGenerator.newCheckConstraintDescriptor(TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
org.apache.derby.catalog.UUID constraintId,
java.lang.String constraintText,
int[] refCols,
SchemaDescriptor schemaDesc,
boolean isEnabled)
|
TriggerDescriptor |
DataDescriptorGenerator.newTriggerDescriptor(SchemaDescriptor sd,
org.apache.derby.catalog.UUID uuid,
java.lang.String name,
int eventMask,
boolean isBefore,
boolean isRow,
boolean isEnabled,
TableDescriptor td,
org.apache.derby.catalog.UUID whenSPSId,
org.apache.derby.catalog.UUID actionSPSId,
java.sql.Timestamp creationTimestamp,
int[] referencedCols,
java.lang.String triggerDefinition,
boolean referencingOld,
boolean referencingNew,
java.lang.String oldReferencingName,
java.lang.String newReferencingName)
Create a new trigger descriptor. |
static ReferencedKeyConstraintDescriptor |
DDUtils.locateReferencedConstraint(DataDictionary dd,
TableDescriptor td,
java.lang.String myConstraintName,
java.lang.String[] myColumnNames,
ConsInfo otherConstraintInfo)
|
static ColumnDescriptorList |
DDUtils.getColumnDescriptors(DataDictionary dd,
TableDescriptor td,
java.lang.String[] columnNames)
|
static void |
DDUtils.validateReferentialActions(DataDictionary dd,
TableDescriptor td,
java.lang.String myConstraintName,
ConsInfo otherConstraintInfo,
java.lang.String[] columnNames)
|
private static int |
DDUtils.getCurrentDeleteConnections(DataDictionary dd,
TableDescriptor td,
int refActionType,
java.util.Hashtable dch,
boolean prevNotCascade,
boolean findSelfRef)
|
private static void |
DDUtils.validateDeleteConnection(DataDictionary dd,
TableDescriptor actualTd,
TableDescriptor refTd,
int refActionType,
java.util.Hashtable dch,
java.util.Hashtable ech,
boolean checkImmediateRefTable,
java.lang.String myConstraintName,
boolean prevNotCascade,
java.lang.StringBuffer cycleString,
java.lang.String currentRefTableName,
boolean isSelfReferencingFk,
int currentSelfRefValue)
|
private static void |
DDUtils.checkForAnyExistingDeleteConnectionViolations(DataDictionary dd,
TableDescriptor td,
int refActionType,
java.util.Hashtable newDconnHashTable,
java.lang.String myConstraintName)
|
void |
ColumnDescriptor.setTableDescriptor(TableDescriptor tableDescriptor)
Sets the table descriptor for the column. |
| Constructors in org.apache.derby.iapi.sql.dictionary with parameters of type TableDescriptor | |
TriggerDescriptor(DataDictionary dataDictionary,
SchemaDescriptor sd,
org.apache.derby.catalog.UUID id,
java.lang.String name,
int eventMask,
boolean isBefore,
boolean isRow,
boolean isEnabled,
TableDescriptor td,
org.apache.derby.catalog.UUID whenSPSId,
org.apache.derby.catalog.UUID actionSPSId,
java.sql.Timestamp creationTimestamp,
int[] referencedCols,
java.lang.String triggerDefinition,
boolean referencingOld,
boolean referencingNew,
java.lang.String oldReferencingName,
java.lang.String newReferencingName)
Constructor. |
|
ReferencedKeyConstraintDescriptor(int constraintType,
DataDictionary dataDictionary,
TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
int[] columns,
org.apache.derby.catalog.UUID constraintId,
org.apache.derby.catalog.UUID indexId,
SchemaDescriptor schemaDesc,
boolean isEnabled,
int referenceCount)
Constructor for a KeyConstraintDescriptorImpl |
|
KeyConstraintDescriptor(DataDictionary dataDictionary,
TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
int[] referencedColumns,
org.apache.derby.catalog.UUID constraintId,
org.apache.derby.catalog.UUID indexId,
SchemaDescriptor schemaDesc,
boolean isEnabled)
Constructor for a KeyConstraintDescriptor |
|
IndexLister(TableDescriptor tableDescriptor)
Make an IndexLister |
|
ForeignKeyConstraintDescriptor(DataDictionary dataDictionary,
TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
int[] fkColumns,
org.apache.derby.catalog.UUID constraintId,
org.apache.derby.catalog.UUID indexId,
SchemaDescriptor schemaDesc,
ReferencedKeyConstraintDescriptor referencedConstraintDescriptor,
boolean isEnabled,
int raDeleteRule,
int raUpdateRule)
Constructor for a ForeignKeyConstraintDescriptor |
|
ForeignKeyConstraintDescriptor(DataDictionary dataDictionary,
TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
int[] fkColumns,
org.apache.derby.catalog.UUID constraintId,
org.apache.derby.catalog.UUID indexId,
SchemaDescriptor schemaDesc,
org.apache.derby.catalog.UUID referencedConstraintId,
boolean isEnabled,
int raDeleteRule,
int raUpdateRule)
Constructor for a ForeignKeyConstraintDescriptor |
|
ConstraintDescriptor(DataDictionary dataDictionary,
TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
int[] referencedColumns,
org.apache.derby.catalog.UUID constraintId,
SchemaDescriptor schemaDesc,
boolean isEnabled)
Constructor for a ConstraintDescriptor |
|
ColumnDescriptor(java.lang.String columnName,
int columnPosition,
org.apache.derby.iapi.types.DataTypeDescriptor columnType,
org.apache.derby.iapi.types.DataValueDescriptor columnDefault,
org.apache.derby.catalog.DefaultInfo columnDefaultInfo,
TableDescriptor table,
org.apache.derby.catalog.UUID defaultUUID,
long autoincStart,
long autoincInc,
boolean autoinc)
Constructor for a ColumnDescriptor |
|
CheckConstraintDescriptor(DataDictionary dataDictionary,
TableDescriptor table,
java.lang.String constraintName,
boolean deferrable,
boolean initiallyDeferred,
org.apache.derby.catalog.UUID constraintId,
java.lang.String constraintText,
org.apache.derby.catalog.ReferencedColumns referencedColumns,
SchemaDescriptor schemaDesc,
boolean isEnabled)
|
|
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ dictionary overview ] | PREV NEXT | ||||||||