public SQLStructDataType clone() { SQLStructDataType x = new SQLStructDataType(dbType); for (Field field : fields) { x.addField(field.name, field.dataType.clone()); } return x; }
public OracleFunctionDataType clone() { OracleFunctionDataType x = new OracleFunctionDataType(); cloneTo(x); x.isStatic = isStatic; if (returnDataType != null) { x.setReturnDataType(returnDataType.clone()); } for (SQLParameter parameter : parameters) { SQLParameter p2 = parameter.clone(); p2.setParent(x); x.parameters.add(p2); } return x; }
public SQLCastExpr clone() { SQLCastExpr x = new SQLCastExpr(); if (expr != null) { x.setExpr(expr.clone()); } if (dataType != null) { x.setDataType(dataType.clone()); } return x; } }
|| nameHash == FnvHash.Constants.DECIMAL) { dataType = x.clone(); dataType.setName("decimal");
dataType = x.clone(); dataType.setName(SQLDataType.Constants.DECIMAL);
public SQLParameter clone() { SQLParameter x = new SQLParameter(); if (name != null) { x.setName(name.clone()); } if (dataType != null) { x.setDataType(dataType.clone()); } if (defaultValue != null) { x.setDefaultValue(defaultValue.clone()); } x.paramType = paramType; x.noCopy = noCopy; x.constant = constant; x.order = order; x.map = map; if (cursorName != null) { x.setCursorName(cursorName.clone()); } for (SQLParameter p : cursorParameters) { SQLParameter p2 = p.clone(); p2.setParent(x); x.cursorParameters.add(p2); } return x; }
public SQLCreateFunctionStatement clone() { SQLCreateFunctionStatement x = new SQLCreateFunctionStatement(); if (definer != null) { x.setDefiner(definer.clone()); } x.create = create; x.orReplace = orReplace; if (name != null) { x.setName(name.clone()); } if (block != null) { x.setBlock(block.clone()); } for (SQLParameter p : parameters) { SQLParameter p2 = p.clone(); p2.setParent(x); x.parameters.add(p2); } x.javaCallSpec = javaCallSpec; if (authid != null) { x.setAuthid(authid.clone()); } if (returnDataType != null) { x.setReturnDataType(returnDataType.clone()); } x.comment = comment; x.deterministic = deterministic; x.pipelined = pipelined; return x; }
x.setDataType(dataType.clone());
public SQLStructDataType clone() { SQLStructDataType x = new SQLStructDataType(dbType); for (Field field : fields) { x.addField(field.name, field.dataType.clone()); } return x; }
public SQLCastExpr clone() { SQLCastExpr x = new SQLCastExpr(); if (expr != null) { x.setExpr(expr.clone()); } if (dataType != null) { x.setDataType(dataType.clone()); } return x; } }
public OracleFunctionDataType clone() { OracleFunctionDataType x = new OracleFunctionDataType(); cloneTo(x); x.isStatic = isStatic; if (returnDataType != null) { x.setReturnDataType(returnDataType.clone()); } for (SQLParameter parameter : parameters) { SQLParameter p2 = parameter.clone(); p2.setParent(x); x.parameters.add(p2); } return x; }
|| nameHash == FnvHash.Constants.DECIMAL) { dataType = x.clone(); dataType.setName("decimal");
dataType = x.clone(); dataType.setName(SQLDataType.Constants.DECIMAL);
public SQLParameter clone() { SQLParameter x = new SQLParameter(); if (name != null) { x.setName(name.clone()); } if (dataType != null) { x.setDataType(dataType.clone()); } if (defaultValue != null) { x.setDefaultValue(defaultValue.clone()); } x.paramType = paramType; x.noCopy = noCopy; x.constant = constant; x.order = order; x.map = map; if (cursorName != null) { x.setCursorName(cursorName.clone()); } for (SQLParameter p : cursorParameters) { SQLParameter p2 = p.clone(); p2.setParent(x); x.cursorParameters.add(p2); } return x; }
public SQLCreateFunctionStatement clone() { SQLCreateFunctionStatement x = new SQLCreateFunctionStatement(); if (definer != null) { x.setDefiner(definer.clone()); } x.create = create; x.orReplace = orReplace; if (name != null) { x.setName(name.clone()); } if (block != null) { x.setBlock(block.clone()); } for (SQLParameter p : parameters) { SQLParameter p2 = p.clone(); p2.setParent(x); x.parameters.add(p2); } x.javaCallSpec = javaCallSpec; if (authid != null) { x.setAuthid(authid.clone()); } if (returnDataType != null) { x.setReturnDataType(returnDataType.clone()); } x.comment = comment; x.deterministic = deterministic; x.pipelined = pipelined; return x; }
x.setDataType(dataType.clone());