类的使用
com.mysql.cj.MysqlType
-
使用MysqlType的程序包 程序包 说明 com.mysql.cj com.mysql.cj.jdbc com.mysql.cj.protocol.a com.mysql.cj.result com.mysql.cj.util -
-
com.mysql.cj中MysqlType的使用
声明为MysqlType的com.mysql.cj中的字段 修饰符和类型 字段 说明 protected MysqlTypeNativeQueryBindValue. targetType返回MysqlType的com.mysql.cj中的方法 修饰符和类型 方法 说明 static MysqlTypeMysqlType. getByJdbcType(int jdbcType)static MysqlTypeMysqlType. getByName(String fullMysqlTypeName)Get MysqlType matching the full MySQL type name, for example "DECIMAL(5,3) UNSIGNED ZEROFILL".MysqlTypeBindValue. getMysqlType()MysqlTypeNativeQueryBindValue. getMysqlType()static MysqlTypeMysqlType. valueOf(String name)返回带有指定名称的该类型的枚举常量。static MysqlType[]MysqlType. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。参数类型为MysqlType的com.mysql.cj中的方法 修饰符和类型 方法 说明 static booleanMysqlType. isSigned(MysqlType type)voidBindValue. setBinding(Object obj, MysqlType type, int numberOfExecutions, AtomicBoolean sendTypesToServer)voidNativeQueryBindValue. setBinding(Object obj, MysqlType type, int numberOfExecutions, AtomicBoolean sendTypesToServer)voidBindValue. setMysqlType(MysqlType type)voidNativeQueryBindValue. setMysqlType(MysqlType type)voidNativeQueryBindings. setObject(int parameterIndex, Object parameterObj, MysqlType targetMysqlType, int scaleOrLength)Set the value of a parameter using an object; use the java.lang equivalent objects for integral values.voidQueryBindings. setObject(int parameterIndex, Object parameterObj, MysqlType targetMysqlType, int scaleOrLength)voidNativeQueryBindings. setTimestamp(int parameterIndex, Timestamp x, Calendar targetCalendar, Field field, MysqlType targetMysqlType)voidQueryBindings. setTimestamp(int parameterIndex, Timestamp x, Calendar targetCalendar, Field field, MysqlType targetMysqlType) -
com.mysql.cj.jdbc中MysqlType的使用
参数类型为MysqlType的com.mysql.cj.jdbc中的方法 修饰符和类型 方法 说明 protected voidCallableStatement. registerOutParameter(int parameterIndex, MysqlType mysqlType)protected voidCallableStatement. registerOutParameter(int parameterIndex, MysqlType mysqlType, int scale)protected voidCallableStatement. registerOutParameter(int parameterIndex, MysqlType mysqlType, String typeName)voidClientPreparedStatement. setNull(int parameterIndex, MysqlType mysqlType)voidJdbcPreparedStatement. setNull(int parameterIndex, MysqlType mysqlType) -
com.mysql.cj.protocol.a中MysqlType的使用
返回MysqlType的com.mysql.cj.protocol.a中的方法 修饰符和类型 方法 说明 static MysqlTypeNativeProtocol. findMysqlType(PropertySet propertySet, int mysqlTypeId, short colFlag, long length, LazyString tableName, LazyString originalTableName, int collationIndex, String encoding) -
com.mysql.cj.result中MysqlType的使用
返回MysqlType的com.mysql.cj.result中的方法 修饰符和类型 方法 说明 MysqlTypeField. getMysqlType()参数类型为MysqlType的com.mysql.cj.result中的方法 修饰符和类型 方法 说明 voidField. setMysqlType(MysqlType mysqlType)参数类型为MysqlType的com.mysql.cj.result中的构造器 构造器 说明 Field(LazyString databaseName, LazyString tableName, LazyString originalTableName, LazyString columnName, LazyString originalColumnName, long length, int mysqlTypeId, short colFlag, int colDecimals, int collationIndex, String encoding, MysqlType mysqlType)Field(String tableName, String columnName, int collationIndex, String encoding, MysqlType mysqlType, int length)Used by prepared statements to re-use result set data conversion methods when generating bound parameter retrieval instance for statement interceptors. -
com.mysql.cj.util中MysqlType的使用
参数类型为MysqlType的com.mysql.cj.util中的方法 修饰符和类型 方法 说明 static ObjectTimeUtil. parseToDateTimeObject(String s, MysqlType targetMysqlType)
-