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, touch
public 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 RowData
public Object getField(int fieldIdx, ResultField field, Context context, Class<?> targetClass, Object targetContext) throws IOException
getField
in interface RowData
IOException
public void updateField(int columnIndex, ResultField field, Context context, Object source, Object sourceContext) throws IOException
updateField
in interface UpdatableRowData
IOException
public io.netty.buffer.ByteBuf[] getFieldBuffers()
getFieldBuffers
in interface UpdatableRowData
protected void deallocate()
deallocate
in class io.netty.util.AbstractReferenceCounted
public FieldBuffersRowData touch(Object hint)
touch
in interface io.netty.util.ReferenceCounted
public UpdatableRowData duplicateForUpdate()
duplicateForUpdate
in interface RowData