public class SerializeBlock extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getColTotalLength(TableInfo tableInfo,
int toBebindColCount) |
static int |
getColumnSize(ColumnInfo column) |
static io.netty.buffer.ByteBuf |
getStmt2BindBlock(HashMap<ByteBuffer,TableInfo> tableInfoMap,
StmtInfo stmtInfo,
long reqId) |
static io.netty.buffer.ByteBuf |
getStmt2BindBlock(long reqId,
long stmtId,
HashMap<ByteBuffer,TableInfo> tableInfoMap,
int toBeBindTableNameIndex,
int toBebindTagCount,
int toBebindColCount,
int precision) |
static int |
getTagTotalLength(TableInfo tableInfo,
int toBebindTagCount) |
static void |
serializeByteArray(io.netty.buffer.ByteBuf buf,
byte[] data) |
public static void serializeByteArray(io.netty.buffer.ByteBuf buf,
byte[] data)
public static int getTagTotalLength(TableInfo tableInfo, int toBebindTagCount) throws SQLException
SQLExceptionpublic static int getColTotalLength(TableInfo tableInfo, int toBebindColCount) throws SQLException
SQLExceptionpublic static int getColumnSize(ColumnInfo column) throws SQLException
SQLExceptionpublic static io.netty.buffer.ByteBuf getStmt2BindBlock(HashMap<ByteBuffer,TableInfo> tableInfoMap, StmtInfo stmtInfo, long reqId) throws SQLException
SQLExceptionpublic static io.netty.buffer.ByteBuf getStmt2BindBlock(long reqId,
long stmtId,
HashMap<ByteBuffer,TableInfo> tableInfoMap,
int toBeBindTableNameIndex,
int toBebindTagCount,
int toBebindColCount,
int precision)
throws SQLException
SQLExceptionCopyright © 2025. All rights reserved.