Package com.impossibl.postgres.jdbc
Class PGBuffersStruct<Buffer>
- java.lang.Object
-
- com.impossibl.postgres.jdbc.PGStruct
-
- com.impossibl.postgres.jdbc.PGBuffersStruct<Buffer>
-
- All Implemented Interfaces:
java.sql.Struct
- Direct Known Subclasses:
PGBuffersStruct.Binary,PGBuffersStruct.Text
public abstract class PGBuffersStruct<Buffer> extends PGStruct
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPGBuffersStruct.Binarystatic classPGBuffersStruct.Text
-
Field Summary
-
Fields inherited from class com.impossibl.postgres.jdbc.PGStruct
attributeTypes, context, typeName
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)protected abstract java.lang.ObjectgetAttribute(Context context, Type type, Buffer buffer)java.lang.Object[]getAttributes(Context context)inthashCode()-
Methods inherited from class com.impossibl.postgres.jdbc.PGStruct
getAttributes, getAttributes, getAttributeTypes, getSQLTypeName
-
-
-
-
Method Detail
-
getAttribute
protected abstract java.lang.Object getAttribute(Context context, Type type, Buffer buffer) throws java.io.IOException
- Throws:
java.io.IOException
-
getAttributes
public java.lang.Object[] getAttributes(Context context) throws java.io.IOException
- Specified by:
getAttributesin classPGStruct- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-