/** * INTERNAL * Associate the given path with the given variable. */ public void registerJoinVariable(String variable, Node path, int line, int column) { VariableDecl decl = (VariableDecl)variableDecls.get(variable); if (decl == null) { decl = new VariableDecl(variable, path); variableDecls.put(variable, decl); } else { String text = decl.isRangeVariable ? decl.schema : decl.path.getAsString(); throw JPQLException.multipleVariableDeclaration( getQueryInfo(), line, column, variable, text); } } /**
/** * INTERNAL * Associate the given schema with the given variable. */ public void registerSchema(String variable, String schema, int line, int column) { VariableDecl decl = (VariableDecl)variableDecls.get(variable); if (decl == null) { decl = new VariableDecl(variable, schema); variableDecls.put(variable, decl); } else { String text = decl.isRangeVariable ? decl.schema : decl.path.getAsString(); throw JPQLException.multipleVariableDeclaration( getQueryInfo(), line, column, variable, text); } }
/** * INTERNAL * Associate the given path with the given variable. */ public void registerJoinVariable(String variable, Node path, int line, int column) { VariableDecl decl = (VariableDecl)variableDecls.get(variable); if (decl == null) { decl = new VariableDecl(variable, path); variableDecls.put(variable, decl); } else { String text = decl.isRangeVariable ? decl.schema : decl.path.getAsString(); throw JPQLException.multipleVariableDeclaration( getQueryInfo(), line, column, variable, text); } } /**
/** * INTERNAL * Associate the given schema with the given variable. */ public void registerSchema(String variable, String schema, int line, int column) { VariableDecl decl = (VariableDecl)variableDecls.get(variable); if (decl == null) { decl = new VariableDecl(variable, schema); variableDecls.put(variable, decl); } else { String text = decl.isRangeVariable ? decl.schema : decl.path.getAsString(); throw JPQLException.multipleVariableDeclaration( getQueryInfo(), line, column, variable, text); } }
/** * INTERNAL * Associate the given schema with the given variable. */ public void registerSchema(String variable, String schema, int line, int column) { VariableDecl decl = (VariableDecl)variableDecls.get(variable); if (decl == null) { decl = new VariableDecl(variable, schema); variableDecls.put(variable, decl); } else { String text = decl.isRangeVariable ? decl.schema : decl.path.getAsString(); throw JPQLException.multipleVariableDeclaration( getQueryInfo(), line, column, variable, text); } }
/** * INTERNAL * Associate the given path with the given variable. */ public void registerJoinVariable(String variable, Node path, int line, int column) { VariableDecl decl = (VariableDecl)variableDecls.get(variable); if (decl == null) { decl = new VariableDecl(variable, path); variableDecls.put(variable, decl); } else { String text = decl.isRangeVariable ? decl.schema : decl.path.getAsString(); throw JPQLException.multipleVariableDeclaration( getQueryInfo(), line, column, variable, text); } } /**