Class CurrentDate
java.lang.Object
io.github.torand.fastersql.function.system.CurrentDate
- All Implemented Interfaces:
Expression,Function,SystemFunction,Projection,Sql
Implements the current date system function.
-
Method Summary
Modifier and TypeMethodDescriptionalias()Gets the column alias (label) assigned for this projection.Assigns a column alias (label) for this projection.Formats object as an SQL fragment.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.torand.fastersql.expression.Expression
dividedBy, dividedBy, minus, minus, mod, mod, plus, plus, times, timesMethods inherited from interface io.github.torand.fastersql.sql.Sql
aliasRefs, columnRefsMethods inherited from interface io.github.torand.fastersql.function.system.SystemFunction
params
-
Method Details
-
sql
Description copied from interface:SqlFormats object as an SQL fragment. -
as
Description copied from interface:ProjectionAssigns a column alias (label) for this projection.- Specified by:
asin interfaceProjection- Parameters:
alias- the column alias or label.- Returns:
- the projection with specified alias assigned.
-
alias
Description copied from interface:ProjectionGets the column alias (label) assigned for this projection.- Specified by:
aliasin interfaceProjection- Returns:
- the column alias (label) assigned for this projection.
-