Class PC_XenaVersion
java.lang.Object
org.apache.derby.impl.store.access.PC_XenaVersion
- All Implemented Interfaces:
Externalizable
,Serializable
,Formatable
,TypedFormat
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private static final int
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
Get a universally unique identifier for the type of this object.private boolean
isUpgradeNeeded
(PC_XenaVersion fromVersion) void
toString()
void
upgradeIfNeeded
(TransactionController tc, PropertyConglomerate pc, Properties serviceProperties) void
-
Field Details
-
XENA_MAJOR_VERSION
private static final int XENA_MAJOR_VERSION- See Also:
-
XENA_MINOR_VERSION_0
private static final int XENA_MINOR_VERSION_0- See Also:
-
minorVersion
private int minorVersion
-
-
Constructor Details
-
PC_XenaVersion
public PC_XenaVersion()
-
-
Method Details
-
isUpgradeNeeded
-
upgradeIfNeeded
public void upgradeIfNeeded(TransactionController tc, PropertyConglomerate pc, Properties serviceProperties) throws StandardException - Throws:
StandardException
-
getMajorVersionNumber
public int getMajorVersionNumber() -
getMinorVersionNumber
public int getMinorVersionNumber() -
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
-
getTypeFormatId
public int getTypeFormatId()Description copied from interface:TypedFormat
Get a universally unique identifier for the type of this object.- Specified by:
getTypeFormatId
in interfaceTypedFormat
- Returns:
- The identifier. (A UUID stuffed in an array of 16 bytes).
-
toString
-