Class SqlParameter<O>
- java.lang.Object
-
- io.vertigo.database.sql.statement.SqlParameter<O>
-
- Type Parameters:
O
- the type param
public final class SqlParameter<O> extends Object
this class concerns the param of a sql statement.- Author:
- pchretien
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getDataType()
O
getValue()
static <O> SqlParameter
of(Class<O> dataType, O value)
Static builder.String
toString()
-
-
-
Method Detail
-
of
public static <O> SqlParameter of(Class<O> dataType, O value)
Static builder.- Parameters:
dataType
- the param typevalue
- the param value- Returns:
- SqlParameter of this value
-
getDataType
public Class getDataType()
- Returns:
- the param type
-
getValue
public O getValue()
- Returns:
- the param value
-
-