@Override public void setRelationshipProperty( long relationship, String propertyName, Object propertyValue ) { delegate.setRelationshipProperty( relationship, propertyName, propertyValue ); }
RelationshipType.withName( "TestingPropsHere" ), MapUtil.map( "foo", "bar" ) ); inserter.setRelationshipProperty( theRel, "foo2", "bar2" ); Map<String, Object> props = getRelationshipProperties( inserter, theRel ); assertEquals( 2, props.size() ); assertEquals( "bar2", props.get( "foo2" ) ); inserter.setRelationshipProperty( theRel, "foo", "bar3" );
@Override public void setRelationshipProperty( long relationship, String propertyName, Object propertyValue ) { delegate.setRelationshipProperty( relationship, propertyName, propertyValue ); }
/** * {@inheritDoc} */ @Override public void setProperty(String key, Object value) { batchInserter.setRelationshipProperty(id, key, value); }
@Override public void setRelationshipProperty(long batchId, String property, Object value) { if (GraphUtil.ignoreProperty(value)) { return; } synchronized (graphLock) { inserter.setRelationshipProperty(batchId, property, value); } }