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; }
ORid rid = new ORid(-1); String stringVal = ((OIdentifiable) value).getIdentity().toString().substring(1); String[] splitted = stringVal.split(":");
public void deserialize(OResult fromResult) { alias = fromResult.getProperty("alias"); if (fromResult.getProperty("modifier") != null) { modifier = new OModifier(-1); modifier.deserialize(fromResult.getProperty("modifier")); } recordAttr = fromResult.getProperty("recordAttr"); if (fromResult.getProperty("rid") != null) { rid = new ORid(-1); rid.deserialize(fromResult.getProperty("rid")); } type = DESC.equals(fromResult.getProperty("type")) ? DESC : ASC; if (fromResult.getProperty("collate") != null) { collate = new OExpression(-1); collate.deserialize(fromResult.getProperty("collate")); } }
public void deserialize(OResult fromResult) { if (fromResult.getProperty("rid") != null) { rid = new ORid(-1); rid.deserialize(fromResult.getProperty("rid")); } if (fromResult.getProperty("inputParam") != null) { inputParam = OInputParameter.deserializeFromOResult(fromResult.getProperty("inputParam")); } if (fromResult.getProperty("expression") != null) { expression = new OExpression(-1); expression.deserialize(fromResult.getProperty("expression")); } if (fromResult.getProperty("integer") != null) { integer = new OInteger(-1); integer.deserialize(fromResult.getProperty("integer")); } } }
public void deserialize(OResult fromResult) { singleQuotes = fromResult.getProperty("singleQuotes"); doubleQuotes = fromResult.getProperty("doubleQuotes"); isNull = fromResult.getProperty("isNull"); if (fromResult.getProperty("rid") != null) { rid = new ORid(-1); rid.deserialize(fromResult.getProperty("rid")); } if (fromResult.getProperty("mathExpression") != null) { mathExpression = OMathExpression.deserializeFromResult(fromResult.getProperty("mathExpression")); } if (fromResult.getProperty("arrayConcatExpression") != null) { arrayConcatExpression = new OArrayConcatExpression(-1); arrayConcatExpression.deserialize(fromResult.getProperty("arrayConcatExpression")); } if (fromResult.getProperty("json") != null) { json = new OJson(-1); json.deserialize(fromResult.getProperty("json")); } booleanValue = fromResult.getProperty("booleanValue"); }
rids = new ArrayList<>(); for (OResult res : serRids) { ORid rid = new ORid(-1); rid.deserialize(res); rids.add(rid);
final public ORid Rid() throws ParseException { ORid jjtn000 = new ORid(JJTRID); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);