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:
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(Object o)
protected abstract Object
getAttribute(Context context, Type type, Buffer buffer)
Object[]
getAttributes(Context context)
int
hashCode()
-
Methods inherited from class com.impossibl.postgres.jdbc.PGStruct
getAttributes, getAttributes, getAttributeTypes, getSQLTypeName
-
-
-
-
Method Detail
-
getAttribute
protected abstract Object getAttribute(Context context, Type type, Buffer buffer) throws IOException
- Throws:
IOException
-
getAttributes
public Object[] getAttributes(Context context) throws IOException
- Specified by:
getAttributes
in classPGStruct
- Throws:
IOException
-
-