Class StructRelay

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

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

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

      Constructors 
      Constructor Description
      StructRelay​(java.sql.Struct target, com.impossibl.jdbc.spy.StructListener listener)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object[] getAttributes()  
      java.lang.Object[] getAttributes​(java.util.Map<java.lang.String,​java.lang.Class<?>> map)  
      java.lang.String getSQLTypeName()  
      java.sql.Struct getTarget()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • target

        public java.sql.Struct target
      • listener

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

      • StructRelay

        public StructRelay​(java.sql.Struct target,
                           com.impossibl.jdbc.spy.StructListener listener)
    • Method Detail

      • getTarget

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

        public java.lang.String getSQLTypeName()
                                        throws java.sql.SQLException
        Specified by:
        getSQLTypeName in interface java.sql.Struct
        Throws:
        java.sql.SQLException
      • getAttributes

        public java.lang.Object[] getAttributes()
                                         throws java.sql.SQLException
        Specified by:
        getAttributes in interface java.sql.Struct
        Throws:
        java.sql.SQLException
      • getAttributes

        public java.lang.Object[] getAttributes​(java.util.Map<java.lang.String,​java.lang.Class<?>> map)
                                         throws java.sql.SQLException
        Specified by:
        getAttributes in interface java.sql.Struct
        Throws:
        java.sql.SQLException