@Override public String toString(int indent) { final String s = indent(indent); final StringBuilder sb = new StringBuilder(); sb.append("\n"); sb.append(s).append(getClass().getSimpleName()); sb.append("(left=").append(left()).append(", right=").append(right()).append(") {"); sb.append(subgroup().toString(indent+1)); sb.append("\n").append(s); sb.append("}"); final Long rangeCount = (Long) getProperty(AST2BOpBase.Annotations.ESTIMATED_CARDINALITY); if (rangeCount != null) { sb.append(" AST2BOpBase.estimatedCardinality="); sb.append(getProperty(AST2BOpBase.Annotations.ESTIMATED_CARDINALITY).toString()); } return sb.toString(); }
@Override public String toString(int indent) { final String s = indent(indent); final StringBuilder sb = new StringBuilder(); sb.append("\n"); sb.append(s).append(getClass().getSimpleName()); sb.append("(left=").append(left()).append(", right=").append(right()).append(") {"); sb.append(subgroup().toString(indent+1)); sb.append("\n").append(s); sb.append("}"); final Long rangeCount = (Long) getProperty(AST2BOpBase.Annotations.ESTIMATED_CARDINALITY); if (rangeCount != null) { sb.append(" AST2BOpBase.estimatedCardinality="); sb.append(getProperty(AST2BOpBase.Annotations.ESTIMATED_CARDINALITY).toString()); } return sb.toString(); }
/** * Return the variables bound by the path - i.e. what this node will * attempt to bind when run. */ public Set<IVariable<?>> getDefinitelyProducedBindings() { final Set<IVariable<?>> producedBindings = new LinkedHashSet<IVariable<?>>(); addVar(left(), producedBindings, true); addVar(right(), producedBindings, true); final VarNode edgeVar = edgeVar(); if (edgeVar != null) { addProducedBinding(edgeVar, producedBindings); } return producedBindings; }
/** * Return the variables bound by the path - i.e. what this node will * attempt to bind when run. */ public Set<IVariable<?>> getDefinitelyProducedBindings() { final Set<IVariable<?>> producedBindings = new LinkedHashSet<IVariable<?>>(); addVar(left(), producedBindings, true); addVar(right(), producedBindings, true); final VarNode edgeVar = edgeVar(); if (edgeVar != null) { addProducedBinding(edgeVar, producedBindings); } return producedBindings; }
alpNode.left().getValueExpression();
alpNode.left().getValueExpression();