org.apache.derby.iapi.sql.dictionary
Class TupleDescriptor

java.lang.Object
  extended byorg.apache.derby.iapi.sql.dictionary.TupleDescriptor
Direct Known Subclasses:
AliasDescriptor, ColumnDescriptor, ConglomerateDescriptor, ConstraintDescriptor, DefaultDescriptor, DependencyDescriptor, FileInfoDescriptor, SchemaDescriptor, SPSDescriptor, StatisticsDescriptor, SubConstraintDescriptor, TableDescriptor, TriggerDescriptor, ViewDescriptor

public class TupleDescriptor
extends java.lang.Object

This is the superclass of all Descriptors. Users of DataDictionary should use the specific descriptor.

Author:
Rick, Manish

Field Summary
static int COLUMN_LIST
           
static int CONGLOMERATE_LIST
           
static int CONSTRAINT_LIST
           
private  DataDictionary dataDictionary
           
static int TRIGGER_LIST
           
 
Constructor Summary
TupleDescriptor()
           
TupleDescriptor(DataDictionary dataDictionary)
           
 
Method Summary
(package private)  DependableFinder getColumnDependableFinder(int formatId, byte[] columnBitMap)
           
protected  DataDictionary getDataDictionary()
           
 DependableFinder getDependableFinder(int formatId)
           
 java.lang.String getDescriptorName()
           
 java.lang.String getDescriptorType()
          Each descriptor must identify itself with its type; i.e index, check constraint whatever.
 boolean isPersistent()
          Is this provider persistent?
protected  void setDataDictionary(DataDictionary dd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMN_LIST

public static final int COLUMN_LIST
See Also:
Constant Field Values

CONGLOMERATE_LIST

public static final int CONGLOMERATE_LIST
See Also:
Constant Field Values

TRIGGER_LIST

public static final int TRIGGER_LIST
See Also:
Constant Field Values

CONSTRAINT_LIST

public static final int CONSTRAINT_LIST
See Also:
Constant Field Values

dataDictionary

private DataDictionary dataDictionary
Constructor Detail

TupleDescriptor

public TupleDescriptor()

TupleDescriptor

public TupleDescriptor(DataDictionary dataDictionary)
Method Detail

getDataDictionary

protected DataDictionary getDataDictionary()
                                    throws StandardException
Throws:
StandardException

setDataDictionary

protected void setDataDictionary(DataDictionary dd)

isPersistent

public boolean isPersistent()
Is this provider persistent? A stored dependency will be required if both the dependent and provider are persistent.

Returns:
boolean Whether or not this provider is persistent.

getDependableFinder

public DependableFinder getDependableFinder(int formatId)

getColumnDependableFinder

DependableFinder getColumnDependableFinder(int formatId,
                                           byte[] columnBitMap)

getDescriptorType

public java.lang.String getDescriptorType()
Each descriptor must identify itself with its type; i.e index, check constraint whatever.


getDescriptorName

public java.lang.String getDescriptorName()


Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.