public override AnyValue MapRelationship(VirtualRelationshipValue value) { if (value is RelationshipValue) { return(value); } return(ValueUtils.fromRelationshipProxy(ProxySpi.newRelationshipProxy(value.Id()))); }
public override AnyValue MapRelationship(VirtualRelationshipValue value) { if (!NeedsConversion) { NeedsConversion = value is RelationshipReference; } return(value); }
public override Relationship MapRelationship(VirtualRelationshipValue value) { if (value is RelationshipProxyWrappingValue) { // this is the back door through which "virtual relationships" slip return((( RelationshipProxyWrappingValue )value).RelationshipProxy()); } return(new RelationshipProxy(_proxySPI, value.Id())); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @SuppressWarnings("unused") public static long unboxRelationshipOrNull(org.neo4j.values.virtual.VirtualRelationshipValue value) public static long UnboxRelationshipOrNull(VirtualRelationshipValue value) { if (value == null) { return(-1L); } return(value.Id()); }
public abstract Base MapRelationship(VirtualRelationshipValue value);
public override object mapRelationship(VirtualRelationshipValue value) { throw new EvaluationRuntimeException("Unable to evaluate relationships"); }
public override object MapRelationship(VirtualRelationshipValue value) { return(new MappedGraphType(value)); }
public override ListValue MapRelationship(VirtualRelationshipValue value) { return(null); }