Package com.nuodb.jdbc
Class NuoXid
- java.lang.Object
-
- com.nuodb.jdbc.NuoXid
-
-
Field Summary
-
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecodeDataStream(EncodedDataStream dataStream)voidencodeDataStream(EncodedDataStream dataStream)Booleanequals(Xid otherXid)int[]getBidIntArray()byte[]getBranchQualifier()Get the global transaction identifier as an array of bytes.intgetFormatId()Get the format identifier.byte[]getGlobalTransactionId()Get the transaction branch identifier as an array of bytes.longgetNuodbTransId()int[]getTidIntArray()
-
-
-
Method Detail
-
getFormatId
public int getFormatId()
Get the format identifier.- Specified by:
getFormatIdin interfaceXid- Returns:
- format Identifier.
-
getBranchQualifier
public byte[] getBranchQualifier()
Get the global transaction identifier as an array of bytes.- Specified by:
getBranchQualifierin interfaceXid- Returns:
- global transaction identifier.
-
getGlobalTransactionId
public byte[] getGlobalTransactionId()
Get the transaction branch identifier as an array of bytes.- Specified by:
getGlobalTransactionIdin interfaceXid- Returns:
- global transaction branch identifier.
-
getTidIntArray
public int[] getTidIntArray()
-
getBidIntArray
public int[] getBidIntArray()
-
getNuodbTransId
public long getNuodbTransId()
-
encodeDataStream
public void encodeDataStream(EncodedDataStream dataStream)
-
decodeDataStream
public void decodeDataStream(EncodedDataStream dataStream) throws SQLException
- Throws:
SQLException
-
-