Class Constants
java.lang.Object
io.github.torand.fastersql.constant.Constants
Provides factory methods for constants.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Constant$(T value) Creates a scalar value constant.static ConstantCreates a numeric inline constant.static ConstantCreates a string inline constant.static <T> Constantconstant(T value) Creates a scalar value constant.static ConstantCreates a null constant.
-
Method Details
-
$
Creates a scalar value constant.- Type Parameters:
T- the constant type.- Parameters:
value- the constant value.- Returns:
- the constant.
-
$i
Creates a string inline constant.- Parameters:
value- the constant value.- Returns:
- the constant.
-
$i
Creates a numeric inline constant.- Parameters:
value- the constant value.- Returns:
- the constant.
-
constant
Creates a scalar value constant.- Type Parameters:
T- the constant type.- Parameters:
value- the constant value.- Returns:
- the constant.
-
nullValue
Creates a null constant.- Returns:
- the constant.
-