Class RowIdRelay

  • All Implemented Interfaces:
    Relay<java.sql.RowId>, java.sql.RowId

    public class RowIdRelay
    extends java.lang.Object
    implements Relay<java.sql.RowId>, java.sql.RowId
    • Field Summary

      Fields 
      Modifier and Type Field Description
      com.impossibl.jdbc.spy.RowIdListener listener  
      java.sql.RowId target  
    • Constructor Summary

      Constructors 
      Constructor Description
      RowIdRelay​(java.sql.RowId target, com.impossibl.jdbc.spy.RowIdListener listener)  
    • Field Detail

      • target

        public java.sql.RowId target
      • listener

        public com.impossibl.jdbc.spy.RowIdListener listener
    • Constructor Detail

      • RowIdRelay

        public RowIdRelay​(java.sql.RowId target,
                          com.impossibl.jdbc.spy.RowIdListener listener)
    • Method Detail

      • getTarget

        public java.sql.RowId getTarget()
        Specified by:
        getTarget in interface Relay<java.sql.RowId>
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface java.sql.RowId
        Overrides:
        equals in class java.lang.Object
      • getBytes

        public byte[] getBytes()
        Specified by:
        getBytes in interface java.sql.RowId
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface java.sql.RowId
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.sql.RowId
        Overrides:
        hashCode in class java.lang.Object