Top Description Constructors Methods
org.apache.derby.iapi.sql.dictionary

public Class ColumnDescriptorList

extends ArrayList<ColumnDescriptor>
Class Inheritance
Imports
org.apache.derby.catalog.UUID, java.util.ArrayList

This represents a list of column descriptors.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
add(UUID
the table id (ignored)
tableID
,
ColumnDescriptor
the column to add
column
)

Add the column.

public ColumnDescriptor

Returns:

The nth element in the list.
elementAt
(int
Which element to return.
n
)

Return the nth (0-based) element in the list.

public ColumnDescriptor

Returns:

the column descriptor if found
getColumnDescriptor
(UUID
the table id (ignored)
tableID
,
String
the column get
columnName
)

Get the column descriptor

public ColumnDescriptor

Returns:

the column descriptor if found
getColumnDescriptor
(UUID
the table id (ignored)
tableID
,
int
the column id
columnID
)

Get the column descriptor

public String[]

Returns:

the array of strings
getColumnNames
()

Get an array of strings for all the columns in this CDL.

Inherited from java.util.ArrayList:
addaddaddAlladdAlladdFirstaddLastclearclonecontainsensureCapacityequalsforEachgetgetFirstgetLasthashCodeindexOfisEmptyiteratorlastIndexOflistIteratorlistIteratorremoveremoveremoveAllremoveFirstremoveIfremoveLastremoveRangereplaceAllretainAllsetsizesortspliteratorsubListtoArraytoArraytrimToSize

Constructor Detail

ColumnDescriptorListback to summary
public ColumnDescriptorList()

Method Detail

addback to summary
public void add(UUID tableID, ColumnDescriptor column)

Add the column. Currently, the table id is ignored.

Parameters
tableID:UUID

the table id (ignored)

column:ColumnDescriptor

the column to add

elementAtback to summary
public ColumnDescriptor elementAt(int n)

Return the nth (0-based) element in the list.

Parameters
n:int

Which element to return.

Returns:ColumnDescriptor

The nth element in the list.

getColumnDescriptorback to summary
public ColumnDescriptor getColumnDescriptor(UUID tableID, String columnName)

Get the column descriptor

Parameters
tableID:UUID

the table id (ignored)

columnName:String

the column get

Returns:ColumnDescriptor

the column descriptor if found

getColumnDescriptorback to summary
public ColumnDescriptor getColumnDescriptor(UUID tableID, int columnID)

Get the column descriptor

Parameters
tableID:UUID

the table id (ignored)

columnID:int

the column id

Returns:ColumnDescriptor

the column descriptor if found

getColumnNamesback to summary
public String[] getColumnNames()

Get an array of strings for all the columns in this CDL.

Returns:String[]

the array of strings