private void createInlineEdge(VertexRelationLoader loader, TitanType type, Object entity) {
   if (entity != null) {
     if (type.isEdgeLabel()) {
       assert entity instanceof Long;
       loader.addRelationEdge((TitanLabel) type, (Long) entity);
     } else {
       assert type.isPropertyKey();
       loader.addRelationProperty((TitanKey) type, entity);
     }
   }
 }