Class DDColumnDependableFinder
- java.lang.Object
-
- org.apache.derby.impl.sql.catalog.DDdependableFinder
-
- org.apache.derby.impl.sql.catalog.DDColumnDependableFinder
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,DependableFinder
,Formatable
,TypedFormat
public class DDColumnDependableFinder extends DDdependableFinder
Class for implementation of DependableFinder in the core DataDictionary for referenced columns in a table.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
columnBitMap
-
Constructor Summary
Constructors Constructor Description DDColumnDependableFinder(int formatId)
Constructor same as in parent.DDColumnDependableFinder(int formatId, byte[] columnBitMap)
Constructor given referenced column bit map byte array as in FormatableBitSet
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Dependable
findDependable(DataDictionary dd, UUID dependableObjectID)
Find a dependable object, which is essentially a table descriptor with referencedColumnMap field set.void
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects.void
writeExternal(java.io.ObjectOutput out)
Write this object to a stream of stored objects.-
Methods inherited from class org.apache.derby.impl.sql.catalog.DDdependableFinder
getDependable, getSQLObjectType, getTypeFormatId, toString
-
-
-
-
Method Detail
-
findDependable
Dependable findDependable(DataDictionary dd, UUID dependableObjectID) throws StandardException
Find a dependable object, which is essentially a table descriptor with referencedColumnMap field set.- Overrides:
findDependable
in classDDdependableFinder
- Parameters:
dd
- data dictionarydependableObjectID
- dependable object ID (table UUID)- Returns:
- a dependable, a table descriptor with referencedColumnMap field set
- Throws:
StandardException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
Read this object from a stream of stored objects. Just read the byte array, besides what the parent does.- Specified by:
readExternal
in interfacejava.io.Externalizable
- Overrides:
readExternal
in classDDdependableFinder
- Parameters:
in
- read this.- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
Write this object to a stream of stored objects. Just write the byte array, besides what the parent does.- Specified by:
writeExternal
in interfacejava.io.Externalizable
- Overrides:
writeExternal
in classDDdependableFinder
- Parameters:
out
- write bytes here.- Throws:
java.io.IOException
-
-