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