Class ShortMysqlFieldCodec
java.lang.Object
io.datarouter.client.mysql.field.codec.base.BaseMysqlFieldCodec<T,F>
io.datarouter.client.mysql.field.codec.base.BasePrimitiveMysqlFieldCodec<java.lang.Short,io.datarouter.model.field.Field<java.lang.Short>>
io.datarouter.client.mysql.field.codec.primitive.ShortMysqlFieldCodec
- All Implemented Interfaces:
MysqlFieldCodec<java.lang.Short>
public class ShortMysqlFieldCodec extends BasePrimitiveMysqlFieldCodec<java.lang.Short,io.datarouter.model.field.Field<java.lang.Short>>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ShortMysqlFieldCodec()ShortMysqlFieldCodec(io.datarouter.model.field.Field<java.lang.Short> field) -
Method Summary
Modifier and Type Method Description java.lang.ShortfromMysqlResultSetButDoNotSet(java.sql.ResultSet rs)MysqlColumnTypegetMysqlColumnType()SqlColumngetSqlColumnDefinition(boolean allowNullable)voidsetPreparedStatementValue(java.sql.PreparedStatement ps, int parameterIndex)Methods inherited from class io.datarouter.client.mysql.field.codec.base.BaseMysqlFieldCodec
fromMysqlResultSetUsingReflection, getIntroducedParameter, getSqlParameter
-
Constructor Details
-
ShortMysqlFieldCodec
public ShortMysqlFieldCodec() -
ShortMysqlFieldCodec
public ShortMysqlFieldCodec(io.datarouter.model.field.Field<java.lang.Short> field)
-
-
Method Details
-
getSqlColumnDefinition
-
setPreparedStatementValue
public void setPreparedStatementValue(java.sql.PreparedStatement ps, int parameterIndex) -
fromMysqlResultSetButDoNotSet
public java.lang.Short fromMysqlResultSetButDoNotSet(java.sql.ResultSet rs) -
getMysqlColumnType
-