public enum CoreFunctionType extends Enum<CoreFunctionType>
| Enum Constant and Description |
|---|
BETWEEN |
EQUALS_TO |
GREATER_OR_EQUALS_TO |
GREATER_THAN |
IN |
IS_NULL |
LIKE_TO
The
LIKE_TO operator is intended to emulate the SQL like operator.It's used to search for a specified pattern in a data set's column. |
LOWER_OR_EQUALS_TO |
LOWER_THAN |
NOT_EQUALS_TO |
NOT_IN |
NOT_NULL |
TIME_FRAME |
| Modifier and Type | Method and Description |
|---|---|
static CoreFunctionType |
getByIndex(int index) |
static CoreFunctionType |
getByName(String type) |
int |
getIndex() |
static int |
getNumberOfParameters(String type) |
int |
getParametersCount() |
static List<CoreFunctionType> |
getSupportedTypes(ColumnType columnType) |
boolean |
supportsType(ColumnType type) |
static CoreFunctionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreFunctionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreFunctionType IS_NULL
public static final CoreFunctionType NOT_NULL
public static final CoreFunctionType EQUALS_TO
public static final CoreFunctionType NOT_EQUALS_TO
public static final CoreFunctionType LIKE_TO
The LIKE_TO operator is intended to emulate the SQL like operator.It's used to search for a specified pattern in a data set's column.
Allowed wildcards are:
_ - A substitute for a single character.% - A substitute for zero or more characters.[charlist] - Sets and ranges of characters to match.[^charlist] - Matches only a character NOT specified within the brackets.The implementation is supported for TEXT or LABEL column types and it's case sensitive or unsensitive depending on the boolean value returned by its second parameter.
public static final CoreFunctionType GREATER_THAN
public static final CoreFunctionType GREATER_OR_EQUALS_TO
public static final CoreFunctionType LOWER_THAN
public static final CoreFunctionType LOWER_OR_EQUALS_TO
public static final CoreFunctionType BETWEEN
public static final CoreFunctionType TIME_FRAME
public static final CoreFunctionType IN
public static final CoreFunctionType NOT_IN
public static CoreFunctionType[] values()
for (CoreFunctionType c : CoreFunctionType.values()) System.out.println(c);
public static CoreFunctionType 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 int getIndex()
public int getParametersCount()
public boolean supportsType(ColumnType type)
public static CoreFunctionType getByIndex(int index)
public static CoreFunctionType getByName(String type)
public static int getNumberOfParameters(String type)
public static List<CoreFunctionType> getSupportedTypes(ColumnType columnType)
Copyright © 2017–2021 JBoss by Red Hat. All rights reserved.