限定符和类型 | 类和说明 |
---|---|
class |
AllComparisonExpression |
class |
AnalyticExpression
Analytic function.
|
class |
AnyComparisonExpression
Combines ANY and SOME expressions.
|
class |
BinaryExpression
A basic class for binary expressions, that is expressions having a left member and a right member
which are in turn expressions.
|
class |
CaseExpression
CASE/WHEN expression.
|
class |
CastExpression |
class |
DateTimeLiteralExpression |
class |
DateValue
A Date in the form {d 'yyyy-mm-dd'}
|
class |
DoubleValue
Every number with a point or a exponential format is a DoubleValue
|
class |
ExtractExpression
Extract value from date/time expression.
|
class |
Function
A function as MAX,COUNT...
|
class |
HexValue
Every number with a point or a exponential format is a DoubleValue
|
class |
IntervalExpression |
class |
JdbcNamedParameter |
class |
JdbcParameter
A '?'
|
class |
JsonExpression |
class |
KeepExpression
Analytic function.
|
class |
LongValue
Every number without a point or an exponential format is a LongValue.
|
class |
MySQLGroupConcat |
class |
NotExpression
It represents a "-" or "+" before an expression
|
class |
NullValue
A "NULL" in a sql statement
|
class |
NumericBind |
class |
OracleHierarchicalExpression |
class |
OracleHint
Oracle Hint Expression
|
class |
Parenthesis
It represents an expression like "(" expression ")"
|
class |
RowConstructor
Rowconstructor.
|
class |
SignedExpression
It represents a "-" or "+" before an expression
|
class |
StringValue
A string as in 'example_string'
|
class |
TimeKeyExpression |
class |
TimestampValue
A Timestamp in the form {ts 'yyyy-mm-dd hh:mm:ss.f . . .'}
|
class |
TimeValue
A Time in the form {t 'hh:mm:ss'}
|
class |
UserVariable
Simple uservariables like @test.
|
class |
WhenClause
A clause of following syntax: WHEN condition THEN expression.
|
class |
WithinGroupExpression |
限定符和类型 | 方法和说明 |
---|---|
Expression |
OracleHierarchicalExpression.getConnectExpression() |
Expression |
AnalyticExpression.getDefaultValue() |
Expression |
CaseExpression.getElseExpression() |
Expression |
WindowOffset.getExpression() |
Expression |
SignedExpression.getExpression() |
Expression |
Parenthesis.getExpression() |
Expression |
NotExpression.getExpression() |
Expression |
ExtractExpression.getExpression() |
Expression |
AnalyticExpression.getExpression() |
Expression |
CastExpression.getLeftExpression() |
Expression |
BinaryExpression.getLeftExpression() |
Expression |
AnalyticExpression.getOffset() |
Expression |
BinaryExpression.getRightExpression() |
Expression |
OracleHierarchicalExpression.getStartExpression() |
Expression |
CaseExpression.getSwitchExpression() |
Expression |
WhenClause.getThenExpression() |
Expression |
WhenClause.getWhenExpression() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Expression> |
CaseExpression.getWhenClauses() |
限定符和类型 | 方法和说明 |
---|---|
void |
OracleHierarchicalExpression.setConnectExpression(Expression connectExpression) |
void |
AnalyticExpression.setDefaultValue(Expression defaultValue) |
void |
CaseExpression.setElseExpression(Expression elseExpression) |
void |
WindowOffset.setExpression(Expression expression) |
void |
SignedExpression.setExpression(Expression expression) |
void |
Parenthesis.setExpression(Expression expression) |
void |
NotExpression.setExpression(Expression expression) |
void |
ExtractExpression.setExpression(Expression expression) |
void |
AnalyticExpression.setExpression(Expression expression) |
void |
CastExpression.setLeftExpression(Expression expression) |
void |
BinaryExpression.setLeftExpression(Expression expression) |
void |
AnalyticExpression.setOffset(Expression offset) |
void |
BinaryExpression.setRightExpression(Expression expression) |
void |
OracleHierarchicalExpression.setStartExpression(Expression startExpression) |
void |
CaseExpression.setSwitchExpression(Expression switchExpression) |
void |
WhenClause.setThenExpression(Expression thenExpression) |
void |
WhenClause.setWhenExpression(Expression whenExpression) |
限定符和类型 | 方法和说明 |
---|---|
void |
CaseExpression.setWhenClauses(java.util.List<Expression> whenClauses) |
构造器和说明 |
---|
NotExpression(Expression expression) |
Parenthesis(Expression expression) |
SignedExpression(char sign,
Expression expression) |
限定符和类型 | 类和说明 |
---|---|
class |
Addition |
class |
BitwiseAnd |
class |
BitwiseOr |
class |
BitwiseXor |
class |
Concat |
class |
Division |
class |
Modulo
Modulo expression (a % b).
|
class |
Multiplication |
class |
Subtraction |
限定符和类型 | 类和说明 |
---|---|
class |
AndExpression |
class |
OrExpression |
构造器和说明 |
---|
AndExpression(Expression leftExpression,
Expression rightExpression) |
OrExpression(Expression leftExpression,
Expression rightExpression) |
限定符和类型 | 类和说明 |
---|---|
class |
Between
A "BETWEEN" expr1 expr2 statement
|
class |
ComparisonOperator |
class |
EqualsTo |
class |
ExistsExpression |
class |
GreaterThan |
class |
GreaterThanEquals |
class |
InExpression |
class |
IsNullExpression |
class |
JsonOperator |
class |
LikeExpression |
class |
Matches |
class |
MinorThan |
class |
MinorThanEquals |
class |
NotEqualsTo |
class |
OldOracleJoinBinaryExpression |
class |
RegExpMatchOperator |
class |
RegExpMySQLOperator |
限定符和类型 | 方法和说明 |
---|---|
Expression |
Between.getBetweenExpressionEnd() |
Expression |
Between.getBetweenExpressionStart() |
Expression |
IsNullExpression.getLeftExpression() |
Expression |
InExpression.getLeftExpression() |
Expression |
Between.getLeftExpression() |
Expression |
ExistsExpression.getRightExpression() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Expression> |
ExpressionList.getExpressions() |
限定符和类型 | 方法和说明 |
---|---|
void |
MultiExpressionList.addExpressionList(Expression expr) |
void |
Between.setBetweenExpressionEnd(Expression expression) |
void |
Between.setBetweenExpressionStart(Expression expression) |
void |
IsNullExpression.setLeftExpression(Expression expression) |
void |
InExpression.setLeftExpression(Expression expression) |
void |
Between.setLeftExpression(Expression expression) |
void |
ExistsExpression.setRightExpression(Expression expression) |
限定符和类型 | 方法和说明 |
---|---|
void |
MultiExpressionList.addExpressionList(java.util.List<Expression> list) |
void |
ExpressionList.setExpressions(java.util.List<Expression> list) |
构造器和说明 |
---|
InExpression(Expression leftExpression,
ItemsList itemsList) |
构造器和说明 |
---|
ExpressionList(java.util.List<Expression> expressions) |
限定符和类型 | 方法和说明 |
---|---|
Expression |
CCJSqlParser.AdditiveExpression() |
Expression |
CCJSqlParser.AllComparisonExpression() |
Expression |
CCJSqlParser.AndExpression() |
Expression |
CCJSqlParser.AnyComparisonExpression() |
Expression |
CCJSqlParser.Between() |
Expression |
CCJSqlParser.BitwiseAndOr() |
Expression |
CCJSqlParser.BitwiseXor() |
Expression |
CCJSqlParser.CaseWhenExpression() |
Expression |
CCJSqlParser.ComparisonItem() |
Expression |
CCJSqlParser.ConcatExpression() |
Expression |
CCJSqlParser.Condition() |
Expression |
CCJSqlParser.ExistsExpression() |
Expression |
CCJSqlParser.Expression() |
Expression |
CCJSqlParser.Having() |
Expression |
CCJSqlParser.InExpression() |
Expression |
CCJSqlParser.IsNullExpression() |
Expression |
CCJSqlParser.LikeExpression() |
Expression |
CCJSqlParser.MultiplicativeExpression() |
Expression |
CCJSqlParser.OrExpression() |
static Expression |
CCJSqlParserUtil.parseCondExpression(java.lang.String condExpr)
Parse an conditional expression.
|
static Expression |
CCJSqlParserUtil.parseCondExpression(java.lang.String condExpr,
boolean allowPartialParse)
Parse an conditional expression.
|
static Expression |
CCJSqlParserUtil.parseExpression(java.lang.String expression)
Parse an expression.
|
static Expression |
CCJSqlParserUtil.parseExpression(java.lang.String expression,
boolean allowPartialParse) |
Expression |
CCJSqlParser.PrimaryExpression() |
Expression |
CCJSqlParser.RegularCondition() |
Expression |
CCJSqlParser.SimpleExpression() |
Expression |
CCJSqlParser.SQLCondition() |
Expression |
CCJSqlParser.WhereClause() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Expression> |
CCJSqlParser.GroupByColumnReferences() |
限定符和类型 | 类和说明 |
---|---|
class |
Column
A column.
|
限定符和类型 | 方法和说明 |
---|---|
Expression |
SetStatement.getExpression() |
限定符和类型 | 方法和说明 |
---|---|
void |
SetStatement.setExpression(Expression expression) |
构造器和说明 |
---|
SetStatement(java.lang.String name,
Expression expression) |
限定符和类型 | 方法和说明 |
---|---|
Expression |
ExcludeConstraint.getExpression() |
Expression |
CheckConstraint.getExpression() |
限定符和类型 | 方法和说明 |
---|---|
void |
ExcludeConstraint.setExpression(Expression expression) |
void |
CheckConstraint.setExpression(Expression expression) |
限定符和类型 | 方法和说明 |
---|---|
Expression |
Delete.getWhere() |
限定符和类型 | 方法和说明 |
---|---|
void |
Delete.setWhere(Expression expression) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Expression> |
Insert.getDuplicateUpdateExpressionList() |
java.util.List<Expression> |
Insert.getSetExpressionList() |
限定符和类型 | 方法和说明 |
---|---|
void |
Insert.setDuplicateUpdateExpressionList(java.util.List<Expression> duplicateUpdateExpressionList) |
void |
Insert.setSetExpressionList(java.util.List<Expression> setExpressionList) |
限定符和类型 | 方法和说明 |
---|---|
Expression |
MergeUpdate.getDeleteWhereCondition() |
Expression |
Merge.getOnCondition() |
Expression |
MergeUpdate.getWhereCondition() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Expression> |
MergeUpdate.getValues() |
java.util.List<Expression> |
MergeInsert.getValues() |
限定符和类型 | 方法和说明 |
---|---|
void |
MergeUpdate.setDeleteWhereCondition(Expression deleteWhereCondition) |
void |
Merge.setOnCondition(Expression onCondition) |
void |
MergeUpdate.setWhereCondition(Expression whereCondition) |
限定符和类型 | 方法和说明 |
---|---|
void |
MergeUpdate.setValues(java.util.List<Expression> values) |
void |
MergeInsert.setValues(java.util.List<Expression> values) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Expression> |
Replace.getExpressions()
A list of
Expression s (from a "REPLACE mytab SET
col1=exp1, col2=exp2"). |
限定符和类型 | 方法和说明 |
---|---|
void |
Replace.setExpressions(java.util.List<Expression> list) |
限定符和类型 | 类和说明 |
---|---|
class |
SubSelect
A subselect followed by an optional alias.
|
限定符和类型 | 方法和说明 |
---|---|
Expression |
Top.getExpression() |
Expression |
SelectExpressionItem.getExpression() |
Expression |
OrderByElement.getExpression() |
Expression |
PlainSelect.getHaving() |
Expression |
Limit.getOffset() |
Expression |
Join.getOnExpression()
Returns the "ON" expression (if any)
|
Expression |
Limit.getRowCount() |
Expression |
PlainSelect.getWhere() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Expression> |
PlainSelect.getGroupByColumnReferences()
A list of
Expression s of the GROUP BY clause. |
限定符和类型 | 方法和说明 |
---|---|
void |
PlainSelect.addGroupByColumnReference(Expression expr) |
void |
Top.setExpression(Expression expression) |
void |
SelectExpressionItem.setExpression(Expression expression) |
void |
OrderByElement.setExpression(Expression expression) |
void |
PlainSelect.setHaving(Expression expression) |
void |
Limit.setOffset(Expression l) |
void |
Join.setOnExpression(Expression expression) |
void |
Limit.setRowCount(Expression l) |
void |
PlainSelect.setWhere(Expression where) |
限定符和类型 | 方法和说明 |
---|---|
void |
PlainSelect.setGroupByColumnReferences(java.util.List<Expression> list) |
构造器和说明 |
---|
SelectExpressionItem(Expression expression) |
限定符和类型 | 方法和说明 |
---|---|
Expression |
Update.getWhere() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Expression> |
Update.getExpressions()
The
Expression s in this update (as 'a' and 'b' in UPDATE col1='a', col2='b') |
限定符和类型 | 方法和说明 |
---|---|
void |
Update.setWhere(Expression expression) |
限定符和类型 | 方法和说明 |
---|---|
void |
Update.setExpressions(java.util.List<Expression> list) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Expression> |
Upsert.getDuplicateUpdateExpressionList() |
限定符和类型 | 方法和说明 |
---|---|
void |
Upsert.setDuplicateUpdateExpressionList(java.util.List<Expression> duplicateUpdateExpressionList) |
限定符和类型 | 方法和说明 |
---|---|
static void |
SelectUtils.addExpression(Select select,
Expression expr)
Adds an expression to select statements.
|
static void |
SelectUtils.addGroupBy(Select select,
Expression expr)
Adds group by to a plain select statement.
|
static Join |
SelectUtils.addJoin(Select select,
Table table,
Expression onExpression)
Adds a simple join to a select statement.
|
static Select |
SelectUtils.buildSelectFromTableAndExpressions(Table table,
Expression... expr)
Builds select expr1, expr2 from table.
|
java.util.List<java.lang.String> |
TablesNamesFinder.getTableList(Expression expr)
Main entry for this Tool class.
|
限定符和类型 | 类和说明 |
---|---|
class |
MultiAndExpression
This helper class is mainly used for handling the CNF conversion.
|
class |
MultiOrExpression
This helper class is mainly used for handling the CNF conversion.
|
class |
MultipleExpression
This is a helper class that mainly used for handling the CNF conversion.
|
限定符和类型 | 方法和说明 |
---|---|
static Expression |
CNFConverter.convertToCNF(Expression expr)
Since the class is only used once, I create this method to make the rest
of the methods private.
|
Expression |
MultipleExpression.getChild(int index) |
Expression |
MultipleExpression.removeChild(int index) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Expression> |
MultipleExpression.getList() |
限定符和类型 | 方法和说明 |
---|---|
void |
MultipleExpression.addChild(int index,
Expression express) |
static Expression |
CNFConverter.convertToCNF(Expression expr)
Since the class is only used once, I create this method to make the rest
of the methods private.
|
int |
MultipleExpression.getIndex(Expression express) |
void |
MultipleExpression.setChild(int index,
Expression express) |
构造器和说明 |
---|
MultiAndExpression(java.util.List<Expression> childlist) |
MultiOrExpression(java.util.List<Expression> childlist) |
MultipleExpression(java.util.List<Expression> childlist) |
限定符和类型 | 字段和说明 |
---|---|
protected static Expression |
NoRecordConverter.NOT_EQUAL |