Class PGArray

  • All Implemented Interfaces:
    java.sql.Array
    Direct Known Subclasses:
    PGBuffersArray

    public abstract class PGArray
    extends java.lang.Object
    implements java.sql.Array
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void checkFreed()  
      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<?>> typeMap)  
      protected abstract java.lang.Object getArray​(Context context, java.lang.Class<?> targetComponentType, long index, int count)  
      java.lang.Object getArray​(java.lang.Class<?> targetComponentType)  
      java.lang.Object getArray​(java.util.Map<java.lang.String,​java.lang.Class<?>> typeMap)  
      int getBaseType()  
      java.lang.String getBaseTypeName()  
      abstract int getLength()  
      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<?>> typeMap)  
      protected abstract java.sql.ResultSet getResultSet​(Context context, long index, int count)  
      java.sql.ResultSet getResultSet​(java.util.Map<java.lang.String,​java.lang.Class<?>> typeMap)  
      ArrayType getType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.sql.Array

        free
    • Method Detail

      • getLength

        public abstract int getLength()
      • getArray

        protected abstract java.lang.Object getArray​(Context context,
                                                     java.lang.Class<?> targetComponentType,
                                                     long index,
                                                     int count)
                                              throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getResultSet

        protected abstract java.sql.ResultSet getResultSet​(Context context,
                                                           long index,
                                                           int count)
                                                    throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • checkFreed

        protected void checkFreed()
                           throws java.sql.SQLException
        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
      • getBaseType

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

        public java.lang.Object getArray​(java.lang.Class<?> targetComponentType)
                                  throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • 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​(java.util.Map<java.lang.String,​java.lang.Class<?>> typeMap)
                                  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
      • getArray

        public java.lang.Object getArray​(long index,
                                         int count,
                                         java.util.Map<java.lang.String,​java.lang.Class<?>> typeMap)
                                  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<?>> typeMap)
                                        throws java.sql.SQLException
        Specified by:
        getResultSet 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
      • getResultSet

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