| Package | Description |
|---|---|
| com.mysql.cj | |
| com.mysql.cj.jdbc | |
| com.mysql.cj.protocol.a | |
| com.mysql.cj.protocol.x | |
| com.mysql.cj.result | |
| com.mysql.cj.util | |
| testsuite.regression |
| Modifier and Type | Field and Description |
|---|---|
protected MysqlType |
NativeQueryBindValue.targetType |
| Modifier and Type | Field and Description |
|---|---|
(package private) static java.util.Map<java.lang.Class<?>,MysqlType> |
NativeQueryBindings.DEFAULT_MYSQL_TYPES |
| Modifier and Type | Method and Description |
|---|---|
static MysqlType |
MysqlType.getByJdbcType(int jdbcType) |
static MysqlType |
MysqlType.getByName(java.lang.String fullMysqlTypeName)
Get MysqlType matching the full MySQL type name, for example "DECIMAL(5,3) UNSIGNED ZEROFILL".
|
MysqlType |
BindValue.getMysqlType() |
MysqlType |
NativeQueryBindValue.getMysqlType() |
static MysqlType |
MysqlType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MysqlType[] |
MysqlType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MysqlType.isSigned(MysqlType type) |
private boolean |
NativeQueryBindValue.resetToType(MysqlType newTargetType) |
void |
BindValue.setBinding(java.lang.Object obj,
MysqlType type,
int numberOfExecutions,
java.util.concurrent.atomic.AtomicBoolean sendTypesToServer) |
void |
NativeQueryBindValue.setBinding(java.lang.Object obj,
MysqlType type,
int numberOfExecutions,
java.util.concurrent.atomic.AtomicBoolean sendTypesToServer) |
void |
BindValue.setMysqlType(MysqlType type) |
void |
NativeQueryBindValue.setMysqlType(MysqlType type) |
void |
QueryBindings.setObject(int parameterIndex,
java.lang.Object parameterObj,
MysqlType targetMysqlType,
int scaleOrLength) |
void |
NativeQueryBindings.setObject(int parameterIndex,
java.lang.Object parameterObj,
MysqlType targetMysqlType,
int scaleOrLength)
Set the value of a parameter using an object; use the java.lang equivalent objects for integral values.
|
void |
QueryBindings.setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar targetCalendar,
Field field,
MysqlType targetMysqlType) |
void |
NativeQueryBindings.setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar targetCalendar,
Field field,
MysqlType targetMysqlType) |
| Modifier and Type | Field and Description |
|---|---|
(package private) MysqlType |
CallableStatement.CallableStatementParam.desiredMysqlType |
(package private) MysqlType |
DatabaseMetaData.TypeDescriptor.mysqlType |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CallableStatement.registerOutParameter(int parameterIndex,
MysqlType mysqlType) |
protected void |
CallableStatement.registerOutParameter(int parameterIndex,
MysqlType mysqlType,
int scale) |
protected void |
CallableStatement.registerOutParameter(int parameterIndex,
MysqlType mysqlType,
java.lang.String typeName) |
void |
ClientPreparedStatement.setNull(int parameterIndex,
MysqlType mysqlType) |
void |
JdbcPreparedStatement.setNull(int parameterIndex,
MysqlType mysqlType) |
| Modifier and Type | Method and Description |
|---|---|
static MysqlType |
NativeProtocol.findMysqlType(PropertySet propertySet,
int mysqlTypeId,
short colFlag,
long length,
LazyString tableName,
LazyString originalTableName,
int collationIndex,
java.lang.String encoding) |
| Modifier and Type | Method and Description |
|---|---|
private MysqlType |
FieldFactory.findMysqlType(MysqlxResultset.ColumnMetaData.FieldType type,
int contentType,
int flags,
int collationIndex) |
| Modifier and Type | Field and Description |
|---|---|
private MysqlType |
Field.mysqlType |
| Modifier and Type | Method and Description |
|---|---|
MysqlType |
Field.getMysqlType() |
| Modifier and Type | Method and Description |
|---|---|
void |
Field.setMysqlType(MysqlType mysqlType) |
| Constructor and Description |
|---|
Field(LazyString databaseName,
LazyString tableName,
LazyString originalTableName,
LazyString columnName,
LazyString originalColumnName,
long length,
int mysqlTypeId,
short colFlag,
int colDecimals,
int collationIndex,
java.lang.String encoding,
MysqlType mysqlType) |
Field(java.lang.String tableName,
java.lang.String columnName,
int collationIndex,
java.lang.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.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
TimeUtil.parseToDateTimeObject(java.lang.String s,
MysqlType targetMysqlType) |
| Modifier and Type | Method and Description |
|---|---|
private void |
DateTimeRegressionTest.subTestBug20391832(java.util.Properties props,
MysqlType targetType,
java.lang.String val,
java.lang.String exp) |