Class PGStruct

  • All Implemented Interfaces:
    java.sql.Struct
    Direct Known Subclasses:
    PGBuffersStruct, PGValuesStruct

    public abstract class PGStruct
    extends java.lang.Object
    implements java.sql.Struct
    • Field Detail

      • context

        protected Context context
      • typeName

        protected java.lang.String typeName
      • attributeTypes

        protected Type[] attributeTypes
    • Method Detail

      • getAttributeTypes

        public Type[] getAttributeTypes()
      • getSQLTypeName

        public java.lang.String getSQLTypeName()
        Specified by:
        getSQLTypeName in interface java.sql.Struct
      • 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<?>> typeMap)
                                         throws java.sql.SQLException
        Specified by:
        getAttributes in interface java.sql.Struct
        Throws:
        java.sql.SQLException
      • getAttributes

        public abstract java.lang.Object[] getAttributes​(Context context)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException