change version & fixed java doc.

This commit is contained in:
wenshao
2017-09-04 15:21:09 +08:00
parent 9990e07aaa
commit 09524a8829
3 changed files with 3 additions and 45 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ public final class VERSION {
public final static int MajorVersion = 1;
public final static int MinorVersion = 1;
public final static int RevisionVersion = 2;
public final static int RevisionVersion = 3;
public static String getVersionNumber() {
return VERSION.MajorVersion + "." + VERSION.MinorVersion + "." + VERSION.RevisionVersion;
@@ -466,48 +466,6 @@ public class SQLJoinTableSource extends SQLTableSourceImpl implements SQLReplace
return right.containsAlias(alias_a) && left.containsAlias(alias_b);
}
/**
* a, b left join c ->
*/
// public boolean addCondition(SQLBinaryOpExpr condition, JoinType joinType) {
// if (this.left == null || this.right == null) {
// return false;
// }
//
// if (!(condition.getLeft() instanceof SQLPropertyExpr
// && condition.getRight() instanceof SQLPropertyExpr)) {
// return false;
// }
//
// SQLPropertyExpr left = (SQLPropertyExpr) condition.getLeft();
// SQLPropertyExpr right = (SQLPropertyExpr) condition.getRight();
//
// String leftOwner = left.getOwnernName();
// String rightOwner = right.getOwnernName();
//
// if (this.left.containsAlias(leftOwner) && this.right.containsAlias(rightOwner)) {
// if (this.joinType == joinType) {
// this.addConditionnIfAbsent(condition);
// return true;
// }
//
// if (this.joinType == null || this.joinType == JoinType.COMMA) {
// this.joinType = joinType;
// this.addConditionnIfAbsent(condition);
// return true;
// }
//
// if (this.joinType == JoinType.LEFT_OUTER_JOIN && joinType == JoinType.RIGHT_OUTER_JOIN) {
// if (this.left instanceof SQLJoinTableSource && ((SQLJoinTableSource) this.left).joinType == JoinType.COMMA) {
// SQLJoinTableSource leftJoin = (SQLJoinTableSource) this.left;
//
// }
// }
// }
//
// return false;
// }
//
public boolean conditionContainsTable(String alias) {
if (condition == null) {
return false;
@@ -51,7 +51,7 @@ public final class FnvHash {
}
/**
* lower & normalized & fnv_1a_64
* lower and normalized and fnv_1a_64
* @param name
* @return
*/
@@ -184,7 +184,7 @@ public final class FnvHash {
}
/**
* normalized & lower & fnv1a_64_hash
* normalized and lower and fnv1a_64_hash
* @param owner
* @param name
* @return