@Override public OrientVertexProperty call(OrientBaseGraph iArgument) { final String clsName = OrientBaseGraph.encodeClassName(iEdgeClassName); final boolean useVertexFieldsForEdgeLabels = graph.isUseVertexFieldsForEdgeLabels(); final String fieldName = OrientVertex.getConnectionFieldName(iDirection, clsName, useVertexFieldsForEdgeLabels); return new OrientVertexProperty(graph, delegate.createProperty(fieldName, iType)); } });
final ODocument outVertex = edge.<OIdentifiable>field(OrientBaseGraph.CONNECTION_OUT).getRecord(); final String inVertexName = OrientVertex.getConnectionFieldName(Direction.IN, label, true); final String outVertexName = OrientVertex.getConnectionFieldName(Direction.OUT, label, true);
else { final String outFieldName = OrientVertex .getConnectionFieldName(Direction.OUT, edge.getClassName(), useVertexFieldsForEdgeLabels); else { final String inFieldName = OrientVertex .getConnectionFieldName(Direction.IN, edge.getClassName(), useVertexFieldsForEdgeLabels);
outVertexRecord = outVertex.getRecord(); if (outVertexRecord != null) { final String outFieldName = OrientVertex.getConnectionFieldName(Direction.OUT, edgeClassName, useVertexFieldsForEdgeLabels); outVertexChanged = edge.dropEdgeFromVertex(inVertexEdge, outVertexRecord, outFieldName, outVertexRecord.field(outFieldName)); inVertexRecord = inVertex.getRecord(); if (inVertexRecord != null) { final String inFieldName = OrientVertex.getConnectionFieldName(Direction.IN, edgeClassName, useVertexFieldsForEdgeLabels); inVertexChanged = edge.dropEdgeFromVertex(outVertexEdge, inVertexRecord, inFieldName, inVertexRecord.field(inFieldName));
.isUseVertexFieldsForEdgeLabels(); final String outFieldName = OrientVertex.getConnectionFieldName( Direction.OUT, edgeClassName, useVertexFieldsForEdgeLabels); dropEdgeFromVertex(inVertexEdge, outVertex, outFieldName, final ODocument inVertex = getInVertex().getRecord(); final String inFieldName = OrientVertex.getConnectionFieldName( Direction.IN, edgeClassName, useVertexFieldsForEdgeLabels); dropEdgeFromVertex(outVertexEdge, inVertex, inFieldName,
.isUseVertexFieldsForEdgeLabels(); final String outFieldName = OrientVertex.getConnectionFieldName( Direction.OUT, label, useVertexFieldsForEdgeLabels); OrientVertex.removeEdges(vOutRecord, outFieldName, vInRecord, false, useVertexFieldsForEdgeLabels); final String inFieldName = OrientVertex.getConnectionFieldName( Direction.IN, label, useVertexFieldsForEdgeLabels); OrientVertex.removeEdges(vInRecord, inFieldName, vOutRecord, false,
final String outFieldName = OrientVertex.getConnectionFieldName(Direction.OUT, label, useVertexFieldsForEdgeLabels); removeLightweightConnection(vOutRecord, outFieldName, vInRecord); vOutRecord.save(); final String inFieldName = OrientVertex.getConnectionFieldName(Direction.IN, label, useVertexFieldsForEdgeLabels); removeLightweightConnection(vInRecord, inFieldName, vOutRecord);
final String outFieldName = getConnectionFieldName(Direction.OUT, label, useVertexFieldsForEdgeLabels); final String inFieldName = getConnectionFieldName(Direction.IN, label, useVertexFieldsForEdgeLabels);
final String outFieldName = currentVertex.getConnectionFieldName(Direction.OUT, label, settings.isUseVertexFieldsForEdgeLabels()); final String inFieldName = currentVertex.getConnectionFieldName(Direction.IN, label, settings.isUseVertexFieldsForEdgeLabels());
if (outVertexRecord != null) { final String outFieldName = OrientVertex .getConnectionFieldName(Direction.OUT, edgeClassName, useVertexFieldsForEdgeLabels); outVertexChanged = edge .dropEdgeFromVertex(inVertexEdge, outVertexRecord, outFieldName, outVertexRecord.field(outFieldName)); if (inVertexRecord != null) { final String inFieldName = OrientVertex .getConnectionFieldName(Direction.IN, edgeClassName, useVertexFieldsForEdgeLabels); inVertexChanged = edge .dropEdgeFromVertex(outVertexEdge, inVertexRecord, inFieldName, inVertexRecord.field(inFieldName));
.getConnectionFieldName(Direction.OUT, label, settings.isUseVertexFieldsForEdgeLabels()); final String inFieldName = currentVertex .getConnectionFieldName(Direction.IN, label, settings.isUseVertexFieldsForEdgeLabels());
.getConnectionFieldName(Direction.IN, oe.getLabel(), graph.isUseVertexFieldsForEdgeLabels()); .getConnectionFieldName(Direction.OUT, oe.getLabel(), graph.isUseVertexFieldsForEdgeLabels());