public abstract class TimeFcts
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static NativeScalarFunction |
dateOfFct
Deprecated.
Replaced by the
#timeUuidToTimestamp function |
static org.slf4j.Logger |
logger |
static Function |
maxTimeuuidFct |
static Function |
minTimeuuidFct |
static NativeScalarFunction |
unixTimestampOfFct
Deprecated.
Replaced by the
#timeUuidToUnixTimestamp function |
Constructor and Description |
---|
TimeFcts() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Function> |
all() |
static Function |
now(java.lang.String name,
TemporalType<?> type) |
static NativeScalarFunction |
toDate(TemporalType<?> type)
Creates a function that convert a value of the specified type into a
DATE . |
static NativeScalarFunction |
toTimestamp(TemporalType<?> type)
Creates a function that convert a value of the specified type into a
TIMESTAMP . |
static NativeScalarFunction |
toUnixTimestamp(TemporalType<?> type)
Creates a function that convert a value of the specified type into an UNIX timestamp.
|
public static org.slf4j.Logger logger
public static final Function minTimeuuidFct
public static final Function maxTimeuuidFct
public static final NativeScalarFunction dateOfFct
#timeUuidToTimestamp
functionTIMEUUID
into a value of type TIMESTAMP
.public static final NativeScalarFunction unixTimestampOfFct
#timeUuidToUnixTimestamp
functionTIMEUUID
into an UNIX timestamp.public static java.util.Collection<Function> all()
public static final Function now(java.lang.String name, TemporalType<?> type)
public static final NativeScalarFunction toDate(TemporalType<?> type)
DATE
.type
- the temporal typeDATE
.public static final NativeScalarFunction toTimestamp(TemporalType<?> type)
TIMESTAMP
.type
- the temporal typeTIMESTAMP
.public static final NativeScalarFunction toUnixTimestamp(TemporalType<?> type)
type
- the temporal typeCopyright © 2009- The Apache Software Foundation