org.apache.derby.impl.sql.catalog
Class SYSTRIGGERSRowFactory
java.lang.Object
org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
org.apache.derby.impl.sql.catalog.SYSTRIGGERSRowFactory
public class SYSTRIGGERSRowFactory
- extends CatalogRowFactory
Factory for creating a SYSTRIGGERS row.
- Version:
- 0.1
Methods inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory |
generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getCreateHeapProperties, getCreateIndexProperties, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique, makeEmptyRow |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLENAME_STRING
static final java.lang.String TABLENAME_STRING
- See Also:
- Constant Field Values
SYSTRIGGERS_TRIGGERID
public static final int SYSTRIGGERS_TRIGGERID
- See Also:
- Constant Field Values
SYSTRIGGERS_TRIGGERNAME
public static final int SYSTRIGGERS_TRIGGERNAME
- See Also:
- Constant Field Values
SYSTRIGGERS_SCHEMAID
public static final int SYSTRIGGERS_SCHEMAID
- See Also:
- Constant Field Values
SYSTRIGGERS_CREATIONTIMESTAMP
public static final int SYSTRIGGERS_CREATIONTIMESTAMP
- See Also:
- Constant Field Values
SYSTRIGGERS_EVENT
public static final int SYSTRIGGERS_EVENT
- See Also:
- Constant Field Values
SYSTRIGGERS_FIRINGTIME
public static final int SYSTRIGGERS_FIRINGTIME
- See Also:
- Constant Field Values
SYSTRIGGERS_TYPE
public static final int SYSTRIGGERS_TYPE
- See Also:
- Constant Field Values
SYSTRIGGERS_STATE
public static final int SYSTRIGGERS_STATE
- See Also:
- Constant Field Values
SYSTRIGGERS_TABLEID
public static final int SYSTRIGGERS_TABLEID
- See Also:
- Constant Field Values
SYSTRIGGERS_WHENSTMTID
public static final int SYSTRIGGERS_WHENSTMTID
- See Also:
- Constant Field Values
SYSTRIGGERS_ACTIONSTMTID
public static final int SYSTRIGGERS_ACTIONSTMTID
- See Also:
- Constant Field Values
SYSTRIGGERS_REFERENCEDCOLUMNS
public static final int SYSTRIGGERS_REFERENCEDCOLUMNS
- See Also:
- Constant Field Values
SYSTRIGGERS_TRIGGERDEFINITION
public static final int SYSTRIGGERS_TRIGGERDEFINITION
- See Also:
- Constant Field Values
SYSTRIGGERS_REFERENCINGOLD
public static final int SYSTRIGGERS_REFERENCINGOLD
- See Also:
- Constant Field Values
SYSTRIGGERS_REFERENCINGNEW
public static final int SYSTRIGGERS_REFERENCINGNEW
- See Also:
- Constant Field Values
SYSTRIGGERS_OLDREFERENCINGNAME
public static final int SYSTRIGGERS_OLDREFERENCINGNAME
- See Also:
- Constant Field Values
SYSTRIGGERS_NEWREFERENCINGNAME
public static final int SYSTRIGGERS_NEWREFERENCINGNAME
- See Also:
- Constant Field Values
SYSTRIGGERS_COLUMN_COUNT
public static final int SYSTRIGGERS_COLUMN_COUNT
- See Also:
- Constant Field Values
SYSTRIGGERS_INDEX1_ID
public static final int SYSTRIGGERS_INDEX1_ID
- See Also:
- Constant Field Values
SYSTRIGGERS_INDEX2_ID
public static final int SYSTRIGGERS_INDEX2_ID
- See Also:
- Constant Field Values
SYSTRIGGERS_INDEX3_ID
public static final int SYSTRIGGERS_INDEX3_ID
- See Also:
- Constant Field Values
indexColumnPositions
private static final int[][] indexColumnPositions
uniqueness
private static final boolean[] uniqueness
uuids
private static final java.lang.String[] uuids
SYSTRIGGERSRowFactory
SYSTRIGGERSRowFactory(UUIDFactory uuidf,
ExecutionFactory ef,
DataValueFactory dvf)
makeRow
public ExecRow makeRow(TupleDescriptor td,
TupleDescriptor parent)
throws StandardException
- Make a SYSTRIGGERS row.
- Overrides:
makeRow
in class CatalogRowFactory
- Returns:
- Row suitable for inserting into SYSTRIGGERS.
- Throws:
StandardException
- thrown on failure
buildDescriptor
public TupleDescriptor buildDescriptor(ExecRow row,
TupleDescriptor parentTupleDescriptor,
DataDictionary dd)
throws StandardException
- Make an Tuple Descriptor out of a SYSTRIGGERS row
- Specified by:
buildDescriptor
in class CatalogRowFactory
- Parameters:
row
- a SYSTRIGGERS rowparentTupleDescriptor
- unuseddd
- dataDictionary
- Returns:
- a descriptor equivalent to a SYSTRIGGERS row
- Throws:
StandardException
- thrown on failure
buildColumnList
public SystemColumn[] buildColumnList()
throws StandardException
- Builds a list of columns suitable for creating this Catalog.
The last column, the serialized statement, is not added
to the column list. This is done deliberately to make it
a 'hidden' column -- one that is not visible to customers,
but is visible to the system.
- Specified by:
buildColumnList
in class CatalogRowFactory
- Returns:
- array of SystemColumn suitable for making this catalog.
- Throws:
StandardException
getCharBoolean
private boolean getCharBoolean(DataValueDescriptor col,
char trueValue,
char falseValue)
throws StandardException
- Throws:
StandardException
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.