Class DDColumnDependableFinder
java.lang.Object
org.apache.derby.impl.sql.catalog.DDdependableFinder
org.apache.derby.impl.sql.catalog.DDColumnDependableFinder
- All Implemented Interfaces:
Externalizable
,Serializable
,DependableFinder
,Formatable
,TypedFormat
Class for implementation of DependableFinder in the core DataDictionary
for referenced columns in a table.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDDColumnDependableFinder
(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
Modifier and TypeMethodDescription(package private) Dependable
findDependable
(DataDictionary dd, UUID dependableObjectID) Find a dependable object, which is essentially a table descriptor with referencedColumnMap field set.void
Read this object from a stream of stored objects.void
Write this object to a stream of stored objects.Methods inherited from class org.apache.derby.impl.sql.catalog.DDdependableFinder
getDependable, getSQLObjectType, getTypeFormatId, toString
-
Field Details
-
columnBitMap
private byte[] columnBitMap
-
-
Constructor Details
-
DDColumnDependableFinder
public DDColumnDependableFinder(int formatId) Constructor same as in parent. -
DDColumnDependableFinder
DDColumnDependableFinder(int formatId, byte[] columnBitMap) Constructor given referenced column bit map byte array as in FormatableBitSet
-
-
Method Details
-
findDependable
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
Read this object from a stream of stored objects. Just read the byte array, besides what the parent does.- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classDDdependableFinder
- Parameters:
in
- read this.- Throws:
IOException
ClassNotFoundException
-
writeExternal
Write this object to a stream of stored objects. Just write the byte array, besides what the parent does.- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classDDdependableFinder
- Parameters:
out
- write bytes here.- Throws:
IOException
-