improved oracle sql parser support CreateSequence. issue #1923

This commit is contained in:
wenshao
2017-08-20 05:48:32 +08:00
parent bc13ef1f43
commit 7e7ccc11c5
6 changed files with 232 additions and 2 deletions
@@ -38,6 +38,8 @@ public class SQLCreateSequenceStatement extends SQLStatementImpl implements SQLD
private Boolean cycle;
private Boolean cache;
private SQLExpr cacheValue;
private Boolean order;
@Override
@@ -144,4 +146,15 @@ public class SQLCreateSequenceStatement extends SQLStatementImpl implements SQLD
return null;
}
public SQLExpr getCacheValue() {
return cacheValue;
}
public void setCacheValue(SQLExpr cacheValue) {
if (cacheValue != null) {
cacheValue.setParent(this);
}
this.cacheValue = cacheValue;
}
}