improved sql parser.

This commit is contained in:
wenshao
2017-08-01 19:05:31 +08:00
parent c2adc8bfd4
commit 544da04ee4
32 changed files with 489 additions and 4 deletions
@@ -58,4 +58,16 @@ public class SQLPartitionValue extends SQLObjectImpl {
}
visitor.endVisit(this);
}
public SQLPartitionValue clone() {
SQLPartitionValue x = new SQLPartitionValue(operator);
for (SQLExpr item : items) {
SQLExpr item2 = item.clone();
item2.setParent(x);
x.items.add(item2);
}
return x;
}
}