public enum JoinOperator extends Enum<JoinOperator>
Enum Constant and Description |
---|
EQUAL |
GREATER_OR_EQUAL |
GREATER_THAN |
LESS_OR_EQUAL |
LESS_THAN |
NOT_EQUAL |
Modifier and Type | Method and Description |
---|---|
boolean |
isSymmetric()
Returns if this operation is symmetric with respect to its parameters.
|
String |
sqlOperator() |
JoinOperator |
swapEquivalent()
Returns a JoinOperator that would produce an equivalent predicate when
the arguments to the operator are applied swapped.
|
static JoinOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JoinOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JoinOperator EQUAL
public static final JoinOperator NOT_EQUAL
public static final JoinOperator LESS_THAN
public static final JoinOperator LESS_OR_EQUAL
public static final JoinOperator GREATER_THAN
public static final JoinOperator GREATER_OR_EQUAL
public static JoinOperator[] values()
for (JoinOperator c : JoinOperator.values()) System.out.println(c);
public static JoinOperator 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 String sqlOperator()
public boolean isSymmetric()
public JoinOperator swapEquivalent()
IllegalStateException
- if no such equivalent JoinOperator existsCopyright © 2018 Speedment, Inc.. All rights reserved.