@Override public String prettyPrint(int depth, int indent) { String result = OExecutionStepInternal.getIndent(depth, indent) + "+ UNWRAP PREVIOUS VALUE"; if (profilingEnabled) { result += " (" + getCostFormatted() + ")"; } return result; }
private void handleResultForReturnBefore(OUpdateExecutionPlan result, OCommandContext ctx, boolean returnBefore, OProjection returnProjection, boolean profilingEnabled) { if (returnBefore) { result.chain(new UnwrapPreviousValueStep(ctx, profilingEnabled)); if (returnProjection != null) { result.chain(new ProjectionCalculationStep(returnProjection, ctx, profilingEnabled)); } } }
private void handleResultForReturnBefore(OUpdateExecutionPlan result, OCommandContext ctx, boolean returnBefore, OProjection returnProjection, boolean profilingEnabled) { if (returnBefore) { result.chain(new UnwrapPreviousValueStep(ctx, profilingEnabled)); if (returnProjection != null) { result.chain(new ProjectionCalculationStep(returnProjection, ctx, profilingEnabled)); } } }