Class ArrayRelay

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

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

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

      Constructors 
      Constructor Description
      ArrayRelay​(java.sql.Array target, com.impossibl.jdbc.spy.ArrayListener listener)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void free()  
      java.lang.Object getArray()  
      java.lang.Object getArray​(long index, int count)  
      java.lang.Object getArray​(long index, int count, java.util.Map<java.lang.String,​java.lang.Class<?>> map)  
      java.lang.Object getArray​(java.util.Map<java.lang.String,​java.lang.Class<?>> map)  
      int getBaseType()  
      java.lang.String getBaseTypeName()  
      java.sql.ResultSet getResultSet()  
      java.sql.ResultSet getResultSet​(long index, int count)  
      java.sql.ResultSet getResultSet​(long index, int count, java.util.Map<java.lang.String,​java.lang.Class<?>> map)  
      java.sql.ResultSet getResultSet​(java.util.Map<java.lang.String,​java.lang.Class<?>> map)  
      java.sql.Array 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.Array target
      • listener

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

      • ArrayRelay

        public ArrayRelay​(java.sql.Array target,
                          com.impossibl.jdbc.spy.ArrayListener listener)
    • Method Detail

      • getTarget

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

        public java.lang.Object getArray()
                                  throws java.sql.SQLException
        Specified by:
        getArray in interface java.sql.Array
        Throws:
        java.sql.SQLException
      • getArray

        public java.lang.Object getArray​(long index,
                                         int count)
                                  throws java.sql.SQLException
        Specified by:
        getArray in interface java.sql.Array
        Throws:
        java.sql.SQLException
      • getResultSet

        public java.sql.ResultSet getResultSet​(long index,
                                               int count,
                                               java.util.Map<java.lang.String,​java.lang.Class<?>> map)
                                        throws java.sql.SQLException
        Specified by:
        getResultSet in interface java.sql.Array
        Throws:
        java.sql.SQLException
      • getArray

        public java.lang.Object getArray​(java.util.Map<java.lang.String,​java.lang.Class<?>> map)
                                  throws java.sql.SQLException
        Specified by:
        getArray in interface java.sql.Array
        Throws:
        java.sql.SQLException
      • getResultSet

        public java.sql.ResultSet getResultSet()
                                        throws java.sql.SQLException
        Specified by:
        getResultSet in interface java.sql.Array
        Throws:
        java.sql.SQLException
      • getResultSet

        public java.sql.ResultSet getResultSet​(java.util.Map<java.lang.String,​java.lang.Class<?>> map)
                                        throws java.sql.SQLException
        Specified by:
        getResultSet in interface java.sql.Array
        Throws:
        java.sql.SQLException
      • getArray

        public java.lang.Object getArray​(long index,
                                         int count,
                                         java.util.Map<java.lang.String,​java.lang.Class<?>> map)
                                  throws java.sql.SQLException
        Specified by:
        getArray in interface java.sql.Array
        Throws:
        java.sql.SQLException
      • getBaseType

        public int getBaseType()
                        throws java.sql.SQLException
        Specified by:
        getBaseType in interface java.sql.Array
        Throws:
        java.sql.SQLException
      • getResultSet

        public java.sql.ResultSet getResultSet​(long index,
                                               int count)
                                        throws java.sql.SQLException
        Specified by:
        getResultSet in interface java.sql.Array
        Throws:
        java.sql.SQLException
      • getBaseTypeName

        public java.lang.String getBaseTypeName()
                                         throws java.sql.SQLException
        Specified by:
        getBaseTypeName in interface java.sql.Array
        Throws:
        java.sql.SQLException
      • free

        public void free()
                  throws java.sql.SQLException
        Specified by:
        free in interface java.sql.Array
        Throws:
        java.sql.SQLException