Package de.jaggl.sqlbuilder.functions
Class Now
- java.lang.Object
-
- de.jaggl.sqlbuilder.functions.Now
-
- All Implemented Interfaces:
DateTimeConditions
,LikeConditions
,Aliasable
,Selectable
,SqlTypeSupplier
,Valuable
,Function
public class Now extends Object implements Function, DateTimeConditions
- Since:
- 2.0.0
- Author:
- Martin Schumacher
-
-
Constructor Summary
Constructors Constructor Description Now()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Now
as(String alias)
Function<ZonedDateTime,Temporal>
getDateConversion()
int
getSqlType()
String
getValue(BuildingContext context, Indentation indentation)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.jaggl.sqlbuilder.conditions.DateTimeConditions
eq, eq, eq, isAfter, isAfter, isAfter, isAfter, isAfter, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isAfterOrEqualTo, isBefore, isBefore, isBefore, isBefore, isBefore, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBeforeOrEqualTo, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isBetween, isEqualTo, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotEqualTo, nEq, nEq, nEq
-
-
-
-
Method Detail
-
getDateConversion
public Function<ZonedDateTime,Temporal> getDateConversion()
- Specified by:
getDateConversion
in interfaceDateTimeConditions
-
getValue
public String getValue(BuildingContext context, Indentation indentation)
-
getSqlType
public int getSqlType()
- Specified by:
getSqlType
in interfaceSqlTypeSupplier
-
-