|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.iapi.types.DataType
org.apache.derby.impl.store.access.conglomerate.GenericConglomerate
org.apache.derby.impl.store.access.btree.BTree
org.apache.derby.impl.store.access.btree.index.B2I
org.apache.derby.impl.store.access.btree.index.B2I_10_3
public class B2I_10_3
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 |
---|
Fields inherited from class org.apache.derby.impl.store.access.btree.index.B2I |
---|
baseConglomerateId, FORMAT_NUMBER, rowLocationColumn |
Fields inherited from class org.apache.derby.impl.store.access.btree.BTree |
---|
ascDescInfo, collation_ids, conglom_format_id, format_ids, id, nKeyFields, PROPERTY_ALLOWDUPLICATES, PROPERTY_MAX_ROWS_PER_PAGE_PARAMETER, PROPERTY_NKEYFIELDS, PROPERTY_NUNIQUECOLUMNS, PROPERTY_PARENTLINKS, PROPERTY_UNIQUE_WITH_DUPLICATE_NULLS, ROOTPAGEID |
Fields inherited from interface org.apache.derby.iapi.types.DataValueDescriptor |
---|
UNKNOWN_LOGICAL_LENGTH |
Fields inherited from interface org.apache.derby.iapi.types.Orderable |
---|
ORDER_OP_EQUALS, ORDER_OP_GREATEROREQUALS, ORDER_OP_GREATERTHAN, ORDER_OP_LESSOREQUALS, ORDER_OP_LESSTHAN |
Constructor Summary | |
---|---|
B2I_10_3()
|
Method Summary | |
---|---|
int |
getTypeFormatId()
Return my format identifier. |
void |
writeExternal(java.io.ObjectOutput out)
Store the stored representation of the column value in the stream. |
Methods inherited from class org.apache.derby.impl.store.access.btree.index.B2I |
---|
compressConglomerate, create, defragmentConglomerate, drop, estimateMemoryUsage, fetchMaxOnBTree, getBtreeLockingPolicy, getStaticCompiledConglomInfo, load, lockTable, open, openScan, openStoreCost, purgeConglomerate, readExternal, readExternalFromArray, writeExternal_v10_2, writeExternal_v10_3 |
Methods inherited from class org.apache.derby.impl.store.access.btree.BTree |
---|
addColumn, create, createTemplate, getContainerid, getDynamicCompiledConglomInfo, getId, isNull, isTemporary, isUnique, isUniqueWithDuplicateNulls, restoreToNull, setUniqueWithDuplicateNulls, toString |
Methods inherited from class org.apache.derby.impl.store.access.conglomerate.GenericConglomerate |
---|
cloneValue, compare, getLength, getNewNull, getObject, getString, getTypeName, setFrom, setValueFromResultSet |
Methods inherited from class org.apache.derby.iapi.types.DataType |
---|
checkHostVariable, cloneHolder, coalesce, compare, compare, compare, compareTo, dataTypeConversion, equals, equals, flip, getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getNationalString, getShort, getStream, getTime, getTimestamp, getTraceString, greaterOrEquals, greaterThan, hasStream, in, invalidFormat, isNotNull, isNullOp, lessOrEquals, lessThan, normalize, notEquals, outOfRange, recycle, setBigDecimal, setInto, setInto, setObjectForCast, setToNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, throwLangSetMismatch, typePrecedence, typeToBigDecimal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.derby.iapi.types.DataValueDescriptor |
---|
checkHostVariable, cloneHolder, coalesce, compare, compare, compare, equals, getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getShort, getStream, getTime, getTimestamp, getTraceString, greaterOrEquals, greaterThan, hasStream, in, isNotNull, isNullOp, lessOrEquals, lessThan, normalize, notEquals, recycle, setBigDecimal, setInto, setInto, setObjectForCast, setToNull, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, typePrecedence, typeToBigDecimal |
Constructor Detail |
---|
public B2I_10_3()
Method Detail |
---|
public int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
getTypeFormatId
in class B2I
TypedFormat.getTypeFormatId()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
For more detailed description of the format see documentation at top of file.
writeExternal
in interface java.io.Externalizable
writeExternal
in class B2I
java.io.IOException
- thrown by writeObject()Externalizable.writeExternal(java.io.ObjectOutput)
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |