Top Description Fields Constructors Methods
org.apache.derby.impl.sql.catalog

public Class DDColumnDependableFinder

extends DDdependableFinder
Class Inheritance
Imports
org.apache.derby.catalog.UUID, .Dependable, org.apache.derby.iapi.sql.dictionary.DataDictionary, .TableDescriptor, org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.services.io.FormatableHashtable, .FormatableBitSet, java.io.ObjectOutput, .ObjectInput, .IOException

Class for implementation of DependableFinder in the core DataDictionary for referenced columns in a table.

Field Summary

Modifier and TypeField and Description
private byte[]

Constructor Summary

AccessConstructor and Description
public
DDColumnDependableFinder(int formatId)

Constructor same as in parent.

pack-priv
DDColumnDependableFinder(int formatId, byte[] columnBitMap)

Constructor given referenced column bit map byte array as in FormatableBitSet

Method Summary

Modifier and TypeMethod and Description
pack-priv Dependable

Returns:

a dependable, a table descriptor with referencedColumnMap field set
findDependable
(DataDictionary
data dictionary
dd
,
UUID
dependable object ID (table UUID)
dependableObjectID
)

Overrides org.apache.derby.impl.sql.catalog.DDdependableFinder.findDependable.

Find a dependable object, which is essentially a table descriptor with referencedColumnMap field set.

public void
readExternal(ObjectInput
read this.
in
)

Overrides org.apache.derby.impl.sql.catalog.DDdependableFinder.readExternal.

Implements java.io.Externalizable.readExternal.

Read this object from a stream of stored objects.

public void
writeExternal(ObjectOutput
write bytes here.
out
)

Overrides org.apache.derby.impl.sql.catalog.DDdependableFinder.writeExternal.

Implements java.io.Externalizable.writeExternal.

Write this object to a stream of stored objects.

Inherited from org.apache.derby.impl.sql.catalog.DDdependableFinder:
getDependablegetSQLObjectTypegetTypeFormatIdtoString

Field Detail

columnBitMapback to summary
private byte[] columnBitMap

Constructor Detail

DDColumnDependableFinderback to summary
public DDColumnDependableFinder(int formatId)

Constructor same as in parent.

DDColumnDependableFinderback to summary
pack-priv DDColumnDependableFinder(int formatId, byte[] columnBitMap)

Constructor given referenced column bit map byte array as in FormatableBitSet

Method Detail

findDependableback to summary
pack-priv Dependable findDependable(DataDictionary dd, UUID dependableObjectID) throws StandardException

Overrides org.apache.derby.impl.sql.catalog.DDdependableFinder.findDependable.

Find a dependable object, which is essentially a table descriptor with referencedColumnMap field set.

Parameters
dd:DataDictionary

data dictionary

dependableObjectID:UUID

dependable object ID (table UUID)

Returns:Dependable

a dependable, a table descriptor with referencedColumnMap field set

readExternalback to summary
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException

Overrides org.apache.derby.impl.sql.catalog.DDdependableFinder.readExternal.

Implements java.io.Externalizable.readExternal.

Read this object from a stream of stored objects. Just read the byte array, besides what the parent does.

Parameters
in:ObjectInput

read this.

Exceptions
IOException:

Doc from java.io.Externalizable.readExternal.

if I/O errors occur

ClassNotFoundException:

Doc from java.io.Externalizable.readExternal.

If the class for an object being restored cannot be found.

writeExternalback to summary
public void writeExternal(ObjectOutput out) throws IOException

Overrides org.apache.derby.impl.sql.catalog.DDdependableFinder.writeExternal.

Implements java.io.Externalizable.writeExternal.

Write this object to a stream of stored objects. Just write the byte array, besides what the parent does.

Parameters
out:ObjectOutput

write bytes here.

Exceptions
IOException:

Doc from java.io.Externalizable.writeExternal.

Includes any I/O exceptions that may occur