Package org.firebirdsql.jdbc
Class FBRowId
- java.lang.Object
- 
- org.firebirdsql.jdbc.FBRowId
 
- 
- All Implemented Interfaces:
- java.sql.RowId
 
 public class FBRowId extends java.lang.Object implements java.sql.RowIdFirebird row-id.This is a thin wrapper around the bytes of a RDB$DB_KEY.- Since:
- 4.0
- Author:
- Mark Rotteveel
 
- 
- 
Constructor SummaryConstructors Constructor Description FBRowId(byte[] rowIdBytes)Creates anFBRowIdfrom the provided byte array.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)byte[]getBytes()inthashCode()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
toStringpublic java.lang.String toString() - Specified by:
- toStringin interface- java.sql.RowId
- Overrides:
- toStringin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) Implementation note: allows for equality with any implementation of RowId.- Specified by:
- equalsin interface- java.sql.RowId
- Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- java.sql.RowId
- Overrides:
- hashCodein class- java.lang.Object
 
 - 
getBytespublic byte[] getBytes() NOTE: implementation will return a clone of the array. - Specified by:
- getBytesin interface- java.sql.RowId
 
 
- 
 
-