| 限定符和类型 | 字段和说明 |
|---|---|
static java.util.Collection<java.lang.String> |
ALL_KEYWORDS |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
extractProperty(java.lang.String part)
Callback method to extract the actual propertyPath to be bound from the given part.
|
static Part.Type |
fromProperty(java.lang.String rawProperty)
|
java.util.Collection<java.lang.String> |
getKeywords()
Returns all keywords supported by the current
Part.Type. |
int |
getNumberOfArguments()
Returns the number of arguments the propertyPath binds.
|
protected boolean |
supports(java.lang.String property)
Returns whether the the type supports the given raw property.
|
java.lang.String |
toString() |
static Part.Type |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Part.Type[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Part.Type BETWEEN
public static final Part.Type IS_NOT_NULL
public static final Part.Type IS_NULL
public static final Part.Type LESS_THAN
public static final Part.Type LESS_THAN_EQUAL
public static final Part.Type GREATER_THAN
public static final Part.Type GREATER_THAN_EQUAL
public static final Part.Type BEFORE
public static final Part.Type AFTER
public static final Part.Type NOT_LIKE
public static final Part.Type LIKE
public static final Part.Type STARTING_WITH
public static final Part.Type ENDING_WITH
public static final Part.Type NOT_CONTAINING
public static final Part.Type CONTAINING
public static final Part.Type NOT_IN
public static final Part.Type IN
public static final Part.Type NEAR
public static final Part.Type WITHIN
public static final Part.Type REGEX
public static final Part.Type EXISTS
public static final Part.Type TRUE
public static final Part.Type FALSE
public static final Part.Type NEGATING_SIMPLE_PROPERTY
public static final Part.Type SIMPLE_PROPERTY
public static Part.Type[] values()
for (Part.Type c : Part.Type.values()) System.out.println(c);
public static Part.Type valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public static Part.Type fromProperty(java.lang.String rawProperty)
Part.Type of the Part for the given raw propertyPath. This will try to detect e.g.
keywords contained in the raw propertyPath that trigger special query creation. Returns SIMPLE_PROPERTY
by default.rawProperty - public java.util.Collection<java.lang.String> getKeywords()
Part.Type.protected boolean supports(java.lang.String property)
property - public int getNumberOfArguments()
public java.lang.String extractProperty(java.lang.String part)
part - public java.lang.String toString()
toString 在类中 java.lang.Enum<Part.Type>Copyright © 2023. All Rights Reserved.