public static enum Condition.LikeType extends Enum<Condition.LikeType>
Enum Constant and Description |
---|
Contains
包含给定值,拼接后的SQL "%value%"
|
EndWith
以给定值开头,拼接后的SQL "%value"
|
StartWith
以给定值开头,拼接后的SQL "value%"
|
Modifier and Type | Method and Description |
---|---|
static Condition.LikeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Condition.LikeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Condition.LikeType StartWith
public static final Condition.LikeType EndWith
public static final Condition.LikeType Contains
public static Condition.LikeType[] values()
for (Condition.LikeType c : Condition.LikeType.values()) System.out.println(c);
public static Condition.LikeType 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 nullCopyright © 2024. All rights reserved.