Class WhereParser
java.lang.Object
cool.scx.data.query.parser.WhereParser
WhereParser (只是一个帮助类, 实现可以选择性使用)
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetJunctionKeyWord(Junction junction) protected StringgetNotKeyWord(Not n) protected final WhereClauseprotected abstract WhereClauseparseBETWEEN(Where where) protected abstract WhereClauseprotected abstract WhereClauseprotected abstract WhereClauseprotected abstract WhereClauseprotected abstract WhereClauseparseJSON_CONTAINS(Where where) protected abstract WhereClauseparseJSON_OVERLAPS(Where where) protected final WhereClauseprotected abstract WhereClauseprotected abstract WhereClauseparseLIKE_REGEX(Where where) protected abstract WhereClauseprotected abstract WhereClauseprotected abstract WhereClauseprotected WhereClauseprotected abstract WhereClauseparseNOT_BETWEEN(Where where) protected abstract WhereClauseparseNOT_IN(Where where) protected abstract WhereClauseparseNOT_LIKE(Where where) protected abstract WhereClauseparseNOT_LIKE_REGEX(Where where) protected WhereClauseparseQuery(Query query) protected final WhereClauseprotected WhereClauseparseWhere(Where body) protected WhereClause
-
Constructor Details
-
WhereParser
public WhereParser()
-
-
Method Details
-
parse
-
parseString
-
parseWhereClause
-
parseJunction
-
getJunctionKeyWord
-
parseNot
-
getNotKeyWord
-
parseQuery
-
parseAll
-
parseWhere
-
parseEQ
-
parseNE
-
parseLT
-
parseLTE
-
parseGT
-
parseGTE
-
parseLIKE
-
parseNOT_LIKE
-
parseLIKE_REGEX
-
parseNOT_LIKE_REGEX
-
parseIN
-
parseNOT_IN
-
parseBETWEEN
-
parseNOT_BETWEEN
-
parseJSON_CONTAINS
-
parseJSON_OVERLAPS
-