public class FBRowId
extends java.lang.Object
implements java.sql.RowId
This is a thin wrapper around the bytes of a RDB$DB_KEY
.
Constructor and Description |
---|
FBRowId(byte[] rowIdBytes)
Creates an
FBRowId from the provided byte array. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
byte[] |
getBytes() |
int |
hashCode() |
java.lang.String |
toString() |
public FBRowId(byte[] rowIdBytes)
FBRowId
from the provided byte array.rowIdBytes
- Bytes of the row idpublic java.lang.String toString()
toString
in interface java.sql.RowId
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
Implementation note: allows for equality with any implementation of RowId
.
equals
in interface java.sql.RowId
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.sql.RowId
hashCode
in class java.lang.Object
public byte[] getBytes()
NOTE: implementation will return a clone of the array.
getBytes
in interface java.sql.RowId
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.