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(long reqId,
long stmtId,
HashMap<ByteBuffer,TableInfo> tableInfoMap,
int toBeBindTableNameIndex,
int toBebindTagCount,
int toBebindColCount,
int precision) |
static int |
getTagTotalLength(TableInfo tableInfo,
int toBebindTagCount) |
static byte[] |
intToBytes(int v) |
static byte[] |
longToBytes(long v) |
static void |
serializeByteArray(io.netty.buffer.ByteBuf buf,
byte[] data) |
static byte[] |
shortToBytes(int v) |
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(long reqId,
long stmtId,
HashMap<ByteBuffer,TableInfo> tableInfoMap,
int toBeBindTableNameIndex,
int toBebindTagCount,
int toBebindColCount,
int precision)
throws SQLException
SQLExceptionpublic static byte[] shortToBytes(int v)
public static byte[] intToBytes(int v)
public static byte[] longToBytes(long v)
Copyright © 2025. All rights reserved.