public class SYSTRIGGERSRowFactory extends CatalogRowFactory
Modifier and Type | Field and Description |
---|---|
private static int[][] |
indexColumnPositions |
static int |
SYSTRIGGERS_ACTIONSTMTID |
static int |
SYSTRIGGERS_COLUMN_COUNT |
static int |
SYSTRIGGERS_CREATIONTIMESTAMP |
static int |
SYSTRIGGERS_EVENT |
static int |
SYSTRIGGERS_FIRINGTIME |
static int |
SYSTRIGGERS_INDEX1_ID |
static int |
SYSTRIGGERS_INDEX2_ID |
static int |
SYSTRIGGERS_INDEX3_ID |
static int |
SYSTRIGGERS_NEWREFERENCINGNAME |
static int |
SYSTRIGGERS_OLDREFERENCINGNAME |
static int |
SYSTRIGGERS_REFERENCEDCOLUMNS |
static int |
SYSTRIGGERS_REFERENCINGNEW |
static int |
SYSTRIGGERS_REFERENCINGOLD |
static int |
SYSTRIGGERS_SCHEMAID |
static int |
SYSTRIGGERS_STATE |
static int |
SYSTRIGGERS_TABLEID |
static int |
SYSTRIGGERS_TRIGGERDEFINITION |
static int |
SYSTRIGGERS_TRIGGERID |
static int |
SYSTRIGGERS_TRIGGERNAME |
static int |
SYSTRIGGERS_TYPE |
static int |
SYSTRIGGERS_WHENSTMTID |
(package private) static java.lang.String |
TABLENAME_STRING |
private static boolean[] |
uniqueness |
private static java.lang.String[] |
uuids |
dvf, heapUUID, indexNames, indexUniqueness, indexUUID, tableUUID
Constructor and Description |
---|
SYSTRIGGERSRowFactory(UUIDFactory uuidf,
ExecutionFactory ef,
DataValueFactory dvf) |
Modifier and Type | Method and Description |
---|---|
SystemColumn[] |
buildColumnList()
Builds a list of columns suitable for creating this Catalog.
|
TupleDescriptor |
buildDescriptor(ExecRow row,
TupleDescriptor parentTupleDescriptor,
DataDictionary dd)
Make an Tuple Descriptor out of a SYSTRIGGERS row
|
private boolean |
getCharBoolean(DataValueDescriptor col,
char trueValue,
char falseValue) |
ExecRow |
makeRow(TupleDescriptor td,
TupleDescriptor parent)
Make a SYSTRIGGERS row.
|
generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getCreateHeapProperties, getCreateIndexProperties, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique, makeEmptyRow
static final java.lang.String TABLENAME_STRING
public static final int SYSTRIGGERS_TRIGGERID
public static final int SYSTRIGGERS_TRIGGERNAME
public static final int SYSTRIGGERS_SCHEMAID
public static final int SYSTRIGGERS_CREATIONTIMESTAMP
public static final int SYSTRIGGERS_EVENT
public static final int SYSTRIGGERS_FIRINGTIME
public static final int SYSTRIGGERS_TYPE
public static final int SYSTRIGGERS_STATE
public static final int SYSTRIGGERS_TABLEID
public static final int SYSTRIGGERS_WHENSTMTID
public static final int SYSTRIGGERS_ACTIONSTMTID
public static final int SYSTRIGGERS_REFERENCEDCOLUMNS
public static final int SYSTRIGGERS_TRIGGERDEFINITION
public static final int SYSTRIGGERS_REFERENCINGOLD
public static final int SYSTRIGGERS_REFERENCINGNEW
public static final int SYSTRIGGERS_OLDREFERENCINGNAME
public static final int SYSTRIGGERS_NEWREFERENCINGNAME
public static final int SYSTRIGGERS_COLUMN_COUNT
public static final int SYSTRIGGERS_INDEX1_ID
public static final int SYSTRIGGERS_INDEX2_ID
public static final int SYSTRIGGERS_INDEX3_ID
private static final int[][] indexColumnPositions
private static final boolean[] uniqueness
private static final java.lang.String[] uuids
SYSTRIGGERSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf)
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException
makeRow
in class CatalogRowFactory
StandardException
- thrown on failurepublic TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException
buildDescriptor
in class CatalogRowFactory
row
- a SYSTRIGGERS rowparentTupleDescriptor
- unuseddd
- dataDictionaryStandardException
- thrown on failurepublic SystemColumn[] buildColumnList() throws StandardException
buildColumnList
in class CatalogRowFactory
StandardException
private boolean getCharBoolean(DataValueDescriptor col, char trueValue, char falseValue) throws StandardException
StandardException
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.