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
FieldsModifier and TypeFieldDescriptionprivate byte[]///////////////////////////////////////////////////////////////////// -
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) DependablefindDependable(DataDictionary dd, UUID dependableObjectID) Find a dependable object, which is essentially a table descriptor with referencedColumnMap field set.voidRead this object from a stream of stored objects.voidWrite this object to a stream of stored objects.Methods inherited from class 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:
findDependablein 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:
readExternalin interfaceExternalizable- Overrides:
readExternalin classDDdependableFinder- Parameters:
in- read this.- Throws:
IOExceptionClassNotFoundException
-
writeExternal
Write this object to a stream of stored objects. Just write the byte array, besides what the parent does.- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classDDdependableFinder- Parameters:
out- write bytes here.- Throws:
IOException
-