java.lang.Object
org.apache.derby.impl.sql.catalog.DDdependableFinder
org.apache.derby.impl.sql.catalog.DDColumnDependableFinder
- All Implemented Interfaces:
- org.apache.derby.catalog.DependableFinder, java.io.Externalizable, org.apache.derby.iapi.services.io.Formatable, java.io.Serializable, org.apache.derby.iapi.services.io.TypedFormat
- public class DDColumnDependableFinder
- extends DDdependableFinder
Class for implementation of DependableFinder in the core DataDictionary
for referenced columns in a table.
columnBitMap
private byte[] columnBitMap
DDColumnDependableFinder
public DDColumnDependableFinder(int formatId)
- Constructor same as in parent.
DDColumnDependableFinder
public DDColumnDependableFinder(int formatId,
byte[] columnBitMap)
- Constructor given referenced column bit map byte array as in FormatableBitSet
getColumnBitMap
public byte[] getColumnBitMap()
- Get the byte array encoding the bitmap of referenced columns in
a table.
setColumnBitMap
public void setColumnBitMap(byte[] columnBitMap)
- Set the byte array encoding the bitmap of referenced columns in
a table.
getDependable
protected org.apache.derby.catalog.Dependable getDependable(org.apache.derby.iapi.sql.dictionary.DataDictionary dd,
org.apache.derby.catalog.UUID dependableObjectID)
throws org.apache.derby.iapi.error.StandardException
- Get a dependable object, which is essentially a table descriptor with
referencedColumnMap field set.
- Overrides:
getDependable in class DDdependableFinder
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 interface java.io.Externalizable- Overrides:
readExternal in class DDdependableFinder
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 interface java.io.Externalizable- Overrides:
writeExternal in class DDdependableFinder