@Override public OSelectStatement copy() { return super.copy(); } }
@Override public ONotInCondition copy() { ONotInCondition result = new ONotInCondition(-1); result.operator = operator == null ? null : (OBinaryCompareOperator) operator.copy(); result.left = left == null ? null : left.copy(); result.rightMathExpression = rightMathExpression == null ? null : rightMathExpression.copy(); result.rightStatement = rightStatement == null ? null : rightStatement.copy(); result.rightParam = rightParam == null ? null : rightParam.copy(); result.right = right == null ? null : right; return result; }
@Override public OInCondition copy() { OInCondition result = new OInCondition(-1); result.operator = operator == null ? null : (OBinaryCompareOperator) operator.copy(); result.left = left == null ? null : left.copy(); result.rightMathExpression = rightMathExpression == null ? null : rightMathExpression.copy(); result.rightStatement = rightStatement == null ? null : rightStatement.copy(); result.rightParam = rightParam == null ? null : rightParam.copy(); result.right = right == null ? null : right; return result; }
@Override public OInsertStatement copy() { OInsertStatement result = new OInsertStatement(-1); result.targetClass = targetClass == null ? null : targetClass.copy(); result.targetClusterName = targetClusterName == null ? null : targetClusterName.copy(); result.targetCluster = targetCluster == null ? null : targetCluster.copy(); result.targetIndex = targetIndex == null ? null : targetIndex.copy(); result.insertBody = insertBody == null ? null : insertBody.copy(); result.returnStatement = returnStatement == null ? null : returnStatement.copy(); result.selectStatement = selectStatement == null ? null : selectStatement.copy(); result.selectInParentheses = selectInParentheses; result.selectWithFrom = selectWithFrom; result.unsafe = unsafe; return result; }
public OInsertExecutionPlanner(OInsertStatement statement) { this.targetClass = statement.getTargetClass() == null ? null : statement.getTargetClass().copy(); this.targetClusterName = statement.getTargetClusterName() == null ? null : statement.getTargetClusterName().copy(); this.targetCluster = statement.getTargetCluster() == null ? null : statement.getTargetCluster().copy(); this.targetIndex = statement.getTargetIndex() == null ? null : statement.getTargetIndex().copy(); this.insertBody = statement.getInsertBody() == null ? null : statement.getInsertBody().copy(); this.returnStatement = statement.getReturnStatement() == null ? null : statement.getReturnStatement().copy(); this.selectStatement = statement.getSelectStatement() == null ? null : statement.getSelectStatement().copy(); }