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

public Class ConglomerateDescriptorList

extends ArrayList<ConglomerateDescriptor>
Class Inheritance
Imports
org.apache.derby.shared.common.error.StandardException, org.apache.derby.catalog.UUID, java.util.Iterator, .ArrayList, .Arrays

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
dropConglomerateDescriptor(UUID
table uuid, ignored
tableID
,
ConglomerateDescriptor
the conglomerate
cgDesc
)

Remove the specified conglomerate descriptor from the conglomerate descriptor list.

public void
dropConglomerateDescriptorByUUID(UUID
table uuid, ignored
conglomerateID
)

Remove the specified conglomerate descriptor from the conglomerate descriptor list.

public ConglomerateDescriptor

Returns:

The ConglomerateDescriptor if found in this list, null if not found.
getConglomerateDescriptor
(long
The number of the conglomerate we're looking for
conglomerateNumber
)

Get a conglomerate descriptor by its number

public ConglomerateDescriptor

Returns:

The ConglomerateDescriptor if found in this list, null if not found.
getConglomerateDescriptor
(String
The Name of the conglomerate we're looking for
conglomerateName
)

Get a conglomerate descriptor by its Name

public ConglomerateDescriptor

Returns:

The ConglomerateDescriptor if found in this list, null if not found.
getConglomerateDescriptor
(UUID
The UUID of the conglomerate we're looking for
uuid
)

Get a conglomerate descriptor by its UUID String

public ConglomerateDescriptor[]

Returns:

Array of ConglomerateDescriptors if found in this list, size 0 array if not found.
getConglomerateDescriptors
(long
The number of the conglomerate
conglomerateNumber
)

Get an array of conglomerate descriptors with the given conglomerate number.

public ConglomerateDescriptor[]

Returns:

Array of ConglomerateDescriptors if found in this list, size 0 array if not found.
getConglomerateDescriptors
(UUID
The UUID of the conglomerate
uuid
)

Get an array of conglomerate descriptors by a UUID String.

Inherited from java.util.ArrayList:
addaddaddAlladdAlladdFirstaddLastclearclonecontainsensureCapacityequalsforEachgetgetFirstgetLasthashCodeindexOfisEmptyiteratorlastIndexOflistIteratorlistIteratorremoveremoveremoveAllremoveFirstremoveIfremoveLastremoveRangereplaceAllretainAllsetsizesortspliteratorsubListtoArraytoArraytrimToSize

Constructor Detail

ConglomerateDescriptorListback to summary
public ConglomerateDescriptorList()

Method Detail

dropConglomerateDescriptorback to summary
public void dropConglomerateDescriptor(UUID tableID, ConglomerateDescriptor cgDesc) throws StandardException

Remove the specified conglomerate descriptor from the conglomerate descriptor list. If the descriptor is not found, no errors are issued.

Parameters
tableID:UUID

table uuid, ignored

cgDesc:ConglomerateDescriptor

the conglomerate

Exceptions
StandardException:
thrown on failure
dropConglomerateDescriptorByUUIDback to summary
public void dropConglomerateDescriptorByUUID(UUID conglomerateID) throws StandardException

Remove the specified conglomerate descriptor from the conglomerate descriptor list. If the descriptor is not found, no errors are issued.

Parameters
conglomerateID:UUID

table uuid, ignored

Exceptions
StandardException:
thrown on failure
getConglomerateDescriptorback to summary
public ConglomerateDescriptor getConglomerateDescriptor(long conglomerateNumber)

Get a conglomerate descriptor by its number

Parameters
conglomerateNumber:long

The number of the conglomerate we're looking for

Returns:ConglomerateDescriptor

The ConglomerateDescriptor if found in this list, null if not found.

getConglomerateDescriptorback to summary
public ConglomerateDescriptor getConglomerateDescriptor(String conglomerateName)

Get a conglomerate descriptor by its Name

Parameters
conglomerateName:String

The Name of the conglomerate we're looking for

Returns:ConglomerateDescriptor

The ConglomerateDescriptor if found in this list, null if not found.

getConglomerateDescriptorback to summary
public ConglomerateDescriptor getConglomerateDescriptor(UUID uuid) throws StandardException

Get a conglomerate descriptor by its UUID String

Parameters
uuid:UUID

The UUID of the conglomerate we're looking for

Returns:ConglomerateDescriptor

The ConglomerateDescriptor if found in this list, null if not found.

Exceptions
StandardException:
thrown on failure
getConglomerateDescriptorsback to summary
public ConglomerateDescriptor[] getConglomerateDescriptors(long conglomerateNumber)

Get an array of conglomerate descriptors with the given conglomerate number. We get more than one descriptors if duplicate indexes share one conglomerate.

Parameters
conglomerateNumber:long

The number of the conglomerate

Returns:ConglomerateDescriptor[]

Array of ConglomerateDescriptors if found in this list, size 0 array if not found.

getConglomerateDescriptorsback to summary
public ConglomerateDescriptor[] getConglomerateDescriptors(UUID uuid)

Get an array of conglomerate descriptors by a UUID String. We get more than one descriptors if duplicate indexes share one conglomerate.

Parameters
uuid:UUID

The UUID of the conglomerate

Returns:ConglomerateDescriptor[]

Array of ConglomerateDescriptors if found in this list, size 0 array if not found.