@Override public OAlterSequenceStatement copy() { OAlterSequenceStatement result = new OAlterSequenceStatement(-1); result.name = name == null ? null : name.copy(); result.start = start == null ? null : start.copy(); result.increment = increment == null ? null : increment.copy(); result.cache = cache == null ? null : cache.copy(); return result; }
@Override public OFunctionCall copy() { OFunctionCall result = new OFunctionCall(-1); result.name = name; result.params = params.stream().map(x -> x.copy()).collect(Collectors.toList()); return result; }
@Override public OIsNullCondition copy() { OIsNullCondition result = new OIsNullCondition(-1); result.expression = expression.copy(); return result; }
public OGroupBy copy() { OGroupBy result = new OGroupBy(-1); result.items = items.stream().map(x -> x.copy()).collect(Collectors.toList()); return result; }
@Override public OIsNotDefinedCondition copy() { OIsNotDefinedCondition result = new OIsNotDefinedCondition(-1); result.expression = expression.copy(); return result; }
@Override public OMatchesCondition copy() { OMatchesCondition result = new OMatchesCondition(-1); result.expression = expression == null ? null : expression.copy(); result.right = right; result.rightParam = rightParam == null ? null : rightParam.copy(); result.rightExpression = rightExpression == null ? null : rightExpression.copy(); return result; }
@Override public OContainsValueCondition copy() { OContainsValueCondition result = new OContainsValueCondition(-1); result.left = left.copy(); result.operator = operator; result.condition = condition == null ? null : condition.copy(); result.expression = expression == null ? null : expression.copy(); return result; }
@Override public OStatement copy() { OForEachBlock result = new OForEachBlock(-1); result.loopVariable = loopVariable.copy(); result.loopValues = loopValues.copy(); result.statements = statements.stream().map(x -> x.copy()).collect(Collectors.toList()); return result; }
public OCreatePropertyAttributeStatement copy() { OCreatePropertyAttributeStatement result = new OCreatePropertyAttributeStatement(-1); result.settingName = settingName == null ? null : settingName.copy(); result.settingValue = settingValue == null ? null : settingValue.copy(); return result; }
@Override public OInstanceofCondition copy() { OInstanceofCondition result = new OInstanceofCondition(-1); result.left = left.copy(); result.right = right == null ? null : right.copy(); result.rightString = rightString; return result; }
@Override public OAlterPropertyStatement copy() { OAlterPropertyStatement result = new OAlterPropertyStatement(-1); result.className = className == null ? null : className.copy(); result.propertyName = propertyName == null ? null : propertyName.copy(); result.customPropertyName = customPropertyName == null ? null : customPropertyName.copy(); result.customPropertyValue = customPropertyValue == null ? null : customPropertyValue.copy(); result.settingName = settingName == null ? null : settingName.copy(); result.settingValue = settingValue == null ? null : settingValue.copy(); return result; }
public ORid copy() { ORid result = new ORid(-1); result.cluster = cluster == null ? null : cluster.copy(); result.position = position == null ? null : position.copy(); result.expression = expression == null ? null : expression.copy(); result.legacy = legacy; return result; }
public OOrderByItem copy() { OOrderByItem result = new OOrderByItem(); result.alias = alias; result.modifier = modifier == null ? null : modifier.copy(); result.recordAttr = recordAttr; result.rid = rid == null ? null : rid.copy(); result.type = type; result.collate = this.collate == null ? null : collate.copy(); return result; }
@Override public ORightBinaryCondition copy() { ORightBinaryCondition result = new ORightBinaryCondition(-1); result.operator = operator == null ? null : operator.copy(); result.not = not; result.inOperator = inOperator == null ? null : inOperator.copy(); result.right = right == null ? null : right.copy(); return result; }
public OProjectionItem copy() { OProjectionItem result = new OProjectionItem(-1); result.all = all; result.alias = alias == null ? null : alias.copy(); result.expression = expression == null ? null : expression.copy(); result.nestedProjection = nestedProjection == null ? null : nestedProjection.copy(); result.aggregate = aggregate; return result; }
@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; }