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 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(Object o)protected abstract ObjectgetAttribute(Context context, Type type, Buffer buffer)Object[]getAttributes(Context context)inthashCode()-
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:
getAttributesin classPGStruct- Throws:
IOException
-
-