你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Criteria Class
- java.
lang. Object - com.
azure. spring. data. cosmos. core. query. Criteria
- com.
public final class Criteria
Class of criteria
Method Summary
Modifier and Type | Method and Description |
---|---|
org.springframework.data.repository.query.parser.Part.IgnoreCaseType |
getIgnoreCase()
Ignore case flag |
static Criteria |
getInstance(CriteriaType type)
To get a new criteria instance |
static Criteria |
getInstance(CriteriaType type, Criteria left, Criteria right)
To get a criteria instance with sub criteria |
static Criteria |
getInstance(CriteriaType type, String subject, List<Object> values, Part.IgnoreCaseType ignoreCase)
To get a criteria instance with subject and ignore case |
List<Criteria> |
getSubCriteria()
To get sub criteria |
String |
getSubject()
To get subject |
List<Object> |
getSubjectValues()
To get Criteria |
Criteria |
getType()
To get Criteria |
Methods inherited from java.lang.Object
Method Details
getIgnoreCase
public Part.IgnoreCaseType getIgnoreCase()
Ignore case flag
Returns:
getInstance
public static Criteria getInstance(CriteriaType type)
To get a new criteria instance
Parameters:
Returns:
getInstance
public static Criteria getInstance(CriteriaType type, Criteria left, Criteria right)
To get a criteria instance with sub criteria
Parameters:
Returns:
getInstance
public static Criteria getInstance(CriteriaType type, String subject, List