Package com.impossibl.postgres.jdbc
Class PGStruct
- java.lang.Object
-
- com.impossibl.postgres.jdbc.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 Summary
Fields Modifier and Type Field Description protected Type[]
attributeTypes
protected Context
context
protected java.lang.String
typeName
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Object[]
getAttributes()
abstract java.lang.Object[]
getAttributes(Context context)
java.lang.Object[]
getAttributes(java.util.Map<java.lang.String,java.lang.Class<?>> typeMap)
Type[]
getAttributeTypes()
java.lang.String
getSQLTypeName()
-
-
-
Method Detail
-
getAttributeTypes
public Type[] getAttributeTypes()
-
getSQLTypeName
public java.lang.String getSQLTypeName()
- Specified by:
getSQLTypeName
in interfacejava.sql.Struct
-
getAttributes
public java.lang.Object[] getAttributes() throws java.sql.SQLException
- Specified by:
getAttributes
in interfacejava.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 interfacejava.sql.Struct
- Throws:
java.sql.SQLException
-
getAttributes
public abstract java.lang.Object[] getAttributes(Context context) throws java.io.IOException
- Throws:
java.io.IOException
-
-