public class Query extends Object implements QueryComponent, ExpressionStack
| Constructor and Description |
|---|
Query() |
| Modifier and Type | Method and Description |
|---|---|
AndOperator<Query> |
addAnd() |
ValueBetweenOperator<Query> |
addBet() |
EqualsOperator<Query> |
addEq() |
GreaterThanOperator<Query> |
addGt() |
GreaterThanEqualsOperator<Query> |
addGte() |
ValueInOperator<Query> |
addIn() |
LessThanOperator<Query> |
addLt() |
LessThanEqualsOperator<Query> |
addLte() |
NotEqualOperator<Query> |
addNe() |
ValueNotInOperator<Query> |
addNin() |
NorOperator<Query> |
addNor() |
NotOperator<Query> |
addNot() |
OrOperator<Query> |
addOr() |
Query |
build()
Does nothing for now.
|
Query |
setDatabaseName(String databaseName)
Deprecated.
|
Query |
setTableName(String tableName)
If none selected default table will be used
|
String |
toJson() |
public Query build()
public AndOperator<Query> addAnd()
addAnd in interface ExpressionStackpublic OrOperator<Query> addOr()
addOr in interface ExpressionStackpublic NotOperator<Query> addNot()
addNot in interface ExpressionStackpublic NorOperator<Query> addNor()
addNor in interface ExpressionStackpublic EqualsOperator<Query> addEq()
addEq in interface ExpressionStackpublic NotEqualOperator<Query> addNe()
addNe in interface ExpressionStackpublic GreaterThanOperator<Query> addGt()
addGt in interface ExpressionStackpublic GreaterThanEqualsOperator<Query> addGte()
addGte in interface ExpressionStackpublic LessThanEqualsOperator<Query> addLte()
addLte in interface ExpressionStackpublic LessThanOperator<Query> addLt()
addLt in interface ExpressionStackpublic ValueInOperator<Query> addIn()
addIn in interface ExpressionStackpublic ValueNotInOperator<Query> addNin()
addNin in interface ExpressionStackpublic ValueBetweenOperator<Query> addBet()
addBet in interface ExpressionStackpublic String toJson()
toJson in interface QueryComponentpublic Query setTableName(String tableName)
tableName - name of the target table@Deprecated public Query setDatabaseName(String databaseName)
databaseName - name of the target databaseCopyright © 2020. All rights reserved.