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) DependablefindDependable(DataDictionary dd, UUID dependableObjectID)Find a dependable object, which is essentially a table descriptor with referencedColumnMap field set.voidreadExternal(java.io.ObjectInput in)Read this object from a stream of stored objects.voidwriteExternal(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:
findDependablein 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.ClassNotFoundExceptionRead this object from a stream of stored objects. Just read the byte array, besides what the parent does.- Specified by:
readExternalin interfacejava.io.Externalizable- Overrides:
readExternalin classDDdependableFinder- Parameters:
in- read this.- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOExceptionWrite this object to a stream of stored objects. Just write the byte array, besides what the parent does.- Specified by:
writeExternalin interfacejava.io.Externalizable- Overrides:
writeExternalin classDDdependableFinder- Parameters:
out- write bytes here.- Throws:
java.io.IOException
-
-