/** * Return a path starting from the given subquery. */ public PCPath(SubQ sub) { _candidate = sub.getCandidate(); _actions = new LinkedList(); Action action = new Action(); action.op = Action.SUBQUERY; action.data = sub.getCandidateAlias(); _actions.add(action); _cast = sub.getType(); // initial type is subquery type _varName = sub.getCandidateAlias(); }
/** * Return a path starting from the given subquery. */ public PCPath(SubQ sub) { _candidate = sub.getCandidate(); _actions = new LinkedList(); Action action = new Action(); action.op = Action.SUBQUERY; action.data = sub.getCandidateAlias(); _actions.add(action); _cast = sub.getType(); // initial type is subquery type _varName = sub.getCandidateAlias(); }
/** * Return a path starting from the given subquery. */ public PCPath(SubQ sub) { _candidate = sub.getCandidate(); _actions = new LinkedList(); Action action = new Action(); action.op = Action.SUBQUERY; action.data = sub.getCandidateAlias(); _actions.add(action); _cast = sub.getType(); // initial type is subquery type _varName = sub.getCandidateAlias(); }
/** * Return a path starting from the given subquery. */ public PCPath(SubQ sub) { _candidate = sub.getCandidate(); _actions = new LinkedList(); Action action = new Action(); action.op = Action.SUBQUERY; action.data = sub.getCandidateAlias(); _actions.add(action); _cast = sub.getType(); // initial type is subquery type _varName = sub.getCandidateAlias(); }
/** * Return a path starting from the given subquery. */ public PCPath(SubQ sub) { _candidate = sub.getCandidate(); _actions = new LinkedList(); Action action = new Action(); action.op = Action.SUBQUERY; action.data = sub.getCandidateAlias(); _actions.add(action); _cast = sub.getType(); // initial type is subquery type _varName = sub.getCandidateAlias(); }
private String findSubqAlias(Select sel) { Select pSel = sel.getParent(); if (pSel == null) return null; Context pCtx = pSel.ctx(); if (pCtx.subquery == null) return null; if (pCtx.getSchema(_schemaAlias) != null) return ((SubQ)pCtx.subquery).getCandidateAlias(); return findSubqAlias(pSel); }
private String findSubqAlias(Select sel) { Select pSel = sel.getParent(); if (pSel == null) return null; Context pCtx = pSel.ctx(); if (pCtx.subquery == null) return null; if (pCtx.getSchema(_schemaAlias) != null) return ((SubQ)pCtx.subquery).getCandidateAlias(); return findSubqAlias(pSel); }
private String findSubqAlias(Select sel) { Select pSel = sel.getParent(); if (pSel == null) return null; Context pCtx = pSel.ctx(); if (pCtx.subquery == null) return null; if (pCtx.getSchema(_schemaAlias) != null) return ((SubQ)pCtx.subquery).getCandidateAlias(); return findSubqAlias(pSel); }
private String findSubqAlias(Select sel) { Select pSel = sel.getParent(); if (pSel == null) return null; Context pCtx = pSel.ctx(); if (pCtx.subquery == null) return null; if (pCtx.getSchema(_schemaAlias) != null) return ((SubQ)pCtx.subquery).getCandidateAlias(); return findSubqAlias(pSel); }