public final class TriggerInfo extends java.lang.Object implements Formatable
Modifier and Type | Field and Description |
---|---|
(package private) TriggerDescriptor[] |
triggerArray
This class implements Formatable.
|
Constructor and Description |
---|
TriggerInfo()
Niladic constructor for Formattable
|
TriggerInfo(TriggerDescriptorList triggers)
Constructor for TriggerInfo
|
Modifier and Type | Method and 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.Externalizable
out
- 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.Externalizable
in
- read this.java.io.IOException
- thrown on errorjava.lang.ClassNotFoundException
- thrown on errorpublic int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
public java.lang.String toString()
toString
in class java.lang.Object
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.