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 class
PGBuffersStruct.Binary
static class
PGBuffersStruct.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 boolean
equals(java.lang.Object o)
protected abstract java.lang.Object
getAttribute(Context context, Type type, Buffer buffer)
java.lang.Object[]
getAttributes(Context context)
int
hashCode()
-
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:
getAttributes
in classPGStruct
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-