Package com.impossibl.postgres.jdbc
Class PGBuffersStruct.Binary
- java.lang.Object
-
- com.impossibl.postgres.jdbc.PGStruct
-
- com.impossibl.postgres.jdbc.PGBuffersStruct<io.netty.buffer.ByteBuf>
-
- com.impossibl.postgres.jdbc.PGBuffersStruct.Binary
-
- All Implemented Interfaces:
Struct
- Enclosing class:
- PGBuffersStruct<Buffer>
public static class PGBuffersStruct.Binary extends PGBuffersStruct<io.netty.buffer.ByteBuf>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.impossibl.postgres.jdbc.PGBuffersStruct
PGBuffersStruct.Binary, PGBuffersStruct.Text
-
-
Field Summary
Fields Modifier and Type Field Description static io.netty.buffer.ByteBufAllocator
ALLOC
-
Fields inherited from class com.impossibl.postgres.jdbc.PGStruct
attributeTypes, context, typeName
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PGBuffersStruct.Binary
encode(Context context, CompositeType type, Object[] values)
protected Object
getAttribute(Context context, Type type, io.netty.buffer.ByteBuf buffer)
-
Methods inherited from class com.impossibl.postgres.jdbc.PGBuffersStruct
equals, getAttributes, hashCode
-
Methods inherited from class com.impossibl.postgres.jdbc.PGStruct
getAttributes, getAttributes, getAttributeTypes, getSQLTypeName
-
-
-
-
Method Detail
-
encode
public static PGBuffersStruct.Binary encode(Context context, CompositeType type, Object[] values) throws SQLException, IOException
- Throws:
SQLException
IOException
-
getAttribute
protected Object getAttribute(Context context, Type type, io.netty.buffer.ByteBuf buffer) throws IOException
- Specified by:
getAttribute
in classPGBuffersStruct<io.netty.buffer.ByteBuf>
- Throws:
IOException
-
-