Interface Constant
- All Superinterfaces:
Expression
,Projection
,Sql
- All Known Implementing Classes:
GenericConstant
,NullConstant
Defines a constant value.
-
Method Summary
Modifier and TypeMethodDescriptionCreates a projection of the constant.value()
Gets the constant value.Methods inherited from interface io.github.torand.fastersql.expression.Expression
dividedBy, dividedBy, minus, minus, mod, mod, plus, plus, times, times
Methods inherited from interface io.github.torand.fastersql.projection.Projection
alias, as
Methods inherited from interface io.github.torand.fastersql.sql.Sql
aliasRefs, columnRefs, params, sql
-
Method Details
-
forColumn
Creates a projection of the constant.- Parameters:
column
- the column to associate projection with.- Returns:
- the projection.
-
value
Object value()Gets the constant value.- Returns:
- the constant value.
-