Class VarIntMysqlFieldCodec
java.lang.Object
io.datarouter.client.mysql.field.codec.base.BaseMysqlFieldCodec<T,F>
io.datarouter.client.mysql.field.codec.base.BasePrimitiveMysqlFieldCodec<java.lang.Integer,io.datarouter.model.field.imp.positive.VarIntField>
io.datarouter.client.mysql.field.codec.positive.VarIntMysqlFieldCodec
- All Implemented Interfaces:
MysqlFieldCodec<java.lang.Integer>
public class VarIntMysqlFieldCodec extends BasePrimitiveMysqlFieldCodec<java.lang.Integer,io.datarouter.model.field.imp.positive.VarIntField>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description VarIntMysqlFieldCodec()VarIntMysqlFieldCodec(io.datarouter.model.field.imp.positive.VarIntField field) -
Method Summary
Modifier and Type Method Description java.lang.IntegerfromMysqlResultSetButDoNotSet(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
-
VarIntMysqlFieldCodec
public VarIntMysqlFieldCodec() -
VarIntMysqlFieldCodec
public VarIntMysqlFieldCodec(io.datarouter.model.field.imp.positive.VarIntField field)
-
-
Method Details
-
getSqlColumnDefinition
-
setPreparedStatementValue
public void setPreparedStatementValue(java.sql.PreparedStatement ps, int parameterIndex) -
fromMysqlResultSetButDoNotSet
public java.lang.Integer fromMysqlResultSetButDoNotSet(java.sql.ResultSet rs) -
getMysqlColumnType
-