if (null == vertex) {
vertex = new FaunusVertex(id);
this.map.put(id, vertex);
}
vertex.getProperties().putAll(value.getProperties());
vertex.addEdges(BOTH, WritableUtils.clone((FaunusVertex) value, context.getConfiguration()));
this.counter++;
}
if (this.counter > MAX_MAP_SIZE)
this.flush(context);
}