public class ComplexUtil extends Object
| Constructor and Description |
|---|
ComplexUtil() |
| Modifier and Type | Method and Description |
|---|---|
static ColumnType |
getMysqlType(int complexType) |
static void |
storeComplexArray(PacketOutputStream pos,
ComplexData data,
Options options) |
static void |
storeComplexAttrData(PacketOutputStream pos,
ComplexDataType type,
Object value,
Options options) |
static void |
storeComplexStruct(PacketOutputStream pos,
ComplexData data,
Options options) |
static void |
storeDateTime(PacketOutputStream pos,
Date dt,
int bufferType,
Options options) |
static void |
storeDateTime413AndNewer(PacketOutputStream pos,
Date dt,
int bufferType,
Options options) |
public static void storeDateTime(PacketOutputStream pos, Date dt, int bufferType, Options options) throws SQLException, IOException
SQLExceptionIOExceptionpublic static void storeDateTime413AndNewer(PacketOutputStream pos, Date dt, int bufferType, Options options) throws IOException
IOExceptionpublic static ColumnType getMysqlType(int complexType) throws SQLException
SQLExceptionpublic static void storeComplexStruct(PacketOutputStream pos, ComplexData data, Options options) throws Exception
Exceptionpublic static void storeComplexArray(PacketOutputStream pos, ComplexData data, Options options) throws Exception
Exceptionpublic static void storeComplexAttrData(PacketOutputStream pos, ComplexDataType type, Object value, Options options) throws Exception
ExceptionCopyright © 2022 oceanbase.com. All rights reserved.