public static enum Expression.ExpressionFunction extends Enum<Expression.ExpressionFunction>
Enum Constant and Description |
---|
CAST |
DATE_FORMAT |
DAY |
HOUR |
MINUTE |
MONTH |
SECOND |
SUBSTRING |
TRUNCATE |
YEAR |
Modifier and Type | Field and Description |
---|---|
Expression.ExpressionCreator |
creator |
Modifier and Type | Method and Description |
---|---|
static Expression.ExpressionCreator |
creator(String exprName) |
Expression.ExpressionCreator |
getCreator() |
static Expression.ExpressionFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Expression.ExpressionFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Expression.ExpressionFunction YEAR
public static final Expression.ExpressionFunction MONTH
public static final Expression.ExpressionFunction DAY
public static final Expression.ExpressionFunction HOUR
public static final Expression.ExpressionFunction MINUTE
public static final Expression.ExpressionFunction SECOND
public static final Expression.ExpressionFunction DATE_FORMAT
public static final Expression.ExpressionFunction SUBSTRING
public static final Expression.ExpressionFunction TRUNCATE
public static final Expression.ExpressionFunction CAST
public final Expression.ExpressionCreator creator
public static Expression.ExpressionFunction[] values()
for (Expression.ExpressionFunction c : Expression.ExpressionFunction.values()) System.out.println(c);
public static Expression.ExpressionFunction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Expression.ExpressionCreator getCreator()
public static Expression.ExpressionCreator creator(String exprName)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.