public class Function extends Expression
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AVG
The AVG function.
|
static java.lang.String |
COUNT
The COUNT function.
|
static java.util.Set<java.lang.String> |
FUNCTIONS
The list of functions.
|
static java.lang.String |
LOWER
The LOWER function.
|
static java.lang.String |
MAX
The MAX function.
|
static java.lang.String |
MIN
The MIN function.
|
static java.lang.String |
STDDEV
The STDDEV function.
|
static java.lang.String |
SUM
The SUM function.
|
static java.lang.String |
UPPER
The UPPER function.
|
alias, enclosed, joins, ordering, properties, quotes, translator, withNoLock| Constructor and Description |
|---|
Function(java.lang.String function)
Creates a new instance of
Function. |
Function(java.lang.String function,
Expression exp)
Creates a new instance of
Function. |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getExp()
Gets the expression in the function.
|
java.lang.String |
getFunction()
Gets the function.
|
boolean |
isUDF()
Checks if this function is a UDF.
|
java.lang.String |
translate()
Translates the expression.
|
alias, asc, desc, enclose, fullOuterJoin, getAlias, getJoins, getOrdering, innerJoin, isAliased, isEnclosed, isQuote, isQuotes, isWithNoLock, leftOuterJoin, rightOuterJoin, unquote, withNoLockpublic static final java.lang.String MAX
public static final java.lang.String MIN
public static final java.lang.String AVG
public static final java.lang.String COUNT
public static final java.lang.String STDDEV
public static final java.lang.String SUM
public static final java.lang.String UPPER
public static final java.lang.String LOWER
public static final java.util.Set<java.lang.String> FUNCTIONS
public Function(java.lang.String function)
Function.function - The function.public Function(java.lang.String function,
Expression exp)
Function.function - The function.exp - The expression.public java.lang.String getFunction()
public Expression getExp()
public java.lang.String translate()
Expressiontranslate in class Expressionpublic boolean isUDF()
true if the function is user defined, false otherwise.Copyright © 2018 Feedzai. All Rights Reserved.