public class FieldBuffersRowData extends io.netty.util.AbstractReferenceCounted implements UpdatableRowData, io.netty.util.ReferenceCounted
| Constructor and Description |
|---|
FieldBuffersRowData(io.netty.buffer.ByteBuf[] fieldBuffers,
io.netty.buffer.ByteBufAllocator alloc) |
FieldBuffersRowData(ResultField[] fields,
io.netty.buffer.ByteBufAllocator alloc) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deallocate() |
UpdatableRowData |
duplicateForUpdate() |
Object |
getField(int fieldIdx,
ResultField field,
Context context,
Class<?> targetClass,
Object targetContext) |
io.netty.buffer.ByteBuf[] |
getFieldBuffers() |
int |
getFieldCount() |
FieldBuffersRowData |
touch(Object hint) |
void |
updateField(int columnIndex,
ResultField field,
Context context,
Object source,
Object sourceContext) |
refCnt, release, release, retain, retain, setRefCnt, touchpublic FieldBuffersRowData(ResultField[] fields, io.netty.buffer.ByteBufAllocator alloc)
public FieldBuffersRowData(io.netty.buffer.ByteBuf[] fieldBuffers,
io.netty.buffer.ByteBufAllocator alloc)
public int getFieldCount()
getFieldCount in interface RowDatapublic Object getField(int fieldIdx, ResultField field, Context context, Class<?> targetClass, Object targetContext) throws IOException
getField in interface RowDataIOExceptionpublic void updateField(int columnIndex,
ResultField field,
Context context,
Object source,
Object sourceContext)
throws IOException
updateField in interface UpdatableRowDataIOExceptionpublic io.netty.buffer.ByteBuf[] getFieldBuffers()
getFieldBuffers in interface UpdatableRowDataprotected void deallocate()
deallocate in class io.netty.util.AbstractReferenceCountedpublic FieldBuffersRowData touch(Object hint)
touch in interface io.netty.util.ReferenceCountedpublic UpdatableRowData duplicateForUpdate()
duplicateForUpdate in interface RowData