java.io.Externalizable, java.io.Serializable, Formatable, TypedFormatpublic final class TriggerInfo extends java.lang.Object implements Formatable
| Modifier and Type | Field | Description |
|---|---|---|
(package private) TriggerDescriptor[] |
triggerArray |
This class implements Formatable.
|
| Constructor | Description |
|---|---|
TriggerInfo() |
Niladic constructor for Formattable
|
TriggerInfo(TriggerDescriptorList triggers) |
Constructor for TriggerInfo
|
| Modifier and Type | Method | Description |
|---|---|---|
(package private) TriggerDescriptor[] |
getTriggerArray() |
|
int |
getTypeFormatId() |
Get the formatID which corresponds to this class.
|
(package private) boolean |
hasTrigger(boolean isBefore,
boolean isRow) |
Do we have a trigger or triggers that meet
the criteria
|
void |
readExternal(java.io.ObjectInput in) |
Read this object from a stream of stored objects.
|
java.lang.String |
toString() |
|
void |
writeExternal(java.io.ObjectOutput out) |
Write this object out
|
TriggerDescriptor[] triggerArray
public TriggerInfo()
public TriggerInfo(TriggerDescriptorList triggers)
triggers - the list of trigger descriptorsboolean hasTrigger(boolean isBefore,
boolean isRow)
isBefore - true for a before trigger, false
for after trigger, null for eitherisRow - true for a row trigger, false
for statement trigger, null for eitherTriggerDescriptor[] getTriggerArray()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - write bytes herejava.io.IOException - thrown on errorpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - read this.java.io.IOException - thrown on errorjava.lang.ClassNotFoundException - thrown on errorpublic int getTypeFormatId()
getTypeFormatId in interface TypedFormatpublic java.lang.String toString()
toString in class java.lang.ObjectApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.