final public Expression filterClause(ParseInfo info) throws ParseException { Expression condition = null; jj_consume_token(FILTER); jj_consume_token(LPAREN); jj_consume_token(WHERE); condition = booleanPrimary(info); jj_consume_token(RPAREN); {if (true) return condition;} throw new Error("Missing return statement in function"); }
final public JSONObject jsonObject(ParseInfo info) throws ParseException { ArrayList<DerivedColumn> args = null; jj_consume_token(JSONOBJECT); jj_consume_token(LPAREN); args = derivedColumnList(info); jj_consume_token(RPAREN); JSONObject result = new JSONObject(args); {if (true) return result;} throw new Error("Missing return statement in function"); }
final public void dropRole(DatabaseStore dbStore) throws ParseException { String roleName = null; jj_consume_token(DROP); jj_consume_token(ROLE); roleName = id(null); dbStore.roleDropped(roleName); }
final public String stringVal() throws ParseException { Token t = null; t = jj_consume_token(STRINGVAL); {if (true) return normalizeStringLiteral(t.image);} throw new Error("Missing return statement in function"); }
final public void useSchema(DatabaseStore dbStore) throws ParseException { String name = null; jj_consume_token(SET); jj_consume_token(SCHEMA); name = id(null); dbStore.schemaSwitched(name); }
final public void alterDropColumn(String objectName, Database.ResourceType type, DatabaseStore dbStore) throws ParseException { MetadataFactory factory = null; Table table = null; String childName = null; Column column = null; jj_consume_token(DROP); jj_consume_token(COLUMN); childName = id(null); dbStore.removeColumn(objectName, type, childName); }
final public Criteria having(ParseInfo info) throws ParseException { Criteria criteria = null; jj_consume_token(HAVING); criteria = criteria(info); {if (true) return criteria;} throw new Error("Missing return statement in function"); }
final public void dropServer(DatabaseStore dbStore) throws ParseException { String serverName = null; jj_consume_token(DROP); jj_consume_token(SERVER); serverName = id(null); dbStore.serverDropped(serverName); }
final public void createNameSpace(DatabaseStore dbStore) throws ParseException { String uri = null; String prefix = null; jj_consume_token(SET); jj_consume_token(NAMESPACE); uri = stringVal(); jj_consume_token(AS); prefix = id(Boolean.FALSE); dbStore.createNameSpace(prefix, uri); }
final public MultipleElementSymbol allInGroupSymbol() throws ParseException { Token allInGroupToken = null; allInGroupToken = jj_consume_token(ALL_IN_GROUP); {if (true) return new MultipleElementSymbol(normalizeId(allInGroupToken.image.substring(0, allInGroupToken.image.length() - 2)));} throw new Error("Missing return statement in function"); }
final public void alterAddColumn(String objectName, Database.ResourceType type, DatabaseStore dbStore) throws ParseException { Database.ResourceType childType = Database.ResourceType.COLUMN; MetadataFactory factory = null; Table table = null; jj_consume_token(ADD); jj_consume_token(COLUMN); factory = DatabaseStore.createMF(dbStore); table = dbStore.getTableForCreateColumn(objectName, type); createColumn(factory, table); }
final public Command dropTable(ParseInfo info) throws ParseException { Drop drop = new Drop(); String table = null; jj_consume_token(DROP); jj_consume_token(TABLE); table = id(null); drop.setTable(new GroupSymbol(table)); {if (true) return drop;} throw new Error("Missing return statement in function"); }
final public void alterDatabase(DatabaseStore dbStore) throws ParseException { String objectName = null; jj_consume_token(DATABASE); objectName = id(null); alterOptionsList(objectName, Database.ResourceType.DATABASE, dbStore); }
final public void dropChildOption(String objectName, Database.ResourceType type, String childName, Database.ResourceType childType, DatabaseStore dbStore) throws ParseException { String key = null; jj_consume_token(DROP); key = id(null); dbStore.removeOption(objectName, type, childName, childType, key); }
final public void alterRenameTable(String objectName, Database.ResourceType type, DatabaseStore dbStore) throws ParseException { String id = null; jj_consume_token(TO); id = id(null); dbStore.modifyTableName(objectName, type, id); }
final public void alterServer(DatabaseStore dbStore) throws ParseException { String objectName = null; jj_consume_token(SERVER); objectName = id(null); alterOptionsList(objectName, Database.ResourceType.SERVER, dbStore); }
final public void dropOption(String objectName, Database.ResourceType type, DatabaseStore dbStore) throws ParseException { String key = null; jj_consume_token(DROP); key = id(null); dbStore.removeOption(objectName, type, key); }
final public Into into(ParseInfo info) throws ParseException { String groupID = null; Into into = null; jj_consume_token(INTO); groupID = id(null); into = new Into(new GroupSymbol(groupID)); {if (true) return into;} throw new Error("Missing return statement in function"); }
final public void alterRenameColumn(String objectName, Database.ResourceType type, DatabaseStore dbStore) throws ParseException { String oldName = null; String newName = null; oldName = id(null); jj_consume_token(TO); newName = id(null); dbStore.renameBaseColumn(objectName, type, oldName, newName); }
final public RaiseStatement errorStatement(ParseInfo info) throws ParseException { Expression errMsg = null; jj_consume_token(ERROR); errMsg = expression(info); ExceptionExpression ee = new ExceptionExpression(); ee.setMessage(errMsg); {if (true) return new RaiseStatement(ee);} throw new Error("Missing return statement in function"); }