Package com.impossibl.postgres.jdbc
Class PGRowId
- java.lang.Object
-
- com.impossibl.postgres.jdbc.PGRowId
-
- All Implemented Interfaces:
java.sql.RowId
public class PGRowId extends java.lang.Object implements java.sql.RowId
RowId implementation that wraps the postgres ctid column
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
byte[]
getBytes()
Tid
getTid()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
PGRowId
public PGRowId(Tid tid)
-
-
Method Detail
-
getTid
public Tid getTid()
-
getBytes
public byte[] getBytes()
- Specified by:
getBytes
in interfacejava.sql.RowId
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.sql.RowId
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacejava.sql.RowId
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacejava.sql.RowId
- Overrides:
toString
in classjava.lang.Object
-
-