Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.impl.sql.catalog
Class DDColumnDependableFinder  view DDColumnDependableFinder download DDColumnDependableFinder.java

java.lang.Object
  extended byorg.apache.derby.impl.sql.catalog.DDdependableFinder
      extended byorg.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.


Field Summary
private  byte[] columnBitMap
           
 
Fields inherited from class org.apache.derby.impl.sql.catalog.DDdependableFinder
 
Constructor Summary
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
 byte[] getColumnBitMap()
          Get the byte array encoding the bitmap of referenced columns in a table.
protected  org.apache.derby.catalog.Dependable getDependable(org.apache.derby.iapi.sql.dictionary.DataDictionary dd, org.apache.derby.catalog.UUID dependableObjectID)
          Get a dependable object, which is essentially a table descriptor with referencedColumnMap field set.
 void readExternal(java.io.ObjectInput in)
          Read this object from a stream of stored objects.
 void setColumnBitMap(byte[] columnBitMap)
          Set the byte array encoding the bitmap of referenced columns in a table.
 void writeExternal(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, getDependable, getSQLObjectName, getSQLObjectName, getSQLObjectType, getTypeFormatId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

columnBitMap

private byte[] columnBitMap
Constructor Detail

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

Method Detail

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