java.io.Externalizable
, java.io.Serializable
, Formatable
, TypedFormat
, TransactionId
public class XactId extends java.lang.Object implements TransactionId
Modifier and Type | Field | Description |
---|---|---|
private long |
id |
Modifier and Type | Method | Description |
---|---|---|
static long |
compare(TransactionId a,
TransactionId b) |
Return 0 if a == b,
+ve number if a > b
-ve number if a < b
|
boolean |
equals(java.lang.Object other) |
|
protected long |
getId() |
|
int |
getMaxStoredSize() |
TransactionId method
|
int |
getTypeFormatId() |
Return my format identifier.
|
int |
hashCode() |
|
void |
readExternal(java.io.ObjectInput in) |
Read this in
|
java.lang.String |
toString() |
|
void |
writeExternal(java.io.ObjectOutput out) |
Write this out.
|
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
- error writing to log streampublic void readExternal(java.io.ObjectInput in) throws java.io.IOException
readExternal
in interface java.io.Externalizable
java.io.IOException
- error reading from log streampublic int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
public int getMaxStoredSize()
getMaxStoredSize
in interface TransactionId
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static long compare(TransactionId a, TransactionId b)
protected long getId()
public java.lang.String toString()
toString
in class java.lang.Object
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.