Class BufferRowData
- java.lang.Object
-
- io.netty.buffer.DefaultByteBufHolder
-
- com.impossibl.postgres.protocol.v30.BufferRowData
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdatableRowData
duplicateForUpdate()
static BufferRowData
encode(Context context, ResultField[] fields, Object[] values)
Object
getField(int fieldIdx, ResultField field, Context context, Class<?> targetClass, Object targetContext)
int
getFieldCount()
-
Methods inherited from class io.netty.buffer.DefaultByteBufHolder
content, contentToString, copy, duplicate, equals, hashCode, refCnt, release, release, replace, retain, retain, retainedDuplicate, toString, touch, touch
-
-
-
-
Method Detail
-
encode
public static BufferRowData encode(Context context, ResultField[] fields, Object[] values) throws IOException
- Throws:
IOException
-
getFieldCount
public int getFieldCount()
- Specified by:
getFieldCount
in interfaceRowData
-
getField
public Object getField(int fieldIdx, ResultField field, Context context, Class<?> targetClass, Object targetContext) throws IOException
- Specified by:
getField
in interfaceRowData
- Throws:
IOException
-
duplicateForUpdate
public UpdatableRowData duplicateForUpdate()
- Specified by:
duplicateForUpdate
in interfaceRowData
-
-