Top Description Fields Constructors Methods
org.apache.derby.impl.store.access.btree.index

public Class B2I_10_3

extends B2I
Class Inheritance
Imports
java.io.IOException, .ObjectOutput, org.apache.derby.iapi.services.io.StoredFormatIds

Class used to instantiate 10.3 version of the B2I object. This class implements the format of the B2I object as existed in the 10.3 release of Derby. In subsequent releases the format was enhanced to store the uniqueWithDuplicateNulls attribute of the index. For upgrade purpose all 10.3 and prior versions are assumed to have false for the uniqueWithDuplicateNulls attribute. This class reads and writes the V4 version to/from disk and reads/writes current in-memory version of the data structure.

Field Summary

Inherited from org.apache.derby.impl.store.access.btree.index.B2I:
baseConglomerateIdFORMAT_NUMBERrowLocationColumn

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public void
writeExternal(ObjectOutput
the stream to write the object to
out
)

Overrides org.apache.derby.impl.store.access.btree.index.B2I.writeExternal.

Implements java.io.Externalizable.writeExternal.

Store the stored representation of the column value in the stream.

Inherited from org.apache.derby.impl.store.access.btree.index.B2I:
compressConglomeratecreatedefragmentConglomeratedropestimateMemoryUsagefetchMaxOnBTreegetBtreeLockingPolicygetStaticCompiledConglomInfoloadlockTableopenopenScanopenStoreCostpurgeConglomeratereadExternalwriteExternal_v10_2writeExternal_v10_3

Constructor Detail

B2I_10_3back to summary
public B2I_10_3()

Method Detail

getTypeFormatIdback to summary
public int getTypeFormatId()

Overrides org.apache.derby.impl.store.access.btree.index.B2I.getTypeFormatId.

Implements org.apache.derby.iapi.services.io.TypedFormat.getTypeFormatId.

Return my format identifier.

Returns:int

Doc from org.apache.derby.iapi.services.io.TypedFormat.getTypeFormatId.

The identifier. (A UUID stuffed in an array of 16 bytes).

See Also
org.apache.derby.iapi.services.io.TypedFormat#getTypeFormatId
writeExternalback to summary
public void writeExternal(ObjectOutput out) throws IOException

Overrides org.apache.derby.impl.store.access.btree.index.B2I.writeExternal.

Implements java.io.Externalizable.writeExternal.

Store the stored representation of the column value in the stream.

For more detailed description of the format see documentation at top of file.

Parameters
out:ObjectOutput

Doc from java.io.Externalizable.writeExternal.

the stream to write the object to

Exceptions
IOException:

Doc from org.apache.derby.impl.store.access.btree.BTree.writeExternal.

thrown by writeObject()

See Also
java.io.Externalizable#writeExternal