| Modifier and Type | Field and Description |
|---|---|
| pack-priv TriggerDescriptor[] | triggerArray
This class implements Formatable. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TriggerInfo(TriggerDescriptorList
the list of trigger descriptors triggers)Constructor for TriggerInfo |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv TriggerDescriptor[] | |
| public int | Returns: the formatID of this classImplements org. Get the formatID which corresponds to this class. |
| pack-priv boolean | Returns: true if we have a trigger that meets the criteriatrue for a before trigger, false
for after trigger, null for either isBefore, boolean true for a row trigger, false
for statement trigger, null for either isRow)Do we have a trigger or triggers that meet the criteria |
| public void | readExternal(ObjectInput
read this. in)Implements java. Read this object from a stream of stored objects. |
| public String | |
| public void | writeExternal(ObjectOutput
write bytes here out)Implements java. Write this object out |
| triggerArray | back to summary |
|---|---|
| pack-priv TriggerDescriptor[] triggerArray This class implements Formatable. That means that it can write itself to and from a formatted stream. If you add more fields to this class, make sure that you also write/read them with the writeExternal()/readExternal() methods. If, inbetween releases, you add more fields to this class, then you should bump the version number emitted by the getTypeFormatId() method. OR, since this is something that is used in stored prepared statements, it is ok to change it if you make sure that stored prepared statements are invalidated across releases. | |
| TriggerInfo | back to summary |
|---|---|
| public TriggerInfo() Niladic constructor for Formattable | |
| TriggerInfo | back to summary |
|---|---|
| public TriggerInfo(TriggerDescriptorList triggers) Constructor for TriggerInfo
| |
| getTriggerArray | back to summary |
|---|---|
| pack-priv TriggerDescriptor[] getTriggerArray() | |
| getTypeFormatId | back to summary |
|---|---|
| public int getTypeFormatId() Implements org. Get the formatID which corresponds to this class.
| |
| hasTrigger | back to summary |
|---|---|
| pack-priv boolean hasTrigger(boolean isBefore, boolean isRow) Do we have a trigger or triggers that meet the criteria
| |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Read this object from a stream of stored objects.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Write this object out
| |