+ // Now that we know the status of the resources lets process weak statements
+ for(Statement stm : processor.unresolvedWeakLinks) {
+ ExtentStatus status = processor.status.get(stm.getObject());
+ if(ExtentStatus.INTERNAL == status) {
+ // Weak links between internals are exported
+ int transientId = support.getTransientId(stm.getSubject());
+ processor.addToStream(stm.getPredicate(), stm.getObject());
+ try {
+ processor.flushStatementStream(transientId, state);
+ } catch (IOException e) {
+ throw new DatabaseException(e);
+ }
+ }
+ }
+